/* =============================================
   EGIL & FELICIA – WEDDING WEBSITE
   Design: Mountain / Nordic Elegance
   ============================================= */

/* ── VARIABLES ─────────────────────────────── */
:root {
  --color-forest:      #2a3d35;
  --color-forest-mid:  #3d5c4e;
  --color-forest-light:#4e7462;
  --color-sage:        #7a9e8e;
  --color-cream:       #f7f3ed;
  --color-warm-white:  #fdfaf6;
  --color-gold:        #c9a96e;
  --color-gold-light:  #e0c898;
  --color-stone:       #8c8a7e;
  --color-stone-light: #b5b3a8;
  --color-dark:        #1e2b24;
  --color-text:        #2c2c2a;
  --color-text-muted:  #6b6b64;
  --color-error:       #c0392b;
  --color-success:     #2e7d52;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Jost', system-ui, sans-serif;

  --radius:  8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.18);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-warm-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── TYPOGRAPHY ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.8rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── LAYOUT ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 760px;
}

.section {
  padding: 6rem 0;
}

.section-light { background: var(--color-warm-white); }
.section-dark  { background: var(--color-forest); color: var(--color-cream); }
.section-forest { background: var(--color-dark); color: var(--color-cream); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.section-dark .section-eyebrow,
.section-forest .section-eyebrow {
  color: var(--color-gold-light);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 1rem auto 0;
}

.section-dark .section-sub,
.section-forest .section-sub {
  color: rgba(247,243,237,0.7);
}

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 2rem;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-dark);
}

.btn-primary:hover {
  background: var(--color-gold-light);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
}

.section-dark .btn-outline,
.section-forest .btn-outline {
  border-color: var(--color-gold-light);
  color: var(--color-gold-light);
}

.btn-outline:hover {
  background: var(--color-gold);
  color: var(--color-dark);
  border-color: var(--color-gold);
}

.btn-full { width: 100%; }

/* ── NAV ────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

#nav.scrolled {
  background: rgba(26, 38, 31, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 0.1em;
  font-weight: 300;
  transition: opacity var(--transition);
}

.nav-logo:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  padding: 0.25rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 100vw);
    height: 100dvh;
    background: var(--color-dark);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem;
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    font-size: 1rem;
    letter-spacing: 0.15em;
  }
}

/* ── HERO ────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  /* Mountain landscape gradient – replaced with real photo via JS if available */
  background:
    linear-gradient(
      170deg,
      #0f1f18 0%,
      #1a2f25 30%,
      #243d32 55%,
      #1c3028 75%,
      #0f1a15 100%
    );
}

/* Layered mountain silhouette via SVG background */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='sky' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23060f0a'/%3E%3Cstop offset='0.4' stop-color='%230d2018'/%3E%3Cstop offset='1' stop-color='%23162b20'/%3E%3C/linearGradient%3E%3ClinearGradient id='stars' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff' stop-opacity='0.6'/%3E%3Cstop offset='1' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1440' height='900' fill='url(%23sky)'/%3E%3C!-- Stars --%3E%3Ccircle cx='120' cy='60' r='1.2' fill='%23fff' opacity='0.7'/%3E%3Ccircle cx='240' cy='30' r='0.9' fill='%23fff' opacity='0.5'/%3E%3Ccircle cx='380' cy='80' r='1.4' fill='%23fff' opacity='0.8'/%3E%3Ccircle cx='520' cy='45' r='1' fill='%23fff' opacity='0.6'/%3E%3Ccircle cx='700' cy='25' r='1.3' fill='%23fff' opacity='0.9'/%3E%3Ccircle cx='860' cy='70' r='0.8' fill='%23fff' opacity='0.5'/%3E%3Ccircle cx='1000' cy='35' r='1.5' fill='%23fff' opacity='0.7'/%3E%3Ccircle cx='1150' cy='55' r='1.1' fill='%23fff' opacity='0.6'/%3E%3Ccircle cx='1320' cy='40' r='1.3' fill='%23fff' opacity='0.8'/%3E%3Ccircle cx='1420' cy='90' r='0.9' fill='%23fff' opacity='0.4'/%3E%3Ccircle cx='60' cy='140' r='0.8' fill='%23fff' opacity='0.4'/%3E%3Ccircle cx='310' cy='120' r='1.1' fill='%23fff' opacity='0.6'/%3E%3Ccircle cx='630' cy='110' r='0.7' fill='%23fff' opacity='0.5'/%3E%3Ccircle cx='940' cy='130' r='1.2' fill='%23fff' opacity='0.7'/%3E%3Ccircle cx='1200' cy='100' r='1' fill='%23fff' opacity='0.5'/%3E%3C!-- Aurora hint --%3E%3Cellipse cx='720' cy='200' rx='500' ry='80' fill='%2322c55e' opacity='0.04'/%3E%3Cellipse cx='720' cy='180' rx='350' ry='50' fill='%2306b6d4' opacity='0.03'/%3E%3C!-- Far mountains --%3E%3Cpath d='M0 620 L80 420 L180 520 L280 360 L400 480 L520 300 L640 460 L760 340 L880 480 L1000 320 L1100 440 L1200 380 L1300 480 L1440 360 L1440 900 L0 900Z' fill='%23162b20' opacity='0.9'/%3E%3C!-- Mid mountains with snow caps --%3E%3Cpath d='M0 680 L60 530 L140 600 L220 480 L320 560 L420 440 L500 540 L580 460 L680 550 L760 420 L840 510 L920 460 L1020 540 L1100 480 L1180 560 L1280 440 L1360 530 L1440 500 L1440 900 L0 900Z' fill='%231e3829'/%3E%3C!-- Snow caps --%3E%3Cpath d='M218 484 L240 510 L260 494 L280 480 L300 498 L220 484Z' fill='%23e8f0e8' opacity='0.6'/%3E%3Cpath d='M418 444 L440 468 L460 452 L480 440 L500 458 L420 444Z' fill='%23e8f0e8' opacity='0.6'/%3E%3Cpath d='M758 424 L778 446 L798 430 L818 420 L760 424Z' fill='%23e8f0e8' opacity='0.6'/%3E%3Cpath d='M1098 484 L1118 504 L1138 490 L1100 484Z' fill='%23e8f0e8' opacity='0.5'/%3E%3C!-- Foreground trees --%3E%3Cpath d='M0 760 Q20 740 30 760 Q35 745 45 760 Q50 748 60 760 Q70 745 80 760 Q85 748 95 760 L0 760Z' fill='%230d1f16'/%3E%3Cpath d='M1340 760 Q1360 740 1370 760 Q1375 745 1385 760 Q1390 748 1400 760 Q1410 745 1420 760 Q1425 748 1440 760 L1340 760Z' fill='%230d1f16'/%3E%3C!-- Ground --%3E%3Crect x='0' y='760' width='1440' height='140' fill='%230a1810'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.1) 40%,
    rgba(0,0,0,0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 6rem 1.5rem 4rem;
  max-width: 800px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-content h1 {
  font-weight: 300;
  color: #fff;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-content h1 .ampersand {
  color: var(--color-gold-light);
  font-style: italic;
}

.hero-date {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.55s forwards;
}

.hero-place {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s forwards;
}

.hero-place svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.75s forwards;
}

/* Countdown */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.countdown-num {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 300;
  color: #fff;
  line-height: 1;
}

.countdown-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-top: 0.25rem;
}

.countdown-sep {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--color-gold);
  margin: 0 0.25rem;
  margin-bottom: 1.2rem;
  line-height: 1;
}

.hero-content .btn {
  opacity: 0;
  animation: fadeUp 0.8s 1.05s forwards;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 100px;
  position: relative;
}

.hero-scroll-hint span::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 100px;
  animation: scrollDot 2s ease-in-out infinite;
}

/* ── SCHEDULE / TIMELINE ─────────────────────── */
.timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--color-gold) 10%, var(--color-gold) 90%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 32px 1fr;
  gap: 0 1.5rem;
  align-items: start;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-item:nth-child(odd) .timeline-time  { text-align: right; grid-column: 1; }
.timeline-item:nth-child(odd) .timeline-dot   { grid-column: 2; }
.timeline-item:nth-child(odd) .timeline-content { grid-column: 3; }

.timeline-item:nth-child(even) .timeline-time   { text-align: left; grid-column: 3; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-dot    { grid-column: 2; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-content { grid-column: 1; grid-row: 1; text-align: right; }

.timeline-time {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-gold);
  padding-top: 2px;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  background: var(--color-gold);
  border-radius: 50%;
  border: 3px solid var(--color-warm-white);
  margin: 6px auto 0;
  box-shadow: 0 0 0 3px var(--color-gold);
  flex-shrink: 0;
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--color-forest);
}

.timeline-content p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 600px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 0 1rem;
  }

  .timeline-item:nth-child(odd)  .timeline-time,
  .timeline-item:nth-child(even) .timeline-time  {
    display: none;
  }

  .timeline-item:nth-child(odd)  .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot   { grid-column: 1; grid-row: 1; }

  .timeline-item:nth-child(odd)  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content { grid-column: 2; grid-row: 1; text-align: left; }

  .timeline-content h3 + p::before {
    content: attr(data-time) ' · ';
    color: var(--color-gold);
    font-family: var(--font-serif);
  }
}

/* ── CARDS ───────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.section-dark .card {
  background: rgba(255,255,255,0.04);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  border-color: rgba(201,169,110,0.5);
}

.card-featured {
  border-color: var(--color-gold);
  background: rgba(201,169,110,0.06);
}

.card-badge {
  position: absolute;
  top: -1px;
  left: 1.5rem;
  background: var(--color-gold);
  color: var(--color-dark);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 0 0 var(--radius) var(--radius);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.card h3 {
  color: var(--color-cream);
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.92rem;
  color: rgba(247,243,237,0.75);
  margin-bottom: 1rem;
}

.card-list {
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.card-list li {
  font-size: 0.88rem;
  color: rgba(247,243,237,0.7);
  padding-left: 1.2rem;
  position: relative;
}

.card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: 0.8rem;
}

.card-note {
  font-size: 0.85rem;
  color: rgba(247,243,237,0.7);
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.card-note code {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  color: var(--color-gold-light);
  letter-spacing: 0.08em;
}

/* ── INFO BOX ────────────────────────────────── */
.info-box {
  background: rgba(201,169,110,0.08);
  border: 1px solid rgba(201,169,110,0.2);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.92rem;
}

.section-dark .info-box,
.section-forest .info-box {
  color: rgba(247,243,237,0.85);
}

/* ── TRAVEL ─────────────────────────────────── */
.travel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.travel-card {
  background: var(--color-cream);
  border: 1px solid rgba(139,138,126,0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.travel-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.travel-card h3 {
  color: var(--color-forest);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.travel-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.travel-detail {
  font-size: 0.83rem !important;
  color: var(--color-stone) !important;
  font-style: italic;
  background: rgba(42,61,53,0.05);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  margin-top: 0.75rem !important;
}

.travel-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-forest-mid);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--color-gold);
  text-underline-offset: 3px;
}

.map-placeholder {
  border: 1px dashed rgba(139,138,126,0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.map-inner {
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--color-cream) 0%, #eee9df 100%);
}

.map-inner p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.map-inner p:first-child {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

/* ── FORM / RSVP ──────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label:not(.radio-label) {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: #fff;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(255,255,255,0.09);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--color-error);
}

.form-error {
  font-size: 0.82rem;
  color: #ff8080;
  min-height: 1.2em;
}

.form-hint {
  font-size: 0.8rem;
  color: rgba(247,243,237,0.45);
}

/* Radio */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: rgba(247,243,237,0.85);
  padding: 0.75rem 1rem;
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}

.radio-label:hover {
  border-color: rgba(201,169,110,0.4);
  background: rgba(201,169,110,0.06);
}

.radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(201,169,110,0.4);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color var(--transition);
}

.radio-label input:checked ~ .radio-custom {
  border-color: var(--color-gold);
}

.radio-label input:checked ~ .radio-custom::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--color-gold);
  border-radius: 50%;
}

.radio-label:has(input:checked) {
  border-color: var(--color-gold);
  background: rgba(201,169,110,0.08);
}

/* Success messages */
.success-message {
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.success-message h3 {
  font-size: 2rem;
  color: var(--color-cream);
  margin-bottom: 1rem;
}

.success-message p {
  color: rgba(247,243,237,0.75);
}

.success-sub {
  font-size: 0.9rem;
  margin-top: 1rem;
}

.success-message--sad .success-icon { filter: grayscale(0.5); }

/* ── CONTACT ─────────────────────────────────── */
.contact-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: var(--color-cream);
  border: 1px solid rgba(139,138,126,0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.contact-avatar {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--color-forest), var(--color-forest-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-gold-light);
  flex-shrink: 0;
  letter-spacing: 0.1em;
}

.contact-info h3 {
  color: var(--color-forest);
  margin-bottom: 0.2rem;
}

.contact-title {
  font-size: 0.85rem;
  color: var(--color-stone);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 1rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--color-forest-mid);
  transition: color var(--transition);
}

.contact-method:hover { color: var(--color-forest); }

.contact-method svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .contact-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .contact-methods { align-items: center; }
}

/* ── GIFTS ───────────────────────────────────── */
.gifts-intro {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(247,243,237,0.85);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.gift-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gift-option {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.gift-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.gift-option h3 {
  color: var(--color-cream);
  margin-bottom: 0.75rem;
}

.gift-option p {
  font-size: 0.92rem;
  color: rgba(247,243,237,0.7);
  margin-bottom: 1.5rem;
}

.swish-box {
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.swish-number {
  font-family: 'Courier New', monospace;
  font-size: 1.4rem;
  color: var(--color-gold-light);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.25rem;
}

.swish-name {
  font-size: 0.9rem;
  color: rgba(247,243,237,0.7);
  margin-bottom: 0.25rem;
}

.swish-note {
  font-size: 0.8rem;
  color: rgba(247,243,237,0.45);
  font-style: italic;
}

/* ── ACCORDION / FAQ ─────────────────────────── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(139,138,126,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid rgba(139,138,126,0.1);
}

.accordion-item:last-child { border-bottom: none; }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--color-text);
  text-align: left;
  background: var(--color-cream);
  transition: background var(--transition), color var(--transition);
}

.accordion-trigger:hover {
  background: #f0ece4;
  color: var(--color-forest);
}

.accordion-trigger[aria-expanded="true"] {
  background: var(--color-forest);
  color: var(--color-cream);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.accordion-content.open {
  max-height: 400px;
}

.accordion-content p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(139,138,126,0.08);
  padding-top: 1rem;
}

/* ── FOOTER ──────────────────────────────────── */
#footer {
  background: var(--color-dark);
  color: rgba(247,243,237,0.6);
  text-align: center;
  padding: 3rem 1.5rem;
}

.footer-names {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-cream);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.footer-date {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,243,237,0.5);
  transition: color var(--transition);
  padding: 0.25rem 0;
}

.footer-nav a:hover { color: var(--color-gold-light); }

.footer-love {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(247,243,237,0.35);
  margin: 0;
}

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollDot {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  80%       { transform: translateX(-50%) translateY(14px); opacity: 0; }
}

/* Scroll-reveal class */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── UTILITY ─────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  .countdown-unit { min-width: 52px; }
  .countdown-num { font-size: clamp(2rem, 8vw, 3rem); }

  .cards { grid-template-columns: 1fr; }
  .travel-grid { grid-template-columns: 1fr; }
  .gift-options { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 1rem; }

  .hero-content { padding: 5rem 1rem 3rem; }

  .countdown-sep { margin: 0 0.1rem; }
  .countdown-unit { min-width: 44px; }

  .section-header { margin-bottom: 2.5rem; }

  .container { padding: 0 1rem; }
}

/* ── PRINT ───────────────────────────────────── */
@media print {
  #nav, .hero-scroll-hint, .btn { display: none; }
  #hero { min-height: auto; padding: 2rem 0; }
  .section { padding: 2rem 0; }
}
