/* ═══════════════════════════════════════════════════════════════
   Shuttle Santa Catalina — Main Stylesheet
   ═══════════════════════════════════════════════════════════════ */

:root {
  --blue:       #005ca9;
  --blue-dark:  #003d75;
  --blue-light: #edf4fb;
  --dark:       #1c2b3a;
  --medium:     #4a6580;
  --light:      #f4f8fc;
  --white:      #ffffff;
  --border:     #dde8f0;
  --shadow:     0 4px 24px rgba(0,92,169,0.12);
  --radius:     14px;
  --t:          all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Poppins', sans-serif; color: var(--dark); background: #fff; line-height: 1.6; }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
       padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 16px;
       font-family: inherit; border: none; cursor: pointer; transition: var(--t); }
.btn-blue  { background: var(--blue); color: #fff; }
.btn-blue:hover  { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,92,169,0.3); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #e8f2ff; transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }

/* ── SECTION HEADINGS ── */
.sec-head  { text-align: center; margin-bottom: 52px; }
.sec-tag   { display: inline-block; background: var(--blue-light); color: var(--blue);
             padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 600;
             letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 14px; }
.sec-title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: var(--dark); line-height: 1.2; }
.sec-sub   { font-size: 17px; color: var(--medium); margin-top: 12px;
             max-width: 580px; margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); transition: var(--t);
}
.hdr { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 8px; }
.hdr-logo img { height: 48px; width: auto; }

.hdr-nav { display: flex; align-items: center; gap: 2px; }
.hdr-nav a { padding: 8px 13px; font-weight: 500; font-size: 15px; color: var(--dark);
             border-radius: 8px; transition: var(--t); white-space: nowrap; }
.hdr-nav a:hover, .hdr-nav a.active { color: var(--blue); background: var(--blue-light); }

.hdr-right { display: flex; align-items: center; gap: 10px; }

/* Language switcher */
.lang-switch { display: flex; align-items: center; border: 1.5px solid var(--border);
               border-radius: 8px; overflow: hidden; }
.lang-btn { padding: 5px 10px; font-size: 13px; font-weight: 600; color: var(--medium);
            transition: var(--t); cursor: pointer; }
.lang-btn.active { background: var(--blue); color: #fff; }
.lang-btn:hover:not(.active) { background: var(--blue-light); color: var(--blue); }

/* Book Now button */
.hdr-book { background: var(--blue); color: #fff; padding: 9px 20px; border-radius: 10px;
            font-weight: 600; font-size: 14px; white-space: nowrap; transition: var(--t); }
.hdr-book:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* Hamburger */
.hdr-hamburger { display: none; background: none; border: none; cursor: pointer;
                 padding: 8px; flex-direction: column; gap: 5px; }
.hdr-hamburger span { display: block; width: 22px; height: 2px; background: var(--dark);
                      border-radius: 2px; transition: var(--t); }
.hdr-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr-hamburger.open span:nth-child(2) { opacity: 0; }
.hdr-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mob-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: #fff;
            padding: 16px 20px 24px; border-bottom: 3px solid var(--blue);
            box-shadow: 0 8px 32px rgba(0,0,0,0.12); z-index: 999; }
.mob-menu.open { display: block; }
.mob-menu a { display: block; padding: 12px 16px; font-size: 15px; font-weight: 500;
              border-radius: 10px; margin-bottom: 4px; color: var(--dark); transition: var(--t); }
.mob-menu a:hover { background: var(--blue-light); color: var(--blue); }
.mob-menu-book { background: var(--blue) !important; color: #fff !important; text-align: center; margin-top: 8px; }
.mob-menu-langs { display: flex; gap: 8px; margin-top: 12px; padding: 0 16px; }
.mob-menu-langs a { flex: 1; text-align: center; padding: 10px; border: 1.5px solid var(--border);
                    border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--medium); }
.mob-menu-langs a.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center;
        padding-top: 68px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-overlay { position: absolute; inset: 0;
                background: linear-gradient(135deg, rgba(0,45,90,0.87) 0%, rgba(0,92,169,0.62) 60%, rgba(0,30,70,0.55) 100%); }
.hero-content { position: relative; z-index: 2; padding: 72px 0 64px; max-width: 740px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px;
              background: rgba(255,255,255,0.14); backdrop-filter: blur(8px);
              border: 1px solid rgba(255,255,255,0.28); color: #fff;
              padding: 8px 18px; border-radius: 100px; font-size: 14px; font-weight: 500; margin-bottom: 28px; }
.hero-badge i { color: #7ec8f5; }
.hero h1 { font-size: clamp(34px, 5.5vw, 64px); font-weight: 800; color: #fff;
           line-height: 1.1; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: #7ec8f5; }
.hero-sub { font-size: clamp(16px, 1.8vw, 19px); color: rgba(255,255,255,0.88);
            max-width: 540px; margin-bottom: 38px; line-height: 1.75; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-divider { border: none; border-top: 1px solid rgba(255,255,255,0.18); margin-bottom: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px 28px; }
.trust-item { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,0.9);
              font-size: 14px; font-weight: 500; }
.trust-item i { color: #7ec8f5; font-size: 16px; }

/* Hero split layout (home page) */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
              padding: 72px 0 64px; position: relative; z-index: 2; }
.hero-left { }
.hero-right { }
.hero-widget-card { background: rgba(255,255,255,0.97); border-radius: 20px;
                    padding: 32px 28px; box-shadow: 0 24px 64px rgba(0,0,0,0.4); }
.hero-widget-card h3 { font-size: 21px; font-weight: 700; color: var(--dark);
                       margin-bottom: 6px; text-align: center; }
.hero-widget-card > p { font-size: 13px; color: var(--medium); text-align: center;
                        margin-bottom: 20px; }

/* ═══════════════════════════════════════════════════════════════
   DESTINATIONS / ROUTES
   ═══════════════════════════════════════════════════════════════ */
.destinations { padding: 88px 0; background: var(--light); }
.dest-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn { padding: 10px 22px; border-radius: 100px; border: 2px solid var(--border);
           background: #fff; font-family: inherit; font-weight: 600; font-size: 14px;
           color: var(--medium); cursor: pointer; transition: var(--t); }
.tab-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.tab-btn:hover:not(.active) { border-color: var(--blue); color: var(--blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.dest-card { background: #fff; border-radius: var(--radius); padding: 22px 16px 18px;
             text-align: center; border: 1.5px solid var(--border); transition: var(--t); }
.dest-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue); }
.dest-ico { width: 52px; height: 52px; background: var(--blue-light); border-radius: 50%;
            display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
            color: var(--blue); font-size: 20px; }
.dest-name   { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.dest-origin { font-size: 12px; color: var(--medium); margin-bottom: 10px; }
.dest-price  { font-size: 30px; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 14px; }
.dest-price sup { font-size: 14px; font-weight: 600; vertical-align: top; margin-top: 6px; display: inline-block; }
.dest-btn { display: block; width: 100%; padding: 10px; background: var(--blue); color: #fff;
            border: none; border-radius: 8px; font-family: inherit; font-size: 13px;
            font-weight: 600; cursor: pointer; transition: var(--t); }
.dest-btn:hover { background: var(--blue-dark); }
.dest-footer { text-align: center; margin-top: 40px; }
.dest-footer a { color: var(--blue); font-weight: 600; font-size: 15px; }
.dest-footer a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════════ */
.how { padding: 88px 0; background: #fff; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; max-width: 880px; margin: 0 auto; }
.how-connector { position: absolute; top: 31px; left: calc(33.3% + 12px); right: calc(33.3% + 12px);
                 height: 2px; background: linear-gradient(90deg, var(--blue-light), var(--blue), var(--blue-light)); }
.how-card { text-align: center; }
.how-num  { width: 64px; height: 64px; background: var(--blue); color: #fff; border-radius: 50%;
            display: flex; align-items: center; justify-content: center; font-size: 22px;
            font-weight: 800; margin: 0 auto 24px; position: relative; z-index: 1;
            box-shadow: 0 0 0 8px var(--blue-light); }
.how-icon { font-size: 30px; margin-bottom: 14px; color: var(--blue); }
.how-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.how-card p  { font-size: 14px; color: var(--medium); line-height: 1.75; }

/* ═══════════════════════════════════════════════════════════════
   PRIVATE SHUTTLE
   ═══════════════════════════════════════════════════════════════ */
.private { padding: 88px 0; background: var(--blue-light); }
.prv-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.prv-img-wrap { border-radius: 20px; overflow: hidden; box-shadow: 0 24px 56px rgba(0,92,169,0.18); }
.prv-img-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center; }
.prv-tag { display: inline-block; background: rgba(0,92,169,0.12); color: var(--blue);
           padding: 6px 16px; border-radius: 100px; font-size: 12px; font-weight: 700;
           letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.prv-text h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; line-height: 1.25; margin-bottom: 18px; }
.prv-text > p { font-size: 16px; color: var(--medium); line-height: 1.85; margin-bottom: 28px; }
.prv-features { margin-bottom: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prv-feat { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.prv-feat i { color: var(--blue); width: 16px; }

/* ═══════════════════════════════════════════════════════════════
   WHY CHOOSE US
   ═══════════════════════════════════════════════════════════════ */
.why { padding: 88px 0; background: var(--blue); }
.why .sec-tag   { background: rgba(255,255,255,0.15); color: #fff; }
.why .sec-title { color: #fff; }
.why .sec-sub   { color: rgba(255,255,255,0.75); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
            border-radius: var(--radius); padding: 32px 20px; text-align: center; transition: var(--t); }
.why-card:hover { background: rgba(255,255,255,0.2); transform: translateY(-4px); }
.why-ico { width: 68px; height: 68px; background: rgba(255,255,255,0.15); border-radius: 50%;
           display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
           font-size: 28px; color: #fff; }
.why-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.why-card p  { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.75; }

/* ═══════════════════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════════════════ */
.gallery { padding: 88px 0; background: #fff; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gal-item { border-radius: 14px; overflow: hidden; cursor: pointer; }
.gal-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover;
                transition: transform 0.4s ease; display: block; }
.gal-item:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92);
            z-index: 9998; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 12px; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 32px;
                  cursor: pointer; line-height: 1; background: none; border: none; opacity: 0.8; }
.lightbox-close:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   BOOKING PLACEHOLDER
   ═══════════════════════════════════════════════════════════════ */
.booking { padding: 88px 0; background: var(--light); }
.booking-placeholder { background: #fff; border: 2px dashed var(--border); border-radius: 20px;
                        padding: 64px 40px; max-width: 700px; margin: 0 auto; text-align: center;
                        color: var(--medium); }
.booking-placeholder i { font-size: 52px; color: var(--blue); margin-bottom: 20px; display: block; }
.booking-placeholder h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.booking-placeholder p  { font-size: 14px; }

/* ═══════════════════════════════════════════════════════════════
   BOOKING SECTION (widget embebido)
   ═══════════════════════════════════════════════════════════════ */
.booking-section { padding: 80px 0; background: #f4f8fc; }
.booking-section .sec-head { margin-bottom: 40px; }

/* ═══════════════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════════════ */
.cta { padding: 96px 0; background: linear-gradient(135deg, #0f1c2a 0%, #003d75 100%); text-align: center; }
.cta h2 { font-size: clamp(26px, 4.5vw, 44px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.cta > .container > p { font-size: 18px; color: rgba(255,255,255,0.78); max-width: 500px; margin: 0 auto 40px; }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer { background: #0d1b28; color: rgba(255,255,255,0.65); padding: 64px 0 0; }
.ftr-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; }
.ftr-logo-box { display: inline-block; background: rgba(255,255,255,0.08); padding: 10px 14px;
                border-radius: 12px; margin-bottom: 18px; }
.ftr-logo-box img { height: 52px; }
.ftr-brand > p { font-size: 14px; line-height: 1.8; max-width: 260px; }
.ftr-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.ftr-col a  { display: block; font-size: 14px; padding: 5px 0; transition: var(--t); color: rgba(255,255,255,0.65); }
.ftr-col a:hover { color: #7ec8f5; }
.ftr-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: 12px; }
.ftr-contact-item i { color: var(--blue); margin-top: 3px; flex-shrink: 0; }
.ftr-contact-item a { padding: 0; }
.ftr-socials { display: flex; gap: 10px; margin-top: 24px; }
.ftr-socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08);
                 display: flex; align-items: center; justify-content: center;
                 transition: var(--t); font-size: 15px; color: rgba(255,255,255,0.65); padding: 0; }
.ftr-socials a:hover { background: var(--blue); color: #fff; }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0;
              display: flex; justify-content: space-between; align-items: center;
              font-size: 13px; flex-wrap: wrap; gap: 8px; }

/* ═══════════════════════════════════════════════════════════════
   WHATSAPP FLOAT
   ═══════════════════════════════════════════════════════════════ */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 9997; width: 58px; height: 58px; }
.wa-pulse { position: absolute; inset: 0; border-radius: 50%; background: #25d366;
            animation: wapulse 2.5s infinite; z-index: -1; }
.wa-float a { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px;
              background: #25d366; border-radius: 50%; box-shadow: 0 4px 20px rgba(37,211,102,0.5);
              font-size: 28px; color: #fff; transition: var(--t); }
.wa-float a:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.65); }
@keyframes wapulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .prv-inner { grid-template-columns: 1fr; gap: 40px; }
  /* Hero split → single column: widget arriba, texto abajo */
  .hero { min-height: auto; align-items: flex-start; }
  .hero-split { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 44px; }
  .hero-right { order: -1; }           /* Widget primero en móvil */
  .hero-widget-card { padding: 24px 20px; }
  .hero-widget-card h3 { font-size: 19px; }
  /* Reducir texto hero en tablet/móvil */
  .hero-sub { margin-bottom: 24px; }
  .hero-btns { margin-bottom: 28px; }
  .hero-divider { margin-bottom: 20px; }
}

@media (max-width: 768px) {
  .hdr-nav, .hdr-right { display: none; }
  .hdr-hamburger { display: flex; }
  .how-grid { grid-template-columns: 1fr; gap: 40px; max-width: 380px; }
  .how-connector { display: none; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta > .container > p { font-size: 16px; }
  .hero-split { padding: 28px 0 40px; gap: 24px; }
}

@media (max-width: 560px) {
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .prv-features { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 320px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 28px; }
  .booking-placeholder { padding: 40px 20px; }
  .how-grid { max-width: 100%; }
  .dest-tabs { gap: 8px; }
  .tab-btn { padding: 9px 16px; font-size: 13px; }
  /* Hero en pantallas pequeñas */
  .hero-split { padding: 20px 0 36px; gap: 20px; }
  .hero-widget-card { padding: 20px 16px; border-radius: 14px; }
  .hero-widget-card h3 { font-size: 17px; margin-bottom: 4px; }
  .hero-widget-card > p { margin-bottom: 14px; }
  /* Ocultar sub-texto y trust badges en pantallas muy pequeñas para llegar antes al widget */
  .hero-sub { display: none; }
  .hero-divider { display: none; }
  .hero-trust { display: none; }
  .hero-badge { font-size: 12px; padding: 6px 14px; margin-bottom: 16px; }
  .hero h1 { margin-bottom: 16px; }
  .hero-btns { margin-bottom: 0; }
}

@media (max-width: 380px) {
  .why-grid { grid-template-columns: 1fr; }
}
