/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --red:    #C8102E;
  --red-dk: #a80e26;
  --navy:   #0A2540;
  --navy-dk:#071D33;
  --white:  #FFFFFF;
  --mist:   #ECEFF3;
  --slate:  #5C6B7A;

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --nav-h:       72px;
  --max-w:       1100px;
  --section-py:  5rem;
  --radius:      10px;
  --radius-lg:   18px;

  --shadow-sm: 0 1px 4px rgba(10,37,64,.07);
  --shadow-md: 0 4px 20px rgba(10,37,64,.11);
  --shadow-lg: 0 8px 40px rgba(10,37,64,.16);

  --ease: 200ms ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol { list-style: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2.5rem; }
}

.section {
  padding: var(--section-py) 0;
}

.section--mist { background: var(--mist); }

.section--navy {
  background: var(--navy);
  color: rgba(255,255,255,.8);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 { color: var(--white); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: .75rem;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
  cursor: pointer;
}

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-red {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn-red:hover,
.btn-red:focus-visible {
  background: var(--red-dk);
  border-color: var(--red-dk);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-navy:hover,
.btn-navy:focus-visible {
  background: var(--navy-dk);
  border-color: var(--navy-dk);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--navy);
  color: var(--white);
}

/* Focus ring for all interactive elements */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(10,37,64,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  flex-wrap: wrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: var(--navy);
  flex-shrink: 0;
}

.nav-brand-mark {
  width: 28px;
  height: auto;
}

.nav-brand-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -.01em;
}

/* Hamburger */
.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin: -8px;
}

.nav-burger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

/* Burger → X */
.nav-open .nav-burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-burger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-open .nav-burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav links (hidden by default) */
.nav-links {
  display: none;
  flex-direction: column;
  width: 100%;
  padding: .5rem 0 1.25rem;
  gap: .125rem;
}

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

.nav-link {
  display: block;
  padding: .625rem 0;
  color: var(--navy);
  font-size: .9375rem;
  font-weight: 500;
  transition: color var(--ease);
}

.nav-link:hover { color: var(--red); }

.nav-cta { align-self: flex-start; margin-top: .5rem; }

/* Desktop nav */
@media (min-width: 860px) {
  .nav-burger { display: none; }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    width: auto;
    padding: 0;
    gap: .25rem;
  }

  .nav-link { padding: .5rem .75rem; }

  .nav-cta { margin-top: 0; margin-left: .5rem; }
}

/* Anchor offset for sticky nav */
section[id] { scroll-margin-top: var(--nav-h); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 6rem 0 8rem;
  overflow: hidden;
}

/* Large decorative logo mark, right side */
.hero-bg-mark {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(460px, 55vw);
  opacity: .05;
  color: var(--white);
  pointer-events: none;
  user-select: none;
}

.hero-bg-mark svg { width: 100%; height: auto; }

.hero-content {
  position: relative;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Wave transition at bottom of hero */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg { width: 100%; display: block; }

/* ============================================================
   STEPS (HOW IT WORKS)
   ============================================================ */
.steps-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  counter-reset: step;
}

.step-card {
  background: var(--white);
  border: 1px solid rgba(10,37,64,.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), transform var(--ease);
}

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

.step-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--red);
  opacity: .25;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.step-desc {
  font-size: .9375rem;
  line-height: 1.65;
}

@media (min-width: 600px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   COMPARISON (COUNTRY & FLAG)
   ============================================================ */
.comparison-group {
  margin-bottom: 3rem;
}

.comparison-group-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.comparison-group-title {
  font-size: 1.25rem;
}

.example-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  color: var(--slate);
  background: rgba(92,107,122,.12);
  border: 1px solid rgba(92,107,122,.2);
  border-radius: 999px;
  padding: .25rem .75rem;
}

.comparison-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .comparison-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .comparison-grid { grid-template-columns: repeat(3, 1fr); }
}

.comparison-card {
  background: var(--white);
  border: 1px solid rgba(10,37,64,.09);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.comparison-card-name {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(10,37,64,.07);
}

.pro-con-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.pro-con-list li {
  font-size: .875rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.pro::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 600;
  color: #1A7A4A;
}

.con::before {
  content: '–';
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--slate);
}

.comparison-cta {
  text-align: center;
  padding-top: 1rem;
}

.comparison-cta p {
  margin-bottom: 1.5rem;
  font-size: .9375rem;
  color: var(--slate);
}

/* ============================================================
   PACKAGES
   ============================================================ */
.packages-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 720px) {
  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid rgba(10,37,64,.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow var(--ease);
}

.package-card:hover { box-shadow: var(--shadow-md); }

.package-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  color: rgba(255,255,255,.8);
  box-shadow: var(--shadow-lg);
}

.package-card--featured h3,
.package-card--featured .package-tier,
.package-card--featured .price-symbol { color: var(--white); }

.package-card--featured .package-tagline,
.package-card--featured .price-note { color: rgba(255,255,255,.6); }

.package-card--featured .package-features li {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.1);
}

.package-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.package-header {
  margin-bottom: 1.5rem;
}

.package-tier {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: .375rem;
}

.package-name {
  font-size: 1.5rem;
  margin-bottom: .5rem;
}

.package-tagline {
  font-size: .875rem;
  color: var(--slate);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  margin-top: .75rem;
}

.price-symbol {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -.05em;
}

.price-note {
  font-size: .8125rem;
  color: var(--slate);
}

.package-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .125rem;
  margin-bottom: 2rem;
}

.package-features li {
  font-size: .9rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(10,37,64,.06);
  padding-left: 1.25rem;
  position: relative;
}

.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-size: .8rem;
  color: var(--red);
  font-weight: 700;
}

.package-card--featured .package-features li::before { color: #C8102E; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-layout {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .about-layout {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}

.about-photo-slot {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  aspect-ratio: 3/4;
  background: rgba(92,107,122,.1);
  border: 2px dashed rgba(92,107,122,.25);
  border-radius: var(--radius-lg);
  color: var(--slate);
  font-size: .875rem;
}

.about-content .section-title { margin-bottom: 1.25rem; }

.about-text {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-placeholder {
  color: var(--slate);
  opacity: .7;
  font-size: .9375rem;
}

/* ============================================================
   CONTACT & FORM
   ============================================================ */
.contact-layout {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr 1.6fr;
    align-items: start;
    gap: 5rem;
  }
}

.contact-intro .section-title { margin-bottom: 1rem; }

.contact-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-email {
  display: inline-block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: .125rem;
  transition: border-color var(--ease);
}

.contact-email:hover { border-color: var(--white); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 500px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

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

.form-label {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
}

.required { color: var(--red); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9375rem;
  transition: border-color var(--ease), background var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.12);
}

/* Custom select arrow */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option { background: var(--navy); color: var(--white); }

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

/* Success state */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem 2rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
}

.form-success[hidden] { display: none; }

.form-success-title {
  font-size: 1.375rem;
  color: var(--white);
}

.form-success-text {
  color: rgba(255,255,255,.7);
  font-size: .9375rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dk);
  color: rgba(255,255,255,.55);
  padding: 3.5rem 0;
}

.footer-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .footer-layout {
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 3rem;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: var(--white);
  margin-bottom: .75rem;
}

.footer-logo-mark {
  width: 26px;
  height: auto;
}

.footer-logo-name {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
}

.footer-tagline {
  font-size: .875rem;
  line-height: 1.55;
  max-width: 240px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.footer-nav-link {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--ease);
}

.footer-nav-link:hover { color: var(--white); }

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

@media (min-width: 720px) {
  .footer-meta { text-align: right; }
}

.footer-email {
  display: inline-block;
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: color var(--ease);
}

.footer-email:hover { color: var(--white); }

.footer-copyright { font-size: .8125rem; }

.footer-disclaimer {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  line-height: 1.5;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

/* Stagger children in grids */
.steps-grid .step-card:nth-child(1).reveal { transition-delay: 0ms; }
.steps-grid .step-card:nth-child(2).reveal { transition-delay: 80ms; }
.steps-grid .step-card:nth-child(3).reveal { transition-delay: 160ms; }
.steps-grid .step-card:nth-child(4).reveal { transition-delay: 240ms; }

.packages-grid .package-card:nth-child(1).reveal { transition-delay: 0ms; }
.packages-grid .package-card:nth-child(2).reveal { transition-delay: 100ms; }
.packages-grid .package-card:nth-child(3).reveal { transition-delay: 200ms; }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
