/* ============================================================
   Capimar Yachting — site.css
   Brand: navy #1B365D | sea #1A8FD1 | mist #F5F9FC | ink #1C2B36 | gold #C9A84C
   Fonts: Cinzel (display) + Plus Jakarta Sans (body)
   ============================================================ */

:root {
  --navy:      #1B365D;
  --navy-deep: #12273f;
  --sea:       #1A8FD1;
  --mist:      #F5F9FC;
  --ink:       #1C2B36;
  --muted:     #5b6b7a;
  --gold:      #C9A84C;
  --white:     #fff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
}
h1, h2, h3, .brand { font-family: 'Cinzel', serif; letter-spacing: .08em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Utilities ─────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 6px;
  font-weight: 600; cursor: pointer; border: none; transition: .2s;
}
.btn-cta  { background: var(--sea);  color: #fff; }
.btn-cta:hover  { background: #1576ad; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }

/* ── Nav ───────────────────────────────────────────────── */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(27,54,93,.96);
  backdrop-filter: blur(6px);
  color: #fff;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { font-size: 1.5rem; font-weight: 700; color: #fff; }
.brand small {
  display: block; font-family: 'Plus Jakarta Sans';
  font-size: .6rem; letter-spacing: .25em; opacity: .8; font-weight: 500;
}
nav.menu { display: flex; gap: 1.6rem; align-items: center; }
nav.menu a { font-size: .92rem; opacity: .9; }
nav.menu a:hover { opacity: 1; color: #bfe0f5; }

/* ── Maqueta tag + WhatsApp float ─────────────────────── */
.maqueta-tag {
  position: fixed; top: 76px; right: 10px;
  background: var(--gold); color: #12273f;
  font-size: .7rem; font-weight: 700;
  padding: .25rem .6rem; border-radius: 4px; z-index: 60;
}
.wa-float {
  position: fixed; bottom: 22px; right: 22px;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 60;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }

/* ── Hero (home) ───────────────────────────────────────── */
.hero {
  position: relative; min-height: 78vh;
  display: flex; align-items: center; color: #fff;
  background: linear-gradient(rgba(18,39,63,.55), rgba(18,39,63,.65)),
              url('/assets/yacht_2.png') center / cover;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15; max-width: 14ch; font-weight: 700;
}
.hero p { font-size: 1.15rem; max-width: 46ch; margin: 1.2rem 0 2rem; opacity: .95; font-weight: 300; }
.hero .actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Trust strip ───────────────────────────────────────── */
.trust { background: var(--navy-deep); color: #fff; }
.trust .container {
  display: flex; flex-wrap: wrap; justify-content: space-around;
  gap: 1rem; padding: 1.1rem 24px; text-align: center;
}
.trust b { color: var(--gold); }
.trust span { font-size: .9rem; opacity: .9; }

/* ── Generic sections ──────────────────────────────────── */
section { padding: 5rem 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-size: 2rem; color: var(--navy); }
.section-head p { color: var(--muted); margin-top: .5rem; }

/* ── Fleet grid (home + /flota catalog) ────────────────── */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.8rem;
}
.boat {
  background: #fff; border: 1px solid #e6eef5;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 6px 24px rgba(27,54,93,.06);
  transition: transform .25s, box-shadow .25s;
}
.boat:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(27,54,93,.14); }
.boat .ph   { height: 200px; background: center / cover; }
.boat .body { padding: 1.3rem; }
.boat h3    { font-size: 1.25rem; color: var(--navy); }
.boat .model { color: var(--muted); font-size: .85rem; margin-bottom: .9rem; }
.boat .specs { display: flex; gap: 1.1rem; font-size: .85rem; color: var(--ink); margin-bottom: 1rem; }
.boat .foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid #eef3f8; padding-top: .9rem;
}
.price { font-weight: 700; }
.price small { color: var(--muted); font-weight: 500; font-size: .7rem; display: block; }
.price b { color: var(--gold); font-size: 1.15rem; }

/* ── Services ──────────────────────────────────────────── */
.services { background: var(--mist); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.4rem; }
.svc { background: #fff; border-radius: 12px; padding: 1.8rem; text-align: center; border: 1px solid #e6eef5; }
.svc .ic {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto 1rem;
}
.svc h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: .4rem; }
.svc p  { font-size: .88rem; color: var(--muted); }

/* ── CTA booking strip ─────────────────────────────────── */
.cta-book {
  background: linear-gradient(rgba(18,39,63,.8), rgba(18,39,63,.85)),
              url('/assets/yacht_6.png') center / cover;
  color: #fff; text-align: center;
}
.cta-book h2 { font-size: 2rem; }
.cta-book p  { max-width: 50ch; margin: 1rem auto 2rem; opacity: .95; font-weight: 300; }

/* ── Footer ────────────────────────────────────────────── */
footer.site { background: var(--navy-deep); color: #cdd9e5; padding: 3rem 0 1.5rem; }
.foot-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
footer.site h4 { color: #fff; font-family: 'Plus Jakarta Sans'; font-size: .95rem; margin-bottom: .8rem; letter-spacing: 0; }
footer.site a, footer.site li { font-size: .9rem; line-height: 2; }
footer.site a:hover { color: var(--sea); }
footer.site .copy { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; text-align: center; font-size: .8rem; opacity: .7; }

/* ══════════════════════════════════════════════════════════
   BOAT DETAIL PAGE (ficha-yate)
   ══════════════════════════════════════════════════════════ */

/* ── Boat hero ─────────────────────────────────────────── */
.boat-hero {
  position: relative; height: clamp(340px, 52vh, 580px);
  background: center / cover no-repeat;
  display: flex; align-items: flex-end;
}
.boat-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(18,39,63,.18) 0%, rgba(18,39,63,.75) 100%);
}
.boat-hero-content {
  position: relative; z-index: 1;
  padding: 2.5rem 24px; width: 100%; max-width: 1180px; margin: 0 auto;
  color: #fff;
}
.boat-hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1; font-weight: 700; margin-bottom: .3rem;
}
.boat-hero-content .subtitle {
  font-size: 1.1rem; opacity: .9; font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 300; letter-spacing: .04em;
}

/* ── Boat breadcrumb ───────────────────────────────────── */
.boat-breadcrumb {
  background: var(--mist); border-bottom: 1px solid #dde8f0;
  padding: .7rem 0; font-size: .85rem; color: var(--muted);
}
.boat-breadcrumb a { color: var(--sea); }
.boat-breadcrumb a:hover { text-decoration: underline; }
.boat-breadcrumb span { margin: 0 .4rem; }

/* ── Boat layout: content + sidebar ────────────────────── */
.boat-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
  padding: 3rem 0 4rem;
}

/* ── Specs table ───────────────────────────────────────── */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem; margin-bottom: 2.5rem;
}
.spec-badge {
  background: var(--mist); border: 1px solid #dde8f0;
  border-radius: 10px; padding: 1rem 1.2rem; text-align: center;
}
.spec-badge .spec-label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); font-weight: 600; margin-bottom: .3rem;
}
.spec-badge .spec-value {
  font-size: 1.1rem; font-weight: 700; color: var(--navy);
}

/* ── Photo gallery ─────────────────────────────────────── */
.gallery-section h2,
.prices-section h2,
.boat-lists h2 { font-size: 1.3rem; color: var(--navy); margin-bottom: 1.2rem; padding-bottom: .4rem; border-bottom: 2px solid var(--sea); display: inline-block; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem; margin-bottom: 2.5rem;
}
.gallery-grid img {
  width: 100%; height: 160px; object-fit: cover;
  border-radius: 8px; transition: opacity .2s;
}
.gallery-grid img:hover { opacity: .85; }

/* ── Price cards (Capimar circles feel) ────────────────── */
.prices-section { margin-bottom: 2.5rem; }
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.price-card {
  background: var(--navy); color: #fff;
  border-radius: 14px; padding: 1.6rem 1.2rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(27,54,93,.18);
  transition: transform .2s;
}
.price-card:hover { transform: translateY(-3px); }
.price-card .pc-season {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  opacity: .75; margin-bottom: .5rem; font-family: 'Plus Jakarta Sans', sans-serif;
}
.price-card .pc-price {
  font-family: 'Cinzel', serif; font-size: 1.6rem;
  font-weight: 700; color: var(--gold); line-height: 1.1;
}
.price-card .pc-hours {
  font-size: .78rem; opacity: .7; margin-top: .4rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── Incluye / No incluye / Condiciones lists ──────────── */
.boat-lists { margin-bottom: 2.5rem; }
.boat-lists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin-top: 1.2rem;
}
.list-block h3 {
  font-size: .95rem; margin-bottom: .8rem;
  color: var(--navy); font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.list-block ul { list-style: none; }
.list-block li {
  font-size: .9rem; line-height: 1.7; padding-left: 1.4rem;
  position: relative; color: var(--ink);
}
.list-block li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--sea); font-weight: 700;
}
.list-block.no li::before { content: '✕'; color: #c0392b; }
.list-block.cond li::before { content: '·'; color: var(--gold); font-size: 1.2rem; top: -.05rem; }

/* ── Sidebar booking card ──────────────────────────────── */
.booking-card {
  background: var(--navy); color: #fff;
  border-radius: 16px; padding: 2rem;
  box-shadow: 0 12px 36px rgba(27,54,93,.22);
  position: sticky; top: 86px;
}
.booking-card h3 {
  font-size: 1.1rem; margin-bottom: 1rem; color: #fff;
}
.booking-card .bc-price {
  font-family: 'Cinzel', serif; font-size: 2rem;
  color: var(--gold); font-weight: 700; line-height: 1;
  margin-bottom: .3rem;
}
.booking-card .bc-note {
  font-size: .8rem; opacity: .7; margin-bottom: 1.5rem;
}
.booking-card .btn { width: 100%; justify-content: center; margin-bottom: .8rem; }
.booking-card .btn-wa {
  background: #25D366; color: #fff;
}
.booking-card .btn-wa:hover { background: #1da851; }
.booking-card .bc-meta {
  font-size: .8rem; opacity: .65; text-align: center; margin-top: .8rem; line-height: 1.6;
}

/* ── Back to fleet link ────────────────────────────────── */
.back-fleet { margin-bottom: 1rem; }
.back-fleet a { color: var(--sea); font-size: .9rem; font-weight: 600; }
.back-fleet a:hover { text-decoration: underline; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .boat-layout {
    grid-template-columns: 1fr;
  }
  .booking-card { position: static; }
}

@media (max-width: 760px) {
  nav.menu { display: none; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .price-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .price-cards { grid-template-columns: 1fr; }
}
