/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --bg:            #F9F4EB;
  --white:         #FFFDF7;
  --card:          #FFFDF7;
  --primary:       #78293A;
  --primary-dark:  #521C27;
  --primary-light: #F7EAEC;
  --secondary:     #7A6952;
  --dark:          #2B1C0F;
  --gold:          #B8892A;
  --gold-light:    #FBF4E3;
  --border:        #E4D7C3;
  --success:       #2C5826;
  --nav-h:         68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:           #090C18;
    --white:        #0F1525;
    --card:         #111827;
    --primary:      #C4952A;
    --primary-dark: #9A7020;
    --primary-light:#1A1405;
    --secondary:    #8A9BB8;
    --dark:         #E8EDF8;
    --gold:         #C4952A;
    --gold-light:   #0E1020;
    --border:       #222B42;
  }
}

/* ─── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--dark);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(ellipse 1px 1px at 0px 0px, rgba(184,137,42,0.18) 0%, transparent 100%);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* ─── TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3, .serif-heading {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 700;
  color: var(--dark);
}

p { color: var(--secondary); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── UTILITY ───────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gold-rule {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%);
  opacity: 0.55;
}

.section-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 16px; }
.section-header p { font-size: 18px; max-width: 560px; margin: 0 auto; }

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  min-height: 48px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 16px rgba(120,41,58,0.25); }
.btn-primary:hover { background: var(--primary-dark); color: white; box-shadow: 0 6px 20px rgba(120,41,58,0.35); }

@media (prefers-color-scheme: dark) {
  .btn-primary { color: #090C18; box-shadow: 0 4px 16px rgba(196,149,42,0.30); }
  .btn-primary:hover { color: #090C18; }
}

.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); color: var(--primary); }

.btn-ghost { background: transparent; color: var(--secondary); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--gold-light); color: var(--dark); }

/* ─── CARDS ─────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(43,28,15,0.10);
  position: relative;
}
@media (prefers-color-scheme: dark) { .card { box-shadow: 0 2px 12px rgba(0,0,0,0.4); } }

/* ─── FILIGREE ──────────────────────────────────────────────── */
.filigree-wrap { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.filigree { position: absolute; width: 64px; height: 64px; }
.filigree-tl { top: 12px; left: 12px; }
.filigree-tr { top: 12px; right: 12px; transform: scaleX(-1); }
.filigree-bl { bottom: 12px; left: 12px; transform: scaleY(-1); }
.filigree-br { bottom: 12px; right: 12px; transform: scale(-1); }

/* ─── NAV ───────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }

/* Butler logo in nav — black in light mode, gold-tinted in dark */
.nav-logo-img { height: 40px; width: auto; filter: none; transition: filter 0.2s; }
@media (prefers-color-scheme: dark) {
  .nav-logo-img { filter: invert(1) sepia(1) saturate(2.5) hue-rotate(3deg) brightness(1.1); }
}

.nav-logo-text {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-weight: 700; font-size: 22px; color: var(--dark);
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px; font-weight: 500; color: var(--secondary);
  text-decoration: none; letter-spacing: 0.01em; transition: color 0.15s;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta { flex-shrink: 0; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.25s; }

.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  background: var(--white); border-top: 1px solid var(--border); padding: 8px 0 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px; font-weight: 500; color: var(--dark);
  padding: 12px 24px; text-decoration: none; border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }

@media (max-width: 768px) { .nav-links, .nav-cta { display: none; } .hamburger { display: flex; } }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero { position: relative; padding: 96px 0 80px; text-align: center; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-light); border: 1px solid rgba(184,137,42,0.3); border-radius: 100px;
  padding: 6px 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 32px; animation: fadeSlideIn 0.6s ease both;
}
.hero h1 { font-size: clamp(38px, 6.5vw, 72px); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 28px; animation: fadeSlideIn 0.7s 0.1s ease both; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero-sub { font-family: 'Lora', serif; font-size: clamp(16px, 2.5vw, 20px); color: var(--secondary); max-width: 640px; margin: 0 auto 28px; animation: fadeSlideIn 0.7s 0.2s ease both; }
.hero-privacy {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13px; color: var(--secondary); background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 16px; margin-bottom: 40px; animation: fadeSlideIn 0.7s 0.3s ease both;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; animation: fadeSlideIn 0.7s 0.4s ease both; }

/* ─── PHONE SLIDER ──────────────────────────────────────────── */
.hero-phone { position: relative; display: inline-block; animation: fadeSlideIn 0.9s 0.5s ease both; }

.phone-frame {
  width: 260px; height: 520px;
  background: var(--card); border-radius: 40px; border: 2px solid var(--border);
  box-shadow: 0 40px 80px rgba(43,28,15,0.18), 0 0 0 1px var(--border), inset 0 0 0 2px var(--white);
  overflow: hidden; position: relative;
}
@media (prefers-color-scheme: dark) { .phone-frame { box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--border); } }

/* Notch — sits on top of all slide content */
.phone-notch-overlay {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100px; height: 28px; background: var(--card); border-radius: 0 0 20px 20px;
  z-index: 10; pointer-events: none;
}

.phone-slider { width: 100%; height: 100%; overflow: hidden; position: relative; }

.phone-slides-track {
  display: flex; height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.phone-slide {
  min-width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block; flex-shrink: 0;
  user-select: none;
}

/* Gradient + dot controls */
.phone-slider-ui {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 12px 12px;
  background: linear-gradient(to top, rgba(20,10,5,0.6) 0%, transparent 100%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 5;
}

.phone-slide-label {
  font-family: -apple-system, sans-serif; font-size: 9px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.65);
}

.slider-dots { display: flex; gap: 5px; }

.slider-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.38); border: none; padding: 0;
  cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.slider-dot.active { background: white; transform: scale(1.35); }

/* ─── FEATURES ──────────────────────────────────────────────── */
.features { padding: 96px 0; position: relative; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card { padding: 32px; transition: transform 0.2s, box-shadow 0.2s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(43,28,15,0.14); }
@media (prefers-color-scheme: dark) { .feature-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.5); } }
.feature-icon { font-size: 32px; margin-bottom: 16px; display: block; }
.feature-card h3 { font-size: 20px; margin-bottom: 10px; }
.feature-card p { font-size: 15px; line-height: 1.65; }

/* ─── HOW IT WORKS ──────────────────────────────────────────── */
.how-it-works {
  padding: 96px 0; background: var(--gold-light);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 36px;
  left: calc(33.333% - 20px); right: calc(33.333% - 20px); height: 2px;
  background: linear-gradient(90deg, var(--border), var(--gold), var(--border)); opacity: 0.6;
}
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

.step { text-align: center; position: relative; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%; background: var(--white); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
  font-family: 'Playfair Display', serif; font-style: italic; font-size: 28px; font-weight: 700;
  color: var(--primary); box-shadow: 0 4px 16px rgba(184,137,42,0.15);
}
@media (prefers-color-scheme: dark) { .step-num { color: var(--gold); } }
.step h3 { font-size: 20px; margin-bottom: 12px; }
.step p { font-size: 15px; }

/* ─── PRICING ───────────────────────────────────────────────── */
.pricing { padding: 96px 0; position: relative; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.pricing-card.featured { border-color: var(--gold); box-shadow: 0 4px 32px rgba(184,137,42,0.2); }
@media (prefers-color-scheme: dark) { .pricing-card.featured { box-shadow: 0 4px 32px rgba(196,149,42,0.25); } }

.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px; white-space: nowrap;
}
@media (prefers-color-scheme: dark) { .pricing-badge { color: #090C18; } }

.pricing-tier { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--secondary); margin-bottom: 12px; }
.pricing-price { font-family: 'Playfair Display', serif; font-style: italic; font-size: 42px; font-weight: 700; color: var(--dark); line-height: 1; margin-bottom: 4px; }
.pricing-price sup { font-size: 22px; vertical-align: super; line-height: 0; }
.pricing-cadence { font-family: -apple-system, sans-serif; font-size: 13px; color: var(--secondary); margin-bottom: 6px; }
.pricing-annual { font-family: -apple-system, sans-serif; font-size: 12px; color: var(--gold); font-weight: 600; margin-bottom: 24px; }
.pricing-divider { height: 1px; background: var(--border); margin-bottom: 20px; }
.pricing-desc { font-family: 'Lora', serif; font-style: italic; font-size: 14px; color: var(--secondary); margin-bottom: 20px; min-height: 40px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 13.5px; color: var(--dark); line-height: 1.4; }
.pricing-features li::before { content: '✦'; color: var(--gold); font-size: 10px; flex-shrink: 0; margin-top: 3px; }
.pricing-note { text-align: center; font-family: 'Lora', serif; font-style: italic; font-size: 14px; color: var(--secondary); margin-top: 40px; padding: 20px 28px; background: var(--gold-light); border: 1px solid rgba(184,137,42,0.25); border-radius: 10px; }

/* ─── INSTALL ───────────────────────────────────────────────── */
.install { padding: 96px 0; background: var(--primary); position: relative; overflow: hidden; }
@media (prefers-color-scheme: dark) { .install { background: #0A0E1E; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); } }

.install::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(ellipse 1px 1px at 0px 0px, rgba(255,255,255,0.07) 0%, transparent 100%);
  background-size: 28px 28px; pointer-events: none;
}
.install .section-header h2, .install .section-header p, .install h3, .install p { color: rgba(255,255,255,0.9); }
@media (prefers-color-scheme: dark) {
  .install .section-header h2 { color: var(--dark); }
  .install .section-header p  { color: var(--secondary); }
  .install h3 { color: var(--dark); }
  .install p  { color: var(--secondary); }
}
.install .section-label { color: rgba(255,255,255,0.5); }
@media (prefers-color-scheme: dark) { .install .section-label { color: var(--gold); } }

.install-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
@media (max-width: 640px) { .install-steps { grid-template-columns: 1fr; } }

.install-card {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px; padding: 28px; backdrop-filter: blur(8px);
}
@media (prefers-color-scheme: dark) { .install-card { background: var(--card); border-color: var(--border); } }

.install-platform { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.install-platform-icon { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.install-platform-icon svg { width: 100%; height: 100%; }

/* ── Apple logo ─────────────────────────────────────────────
   The install section background is always dark in both modes.
   Apple logo = white (light mode: white on burgundy, dark mode: white on navy)
   ─────────────────────────────────────────────────────────── */
.icon-apple-svg {
  fill: #ffffff; /* always white in the install section */
}

/* ── Android logo stays Android Green ──────────────────────── */
.icon-android-svg { fill: #3DDC84; }

.install-platform h3 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-style: normal; font-size: 16px; font-weight: 700; }

.install-steps-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.install-steps-list li { display: flex; align-items: flex-start; gap: 12px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.5; }
@media (prefers-color-scheme: dark) { .install-steps-list li { color: var(--secondary); } }

.install-step-num {
  width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: white; flex-shrink: 0; margin-top: 1px;
}
@media (prefers-color-scheme: dark) { .install-step-num { background: var(--gold); color: #090C18; } }

.install-cta { text-align: center; position: relative; z-index: 1; }
.install-privacy { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 16px; }
@media (prefers-color-scheme: dark) { .install-privacy { color: var(--secondary); } }

.install-cta .btn-primary { background: white; color: var(--primary); font-size: 18px; padding: 18px 40px; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.install-cta .btn-primary:hover { background: #F9F4EB; color: var(--primary-dark); }
@media (prefers-color-scheme: dark) {
  .install-cta .btn-primary { background: var(--gold); color: #090C18; }
  .install-cta .btn-primary:hover { background: var(--primary-dark); color: white; }
}

/* ─── FOOTER ────────────────────────────────────────────────── */
footer { background: var(--dark); padding: 56px 0 32px; }
@media (prefers-color-scheme: dark) { footer { background: #050810; border-top: 1px solid var(--border); } }

.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; }

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
/* Footer logo — black image inverted to white */
.footer-logo-img { height: 36px; width: auto; filter: invert(1) brightness(2); opacity: 0.85; }
.footer-logo-text { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 700; font-size: 20px; color: rgba(255,255,255,0.9); }
.footer-tagline { font-family: 'Lora', serif; font-style: italic; font-size: 14px; color: rgba(255,255,255,0.4); max-width: 240px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-link-group h4 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 16px; font-style: normal; }
.footer-link-group ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-link-group a { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 14px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.15s; }
.footer-link-group a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-built { font-family: 'Lora', serif; font-style: italic; font-size: 13px; color: rgba(255,255,255,0.25); }

/* ─── INNER PAGE (Privacy / Terms / Contact) ────────────────── */
.inner-page { padding: 72px 0 96px; position: relative; z-index: 1; }
.inner-page h1 { font-size: clamp(30px, 5vw, 52px); margin-bottom: 8px; }
.page-meta { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 13px; color: var(--secondary); margin-bottom: 48px; }
.inner-page h2 { font-size: 22px; margin-top: 48px; margin-bottom: 14px; }
.inner-page h3 { font-size: 17px; margin-top: 28px; margin-bottom: 10px; }
.inner-page p { margin-bottom: 16px; max-width: 720px; }
.inner-page ul { margin: 0 0 16px 20px; max-width: 720px; }
.inner-page li { color: var(--secondary); font-family: 'Lora', serif; font-size: 15px; line-height: 1.65; margin-bottom: 8px; }
.inner-page a { color: var(--primary); }
.inner-page .gold-rule { margin: 48px 0; }

/* Contact form ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; margin-top: 48px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 { font-size: 26px; margin-top: 0; margin-bottom: 16px; }
.contact-info p { margin-bottom: 24px; }

.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.contact-detail-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--gold-light); border: 1px solid rgba(184,137,42,0.25);
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-family: -apple-system, sans-serif; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.contact-detail-text span { font-size: 14px; color: var(--secondary); }

.form-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 40px; box-shadow: 0 4px 24px rgba(43,28,15,0.08); }
@media (prefers-color-scheme: dark) { .form-card { box-shadow: 0 4px 24px rgba(0,0,0,0.4); } }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 14px; font-family: 'Lora', serif; font-size: 15px; color: var(--dark);
  transition: border-color 0.15s, box-shadow 0.15s; outline: none; -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(120,41,58,0.12); }
@media (prefers-color-scheme: dark) {
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,149,42,0.15); }
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-notice { font-family: -apple-system, sans-serif; font-size: 12px; color: var(--secondary); margin-top: 16px; text-align: center; }

.form-success { display: none; text-align: center; padding: 32px 16px; }
.form-success .success-icon { font-size: 48px; margin-bottom: 16px; }
.form-success h3 { font-size: 22px; margin-bottom: 10px; }

.form-error { background: #FEF2F2; border: 1px solid #FECACA; border-radius: 8px; padding: 12px 16px; font-family: -apple-system, sans-serif; font-size: 13px; color: #B91C1C; margin-top: 16px; display: none; }
@media (prefers-color-scheme: dark) { .form-error { background: rgba(185,28,28,0.15); border-color: rgba(185,28,28,0.3); color: #FCA5A5; } }

/* ─── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ─── MISC ──────────────────────────────────────────────────── */
section { position: relative; z-index: 1; }

@media (max-width: 480px) {
  .hero { padding: 64px 0 56px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .phone-frame { width: 220px; height: 440px; }
}
