/* Novatecnia — maqueta con el lenguaje visual de azimutyachts.com.ar */
:root {
  --black: #000;
  --white: #fff;
  --ink: #000;
  --muted: #a3a3a3;
  --muted-2: #777;
  --line: #d4d4d4;
  --sand: #e3e3dd;
  --radius-pill: 999px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1320px;
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 400; margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease;
}
.header.is-solid { background: rgba(0, 0, 0, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 14px; color: var(--white); }
.brand a, .footer__brand a { display: flex; align-items: center; }
.brand__azimut { height: 24px; width: auto; }
.brand__sep { width: 1px; height: 22px; background: rgba(255,255,255,.5); }
.brand__azcuy { height: 16px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; color: var(--white); font-size: 16px; }
.nav a:not(.pill) { opacity: .9; }
.nav a:not(.pill):hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: var(--radius-pill);
  background: var(--white); color: var(--black); font-size: 16px; white-space: nowrap;
  transition: transform .2s ease, background .2s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill--dark { background: var(--black); color: var(--white); }
.pill--ghost { background: rgba(212,212,212,.5); color: var(--black); }
.pill svg { width: 14px; height: 14px; }

.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--white); background: #111 center / cover no-repeat;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-bottom: clamp(48px, 9vh, 96px); }
.eyebrow { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin-bottom: 18px; }
.hero h1 { font-size: clamp(44px, 8vw, 112px); line-height: .95; letter-spacing: -0.04em; }
.hero p { max-width: 560px; margin: 22px 0 30px; font-size: clamp(17px, 1.6vw, 20px); opacity: .92; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; scroll-margin-top: 70px; }
.subnav ~ .section { scroll-margin-top: 122px; }
.section--tight { padding: clamp(48px, 7vw, 90px) 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--sand { background: #f4f4f1; }

.statement {
  font-size: clamp(30px, 4.2vw, 56px); line-height: 1.12; letter-spacing: -0.035em;
  text-align: center; max-width: 1100px; margin: 0 auto;
}
.statement .soft { color: var(--muted); }

.h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.035em; }
.h2 .soft { color: var(--muted); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: #333; max-width: 640px; }
.section--dark .lead { color: #cfcfcf; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split__media { aspect-ratio: 4 / 5; overflow: hidden; background: #ddd; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body > * + * { margin-top: 22px; }

/* ---------- Modelos (grilla de la serie) ---------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: 56px; }
.model-card { display: flex; flex-direction: column; border-top: 1px solid var(--black); padding-top: 22px; }
.model-card__num { font-size: clamp(64px, 7vw, 104px); line-height: .9; letter-spacing: -0.05em; }
.model-card__num small { font-size: 16px; letter-spacing: .1em; color: var(--muted-2); margin-left: 6px; vertical-align: top; }
.model-card__img { margin: 26px 0; aspect-ratio: 16 / 7; display: flex; align-items: center; justify-content: center; }
.model-card__img img { max-height: 100%; object-fit: contain; }
.specs-mini { list-style: none; margin: 0 0 26px; padding: 0; font-size: 15px; }
.specs-mini li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs-mini span:first-child { color: var(--muted-2); }
.model-card .pill { align-self: flex-start; margin-top: auto; }

/* ---------- Lista numerada estilo "Nuestros ejes" ---------- */
.axes { list-style: none; margin: 0; padding: 0; }
.axes li { border-bottom: 1px solid var(--black); padding: 20px 0; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.03em; color: var(--muted); }
.axes li strong { font-weight: 400; color: var(--ink); }
.section--dark .axes li { border-color: #444; }
.section--dark .axes li strong { color: var(--white); }

/* ---------- Página de modelo ---------- */
.subnav {
  position: sticky; top: 70px; z-index: 40; background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-bottom: 1px solid var(--line);
}
.subnav__inner { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; font-size: 15px; height: 52px; align-items: center; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; color: var(--muted-2); }
.subnav a:hover { color: var(--ink); }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--black); margin-top: 48px; }
.kpi { padding: 22px 18px 0 0; }
.kpi__label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.kpi__value { font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.03em; margin-top: 6px; }
.section--dark .kpis { border-color: #444; }
.section--dark .kpi__label { color: #9a9a9a; }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 44px; }
.gallery figure { margin: 0; overflow: hidden; background: #e8e8e8; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery .g-wide { grid-column: span 4; aspect-ratio: 16 / 10; }
.gallery .g-tall { grid-column: span 2; aspect-ratio: auto; }
.gallery .g-third { grid-column: span 2; aspect-ratio: 4 / 3; }
.gallery .g-half { grid-column: span 3; aspect-ratio: 3 / 2; }

.layout-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 26px; }
.layout-tabs button {
  font: inherit; font-size: 15px; border: 1px solid var(--black); background: transparent; color: var(--ink);
  padding: 9px 18px; border-radius: var(--radius-pill); cursor: pointer;
}
.layout-tabs button[aria-selected="true"] { background: var(--black); color: var(--white); }
.layout-panel { background: #f4f4f1; padding: clamp(16px, 3vw, 40px); }
.layout-panel img { margin: 0 auto; max-height: 560px; width: auto; }
.layout-panel[hidden] { display: none; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 16px; }
.spec-table th, .spec-table td { text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-weight: 400; color: var(--muted-2); width: 44%; padding-right: 20px; }
.spec-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 5vw, 80px); }
.spec-group-title { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 44px 0 0; }

.video { position: relative; aspect-ratio: 16 / 9; background: #000; margin-top: 44px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Comparador ---------- */
.compare { overflow-x: auto; margin-top: 44px; }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 15px 14px 15px 0; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th { font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.04em; font-weight: 400; border-bottom: 1px solid var(--black); }
.compare tbody th { font-weight: 400; color: var(--muted-2); }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.contact__info > * + * { margin-top: 22px; }
.contact__list { list-style: none; padding: 0; margin: 34px 0 0; }
.contact__list li { border-top: 1px solid #444; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; }
.contact__list li span:first-child { color: #9a9a9a; }
.form { display: grid; gap: 4px; }
.field { display: grid; }
.field label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #9a9a9a; padding-top: 18px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 20px; color: var(--white); background: transparent;
  border: 0; border-bottom: 1px solid #555; padding: 10px 0 12px; border-radius: 0; outline: none;
}
.field select option { color: var(--black); }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--white); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.form__note { font-size: 13px; color: #8a8a8a; margin-top: 16px; }
button.pill { border: 0; cursor: pointer; font: inherit; font-size: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); padding: 70px 0 40px; border-top: 1px solid #222; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; }
.footer__grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid #222; font-size: 12px; line-height: 1.6; color: #8a8a8a; }
.footer__legal p { margin: 0 0 10px; max-width: 1000px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .models { grid-template-columns: 1fr; gap: 56px; }
  .split, .contact { grid-template-columns: 1fr; }
  .split--rev .split__media { order: -1; }
  .kpis { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .spec-cols { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .g-wide, .gallery .g-half { grid-column: span 2; }
  .gallery .g-third, .gallery .g-tall { grid-column: span 1; aspect-ratio: 1 / 1; }
}
@media (max-width: 1000px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
    position: fixed; inset: 70px 0 auto 0; padding: 28px var(--gutter) 34px;
    background: rgba(0,0,0,.92); font-size: 22px;
  }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--white);
    border: 0; font: inherit; font-size: 16px; cursor: pointer; padding: 0;
  }
  .menu-btn span.box { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.8); border-radius: 7px; display: grid; place-items: center; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .brand__azimut { height: 14px; }
  .brand__azcuy { height: 13px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .subnav { top: 70px; }
}

/* ===================== Novatecnia ===================== */
:root { --navy: #0f1a3a; }
.mock-banner {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 70;
  background: #ffd84d; color: #000; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--radius-pill); pointer-events: none;
}
.brand__logo { height: 22px; width: auto; }
.footer__brand .brand__logo { height: 26px; }

/* Hero enmarcado: para fotos de baja resolución, que no se estiran a pantalla completa */
.hero--framed { background: var(--black); align-items: center; padding: 120px 0 72px; }
.hero--framed::after { display: none; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.hero--framed .hero__inner { padding-bottom: 0; }
.hero__frame { margin: 0; }
.hero__frame img { width: 100%; max-width: 960px; aspect-ratio: 3 / 2; object-fit: cover; }
.hero__model-logo { height: clamp(44px, 7vw, 92px); width: auto; margin: 6px 0 4px; }
.hero__model-logo--wide { height: clamp(26px, 4vw, 52px); }
.hero--plan { background: var(--navy); }
.hero__plan { margin: 0; display: flex; justify-content: center; }
.hero__plan img { max-height: 78vh; width: auto; opacity: .92; }

/* Línea de modelos */
.lines { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 56px; }
.line-card { display: flex; flex-direction: column; background: #f4f4f1; transition: transform .3s ease; }
.line-card:hover { transform: translateY(-3px); }
.line-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #ddd; }
.line-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.line-card:hover .line-card__media img { transform: scale(1.03); }
.line-card__body { padding: 26px clamp(20px, 2.4vw, 32px) 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.line-card__family { margin: 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.line-card h3 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.04em; line-height: 1; }
.line-card p { margin: 0; color: #444; font-size: 17px; }
.line-card__more { margin-top: auto; padding-top: 12px; display: inline-flex; gap: 8px; align-items: center; font-size: 16px; }
.line-card__more svg { width: 14px; height: 14px; }
.badge {
  position: absolute; top: 16px; left: 16px; background: var(--white); color: var(--black);
  font-size: 13px; padding: 6px 12px; border-radius: var(--radius-pill);
}

/* Datos a confirmar (solo en la maqueta) */
.tbc {
  display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: var(--radius-pill);
  background: #fff3c4; color: #7a5b00; font-size: 12px; vertical-align: middle;
}
.kpi-note { font-size: 14px; color: var(--muted-2); margin-top: 18px; }

.renders { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.renders figure { margin: 0; position: relative; }
.renders img { width: 100%; aspect-ratio: 668 / 284; object-fit: cover; }
.renders figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.5); }

.timeline { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--black); }
.timeline li { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline li span:first-child { font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -0.03em; }
.timeline li span:last-child { color: var(--muted-2); text-align: right; }

.section--dark .gallery figure { background: #1a1a1a; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero--framed { padding-top: 100px; }
  .hero__plan img { max-height: 60vh; }
  .lines, .renders { grid-template-columns: 1fr; }
  .timeline li { flex-direction: column; gap: 4px; }
  .timeline li span:last-child { text-align: left; }
}
.hero:not(.hero--framed)::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,0) 70%);
}
.hero__inner { z-index: 2; }
.brand__logo { height: 26px; }
@media (max-width: 760px) { .mock-banner { left: 16px; transform: none; bottom: 26px; } }
.plan { margin: 56px 0 0; }
.plan img { width: 100%; height: auto; }
.plan figcaption { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: 10px; }
.timeline a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.gallery--mini { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.gallery--mini figure { aspect-ratio: 3 / 2; }
@media (max-width: 960px) { .gallery--mini { grid-template-columns: 1fr 1fr; } .gallery--mini figure { grid-column: auto !important; aspect-ratio: 3 / 2 !important; } }

/* Fundadores: bloque corto con carrusel de fotos */
.kicker { margin: 0 0 14px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.founders dt { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; line-height: 1.1; }
.founders dd { margin: 6px 0 0; color: var(--muted-2); font-size: 16px; }
.carousel { position: relative; }
.carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; outline: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; position: relative; aspect-ratio: 4 / 3; background: #ddd; overflow: hidden; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel__slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font-size: 14px; letter-spacing: .04em;
  background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0));
}
.carousel__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.carousel__btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--black); background: transparent;
  font-size: 22px; line-height: 1; cursor: pointer; color: var(--black); transition: background .2s, color .2s;
}
.carousel__btn:hover { background: var(--black); color: #fff; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: var(--muted); cursor: pointer; transition: width .3s, background .3s; }
.carousel__dot.is-active { width: 24px; border-radius: 4px; background: var(--black); }
@media (max-width: 960px) { .founders { gap: 16px; } }

/* Ubicación: mapa del astillero */
.map { min-height: 420px; background: #e8e8e4; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.35); }
.contact__list--light li { border-top-color: var(--line); }
.contact__list--light li span:first-child { color: var(--muted-2); }
@media (max-width: 960px) { .map, .map iframe { min-height: 320px; } }
