/* Calypso Charters & Excursiones */
:root {
  --navy: #14204a;
  --navy-deep: #0c1533;
  --navy-soft: #24346b;
  --red: #c8323a;
  --sand: #f6f3ee;
  --line: #dfe3ec;
  --ink: #1b2238;
  --muted: #55607a;
  --white: #fff;
  --wa: #0e7a4f;
  --wa-dark: #0a6340;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--navy); margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
a { color: var(--navy-soft); }
figure { margin: 0; }

:focus-visible { outline: 3px solid #e8a33d; outline-offset: 3px; border-radius: 4px; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 2.5rem); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--white); color: var(--navy); padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: .75rem; }

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: .9rem;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
.brand { align-self: flex-start; display: block; width: 128px; flex: none; filter: drop-shadow(0 6px 10px rgba(12, 21, 51, .18)); }
.brand img { width: 100%; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.site-nav a {
  text-decoration: none; color: var(--navy); font-weight: 600; font-size: .95rem;
  padding: .5rem 0; border-bottom: 2px solid transparent; transition: border-color .2s;
}
.site-nav a:hover, .site-nav a.is-active { border-bottom-color: var(--red); }

.lang-switch { display: flex; gap: .35rem; }
.lang-switch button {
  background: transparent; border: 2px solid transparent; border-radius: 8px; padding: 4px; cursor: pointer;
  display: grid; place-items: center; min-width: 44px; min-height: 40px; opacity: .55; transition: opacity .2s, border-color .2s;
}
.lang-switch button svg { display: block; width: 30px; height: 20px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(12, 21, 51, .18); }
.lang-switch button:hover { opacity: 1; }
.lang-switch button[aria-pressed="true"] { opacity: 1; border-color: var(--navy); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  padding: .9rem 1.4rem; border-radius: 999px; border: 2px solid transparent; min-height: 48px;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .ico { width: 1.3em; height: 1.3em; flex: none; }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--sand); }
.btn-sm { font-size: .93rem; padding: .7rem 1.1rem; min-height: 44px; }
.btn-lg { font-size: 1.06rem; padding: 1.05rem 1.7rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.text-link { font-weight: 700; color: var(--wa-dark); text-underline-offset: 4px; }
.text-link::after { content: " →"; }

/* Image zoom */
.zoom { overflow: hidden; border-radius: var(--radius); }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) and (pointer: fine) {
  .zoom:hover img { transform: scale(1.06); }
}

/* Hero */
.hero {
  position: relative; color: var(--white);
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(5rem, 9vw, 8rem);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: #f0b9bc; }
.lead { font-size: 1.2rem; color: #dbe1f1; max-width: 34em; margin-bottom: 1.8rem; }
.hero-price { margin: 1.6rem 0 0; color: #dbe1f1; font-size: 1rem; }
.hero-price strong { display: inline-block; margin-left: .4rem; font-family: var(--serif); font-size: 1.35rem; color: var(--white); border-bottom: 2px solid var(--red); }
.hero-media { aspect-ratio: 4 / 5; border-radius: 220px 220px var(--radius) var(--radius); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); max-height: 620px; justify-self: end; width: 100%; }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; fill: var(--white); }

/* Facts */
.facts { padding: 1.5rem 0 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: 2.2rem; }
.facts-grid div { border-left: 2px solid var(--red); padding-left: 1rem; }
.facts-grid strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--navy); line-height: 1.2; }
.facts-grid .fact-flags { display: flex; align-items: center; gap: .5rem; height: 2.04rem; }
.fact-flags svg { width: 36px; height: 24px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(20, 32, 74, .18); flex: none; }
.facts-grid span { color: var(--muted); font-size: .95rem; line-height: 1.4; display: block; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tint { background: var(--sand); }
.section-navy { background: var(--navy); color: #dbe1f1; }
.section-navy h2 { color: var(--white); }
.section-navy .eyebrow { color: #f0b9bc; }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head h2::after {
  content: ""; display: block; width: 96px; height: 10px; margin-top: .9rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 10'%3E%3Cpath d='M0 5c8-5 16-5 24 0s16 5 24 0 16-5 24 0 16 5 24 0' fill='none' stroke='%23c8323a' stroke-width='2'/%3E%3C/svg%3E") no-repeat;
}
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-find { margin-top: clamp(3rem, 7vw, 5rem); }
.split-find h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.split-find .framed { box-shadow: -18px 18px 0 var(--sand); }
.split-find .framed img { object-position: center top; }
.text-link[href*="google.com/maps"] { color: var(--navy-soft); }
.framed { aspect-ratio: 4 / 3; box-shadow: 18px 18px 0 var(--sand); }

.boat { margin-top: clamp(3rem, 6vw, 4.5rem); background: var(--sand); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); }
.boat-intro { color: var(--muted); max-width: 44rem; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; margin: 1.5rem 0 0; }
.specs div { border-top: 1px solid #d5d0c5; padding-top: .9rem; }
.specs dt { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .3rem; }
.specs dd { margin: 0; color: var(--ink); line-height: 1.5; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(12, 21, 51, .08); border: 1px solid var(--line); }
.card .zoom { border-radius: 0; aspect-ratio: 3 / 2; }
.card .zoom img.pos-low { object-position: center 62%; }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); flex: 1; }
.card-body .btn, .card-body .text-link { align-self: flex-start; }

/* Price panel */
.price-panel {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #dbe1f1;
  border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 2.5rem;
  border-bottom: 4px solid var(--red);
}
.price-label { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #f0b9bc; margin-bottom: .4rem; }
.price { font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.1; color: var(--white); margin-bottom: .5rem; }
.price-note { margin: 0; max-width: 34rem; }

.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.gallery figure { aspect-ratio: 4 / 3; }
.gallery .g-wide { aspect-ratio: auto; }

/* Reviews */
.reviews { max-width: 860px; }
.review-carousel .stars { margin-top: 0; }
.rating-box, .review { border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.rating-box { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .2); }
.rating-source { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .2rem; }
.rating-score { font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--white); margin: 0; }
.rating-score span { font-size: 1.4rem; color: #b9c2dd; }
.stars { color: #f2b441; font-size: 1.5rem; letter-spacing: .12em; margin: .3rem 0 .6rem; }
.star-off { color: rgba(255, 255, 255, .28); }
.rating-count { font-size: .95rem; margin-bottom: 1.4rem; }
.review-carousel { background: var(--white); color: var(--ink); border-radius: var(--radius); display: flex; flex-direction: column; }
.review-slides { flex: 1; display: grid; }
.review-carousel .review { grid-area: 1 / 1; padding-bottom: 1rem; }
.review-carousel.is-ready .review { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.review-carousel.is-ready .review.is-current { opacity: 1; visibility: visible; }
.review-carousel:not(.is-ready) .review { grid-area: auto; }
.review-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; padding: 0 clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 1.75rem); }
.review-footer .review-note { margin: 0; }
.review-controls { display: flex; gap: .5rem; }
.review-carousel:not(.is-ready) .review-controls { display: none; }
.review-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--navy); background: var(--white); color: var(--navy);
  font-size: 1.3rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, color .2s;
}
.review-btn:hover, .review-pause[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.review-pause { font-size: .7rem; letter-spacing: .1em; }
.review { background: var(--white); color: var(--ink); display: flex; flex-direction: column; justify-content: center; }
.review .star-off { color: #d5d8e0; }
.review blockquote { margin: 0; }
.review blockquote p { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.35; color: var(--navy); }
.review figcaption { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: baseline; }
.review figcaption a { font-weight: 600; }
.review-note { color: var(--muted); font-size: .88rem; margin: .8rem 0 0; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; position: relative;
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--navy);
  padding: 1.2rem 3rem 1.2rem 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: .6rem; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { color: var(--muted); padding: 0 3rem 1.3rem 0; margin: 0; }

/* CTA band */
.cta-band {
  color: #dbe1f1; padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: linear-gradient(rgba(12, 21, 51, .82), rgba(12, 21, 51, .88)), url("assets/img/proa-mar-abierto.jpg") center 65% / cover no-repeat;
}
.cta-band h2 { color: var(--white); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-inner p { margin: 0; max-width: 32rem; font-size: 1.1rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c3cbe2; font-size: .96rem; padding: 3.5rem 0 1.5rem; }
.site-footer a { color: var(--white); text-underline-offset: 3px; }
.site-footer h2 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #f0b9bc; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer address { font-style: normal; margin-bottom: .7rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.1fr 1.3fr .7fr; gap: 2.5rem; }
.footer-brand { font-family: var(--serif); font-size: 1.9rem; color: var(--white); line-height: 1.1; margin-bottom: .7rem; }
.footer-brand span { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #c3cbe2; margin-top: .4rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 2.5rem; padding-top: 1.3rem; font-size: .86rem; }
.footer-bottom p { margin: 0; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: var(--white);
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .28); transition: transform .2s, background-color .2s;
}
.wa-float:hover { transform: scale(1.06); background: var(--wa-dark); }
.wa-float svg { width: 32px; height: 32px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(12, 21, 51, .12);
    flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem 1.25rem 1.5rem;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; padding-left: 0; }
  .site-nav li a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .lang-switch { align-self: flex-start; }
  .lang-switch button { min-height: 44px; min-width: 52px; }
  .lang-switch button svg { width: 36px; height: 24px; }
}
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-media { max-height: 460px; aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .hero-media img { object-position: center 70%; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g-wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .framed { box-shadow: 10px 10px 0 var(--sand); }
}
@media (max-width: 600px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .brand { width: 104px; }
  .cards, .specs, .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn, .price-panel .btn { width: 100%; }
  .facts-grid { gap: 1.2rem 1rem; }
  .faq-list summary { font-size: 1.12rem; }
  .faq-list details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
