:root {
  --brand: #ff6b35;
  --brand-dark: #e2551f;
  --ink: #1c2333;
  --muted: #667085;
  --bg: #fff8f3;
  --card: #ffffff;
  --border: #f0e4da;
  --radius: 18px;
  --font-head: "Baloo 2", sans-serif;
  --font-body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
h1, h2, h3 { font-family: var(--font-head); margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

.kicker {
  display: inline-block;
  color: var(--brand-dark);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .06em;
  margin-bottom: .5em;
}
.kicker.center { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  border: none;
  border-radius: 999px;
  padding: .8em 1.6em;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: .95rem;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(255,107,53,.6); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 2px solid var(--border); color: var(--ink); }
.btn-outline { background: #fff; border: 2px solid var(--border); color: var(--ink); }
.btn:disabled { opacity: .6; cursor: default; }

/* Header */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.site-header.scrolled {
  position: fixed;
  background: rgba(255,248,243,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { position: relative; display: flex; align-items: center; gap: 24px; padding: 14px 20px; }
.logo { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: #fff; transition: color .2s ease; }
.site-header.scrolled .logo { color: var(--brand-dark); }
.main-nav { display: flex; gap: 20px; margin-right: auto; flex: 1; }
.main-nav a { font-weight: 600; font-size: .92rem; color: #fff; opacity: .9; transition: color .2s ease; }
.site-header.scrolled .main-nav a { color: var(--ink); opacity: .85; }
.main-nav a:hover { opacity: 1; color: var(--brand); }
.lang-switch { display: flex; gap: 4px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 3px; transition: background .2s ease, border-color .2s ease; }
.site-header.scrolled .lang-switch { background: #fff; border-color: var(--border); }
.lang-btn { border: none; background: transparent; padding: 5px 10px; border-radius: 999px; font-weight: 700; font-size: .78rem; cursor: pointer; color: #fff; transition: color .2s ease; }
.site-header.scrolled .lang-btn { color: var(--muted); }
.lang-btn.active { background: var(--brand); color: #fff; }
.menu-btn { display: none; border: none; background: none; font-size: 1.4rem; cursor: pointer; color: #fff; }
.site-header.scrolled .menu-btn { color: var(--ink); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 110px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20,25,40,.72) 0%, rgba(20,25,40,.5) 55%, rgba(20,25,40,.35) 100%), url('/img/hero.jpg') center/cover no-repeat;
  color: #fff;
}
.hero-inner { max-width: 780px; position: relative; z-index: 1; width: 100%; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 90px; z-index: 1; }
.hero .kicker { color: #ffd9b8; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: .5em 1.1em; }
.hero h1 { font-family: "Playfair Display", serif; font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; }
.hero .highlight { color: var(--brand); }
.hero-text { font-size: 1.05rem; max-width: 620px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.3rem; color: #ffd9b8; }
.hero-stats span { color: rgba(255,255,255,.85); font-size: .85rem; }

/* Destinations */
.tours { padding: 70px 0; }
.section-text { max-width: 560px; margin-left: auto; margin-right: auto; }
.destinations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; margin-top: 40px; }
.dest-card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; }
.dest-img { height: 170px; background-size: cover; background-position: center; position: relative; }
.dest-flag { position: absolute; bottom: 10px; left: 10px; background: rgba(28,35,51,.65); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.dest-body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.dest-body h3 { font-size: 1.15rem; margin-bottom: 2px; }
.dest-body p { font-size: .88rem; flex: 1; }
.dest-price { font-weight: 800; color: var(--brand-dark); font-family: var(--font-head); margin-bottom: 10px; }
.dest-actions { display: flex; gap: 8px; }
.dest-actions .btn { flex: 1; padding: .65em 1em; font-size: .82rem; }

/* About */
.about { padding: 70px 0; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: center; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.about-grid > div { display: flex; align-items: flex-start; gap: 12px; }
.about-grid > div > div { display: flex; flex-direction: column; gap: 3px; }
.about-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff1e6; color: var(--brand-dark); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.about-grid strong { font-family: var(--font-head); font-size: 1rem; }
.about-grid span { color: var(--muted); font-size: .85rem; }
.about-badge { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border-radius: var(--radius); padding: 40px 24px; color: #fff; text-align: center; }
.badge-number { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; }

/* Services */
.services { padding: 70px 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
.service-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; }
.service-icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.service-card h3 { font-size: 1.05rem; }
.service-card p { font-size: .85rem; margin: 0; }

/* Steps */
.steps { position: relative; padding: 90px 0; background: linear-gradient(135deg, #0f6f66, #14a08f); color: #fff; overflow: hidden; }
.steps .kicker { color: #ffd166; }
.steps h2 { color: #fff; }
.steps-wave { position: absolute; left: 0; width: 100%; height: 60px; display: block; }
.steps-wave-top { top: -1px; }
.steps-wave-bottom { bottom: -1px; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 40px; position: relative; z-index: 1; }
.step-card { position: relative; padding: 24px 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); }
.step-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: #ffd166; margin-bottom: 14px; }
.step-card h3 { font-size: 1.05rem; color: #fff; }
.step-card p { font-size: .85rem; margin: 0; color: rgba(255,255,255,.85); }

/* Testimonials */
.testimonials { padding: 70px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
.testimonial-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; }
.stars { color: var(--brand); margin-bottom: 8px; font-size: .9rem; }
.testimonial-card p { font-size: .9rem; }
.testimonial-card strong { display: block; font-size: .9rem; }
.testimonial-card span { color: var(--muted); font-size: .8rem; }

/* CTA band */
.cta-band { padding: 70px 0; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; }
.cta-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); }
.cta-band .btn-primary { background: #fff; color: var(--brand-dark); }
.cta-band .btn-primary:hover { background: #fff1e6; }

/* Footer */
.site-footer { background: var(--ink); color: #cbd2e0; padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.site-footer .logo { color: #fff; }
.footer-brand p { color: #9aa4bb; font-size: .88rem; }
.footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.footer-contacts div { display: flex; flex-direction: column; font-size: .88rem; }
.footer-contacts span:first-child { color: #7c869e; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.footer-contacts a:hover { color: var(--brand); }
.footer-map iframe { border-radius: var(--radius); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 20px 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; color: #7c869e; }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a:hover { color: var(--brand); }

.whatsapp-fab { position: fixed; bottom: 24px; right: 24px; width: 68px; height: 68px; border-radius: 50%; background: #229ed9; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 12px 28px -8px rgba(34,158,217,.75); z-index: 30; animation: fab-pulse 2.4s ease-in-out infinite; }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 12px 28px -8px rgba(34,158,217,.75), 0 0 0 0 rgba(34,158,217,.5); }
  50% { box-shadow: 0 12px 28px -8px rgba(34,158,217,.75), 0 0 0 10px rgba(34,158,217,0); }
}

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(28,35,51,.55); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal-backdrop[hidden] { display: none; }
body.modal-open { overflow: hidden; }
.modal { background: #fff; border-radius: var(--radius); padding: 32px; max-width: 460px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; border: none; background: #f3f1ee; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
.modal h3 { margin-bottom: 6px; }
.modal form { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.modal label { font-size: .82rem; font-weight: 700; margin-top: 8px; }
.modal input, .modal select, .modal textarea {
  border: 1px solid var(--border); border-radius: 10px; padding: .7em .9em; font-family: var(--font-body); font-size: .92rem; width: 100%;
}
.modal input:focus, .modal select:focus, .modal textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.modal button[type=submit] { margin-top: 16px; }
.consent { font-size: .74rem; color: var(--muted); margin: 8px 0 0; }
.form-error { color: #d64545; font-size: .82rem; margin-top: 8px; }
.travelers-control { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.qty-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: #fff; font-size: 1.1rem; cursor: pointer; }
#travelers-count { font-weight: 700; min-width: 20px; text-align: center; }
.total-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: .95rem; }
.pay-label { font-size: .82rem; color: var(--muted); margin: 16px 0 8px; }
.pay-options { display: flex; gap: 10px; margin-bottom: 16px; }
.pay-btn { flex: 1; display: flex; align-items: center; justify-content: center; height: 52px; border: 2px solid var(--border); border-radius: 12px; background: #fff; padding: 10px; transition: border-color .15s ease, transform .15s ease; }
.pay-btn:hover { border-color: var(--brand); transform: translateY(-1px); }
.pay-btn img { max-width: 100%; max-height: 100%; object-fit: contain; }

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 16px;
    box-shadow: 0 12px 20px -12px rgba(0,0,0,.15);
  }
  .main-nav.open { display: flex; }
  .main-nav.open a { color: var(--ink); opacity: 1; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav.open a:last-child { border-bottom: none; }
  .header-cta { display: none; }
  .menu-btn { display: block; }
  .about-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
