/* Beg Health Travel — shared stylesheet */

:root {
  --navy-900: #0a1f38;
  --navy-800: #0f2a4a;
  --navy-700: #163a63;
  --navy-100: #e8edf4;
  --gold-600: #c9973f;
  --gold-500: #d8ab5c;
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #eef0f3;
  --gray-300: #cfd5de;
  --gray-500: #6b7686;
  --gray-700: #3a4453;
  --text: #1b2531;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15, 42, 74, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 42, 74, 0.12);
  --shadow-lg: 0 16px 40px rgba(15, 42, 74, 0.16);
  --container: 1180px;
  --header-h: 76px;
  font-size: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { line-height: 1.25; margin: 0 0 .6em; color: var(--navy-800); font-weight: 700; }
h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.3rem; }
h5 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-600); }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy-800); color: #fff;
  padding: 10px 16px; z-index: 2000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--gold-600); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: .2s ease;
}
.btn-primary { background: var(--gold-600); color: var(--navy-900); }
.btn-primary:hover { background: var(--gold-500); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--gray-100);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand {
  display: inline-block; white-space: nowrap;
  font-weight: 700; letter-spacing: -0.01em; font-size: 22px;
  color: var(--navy-800); text-decoration: none; line-height: 1;
}
.brand-accent { color: var(--gold-600); }
.brand-footer { color: #fff; font-size: 20px; }
.brand-footer .brand-accent { color: var(--gold-500); }
@media (max-width: 760px) {
  .brand { font-size: 18px; }
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: inline-block; padding: 10px 14px; text-decoration: none; color: var(--navy-800);
  font-weight: 600; font-size: .95rem; border-radius: 8px; transition: .15s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--navy-100); color: var(--navy-900); }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch button {
  display: flex; align-items: center; gap: 6px; background: var(--gray-50);
  border: 1px solid var(--gray-300); border-radius: 999px; padding: 8px 14px;
  font-weight: 700; font-size: .85rem; cursor: pointer; color: var(--navy-800);
}
.lang-switch button::after { content: "▾"; font-size: .7rem; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--gray-100);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md); min-width: 160px; padding: 6px; display: none;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu a {
  display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 8px;
  text-decoration: none; color: var(--text); font-size: .92rem;
}
.lang-menu a:hover { background: var(--navy-100); }
.lang-menu a[aria-current="true"] { font-weight: 700; color: var(--gold-600); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-800); display: block; }

/* Hero */
.hero {
  background: linear-gradient(180deg, rgba(10,31,56,.86), rgba(10,31,56,.82)), var(--hero-img, none);
  background-size: cover; background-position: center;
  color: #fff; padding: 96px 0 88px;
}
.hero .eyebrow { color: var(--gold-500); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; margin-bottom: 14px; }
.hero h1 { color: #fff; max-width: 820px; }
.hero p.lead { max-width: 640px; font-size: 1.1rem; color: var(--gray-100); }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.page-hero { padding: 64px 0 56px; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--gray-50); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.eyebrow { display: inline-block; color: var(--gold-600); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: .82rem; margin-bottom: 10px; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm); transition: .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .icon {
  width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--navy-100);
  display: flex; align-items: center; justify-content: center; color: var(--navy-800); margin-bottom: 18px; font-size: 1.4rem;
}
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }

.media-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media-block img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.media-block.reverse .media-img { order: 2; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-row strong { display: block; font-size: 2rem; color: var(--navy-800); }
.stat-row span { color: var(--gray-500); font-size: .9rem; }

.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy-800); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 16px;
}

.list-check li { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.list-check li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-600);
  color: var(--navy-900); font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

/* CTA band */
.cta-band { background: var(--navy-800); color: #fff; padding: 64px 0; border-radius: var(--radius-lg); margin: 0 24px; }
.cta-band .container { max-width: var(--container); }
.cta-band h2 { color: #fff; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-methods { display: grid; gap: 16px; margin-bottom: 32px; }
.contact-method {
  display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--gray-100);
  border-radius: var(--radius-md); padding: 18px; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm);
}
.contact-method .icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--navy-100); color: var(--navy-800);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.contact-method h3 { margin: 0 0 2px; font-size: 1rem; }
.contact-method p { margin: 0; color: var(--gray-500); font-size: .92rem; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Form */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
  font-size: .96rem; font-family: inherit; background: #fff; color: var(--text);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--navy-700); outline: none; box-shadow: 0 0 0 3px rgba(22,58,99,.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--gray-700); }
.form-consent input { margin-top: 3px; }
.form-consent a { color: var(--navy-800); text-decoration: underline; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: .92rem; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #e5f6ec; color: #1c6b3d; }
.form-status.error { background: #fdecec; color: #a4262c; }

/* Bank info */
.bank-box { background: var(--navy-100); border-radius: var(--radius-md); padding: 22px; }
.bank-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(15,42,74,.08); }
.bank-row:last-child { border-bottom: none; }
.bank-row span.label { color: var(--gray-500); font-size: .85rem; display: block; }
.bank-row span.value { font-weight: 700; color: var(--navy-800); word-break: break-word; }
.copy-btn {
  border: 1px solid var(--navy-700); background: #fff; color: var(--navy-800); border-radius: 8px;
  padding: 6px 12px; font-size: .8rem; font-weight: 700; cursor: pointer; flex: none;
}
.copy-btn:hover { background: var(--navy-800); color: #fff; }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--gray-100); padding: 64px 0 28px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h5 { color: var(--gold-500); }
.site-footer a { color: var(--gray-100); text-decoration: none; }
.site-footer a:hover { color: var(--gold-500); }
.footer-about .brand { margin-bottom: 14px; }
.footer-about p { color: var(--gray-300); font-size: .92rem; max-width: 320px; }
.footer-links li { margin-bottom: 10px; font-size: .92rem; }
.footer-contact li { margin-bottom: 12px; font-size: .92rem; color: var(--gray-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: var(--gray-500);
}
.footer-bottom a { color: var(--gray-500); }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  z-index: 900; transition: transform .15s;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 640px; margin: 0 auto;
  background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); padding: 22px 24px;
  box-shadow: var(--shadow-lg); z-index: 1200; display: none; gap: 16px; flex-wrap: wrap; align-items: center;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: .88rem; color: var(--gray-100); flex: 1 1 260px; }
.cookie-banner a { text-decoration: underline; color: var(--gold-500); }
.cookie-actions { display: flex; gap: 10px; }

/* 404 */
.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-page .code { font-size: 6rem; font-weight: 800; color: var(--navy-100); line-height: 1; }

/* Legal pages */
.legal h2 { margin-top: 2em; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal ul li { margin-bottom: .4em; }

/* Breadcrumb */
.breadcrumb { font-size: .85rem; color: var(--gray-500); margin-bottom: 16px; }
.breadcrumb a { color: var(--gray-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy-800); }

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .media-block { grid-template-columns: 1fr; gap: 28px; }
  .media-block.reverse .media-img { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  /* NOTE: .site-header uses position:sticky, and in Chrome a position:fixed
     descendant of a position:sticky ancestor resolves its containing block to
     that ancestor's box instead of the viewport — so `bottom:0` collapsed this
     panel to the header's own ~76px height. `dvh` is always viewport-relative
     regardless of containing block, so we size with it explicitly instead of
     relying on top+bottom inset. */
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    height: calc(100dvh - var(--header-h));
    background: var(--white); flex-direction: column;
    align-items: stretch; padding: 8px 16px 24px; gap: 0;
    transform: translateX(100%); transition: transform .25s ease;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    z-index: 999; visibility: hidden;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav a {
    display: flex; align-items: center; min-height: 48px;
    padding: 12px 16px; font-size: 1.05rem; border-bottom: 1px solid var(--gray-100);
  }
  .mobile-lang-list {
    display: flex; flex-direction: column; margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--gray-100);
  }
  .mobile-lang-list a {
    display: flex; align-items: center; justify-content: space-between; min-height: 48px;
    padding: 12px 16px; font-size: 1rem; text-decoration: none; color: var(--text);
    border-bottom: 1px solid var(--gray-100);
  }
  .mobile-lang-list a[aria-current="true"] { font-weight: 700; color: var(--gold-600); }
  body.nav-open { overflow: hidden; }
  .header-actions .lang-switch { display: none; }
  .header-actions .btn-navy.desktop-only { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 64px 0 56px; }
  .cta-band { margin: 0 16px; padding: 44px 0; }
  .cta-band .container { padding-inline: 24px; }
}
