/* ============================================================
   CANCUN CATAMARANS — Frontend CSS
   Estética: luxury náutico · azul profundo · dorado · blanco
   ============================================================ */

/* ─── Variables ──────────────────────────────────────────── */
:root {
  --navy:       #0a2e44;
  --navy-light: #0e3d5c;
  --teal:       #0a9396;
  --teal-light: #94d2bd;
  --gold:       #c9a84c;
  --gold-light: #e9c46a;
  --white:      #ffffff;
  --cream:      #f8f5f0;
  --gray-100:   #f4f4f4;
  --gray-300:   #d1d1d1;
  --gray-600:   #6b7280;
  --text:       #1a1a2e;
  --text-muted: #5c6b7a;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 2px 8px rgba(10,46,68,.08);
  --shadow-md:  0 8px 32px rgba(10,46,68,.14);
  --shadow-lg:  0 20px 60px rgba(10,46,68,.18);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w:      1200px;
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* ─── Tipografía ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.75; }

/* ─── Layout ─────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section   { padding: 96px 0; }
.section--sm { padding: 56px 0; }
.section--dark { background: var(--navy); }
.section--cream { background: var(--cream); }

/* ─── Navegación ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(10,46,68,.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav__logo span { color: var(--gold); }
.nav__links {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.nav__links a {
  color: rgba(255,255,255,.85);
  font-size: .875rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--gold-light); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px;
  background: var(--gold);
  color: var(--navy) !important;
  border-radius: var(--radius-xl);
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.nav__cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.nav__hamburger { display: none; cursor: pointer; }

/* ─── Hero Section ───────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #0a2e44 0%, #0e3d5c 50%, #0a9396 100%);
  z-index: 0;
}
.hero__bg video, .hero__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.35;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,46,68,.5) 0%, rgba(10,46,68,.8) 100%);
  z-index: 1;
}
.hero__content { position: relative; z-index: 2; max-width: 820px; padding: 0 24px; }
.hero__eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.hero__title { color: var(--white); margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero__subtitle {
  font-size: 1.15rem; color: rgba(255,255,255,.82);
  max-width: 560px; margin: 0 auto 40px;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Botones ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-weight: 600; font-size: .95rem;
  cursor: pointer; border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy);
}
.btn--primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,.4); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.btn--white {
  background: var(--white);
  color: var(--navy);
}
.btn--white:hover { background: var(--cream); transform: translateY(-2px); }

.btn--teal {
  background: var(--teal);
  color: var(--white);
}
.btn--teal:hover { background: #089397; transform: translateY(-2px); }

.btn--wa {
  background: #25D366;
  color: var(--white);
}
.btn--wa:hover { background: #20b858; transform: translateY(-2px); }

.btn--sm { padding: 10px 22px; font-size: .85rem; }
.btn--lg { padding: 18px 44px; font-size: 1.05rem; }

/* ─── Cards de Tours ──────────────────────────────────────── */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.tour-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tour-card__img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.tour-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tour-card:hover .tour-card__img-wrap img { transform: scale(1.06); }
.tour-card__badge {
  position: absolute; top: 16px; left: 16px;
  padding: 4px 12px;
  background: var(--gold); color: var(--navy);
  border-radius: var(--radius-xl);
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.tour-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.tour-card__title { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 10px; color: var(--navy); }
.tour-card__meta {
  display: flex; gap: 20px; margin-bottom: 14px;
  font-size: .82rem; color: var(--text-muted);
}
.tour-card__meta span { display: flex; align-items: center; gap: 5px; }
.tour-card__desc { font-size: .9rem; color: var(--text-muted); margin-bottom: 20px; flex: 1; }
.tour-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; border-top: 1px solid var(--gray-100);
}
.tour-card__price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--navy); }
.tour-card__price small { font-size: .75rem; color: var(--text-muted); font-family: var(--font-body); font-weight: 400; }

/* ─── Sección de Beneficios ──────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.benefit {
  text-align: center;
}
.benefit__icon {
  width: 64px; height: 64px;
  background: rgba(201,168,76,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}
.benefit__title { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 8px; }
.benefit__text { font-size: .9rem; }

/* ─── Testimonios ────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 28px;
}
.testimonial-card__stars { color: var(--gold); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card__text { color: rgba(255,255,255,.85); font-size: .95rem; line-height: 1.7; margin-bottom: 20px; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-card__name { color: var(--white); font-weight: 600; font-size: .9rem; }
.testimonial-card__origin { color: var(--teal-light); font-size: .8rem; }

/* ─── Galería ────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-md);
  cursor: pointer; position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: rgba(10,46,68,0);
  transition: background var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-item__overlay { background: rgba(10,46,68,.4); }

/* ─── Formulario de Reserva ──────────────────────────────── */
.booking-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  max-width: 760px; margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }
.form-label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.form-label .required { color: #e11d48; margin-left: 3px; }
.form-control {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10,147,150,.15);
}
.form-control.is-invalid { border-color: #e11d48; }
.form-error { font-size: .8rem; color: #e11d48; margin-top: 4px; }
.form-hint  { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }

/* ─── Sección Hero interno (sub-páginas) ─────────────────── */
.page-hero {
  background: var(--navy);
  padding: 140px 0 72px;
  text-align: center;
}
.page-hero h1, .page-hero p { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.75); margin-top: 12px; font-size: 1.1rem; }
.breadcrumb {
  display: flex; justify-content: center; gap: 8px; align-items: center;
  margin-bottom: 20px;
  font-size: .82rem; color: rgba(255,255,255,.55);
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb__sep::before { content: '/'; }

/* ─── Flota Cards ────────────────────────────────────────── */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}
.fleet-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--white); transition: box-shadow var(--transition); }
.fleet-card:hover { box-shadow: var(--shadow-md); }
.fleet-card__img { aspect-ratio: 16/9; overflow: hidden; }
.fleet-card__img img { width: 100%; height: 100%; object-fit: cover; }
.fleet-card__body { padding: 28px; }
.fleet-card__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.fleet-card__spec { text-align: center; padding: 12px; background: var(--gray-100); border-radius: var(--radius-sm); }
.fleet-card__spec-val { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.fleet-card__spec-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }

/* ─── Tabla de transportación ────────────────────────────── */
.transport-table { width: 100%; border-collapse: collapse; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.transport-table th { background: var(--navy); color: var(--white); padding: 14px 20px; text-align: left; font-size: .85rem; letter-spacing: .05em; }
.transport-table td { padding: 14px 20px; border-bottom: 1px solid var(--gray-100); font-size: .95rem; }
.transport-table tr:last-child td { border-bottom: none; }
.transport-table tr:nth-child(even) td { background: var(--gray-100); }

/* ─── Sección CTA ────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  text-align: center; padding: 96px 0;
}
.cta-section h2, .cta-section p { color: var(--white); }
.cta-section p { color: rgba(255,255,255,.75); margin: 16px auto 40px; max-width: 520px; }
.cta-section__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: #060f18;
  color: rgba(255,255,255,.6);
  padding: 72px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer__brand-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); font-weight: 700; margin-bottom: 12px; }
.footer__brand-name span { color: var(--gold); }
.footer__desc { font-size: .875rem; line-height: 1.7; margin-bottom: 20px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: var(--white);
  transition: background var(--transition);
}
.footer__social a:hover { background: var(--teal); }
.footer__heading { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: .875rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer__links a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 32px; text-align: center; font-size: .8rem; }

/* ─── WhatsApp Button ────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.6); }
.wa-float svg { width: 32px; height: 32px; fill: white; }

/* ─── Blog ───────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.blog-card { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--white); transition: box-shadow var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-md); }
.blog-card__img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body { padding: 24px; }
.blog-card__cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); font-weight: 600; margin-bottom: 10px; }
.blog-card__title { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.blog-card__meta { font-size: .8rem; color: var(--text-muted); }

/* ─── Section Heading ────────────────────────────────────── */
.section-heading { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-heading__eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px;
}
.section-heading--light h2, .section-heading--light p { color: var(--white); }
.section-heading--light .section-heading__eyebrow { color: var(--gold-light); }
.section-heading--light p { color: rgba(255,255,255,.75); }

/* ─── Éxito reserva ──────────────────────────────────────── */
.success-box {
  max-width: 640px; margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 56px 48px;
  text-align: center;
}
.success-box__icon { font-size: 4rem; margin-bottom: 24px; }
.success-box__folio {
  display: inline-block;
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: var(--navy);
  background: var(--cream);
  padding: 8px 32px;
  border-radius: var(--radius-xl);
  letter-spacing: .08em;
  margin: 16px 0 28px;
}

/* ─── Flashes / Alertas ──────────────────────────────────── */
.alert { padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .9rem; }
.alert--success { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }
.alert--error   { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }
.alert--info    { background: #dbeafe; color: #1e40af; border-left: 4px solid #3b82f6; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .booking-form { padding: 32px 24px; }
}
@media (max-width: 680px) {
  .nav__links { display: none; }
  .nav__hamburger { display: block; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
  .tours-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* ─── Animaciones de entrada ─────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s ease both; }
.fade-up--d1 { animation-delay: .1s; }
.fade-up--d2 { animation-delay: .2s; }
.fade-up--d3 { animation-delay: .3s; }

/* ─── Utilidades ─────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-teal   { color: var(--teal); }
.text-white  { color: var(--white); }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }
.flex  { display: flex; }
.gap-4 { gap: 16px; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }
