/* ===== Brand tokens ===== */
:root {
  --turquesa: #00B7C8;
  --sol: #FFC107;
  --coral: #FF7A3D;
  --crema: #FFF3D6;
  --marino: #0D2B45;
  --blanco: #FFFFFF;

  --wa: #25D366;
  --wa-dark: #1da851;

  --ink: #16344c;
  --muted: #5a6b7a;
  --line: rgba(13, 43, 69, 0.10);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 6px 20px rgba(13, 43, 69, 0.08);
  --shadow-md: 0 16px 40px rgba(13, 43, 69, 0.14);
  --container: 1140px;

  --font-head: "Bebas Neue", "Montserrat", sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-script: "Pacifico", cursive;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 1rem; letter-spacing: .2px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-block { width: 100%; }

.btn-whatsapp { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(37,211,102,.35); }
.btn-whatsapp:hover { background: var(--wa-dark); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 8px 22px rgba(255,122,61,.35); }
.btn-coral:hover { background: #f2641f; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn-outline:hover { background: rgba(255,255,255,.14); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; }
.brand-name { font-family: var(--font-head); font-size: 1.6rem; letter-spacing: 1px; color: var(--marino); line-height: 1; }
.brand-name em { color: var(--turquesa); font-style: normal; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-weight: 600; font-size: .95rem; color: var(--marino); transition: color .15s ease; }
.main-nav a:hover { color: var(--turquesa); }
.main-nav .nav-cta {
  background: var(--turquesa); color: #fff; padding: 10px 20px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,183,200,.35);
}
.main-nav .nav-cta:hover { background: #009fae; color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 26px; height: 3px; background: var(--marino); border-radius: 3px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; color: #fff; text-align: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255,193,7,.35), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(255,122,61,.35), transparent 60%),
    linear-gradient(160deg, var(--turquesa) 0%, #0593a9 45%, var(--marino) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1.4px, transparent 1.4px);
  background-size: 22px 22px; opacity: .5;
}
.hero-inner { position: relative; padding: 64px 22px 84px; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(360px, 78vw); filter: drop-shadow(0 12px 24px rgba(0,0,0,.28)); margin-bottom: 18px; }
.hero-kicker {
  text-transform: uppercase; letter-spacing: 3px; font-weight: 700; font-size: .8rem;
  background: rgba(255,255,255,.16); padding: 7px 16px; border-radius: 999px; backdrop-filter: blur(4px);
}
.hero-title {
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(3rem, 9vw, 6rem); line-height: .95; letter-spacing: 1px;
  margin: 18px 0 6px; text-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.accent-script { font-family: var(--font-script); color: var(--sol); font-size: .62em; display: inline-block; transform: rotate(-4deg); }
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.35rem); font-weight: 500; max-width: 620px; opacity: .96; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

/* wave divider */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background: var(--blanco);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C240,80 480,0 720,20 C960,40 1200,80 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat center/cover;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C240,80 480,0 720,20 C960,40 1200,80 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat center/cover;
}

/* ===== Section scaffolding ===== */
.section { padding: 84px 0; }
.section-tint { background: var(--crema); }
.eyebrow {
  text-transform: uppercase; letter-spacing: 2.5px; font-weight: 700; font-size: .78rem;
  color: var(--coral); text-align: center; margin-bottom: 8px;
}
.eyebrow-light { color: var(--sol); text-align: left; }
.section-title {
  font-family: var(--font-head); font-weight: 400; letter-spacing: 1px;
  font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; color: var(--marino); text-align: center;
}
.section-title.light { color: #fff; text-align: left; }
.section-lead { text-align: center; max-width: 660px; margin: 14px auto 0; color: var(--muted); font-size: 1.05rem; }
.section-lead.light { color: rgba(255,255,255,.9); margin-left: 0; text-align: left; }
.price { color: var(--sol); }

/* ===== Services ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 46px;
}
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(0,183,200,.4); }
.service-ico {
  width: 58px; height: 58px; display: grid; place-items: center; font-size: 1.7rem;
  border-radius: 16px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(0,183,200,.15), rgba(255,193,7,.18));
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), background .35s ease, box-shadow .35s ease;
}
.service-card:hover .service-ico {
  transform: scale(1.12) rotate(-6deg);
  background: linear-gradient(135deg, rgba(0,183,200,.32), rgba(255,193,7,.38));
  box-shadow: 0 8px 18px rgba(0,183,200,.28);
}
.service-card h3 { font-size: 1.18rem; color: var(--marino); margin-bottom: 6px; }
.service-card p { color: var(--muted); font-size: .94rem; }

/* ===== Feature blocks ===== */
.feature { padding: 0; }
.feature-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.feature-media { min-height: 380px; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-text { padding: 70px 6%; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; justify-content: center; }
.feature-cuba { background: linear-gradient(135deg, var(--marino), #123a5c); }
.feature-cuba .section-lead { color: rgba(255,255,255,.9); }
.feature-cruceros { background: var(--crema); }

.feature-inner.reverse .feature-media { order: 2; }

.feature-list { display: grid; gap: 10px; }
.feature-list li { color: rgba(255,255,255,.95); font-weight: 500; font-size: 1.05rem; }

.price-table {
  width: 100%; max-width: 460px; border-collapse: separate; border-spacing: 0;
  margin: 8px 0 4px; background: rgba(255,255,255,.06);
  border-radius: 14px; overflow: hidden;
  font-size: .95rem; color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.price-table thead th {
  background: rgba(255,255,255,.10);
  text-transform: uppercase; letter-spacing: 1px; font-size: .72rem;
  color: var(--sol); font-weight: 700; padding: 12px 14px; text-align: left;
}
.price-table tbody td {
  padding: 12px 14px; border-top: 1px solid rgba(255,255,255,.10);
  font-weight: 500;
}
.price-table tbody tr:first-child td { border-top: 0; }
.price-table tbody tr:hover td { background: rgba(255,255,255,.06); }
.price-cell { color: var(--sol); font-weight: 700; font-size: 1.05rem; }

.cruise-lines { display: flex; flex-wrap: wrap; gap: 10px; }
.cruise-lines li {
  background: #fff; border: 1px solid var(--line); color: var(--marino);
  font-weight: 700; font-size: .85rem; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-sm);
}

/* ===== Values ===== */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 46px; }
.value { background: #fff; border-radius: var(--radius); padding: 26px 18px; text-align: center; box-shadow: var(--shadow-sm); }
.value-ico { font-size: 2.1rem; display: block; margin-bottom: 10px; }
.value h3 { font-size: 1.08rem; color: var(--turquesa); margin-bottom: 6px; }
.value p { font-size: .9rem; color: var(--muted); }

/* ===== Destinos ===== */
.destinos-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px;
}
.destino-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 5; isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}
.destino-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.destino-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.destino-card:hover img { transform: scale(1.08); }
.destino-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,43,69,0) 35%, rgba(13,43,69,.55) 70%, rgba(13,43,69,.92) 100%);
  transition: background .3s ease;
}
.destino-card:hover::after {
  background: linear-gradient(180deg, rgba(13,43,69,.05) 20%, rgba(13,43,69,.7) 60%, rgba(13,43,69,.95) 100%);
}
.destino-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 20px 20px 22px; color: #fff;
}
.destino-tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--sol); color: var(--marino);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.destino-overlay h3 {
  font-family: var(--font-head); font-weight: 400; letter-spacing: 1px;
  font-size: 1.55rem; line-height: 1; margin-bottom: 6px;
}
.destino-overlay p {
  font-size: .88rem; opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity .3s ease, max-height .3s ease, margin .3s ease;
}
.destino-card:hover .destino-overlay p,
.destino-card:focus-visible .destino-overlay p {
  opacity: .95; max-height: 80px;
}
.destinos-cta { text-align: center; margin-top: 36px; }

/* ===== Promo gallery ===== */
.promo-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 46px; }
.promo-gallery img {
  border-radius: var(--radius); box-shadow: var(--shadow-sm); aspect-ratio: 1/1; object-fit: cover;
  transition: transform .2s ease, box-shadow .2s ease;
}
.promo-gallery img:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }

/* ===== Contact ===== */
.section-contact { background: linear-gradient(160deg, var(--turquesa), #0a3050 130%); position: relative; }
.section-contact { background: linear-gradient(160deg, #0593a9, var(--marino)); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-details { margin-top: 26px; display: grid; gap: 16px; }
.contact-details li { display: flex; gap: 14px; align-items: flex-start; color: #fff; }
.contact-details .ci { font-size: 1.3rem; line-height: 1.4; }
.contact-details strong { color: var(--sol); font-weight: 700; }
.contact-details a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }
.contact-details a:hover { color: var(--sol); }

.contact-map {
  margin-top: 22px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); border: 3px solid rgba(255,255,255,.15);
  background: #fff;
}
.contact-map iframe { display: block; width: 100%; border: 0; }

.socials { display: flex; gap: 12px; margin-top: 26px; }
.socials a {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.14); transition: background .2s ease, transform .2s ease;
}
.socials a:hover { background: #fff; transform: translateY(-3px); }
.socials svg { width: 22px; height: 22px; fill: #fff; }
.socials a:hover svg { fill: var(--turquesa); }

.contact-form { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); }
.contact-form h3 { font-size: 1.4rem; color: var(--marino); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--marino); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fbfdfe;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--turquesa); box-shadow: 0 0 0 3px rgba(0,183,200,.15); background: #fff;
}
.field textarea { resize: vertical; }
.field input.invalid, .field select.invalid { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255,122,61,.15); }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ===== Legal page ===== */
.legal-hero {
  background: linear-gradient(160deg, var(--turquesa) 0%, #0593a9 50%, var(--marino) 100%);
  color: #fff; padding: 70px 0 60px; text-align: center; position: relative; overflow: hidden;
}
.legal-hero .eyebrow { color: var(--sol); }
.legal-title {
  font-family: var(--font-head); font-weight: 400; letter-spacing: 1.5px;
  font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; margin: 8px 0 12px;
}
.legal-updated { opacity: .85; font-size: .95rem; }

.legal-main { padding: 60px 0 80px; background: #fff; }
.legal-article {
  max-width: 780px; color: var(--ink); font-size: 1.02rem; line-height: 1.75;
}
.legal-article h2 {
  font-family: var(--font-head); font-weight: 400; letter-spacing: 1px;
  font-size: 1.7rem; color: var(--marino);
  margin: 38px 0 14px; padding-bottom: 8px;
  border-bottom: 2px solid var(--turquesa);
}
.legal-article p { margin-bottom: 14px; }
.legal-article ul { margin: 0 0 18px 0; padding-left: 22px; list-style: disc; }
.legal-article ul li { margin-bottom: 8px; padding-left: 4px; }
.legal-article ul li::marker { color: var(--turquesa); }
.legal-article a { color: var(--turquesa); border-bottom: 1px solid rgba(0,183,200,.35); transition: color .15s ease, border-color .15s ease; }
.legal-article a:hover { color: var(--coral); border-bottom-color: var(--coral); }
.legal-article strong { color: var(--marino); }

.legal-note {
  margin-top: 36px; padding: 16px 18px;
  background: var(--crema); border-left: 4px solid var(--sol); border-radius: 8px;
  font-size: .94rem; color: var(--muted);
}
.legal-back { margin-top: 32px; text-align: center; font-weight: 600; }
.legal-back a { font-size: 1rem; }

/* ===== Footer ===== */
.site-footer { background: var(--marino); color: rgba(255,255,255,.85); padding: 48px 0 28px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-brand img { width: 64px; }
.footer-brand p { font-family: var(--font-script); color: var(--sol); font-size: 1.1rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { font-weight: 600; font-size: .92rem; }
.footer-nav a:hover { color: var(--turquesa); }
.footer-copy { font-size: .82rem; opacity: .7; }

/* ===== Floating WhatsApp ===== */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa);
  display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.5);
  animation: wa-pulse 2.4s infinite;
}
.float-wa svg { width: 32px; height: 32px; fill: #fff; }
.float-wa:hover { background: var(--wa-dark); }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 28px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 10px 28px rgba(37,211,102,.5), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 28px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-gallery { grid-template-columns: repeat(2, 1fr); }
  .destinos-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-inner, .contact-inner { grid-template-columns: 1fr; }
  .feature-inner.reverse .feature-media { order: 0; }
  .feature-media { min-height: 260px; }
  .feature-text { padding: 48px 26px; }
  .section-title.light, .section-lead.light, .eyebrow-light { text-align: center; }
  .feature-text { align-items: center; text-align: center; }
  .feature-list li { text-align: center; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed; inset: 70px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 22px 18px; box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .3s ease; pointer-events: none;
  }
  .main-nav.open { transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { margin-top: 12px; text-align: center; border-bottom: 0; }
  .nav-toggle { display: flex; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .services-grid, .values-grid, .promo-gallery, .destinos-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-wa { animation: none; }
  .btn:hover { transform: none; }
  .service-card:hover .service-ico { transform: none; }
}
