/* =============================================
   MITTI & ME — GLOBAL STYLES
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,800;1,9..144,300&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --cream: #F5EFE0;
  --cream-dark: #EDE4CE;
  --sage: #6A8C69;
  --sage-light: #8FAD8E;
  --sage-dark: #3D5C3C;
  --terra: #C4673A;
  --terra-light: #E08B62;
  --gold: #D4A843;
  --gold-light: #ECC872;
  --brown: #3A2A1A;
  --brown-mid: #6B4A2A;
  --text: #2C2010;
  --text-light: #6B5A3E;
  --radius-lg: 24px;
  --radius-xl: 40px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, .logo-text { font-family: 'Fraunces', serif; }
em { font-style: italic; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dark);
  background: rgba(106,140,105,0.12);
  border: 1px solid rgba(106,140,105,0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}
.section-heading em { color: var(--terra); font-weight: 300; }

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 18px 5%;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(245,239,224,0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(106,140,105,0.15);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(58,42,26,0.08); }

.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--sage-dark);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo span { color: var(--terra); }

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--terra);
  transform: scaleX(0);
  transition: transform 0.25s;
  transform-origin: left;
}
.nav-links a:hover { color: var(--terra); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--terra); }

.nav-cta {
  background: var(--terra) !important;
  color: white !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 500 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--sage-dark) !important; transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--terra); color: white;
  padding: 14px 30px; border-radius: 100px;
  font-size: 0.95rem; font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(196,103,58,0.28);
  cursor: pointer; border: none;
}
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(196,103,58,0.22); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--sage); color: var(--sage-dark);
  padding: 13px 28px; border-radius: 100px;
  font-size: 0.95rem; font-weight: 500;
  text-decoration: none; transition: all 0.25s;
  background: transparent; cursor: pointer;
}
.btn-outline:hover { background: var(--sage); color: white; transform: translateY(-2px); }

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--brown);
  padding: 14px 30px; border-radius: 100px;
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none; transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(212,168,67,0.3);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 140px 5% 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,168,67,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .section-label { margin-bottom: 16px; }
.page-hero h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.page-hero h1 em { color: var(--terra); font-weight: 300; }
.page-hero p {
  font-size: 1.1rem; color: var(--text-light);
  line-height: 1.7; max-width: 560px; margin: 0 auto 36px;
}

/* ---- SECTION WRAPPERS ---- */
section { padding: 80px 5%; }
.container { max-width: 1200px; margin: 0 auto; }

/* ---- CARDS ---- */
.card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(58,42,26,0.1); }

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--sage-dark);
  color: white;
  padding: 18px 5%;
  display: flex; align-items: center;
  justify-content: center; gap: 40px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 500; }
.trust-item strong { font-weight: 600; }

/* ---- FOOTER ---- */
footer {
  background: var(--brown);
  color: rgba(255,255,255,0.85);
  padding: 64px 5% 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.footer-brand .logo {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}
.footer-brand .logo span { color: var(--terra-light); }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; color: rgba(255,255,255,0.55); max-width: 260px; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; text-decoration: none;
  transition: background 0.2s;
}
.footer-socials a:hover { background: var(--terra); }

.footer-links h4 { color: white; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { text-decoration: none; color: rgba(255,255,255,0.55); font-size: 0.875rem; transition: color 0.2s; }
.footer-links ul li a:hover { color: var(--terra-light); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--terra-light); }

/* ---- FADE IN ANIMATION ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- PILL TAG ---- */
.pill-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(196,103,58,0.1);
  border: 1px solid rgba(196,103,58,0.2);
  color: var(--terra);
  font-size: 0.75rem; font-weight: 500;
  padding: 5px 12px; border-radius: 100px;
  letter-spacing: 0.04em;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); padding: 20px 5%; border-bottom: 1px solid rgba(106,140,105,0.15); gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .trust-bar { gap: 20px; }
  .btn-primary, .btn-outline, .btn-gold { padding: 12px 22px; font-size: 0.9rem; }
}
