/* ===========================================================
   Bros From Roatan Tours — design tokens
   Turquoise #0FA8B5 / Deep teal #06616D / Aqua mist #EAF7F8
   Coral accent #FF7A45 / Sun accent #FFC93C / White #FFFFFF
   Display: Baloo 2 — Body: Poppins
=========================================================== */

:root{
  --turquoise: #0FA8B5;
  --turquoise-dark: #0A7E89;
  --teal-deep: #06616D;
  --aqua-mist: #EAF7F8;
  --coral: #FF7A45;
  --coral-dark: #E8622E;
  --sun: #FFC93C;
  --white: #FFFFFF;
  --ink: #0B3A40;
  --ink-soft: #4F7A80;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 14px 34px rgba(6, 97, 109, 0.14);
  --shadow-sm: 0 6px 16px rgba(6, 97, 109, 0.12);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4{
  font-family: 'Baloo 2', sans-serif;
  color: var(--teal-deep);
  margin: 0;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
ul{ margin: 0; padding: 0; list-style: none; }

.eyebrow{
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--coral);
  margin: 0 0 .5rem;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary{
  background: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ background: var(--coral-dark); transform: translateY(-2px); }
.btn-primary:disabled{
  background: #cfd9da; color: #7c8a8b; cursor: not-allowed; transform: none; box-shadow: none;
}
.btn-ghost{
  background: transparent;
  color: var(--teal-deep);
  border-color: var(--teal-deep);
}
.btn-ghost:hover{ background: var(--teal-deep); color: var(--white); }
.btn-full{ width: 100%; }

/* ===================== HEADER ===================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15,168,181,.15);
}
.header-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: .7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand{ display: flex; align-items: center; gap: .7rem; }
.brand-logo{
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--turquoise);
}
.brand-text{ display: flex; flex-direction: column; line-height: 1.1; }
.brand-name{ font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--teal-deep); }
.brand-sub{ font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); font-weight: 600; }

.main-nav{ display: flex; gap: 1.8rem; }
.main-nav a{
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink);
  position: relative;
  padding: .3rem 0;
}
.main-nav a::after{
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--coral);
  transition: width .2s ease;
}
.main-nav a:hover::after{ width: 100%; }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: .4rem;
}
.nav-toggle span{ width: 24px; height: 2.5px; background: var(--teal-deep); border-radius: 2px; }

.header-actions{ display: flex; align-items: center; gap: .8rem; }
.lang-switch{
  display: flex;
  background: var(--aqua-mist);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-btn{
  border: none;
  background: transparent;
  padding: .35rem .8rem;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--teal-deep);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.lang-btn.active{ background: var(--turquoise); color: var(--white); }
.lang-btn:not(.active):hover{ color: var(--coral); }

/* ===================== HERO ===================== */
.hero{
  position: relative;
  background:
    linear-gradient(160deg, rgba(15,168,181,.87) 0%, rgba(10,126,137,.88) 55%, rgba(6,97,109,.93) 100%),
    url('grupo.jpeg') center/cover no-repeat;
  overflow: hidden;
  padding: 5rem 1.5rem 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78vh;
}
.hero-waves{
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background:
    radial-gradient(circle at 10% 100%, rgba(255,255,255,.14) 0, transparent 55%),
    radial-gradient(circle at 60% 100%, rgba(255,255,255,.1) 0, transparent 60%);
}
.hero::after{
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 90px;
  background: var(--white);
  clip-path: polygon(0 60%, 8% 45%, 18% 62%, 30% 40%, 42% 60%, 55% 38%, 68% 60%, 80% 42%, 92% 62%, 100% 45%, 100% 100%, 0 100%);
}
.hero-content{
  position: relative;
  z-index: 2;
  max-width: 680px;
  text-align: center;
  color: var(--white);
}
.hero .eyebrow{ color: var(--sun); }
.hero h1{
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.1rem;
}
.hero h1 span{ color: var(--sun); }
.hero-copy{
  font-size: 1.05rem;
  color: rgba(255,255,255,.92);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.hero-actions{ display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero .btn-ghost{ color: var(--white); border-color: var(--white); }
.hero .btn-ghost:hover{ background: var(--white); color: var(--teal-deep); }
.hero-parrot{
  position: absolute;
  right: -40px; top: 10%;
  width: 230px;
  opacity: .16;
  transform: rotate(8deg);
  z-index: 1;
}
.hero-parrot img{ border-radius: 50%; }

/* ===================== SECTIONS ===================== */
.section{ max-width: 1180px; margin: 0 auto; padding: 5rem 1.5rem; }
.section-head{ text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2{ font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .8rem; }
.section-copy{ color: var(--ink-soft); line-height: 1.6; }

/* ===================== ABOUT US ===================== */
.about-section{
  padding-top: 4rem;
  background:
    linear-gradient(135deg, rgba(234,247,248,.94) 0%, rgba(255,255,255,.94) 100%),
    url('guacamaya_scarlet.jpeg') center/cover no-repeat;
  border-radius: 28px;
}
.about-panel{
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, var(--aqua-mist) 0%, #ffffff 100%);
  border-radius: 28px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.about-media{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-media img{
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.about-media-wave{
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 2px dashed rgba(15,168,181,.35);
  z-index: 1;
  animation: spin 40s linear infinite;
}
@keyframes spin{ from{ transform: rotate(0deg); } to{ transform: rotate(360deg); } }

.about-copy .eyebrow{ color: var(--turquoise-dark); }
.about-copy h2{ font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 1.1rem; }
.about-lead{
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--teal-deep);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.about-copy p{ color: var(--ink-soft); line-height: 1.65; margin: 0 0 1.4rem; }
.about-highlights{
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: .5rem;
}
.about-highlight{
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
}
.about-highlight-num{
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.3rem;
  color: var(--coral);
}

@media (max-width: 860px){
  .about-panel{ grid-template-columns: 1fr; text-align: center; padding: 2.2rem; }
  .about-highlights{ justify-content: center; }
}

/* ===================== TOUR CARDS ===================== */
.tour-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}
.tour-card{
  background: var(--aqua-mist);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  border: 1px solid rgba(15,168,181,.16);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.tour-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); }
.tour-card.featured{ background: var(--teal-deep); color: var(--white); }
.tour-card.featured h3, .tour-card.featured .tour-desc{ color: var(--white); }
.tour-card.featured .tour-includes li{ color: rgba(255,255,255,.88); }
.tour-badge{
  align-self: flex-start;
  background: var(--coral);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
}
.tour-badge.popular{ background: #E11D48; }
.tour-card h3{ font-size: 1.35rem; }
.tour-desc{ color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }
.tour-includes{ display: flex; flex-direction: column; gap: .45rem; margin: .3rem 0; }
.tour-includes li{
  font-size: .88rem;
  color: var(--ink);
  padding-left: 1.3rem;
  position: relative;
}
.tour-includes li::before{
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--turquoise);
  font-weight: 700;
}
.tour-card.featured .tour-includes li::before{ color: var(--sun); }

.tour-pricing{ margin-top: auto; display: flex; align-items: baseline; gap: .6rem; }
.price-original{ text-decoration: line-through; color: var(--ink-soft); font-size: .95rem; }
.tour-card.featured .price-original{ color: rgba(255,255,255,.6); }
.price-final{ font-family: 'Baloo 2', sans-serif; font-size: 1.7rem; font-weight: 700; color: var(--coral); }
.tour-card.featured .price-final{ color: var(--sun); }
.price-unit{ font-size: .8rem; color: var(--ink-soft); }
.tour-card.featured .price-unit{ color: rgba(255,255,255,.75); }

.tour-discount-tag{
  font-size: .75rem;
  font-weight: 600;
  color: var(--turquoise-dark);
  background: rgba(15,168,181,.12);
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 999px;
  width: fit-content;
}
.tour-card.featured .tour-discount-tag{ background: rgba(255,255,255,.14); color: var(--sun); }

.dining-note{
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 780px;
  margin: 2.4rem auto 0;
  padding: 1.3rem 1.6rem;
  background: linear-gradient(135deg, var(--aqua-mist) 0%, #ffffff 100%);
  border: 1px solid rgba(15,168,181,.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.dining-note-icon{ font-size: 1.8rem; flex-shrink: 0; }
.dining-note p{
  margin: 0;
  color: var(--teal-deep);
  font-size: .95rem;
  line-height: 1.6;
  font-style: italic;
}
@media (max-width: 560px){
  .dining-note{ flex-direction: column; text-align: center; }
}

/* ===================== TRIPS / MAP ===================== */
.trips-section{
  background:
    linear-gradient(135deg, rgba(234,247,248,.93) 0%, rgba(255,255,255,.93) 100%),
    url('lolo.jpeg') center/cover no-repeat;
  border-radius: 32px;
}
.trip-panel{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.trip-controls{ display: flex; flex-direction: column; gap: .3rem; }
.trip-controls label{
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin-top: .8rem;
}
.trip-controls select{
  padding: .75rem .9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(15,168,181,.35);
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  background: var(--white);
  color: var(--ink);
}
.trip-controls .btn{ margin-top: 1.3rem; }
.trip-note{ font-size: .82rem; color: var(--ink-soft); margin-top: .8rem; line-height: 1.5; }
.trip-map{
  min-height: 340px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(15,168,181,.25);
}
/* Leaflet ships with z-index:1000 on its controls by default, which can
   climb above page overlays that don't expect it. Capping it here keeps
   the map from ever rendering above the booking modal. */
.trip-map .leaflet-pane,
.trip-map .leaflet-top,
.trip-map .leaflet-bottom,
.trip-map .leaflet-control{
  z-index: 20 !important;
}

/* ===================== PORTS ===================== */
.ports-section{
  background:
    linear-gradient(rgba(255,255,255,.93), rgba(255,255,255,.93)),
    url('playa.jpeg') center/cover no-repeat;
  border-radius: 28px;
}
.ports-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.port-card{
  background: var(--white);
  border: 2px dashed rgba(15,168,181,.4);
  border-radius: var(--radius);
  padding: 1.7rem;
}
.port-card h3{ font-size: 1.15rem; margin-bottom: .6rem; color: var(--turquoise-dark); }
.port-card p{ color: var(--ink-soft); line-height: 1.55; font-size: .93rem; }

/* ===================== FOOTER ===================== */
.site-footer{
  background: var(--teal-deep);
  color: rgba(255,255,255,.9);
  padding: 3.5rem 1.5rem 1.5rem;
}
.footer-inner{
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand{ display: flex; flex-direction: column; gap: .8rem; }
.footer-brand img{ width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--sun); }
.footer-brand p{ font-size: .88rem; line-height: 1.5; color: rgba(255,255,255,.75); }
.footer-contact h4, .footer-pay h4{ font-family: 'Baloo 2', sans-serif; font-size: 1.05rem; margin-bottom: .8rem; color: var(--sun); }
.footer-contact p{ font-size: .9rem; margin: .4rem 0; }
.footer-contact a:hover{ color: var(--sun); }
.social-row{ display: flex; gap: .7rem; margin-top: 1rem; }
.social-btn{
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12);
  transition: background .15s ease, transform .15s ease;
}
.social-btn svg{ width: 19px; height: 19px; fill: var(--white); }
.social-btn:hover{ transform: translateY(-3px); }
.social-btn.fb:hover{ background: #1877F2; }
.social-btn.ig:hover{ background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.footer-note{ font-size: .78rem; color: rgba(255,255,255,.7); margin-top: .5rem; }
.footer-bottom{
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
  max-width: 1180px;
}

/* ===================== WHATSAPP FLOAT ===================== */
.whatsapp-float{
  position: fixed;
  bottom: 22px; right: 22px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
  z-index: 60;
  transition: transform .15s ease;
}
.whatsapp-float:hover{ transform: scale(1.08); }
.whatsapp-float svg{ width: 30px; height: 30px; fill: var(--white); }

/* ===================== BOOKING MODAL ===================== */
.modal-overlay{
  position: fixed; inset: 0;
  background: rgba(6,40,44,.55);
  display: none;
  align-items: center; justify-content: center;
  z-index: 5000; /* must stay above Leaflet's own controls (z-index:1000) */
  padding: 1.5rem;
}
.modal-overlay.open{ display: flex; }
.modal{
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,.3);
}
.modal-close{
  position: absolute; top: 1rem; right: 1.2rem;
  background: none; border: none;
  font-size: 1.6rem; line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
}
.modal h3{ font-size: 1.5rem; margin-bottom: .3rem; }
.modal-sub{ color: var(--ink-soft); font-size: .9rem; margin-bottom: 1.4rem; }

.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field{ display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.form-field label{ font-size: .8rem; font-weight: 600; color: var(--teal-deep); }
.form-field input, .form-field select{
  padding: .7rem .85rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(15,168,181,.35);
  font-family: 'Poppins', sans-serif;
  font-size: .92rem;
}
.form-field input:focus, .form-field select:focus, .trip-controls select:focus{
  outline: 2px solid var(--coral);
  outline-offset: 1px;
}

.port-hint{
  font-size: .85rem;
  background: var(--aqua-mist);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  color: var(--teal-deep);
  margin-bottom: 1rem;
  display: none;
}
.port-hint.show{ display: block; }

.price-box{
  background: var(--aqua-mist);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 1.3rem;
  font-size: .9rem;
  line-height: 1.7;
}
.price-box .line{ display: flex; justify-content: space-between; }
.price-box .total{ font-weight: 700; color: var(--coral); font-size: 1.05rem; }
.price-box .deposit{ font-weight: 600; color: var(--turquoise-dark); }

.paypal-icon{ width: 20px; height: 20px; fill: currentColor; }

.pay-options{
  background: var(--aqua-mist);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.pay-options-title{
  margin: 0;
  font-weight: 700;
  font-size: .88rem;
  color: var(--teal-deep);
}
.pay-paypal-btn{
  background: #003087;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.pay-paypal-btn:hover{ background: #001f5c; }
.pay-options-note{
  margin: 0;
  font-size: .78rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.footer-pay-btn{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #003087;
  color: var(--white);
  font-weight: 600;
  font-size: .88rem;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  margin-bottom: .6rem;
  transition: background .15s ease;
}
.footer-pay-btn:hover{ background: #001f5c; }

.modal-fineprint{ font-size: .76rem; color: var(--ink-soft); text-align: center; margin-top: .8rem; line-height: 1.4; }

.confirmation{ display: none; text-align: center; }
.confirmation.show{ display: block; }
.confirmation h3{ margin-bottom: .6rem; }
#confirmationSummary{ color: var(--ink-soft); font-size: .9rem; margin-bottom: 1.4rem; line-height: 1.6; }
.qr-wrap, .pay-wrap{ margin-bottom: 1.4rem; }
#qrcode{ display: flex; justify-content: center; margin-bottom: .5rem; }
.qr-caption{ font-size: .78rem; color: var(--ink-soft); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 860px){
  .trip-panel{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .main-nav{
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 1rem;
    display: none;
    border-bottom: 1px solid rgba(15,168,181,.15);
  }
  .main-nav.open{ display: flex; }
  .nav-toggle{ display: flex; }
  .hero-parrot{ display: none; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ transition: none !important; }
}
