/* ──────────────────────────────────────────────────────────────
   common.css — Shared variables, resets, and base components
   ────────────────────────────────────────────────────────────── */

/* === CSS Custom Properties === */
:root {
  --bg:        #FBEEDE;
  --bg-light:  #FFF5EE;
  --coral:     #FFAF7E;
  --dark:      #343130;
  --text:      #74716C;
  --border:    #DED2C4;
  --gold:      #FFCA6B;
  --white:     #FFFFFF;
  --accent:    #D4631A;
  --max-w:     1220px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 14px rgba(52,49,48,.08);
  --shadow-md: 0 12px 40px rgba(52,49,48,.12);
  --shadow-lg: 0 20px 64px rgba(52,49,48,.14);
  --font-sans: 'Manrope', sans-serif;
  --font-serif: 'PT Serif', serif;
  --transition: .3s ease;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-sans); cursor: pointer; }
ul, ol { list-style: none; }

/* === Container === */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* === Buttons === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #FF9B5E 0%, #FFAF7E 60%, #FFD07E 100%);
  color: var(--dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 18px rgba(255,175,126,.45);
  text-align: center;
  min-height: 48px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,175,126,.55);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--dark);
  font-weight: 600;
  font-size: .95rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  min-height: 48px;
}
.btn-outline:hover {
  border-color: var(--coral);
  color: var(--accent);
  background: var(--bg-light);
}

/* === Section Headings === */
.section-tag {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text);
  max-width: 560px;
  margin-bottom: 40px;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,238,222,.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-brand img {
  height: 44px;
  width: auto;
}

/* === Footer === */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 48px 0 24px;
  font-size: .9rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.footer-inner a {
  color: var(--coral);
  transition: opacity var(--transition);
}
.footer-inner a:hover { opacity: .8; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.footer-credit {
  margin-top: 16px;
  font-size: .78rem;
  opacity: .5;
  font-style: italic;
}

/* === Utility === */
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
