/* ═══════════════════════════════════════════════
   Past & Present Genealogy — Premium Stylesheet
   ═══════════════════════════════════════════════ */

/* ─── Variables ─── */
:root {
  --ivory:        #faf4e8;
  --paper:        #f0e4cc;
  --forest:       #18261f;
  --forest-mid:   #233329;
  --gold:         #b88a43;
  --gold-light:   #d4a560;
  --ink:          #1e1a17;
  --muted:        #6d6257;
  --border:       rgba(0,0,0,0.08);
  --white:        #ffffff;

  --shadow-sm:    0 2px 12px rgba(24,38,31,0.07);
  --shadow-md:    0 8px 32px rgba(24,38,31,0.11);
  --shadow-lg:    0 24px 64px rgba(24,38,31,0.16);
  --shadow-xl:    0 40px 100px rgba(24,38,31,0.22);

  --radius-sm:    12px;
  --radius-md:    24px;
  --radius-lg:    32px;
  --radius-xl:    48px;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --max-width:    1180px;
  --nav-height:   88px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: white; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; color: var(--ink); }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }

/* ─── Container ─── */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ═══ HEADER & NAV ═══ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(250,244,232,0.9);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--forest);
  line-height: 1;
  display: flex;
  flex-direction: column;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.54rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-weight: 700;
  margin-top: 7px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--forest);
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.nav-cta {
  padding: 11px 22px !important;
  border: 1.5px solid rgba(0,0,0,0.13) !important;
  border-radius: 999px !important;
  transition: all 0.22s !important;
  color: var(--forest) !important;
}

.nav-cta:hover {
  background: var(--forest) !important;
  color: white !important;
  border-color: var(--forest) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-align: center;
}

.btn:hover { transform: translateY(-2px); }

.btn-forest {
  background: var(--forest);
  color: white;
  box-shadow: 0 4px 16px rgba(24,38,31,0.22);
}
.btn-forest:hover {
  background: var(--forest-mid);
  color: white;
  box-shadow: 0 8px 28px rgba(24,38,31,0.3);
}

.btn-gold {
  background: var(--gold);
  color: white;
  box-shadow: 0 4px 16px rgba(184,138,67,0.3);
}
.btn-gold:hover {
  background: var(--gold-light);
  color: white;
  box-shadow: 0 8px 24px rgba(184,138,67,0.38);
}

.btn-outline {
  background: rgba(255,255,255,0.55);
  color: var(--forest);
  border: 1.5px solid rgba(0,0,0,0.12);
}
.btn-outline:hover { background: white; color: var(--forest); }

.btn-white {
  background: white;
  color: var(--forest);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.btn-white:hover { background: var(--ivory); color: var(--forest); }

/* ═══ SECTION COMMONS ═══ */
section { padding: 112px 0; }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 18px;
}

.section-title em { color: var(--gold); font-style: italic; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
}

.section-header { margin-bottom: 60px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ═══ HOME HERO ═══ */
.hero {
  min-height: calc(100vh - var(--nav-height));
  padding: 80px 0 100px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-kicker::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-heading {
  font-size: clamp(4.5rem, 8vw, 7rem);
  line-height: 0.92;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  color: var(--forest);
}

.hero-heading em {
  color: var(--gold);
  font-style: italic;
  font-weight: 600;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 40px;
  line-height: 1.82;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual — layered photo frame */
.hero-visual {
  position: relative;
  height: 680px;
}

.paper-layer {
  position: absolute;
  width: 400px;
  height: 530px;
  background: linear-gradient(145deg, #fff9ef, #ede0c0);
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: var(--shadow-lg);
  border-radius: 3px;
}

.paper-back  { transform: rotate(-8deg); top: 70px; left: 0;   opacity: 0.48; }
.paper-mid   { transform: rotate(7deg);  top: 30px; right: 0;  opacity: 0.65; }

.photo-frame {
  position: absolute;
  width: 420px;
  background: #fdf8f0;
  border: 1px solid rgba(0,0,0,0.07);
  padding: 18px 18px 28px;
  box-shadow: var(--shadow-xl);
  transform: rotate(-2deg);
  top: 90px;
  left: 28px;
  z-index: 5;
  border-radius: 3px;
}

.photo-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper);
}

.photo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(10%) contrast(1.05) brightness(0.97);
  transition: transform 0.7s ease;
}

.photo-frame:hover .photo-img-wrap img { transform: scale(1.04); }

.photo-caption { padding-top: 18px; text-align: center; }

.photo-caption h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 7px;
  color: var(--forest);
}

.photo-caption p { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }

/* ═══ TRUST STRIP ═══ */
.trust-strip {
  background: rgba(255,255,255,0.55);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest);
}

.trust-check {
  width: 22px;
  height: 22px;
  background: var(--forest);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* ═══ ABOUT TEASER (home) ═══ */
.about-home { background: var(--ivory); }

.about-home-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-photo-wrap { position: relative; }

.about-photo-back {
  position: absolute;
  inset: -14px -14px 14px 14px;
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.about-photo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.about-home-text .section-subtitle { margin-bottom: 20px; }
.about-home-text p + p { margin-top: 14px; }
.about-home-text p { font-size: 0.97rem; line-height: 1.82; }

/* ═══ SERVICES SECTION (dark) ═══ */
.services-dark { background: var(--forest); }

.services-dark .section-label { color: rgba(255,255,255,0.45); }
.services-dark .section-title { color: white; }
.services-dark .section-subtitle { color: rgba(255,255,255,0.6); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: all 0.25s;
}

.service-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(184,138,67,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 22px;
}

.service-card h3 { font-size: 1.75rem; color: white; margin-bottom: 12px; line-height: 1.1; }
.service-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.72; }

.services-dark-cta {
  text-align: center;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.services-dark-cta p { color: rgba(255,255,255,0.55); margin-bottom: 20px; font-size: 1rem; }

/* ═══ PROCESS ═══ */
.process-section { background: var(--ivory); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}

.process-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.process-num {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  display: block;
  margin-bottom: 22px;
}

.process-card h3 { font-size: 2.2rem; margin-bottom: 14px; line-height: 1.05; }
.process-card p { font-size: 0.93rem; line-height: 1.78; }

/* ═══ TESTIMONIALS ═══ */
.testimonials-section { background: var(--paper); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.88rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
  display: block;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 28px;
}

.testimonial-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 3px;
}

.testimonial-author span {
  font-size: 0.76rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ═══ STATS STRIP ═══ */
.stats-section { background: var(--forest); padding: 72px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}

/* ═══ CTA PANEL ═══ */
.cta-section { background: var(--ivory); }

.cta-panel {
  background: var(--forest);
  border-radius: var(--radius-xl);
  padding: 88px 72px;
  text-align: center;
  background-image:
    radial-gradient(ellipse at 25% 50%, rgba(184,138,67,0.15), transparent 55%),
    radial-gradient(ellipse at 75% 50%, rgba(184,138,67,0.08), transparent 55%);
}

.cta-panel h2 { font-size: clamp(2.8rem, 5vw, 4.5rem); color: white; margin-bottom: 18px; }
.cta-panel p { color: rgba(255,255,255,0.6); font-size: 1.1rem; max-width: 560px; margin: 0 auto 40px; line-height: 1.78; }
.cta-panel .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══ FOOTER ═══ */
footer {
  background: var(--forest);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 80px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 72px;
  padding-bottom: 56px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo { color: white; margin-bottom: 16px; display: block; }
.footer-logo .logo-sub { color: rgba(184,138,67,0.75); }

.footer-desc {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.78;
  max-width: 260px;
  margin-bottom: 28px;
}

.footer-social { display: flex; gap: 10px; }

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.68rem;
  font-weight: 700;
  transition: all 0.2s;
}

.social-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(184,138,67,0.1); }

.footer-heading {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(184,138,67,0.75);
  margin-bottom: 22px;
  font-family: var(--font-body);
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-links a:hover { color: white; }

.footer-contact-item { font-size: 0.87rem; color: rgba(255,255,255,0.45); margin-bottom: 10px; line-height: 1.55; }

.footer-bottom { text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* ═══ PAGE HERO (interior) ═══ */
.page-hero {
  background: var(--forest);
  padding: 96px 0 88px;
  text-align: center;
  background-image: radial-gradient(ellipse at center top, rgba(184,138,67,0.12), transparent 60%);
}

.page-hero .section-label { color: rgba(255,255,255,0.45); }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5.5rem); color: white; margin-bottom: 18px; }
.page-hero p { font-size: 1.08rem; color: rgba(255,255,255,0.6); max-width: 540px; margin: 0 auto; line-height: 1.78; }

/* ═══ ABOUT PAGE ═══ */
.about-story { background: var(--ivory); }

.about-story-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 88px;
  align-items: start;
}

.about-photo-frame { position: relative; }

.about-photo-frame-back {
  position: absolute;
  inset: -13px -13px 13px 13px;
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.about-photo-main {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.about-text h2 { font-size: clamp(2.5rem, 4vw, 3.8rem); margin-bottom: 26px; line-height: 1.05; }
.about-text p { margin-bottom: 18px; font-size: 0.98rem; line-height: 1.82; }

.about-values { background: var(--paper); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.value-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s, box-shadow 0.22s;
}

.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.value-icon { font-size: 1.6rem; margin-bottom: 16px; display: block; }
.value-card h3 { font-size: 1.7rem; margin-bottom: 10px; }
.value-card p { font-size: 0.92rem; line-height: 1.75; }

/* ═══ SERVICES PAGE ═══ */
.packages-section { background: var(--ivory); }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 60px;
}

.package-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.package-card.featured { background: var(--forest); border-color: transparent; box-shadow: var(--shadow-lg); }

.package-badge {
  background: var(--gold);
  color: white;
  text-align: center;
  padding: 9px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.package-top {
  padding: 36px 32px 28px;
  border-bottom: 1px solid var(--border);
}

.featured .package-top { border-bottom-color: rgba(255,255,255,0.08); }

.package-top h3 { font-size: 2.2rem; margin-bottom: 5px; color: var(--forest); }
.featured .package-top h3 { color: white; }

.package-tagline { font-size: 0.85rem; color: var(--muted); font-style: italic; margin-bottom: 18px; }
.featured .package-tagline { color: rgba(255,255,255,0.55); }

.package-price { font-family: var(--font-display); font-size: 3.8rem; font-weight: 700; color: var(--forest); line-height: 1; }
.featured .package-price { color: var(--gold); }

.package-body { padding: 28px 32px 36px; flex: 1; display: flex; flex-direction: column; }

.package-desc { font-size: 0.87rem; line-height: 1.72; color: var(--muted); margin-bottom: 22px; font-style: italic; }
.featured .package-desc { color: rgba(255,255,255,0.55); }

.package-features { list-style: none; margin-bottom: 32px; flex: 1; }

.package-features li {
  font-size: 0.87rem;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
  color: var(--ink);
}

.featured .package-features li { border-bottom-color: rgba(255,255,255,0.07); color: rgba(255,255,255,0.82); }
.package-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.package-body .btn { width: 100%; }

.mini-note {
  background: white;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 24px 30px;
  margin-top: 36px;
  box-shadow: var(--shadow-sm);
}

.mini-note h3 { font-size: 1.3rem; margin-bottom: 8px; }
.mini-note p { font-size: 0.92rem; line-height: 1.75; }
.mini-note a { color: var(--gold); font-weight: 600; }
.mini-note a:hover { color: var(--gold-light); }

.bespoke-section { background: var(--paper); }

.bespoke-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.bespoke-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s, box-shadow 0.22s;
}

.bespoke-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.bespoke-card h3 { font-size: 1.5rem; margin-bottom: 5px; }
.bespoke-card p { font-size: 0.87rem; }

.bespoke-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ═══ CONTACT PAGE ═══ */
.contact-section { background: var(--ivory); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 18px; line-height: 1.1; }
.contact-info > p { font-size: 1rem; line-height: 1.82; margin-bottom: 40px; }

.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }

.contact-detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--paper);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}

.contact-detail strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 700;
}

.contact-detail span { font-size: 0.92rem; color: var(--muted); }

.consult-box {
  background: var(--forest);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-top: 40px;
}

.consult-box .section-label { color: rgba(255,255,255,0.45); }
.consult-box p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.72; }

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px;
  box-shadow: var(--shadow-md);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--forest);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--ivory);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,138,67,0.12);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.form-submit-row { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.form-note { font-size: 0.78rem; color: var(--muted); line-height: 1.55; }

.form-success {
  display: none;
  background: #f8fdf5;
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 20px;
  font-size: 0.92rem;
  color: #166534;
  font-weight: 500;
}

.form-success.visible { display: block; }

/* ═══ ANIMATIONS ═══ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .packages-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 900px) {
  section { padding: 80px 0; }

  .hero-inner,
  .about-home-grid,
  .about-story-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .hero-visual { display: none; }

  .services-grid,
  .process-grid,
  .testimonials-grid,
  .values-grid,
  .bespoke-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .cta-panel { padding: 60px 40px; border-radius: var(--radius-lg); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px; }
  .bespoke-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  header { position: relative; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(250,244,232,0.98);
    backdrop-filter: blur(20px);
    padding: 24px 5%;
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 99;
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero { padding: 60px 0 80px; }
  .hero-heading { font-size: clamp(3.5rem, 12vw, 5rem); }

  .cta-panel { padding: 48px 28px; }
  .page-hero { padding: 72px 0 64px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .form-submit-row { flex-direction: column; align-items: flex-start; }
  .packages-grid { max-width: 100%; }
}
