:root{
  --blue:#2563EB; --accent:#F97316; --bg:#F3F7FF; --card:#ffffff; --text:#0b1220;
  --muted:#6B7280; --success:#10B981; --danger:#EF4444;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  font-family:Inter,system-ui,Arial,sans-serif;
  margin:0;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
.container{max-width:1100px;margin:0 auto;padding:0 20px}

/* ================= HEADER ================== */
.site-header{
  background:#fff;
  padding:12px 0;
  box-shadow:0 1px 8px rgba(2,6,23,0.06);
  position:sticky;
  top:0;
  z-index:1000; /* raised so header is above normal content */
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand-logo{height:36px}

/* default desktop nav (inline) */
.nav{
  display:flex;
  gap:14px;
  align-items:center;
}
.nav a{
  color:#374151;
  text-decoration:none;
  font-size:14px;
}

/* CTA styles */
.header-actions .cta{
  background:var(--accent);
  color:#fff;
  border:none;
  padding:8px 12px;
  border-radius:8px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

/* mobile toggle (hamburger) */
.mobile-nav-toggle{
  display:none;
  background:transparent;
  border:none;
  font-size:22px;
  color:var(--text);
  cursor:pointer;
  padding:6px;
  line-height:1;
  z-index:1105; /* keep above overlay */
}

/* WA mobile button default hidden (desktop shows CTA instead) */
.wa-mobile-btn{display:none; border:none; background:transparent; padding:6px; cursor:pointer;}

/* ----- Desktop header ordering fix ----- */
/* Force brand (left) → nav (middle/left) → actions (right) on desktop */
@media (min-width: 881px) {
  .header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start; /* brand left, actions pushed right by margin-left:auto */
  }
  .brand-link { order: 1; }
  .nav { order: 2; display: flex; align-items: center; gap: 14px; margin-left: 20px; }
  .header-actions { order: 3; margin-left: auto; display: flex; align-items: center; gap: 12px; }
  .wa-mobile-btn { display: none !important; }
  .mobile-nav-toggle { display: none !important; }
}

/* ================= OFF-CANVAS NAV & OVERLAY ================== */
/* overlay element (added to DOM as #navOverlay) */
.nav-overlay{
  position:fixed;
  left:0;
  top:0;
  right:0;
  bottom:0;
  background:rgba(0,0,0,0.35);
  z-index:1100;
  opacity:0;
  pointer-events:none;
  transition:opacity 220ms ease;
}

/* overlay visible state */
.nav-overlay.show{
  opacity:1;
  pointer-events:auto;
}

/* mobile nav drawer default (hidden off-canvas) */
@media (max-width:880px){
  .mobile-nav-toggle{display:block}

  /* Hide the inline desktop nav on mobile — we will use off-canvas drawer */
  .nav{
    display:flex;
    flex-direction:column;
    gap:0;
    position:fixed;
    top:0;
    right:-100%; /* hidden to the right */
    width:85%;
    max-width:360px;
    height:100vh;
    background:linear-gradient(180deg,#ffffff,#FAFDFF);
    box-shadow:-12px 0 40px rgba(2,6,23,0.12);
    padding:72px 18px 18px; /* leave space for header */
    border-radius:12px 0 0 12px;
    z-index:1110;
    transition:right 240ms ease;
    overflow:auto;
  }

  /* Visible state for nav drawer */
  .nav.show{
    right:0;
  }

  /* nav links — stacked and larger for mobile */
  .nav a{
    display:block;
    padding:14px 8px;
    font-size:16px;
    color:#0f172a;
    border-radius:8px;
    margin-bottom:6px;
  }
  .nav a:hover{ background:rgba(2,6,23,0.03) }

  /* hide desktop CTA - we use the mobile WA bubble instead */
  .header-actions .cta{ display:none; }

  /* show the dedicated WA icon/button on mobile */
  .wa-mobile-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    box-shadow:0 8px 24px rgba(2,6,23,0.15);
    z-index:1115;
  }

  /* ensure mobile toggle stays at right edge and not in the middle */
  .mobile-nav-toggle{
    position:relative;
    z-index:1116; /* above nav & overlay so click registers */
    background:transparent;
  }
}

/* ================= HERO ================== */
.hero{
  padding:44px 0;
  background:linear-gradient(90deg,var(--blue),#1D4ED8);
  color:#fff;
}
.hero-inner{
  display:flex;
  gap:22px;
  align-items:stretch;
  flex-wrap:wrap;
}
.hero-copy{flex:1;min-width:260px}
.hero-copy h1{
  font-size:32px;margin:0 0 10px;line-height:1.06;
}
.lead{color:rgba(255,255,255,0.95);margin-bottom:14px}
.hero-cta .btn{margin-right:10px}
.offer{margin-top:12px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.offer .seats{
  background:rgba(255,255,255,0.12);
  padding:6px 8px;
  border-radius:6px;
}
.hero-right{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* ================= FEATURED CAROUSEL ================== */

.featured{
  background:var(--card);
  padding:20px;
  border-radius:12px;
  min-height:220px;
  border-left:6px solid rgba(37,99,235,0.10);
  box-shadow:0 20px 40px rgba(2,6,23,0.10);
}

.carousel-card{
  padding:20px;
  border-radius:12px;
  background:linear-gradient(180deg,#fff,#FAFDFF);
  border:1px solid rgba(15,23,42,0.05);
}
.carousel-title{
  font-size:22px;
  font-weight:900;
  margin-bottom:6px;
  color:#07102A;
}
.carousel-duration{font-size:13px;color:var(--muted)}
.carousel-price{
  font-size:22px;
  font-weight:900;
  color:#059669;
}

/* Dots */
.carousel-dots{
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top:10px;
}
.carousel-dots .dot{
  width:12px;height:12px;
  background:#d1d5db;
  border-radius:50%;
  cursor:pointer;
  transition:background 180ms ease,transform 180ms ease;
}
.carousel-dots .dot.active{
  background:#111;
  transform:scale(1.1);
}

/* ================= SECTIONS ================== */
.section{padding:28px 0}
.section:nth-of-type(odd){background:#F8FBFF}
.section:nth-of-type(even){background:transparent}
.section+ .section{
  border-top:1px solid rgba(15,23,42,0.05);
}

.section h2{
  font-size:22px;
  margin-bottom:12px;
  color:#07102A;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
}

/* ================= CARDS ================== */
.card{
  background:linear-gradient(180deg,#ffffff,#FBFDFF);
  padding:16px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,0.05);
  box-shadow:0 12px 36px rgba(2,6,23,0.06);
  transition:transform 220ms ease,box-shadow 220ms ease,border-color 220ms ease;
}
.card:hover,.featured:hover{
  transform:translateY(-6px);
  box-shadow:0 28px 80px rgba(2,6,23,0.12);
  border-color:rgba(37,99,235,0.12);
}

.card .card-title{
  font-size:16px;
  font-weight:800;
  color:#07102A;
}

.card ul{
  list-style:none;
  padding-left:0;margin:10px 0 0 0;
}
.card ul li{
  position:relative;
  padding-left:22px;
  margin-bottom:6px;
  color:#374151;
}
.card ul li::before{
  content:"✓";
  position:absolute;
  left:0;top:0;
  font-size:12px;
  color:var(--blue);
}

/* ================= ADVANTAGE ================== */
.adv-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;
}
.adv-card{
  background:var(--card);
  padding:16px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,0.05);
  box-shadow:0 12px 36px rgba(2,6,23,0.06);
}

/* ================= TESTIMONIALS ================== */
.testimonials-section{padding-bottom:10px}
.testimonials-marquee{overflow:hidden}
.marquee-wrap{
  display:flex;
  align-items:center;
  gap:16px;
  animation:marquee 28s linear infinite;
}
.marquee-wrap:hover{animation-play-state:paused}

.testimonial{
  min-width:260px;
  background:var(--card);
  padding:12px;
  border-radius:8px;
  border:1px solid rgba(15,23,42,0.05);
  box-shadow:0 10px 30px rgba(2,6,23,0.06);
}
.testimonial .name{
  font-weight:700;
  margin-bottom:6px;
}

@keyframes marquee{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}

/* ================= CONTACT FORM ================== */
.contact-form .form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}
@media(max-width:760px){
  .contact-form .form-grid{grid-template-columns:1fr}
}

.field{
  display:flex;
  flex-direction:column;
}

input,select,textarea{
  width:100%;
  padding:10px;
  border:1px solid #E6EAF2;
  border-radius:8px;
  margin-top:6px;
  background:#fff;
  font-size:14px;
}
input:invalid,select:invalid{outline:2px solid rgba(239,68,68,0.1)}
input:focus,select:focus{
  border-color:var(--blue);
  box-shadow:0 8px 30px rgba(37,99,235,0.10);
}

.form-actions{
  display:flex;
  gap:12px;
  align-items:center;
  margin-top:14px;
  flex-wrap:wrap;
}

.form-msg{
  font-size:14px;
  color:#0f172a;
}

/* ================= BUTTONS ================== */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:8px;
  cursor:pointer;
  border:none;
  font-weight:600;
  text-decoration:none;
}
.btn.primary{background:var(--blue);color:#fff}
.btn.outline{
  background:transparent;
  border:1px solid rgba(255,255,255,0.18);
  color:#fff;
}
.spinner{
  width:16px;height:16px;
  border:2px solid rgba(255,255,255,0.2);
  border-top-color:#fff;
  border-radius:50%;
  animation:spin 1s linear infinite;
  display:none;
}
button[disabled] .spinner{display:inline-block}
@keyframes spin{to{transform:rotate(360deg)}}

/* ================= FOOTER ================== */
.site-footer{
  padding:12px 0;
  background:#fff;
  margin-top:18px;
  box-shadow:0 -1px 4px rgba(0,0,0,0.03);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* ================= WHATSAPP FLOAT ================== */
.wa-float{
  position:fixed;
  right:16px;
  bottom:16px;
  background:#25D366;
  color:#fff;
  border:none;
  width:56px;height:56px;
  border-radius:50%;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 8px 24px rgba(2,6,23,0.2);
  z-index:1080;
}

/* ================= TOAST ================== */
.toast{
  position:fixed;
  right:16px;
  bottom:86px;
  z-index:200;
  max-width:320px;
}
.toast .item{
  background:#111;
  color:#fff;
  padding:10px 12px;
  border-radius:8px;
  box-shadow:0 8px 30px rgba(2,6,23,0.2);
  margin-top:8px;
}
.toast .item.success{background:var(--success)}
.toast .item.error{background:var(--danger)}

/* ================= MOBILE RESPONSIVE ================== */
@media(max-width:760px){
  .container{padding-left:16px;padding-right:16px}
  .hero{padding-top:28px;padding-bottom:28px}
  .section{padding:20px 0}
  .carousel-title{font-size:18px}
  .carousel-price{font-size:18px}
}
