/* Komodato Offshore — estilos del sitio (layout basado en la referencia de Dribbble) */

@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  /* Carbón de la marca (mismo tono que las ondas del brochure) */
  --ink: #231f20;
  --ink-2: #2e2a2b;
  --ink-3: #3d3839;
  --on-ink: #f1efef;
  --on-ink-soft: #bdb7b8;

  --white: #ffffff;
  --mist: #f2f5f6;
  --text: #231f20;
  --text-soft: #555051;
  --rule: #d5dfe2;

  --cyan: #07d3f1;
  --cyan-deep: #00799a;
  --yellow: #fff212;
  --orange: #ff4f00;

  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Montserrat", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 74rem;
  --radius: 2px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scrollbar-color: var(--ink-3) var(--mist);
  interpolate-size: allow-keywords;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(0.95rem, 0.92rem + 0.15vw, 1rem);
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}
img,
video {
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 600;
}
.skip:focus {
  top: 1rem;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.label {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.1rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    background-color 200ms var(--ease-out),
    color 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    transform 160ms var(--ease-out);
  user-select: none;
  -webkit-user-select: none;
}
.btn:active {
  transform: scale(0.97);
}
.btn--signal {
  background: var(--yellow);
  color: var(--ink);
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}
.btn--line {
  border-color: var(--cyan-deep);
  color: var(--cyan-deep);
}
@media (hover: hover) {
  .btn--signal:hover {
    background: var(--ink);
    color: var(--yellow);
  }
  .btn--ghost:hover {
    background: var(--white);
    color: var(--ink);
  }
  .btn--line:hover {
    background: var(--cyan-deep);
    color: var(--white);
  }
}

/* ---------- Barra superior ---------- */

.topbar {
  background: var(--cyan);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
}
.topbar .wrap {
  max-width: 84rem;
  min-height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
  padding-block: 0.35rem;
}
.topbar-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
}
.topbar a,
.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}
.topbar .icon {
  width: 1.05em;
  height: 1.05em;
}
@media (hover: hover) {
  .topbar a:hover {
    text-decoration: underline;
  }
}
@media (max-width: 47.99rem) {
  .topbar .tagline,
  .topbar .mail {
    display: none;
  }
  .topbar .wrap {
    justify-content: center;
  }
}

/* ---------- Encabezado ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--white);
  transition: box-shadow 300ms var(--ease-out);
}
.site-header.is-solid {
  box-shadow: 0 6px 22px rgba(35, 31, 32, 0.1);
}
.site-header .wrap {
  height: 100%;
  max-width: 84rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand img {
  width: 3.6rem;
  height: auto;
}
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}
.brand-name span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 2.4vw, 2.5rem);
}
.nav a {
  position: relative;
  padding: 0.6rem 0.2rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: color 200ms var(--ease-out);
}
.nav a[aria-current="true"] {
  color: var(--cyan-deep);
}
@media (hover: hover) {
  .nav a:not(.btn):hover {
    color: var(--cyan-deep);
  }
}
.nav .btn {
  min-height: 2.8rem;
  padding: 0.6rem 1.25rem;
  font-family: var(--body);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 47.99rem) {
  :root {
    --header-h: 4.25rem;
  }
  .brand img {
    width: 2.9rem;
  }
  .brand-name,
  .nav .btn {
    display: none;
  }
  .nav a {
    font-size: 1.05rem;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: clamp(34rem, 88svh, 52rem);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background: linear-gradient(0deg, var(--white) 0 12px, var(--ink) 12px);
  isolation: isolate;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0 0 12px;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 12px;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(35, 31, 32, 0.35) 0%, rgba(35, 31, 32, 0.6) 100%),
    rgba(35, 31, 32, 0.25);
}
.hero-inner {
  padding-top: 4rem;
  padding-bottom: clamp(9rem, 16vh, 11rem);
  display: grid;
  justify-items: center;
}
.hero .label {
  color: var(--yellow);
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.15rem);
}
.hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.7rem, 1.5rem + 5.4vw, 5.75rem);
  line-height: 0.96;
  letter-spacing: -0.01em;
  max-width: 17ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}
.hero-lead {
  margin-top: 1.4rem;
  max-width: 40rem;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.35rem);
  color: var(--on-ink);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 900ms var(--ease-out) both;
  }
  .rise-2 {
    animation-delay: 120ms;
  }
  .rise-3 {
    animation-delay: 240ms;
  }
  .rise-4 {
    animation-delay: 360ms;
  }
  .hero-media img {
    animation: settle 2400ms var(--ease-out) both;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@keyframes settle {
  from {
    transform: scale(1.06);
  }
}

/* ---------- Bienvenida (banda sobre el hero) ---------- */

.welcome {
  position: relative;
  z-index: 2;
  margin-top: clamp(-7rem, -12vh, -5rem);
}
.welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  box-shadow: 0 18px 40px rgba(35, 31, 32, 0.12);
}
.welcome-brand {
  background: var(--cyan);
  color: var(--ink);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  min-height: 17rem;
}
.welcome-brand .icon {
  width: 3.5rem;
  height: 3.5rem;
  stroke-width: 1.4;
  margin-bottom: auto;
}
.welcome-brand h2 {
  margin-top: 1.5rem;
  font-size: clamp(2.1rem, 1.6rem + 1.8vw, 2.9rem);
  font-weight: 500;
}
.welcome-brand p {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1rem;
}
.welcome-body {
  background: var(--mist);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: start;
}
.welcome-body h3 {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  font-weight: 500;
}
.welcome-body p {
  margin-top: 0.75rem;
  color: var(--text-soft);
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.checks li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.6rem;
  align-items: start;
  color: var(--text-soft);
  line-height: 1.45;
}
.checks .icon {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  color: var(--cyan-deep);
  stroke-width: 2.5;
}
.checks a {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 59.99rem) {
  .welcome-grid,
  .welcome-body {
    grid-template-columns: 1fr;
  }
  .welcome-brand {
    min-height: 0;
  }
  .welcome-brand .icon {
    width: 2.75rem;
    height: 2.75rem;
  }
}

/* ---------- Secciones ---------- */

.section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}
.section--mist {
  background: var(--mist);
}
.section--ink {
  background: var(--ink);
  color: var(--on-ink);
}
.section-title {
  font-size: clamp(2.3rem, 1.5rem + 3.2vw, 3.9rem);
  margin-top: 0.6rem;
}
.lead {
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
}
.muted {
  color: var(--text-soft);
}
.section--ink .muted {
  color: var(--on-ink-soft);
}

/* ---------- Conócenos ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}
.about-copy .section-title {
  font-size: clamp(2.1rem, 1.5rem + 2vw, 3rem);
}
.about-copy p {
  margin-top: 1.25rem;
  color: var(--text-soft);
}
.about-copy p strong {
  color: var(--ink);
}
.about-copy .btn {
  margin-top: 2rem;
}
.facts {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-weight: 500;
}
.facts li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.facts .icon {
  color: var(--cyan-deep);
}
.about-cards {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.mv-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--mist);
}
.mv-card .icon {
  width: 2.6rem;
  height: 2.6rem;
  stroke-width: 1.4;
  color: var(--cyan-deep);
}
.mv-card h3 {
  margin-top: 1.25rem;
  font-size: 1.75rem;
  font-weight: 500;
}
.mv-card p {
  margin-top: 0.65rem;
  color: var(--text-soft);
}
.mv-card--ink {
  background: var(--ink);
  color: var(--on-ink);
}
.mv-card--ink .icon {
  color: var(--yellow);
}
.mv-card--ink p {
  color: var(--on-ink-soft);
}
.about-figure {
  margin: 0;
  position: relative;
  min-height: 22rem;
}
.about-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 63.99rem) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-copy {
    grid-column: 1 / -1;
  }
}
@media (max-width: 37.49rem) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-figure {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* ---------- Por qué Komodato ---------- */

.banner {
  position: relative;
  isolation: isolate;
  color: var(--white);
  text-align: center;
  background: var(--ink);
  overflow: hidden;
}
.banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(35, 31, 32, 0.45), rgba(35, 31, 32, 0.7));
}
.banner .wrap {
  display: grid;
  justify-items: center;
}
.banner h2 {
  font-size: clamp(2.3rem, 1.5rem + 3.2vw, 3.9rem);
  margin-top: 0.6rem;
}
.banner p {
  margin-top: 1rem;
  max-width: 42rem;
  color: var(--on-ink);
}
.banner .label {
  color: var(--yellow);
}

.why-banner {
  padding-block: clamp(4rem, 8vw, 6rem) clamp(9rem, 14vw, 11rem);
}
.why-panel {
  position: relative;
  z-index: 2;
  margin-top: clamp(-7rem, -10vw, -5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 2fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  background: var(--white);
  box-shadow: 0 18px 40px rgba(35, 31, 32, 0.12);
}
.cert-card {
  position: relative;
  isolation: isolate;
  color: var(--white);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 24rem;
  overflow: hidden;
  background: var(--ink);
}
.cert-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cert-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(35, 31, 32, 0.15) 0%, rgba(35, 31, 32, 0.92) 62%);
}
.cert-card h3 {
  font-size: 1.75rem;
  font-weight: 500;
}
.cert-card > p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--on-ink-soft);
}
.cert-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.cert-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(233, 241, 243, 0.2);
}
.cert-iso {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1;
}
.cert-iso small {
  font-size: 1rem;
  color: var(--cyan);
  margin-right: 0.2em;
}
.cert-no {
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  color: var(--on-ink-soft);
  text-align: right;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1rem);
  margin: 0;
}
.values-list > div {
  padding: 1.5rem 1.4rem;
  background: var(--mist);
  transition: background-color 250ms var(--ease-out), color 250ms var(--ease-out);
}
.values-list .icon {
  width: 2.1rem;
  height: 2.1rem;
  stroke-width: 1.5;
  color: var(--cyan-deep);
}
.values-list dt {
  margin-top: 1rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.1;
}
.values-list dd {
  margin: 0.5rem 0 0;
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.5;
}
@media (hover: hover) {
  .values-list > div:hover {
    background: var(--ink);
    color: var(--on-ink);
  }
  .values-list > div:hover dd {
    color: var(--on-ink-soft);
  }
  .values-list > div:hover .icon {
    color: var(--yellow);
  }
}
@media (max-width: 63.99rem) {
  .why-panel {
    grid-template-columns: 1fr;
  }
  .cert-card {
    min-height: 20rem;
  }
}
@media (max-width: 47.99rem) {
  .values-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 29.99rem) {
  .values-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Ondas de la marca (divisores entre secciones) ---------- */

.wave {
  display: block;
  position: relative;
  z-index: 1;
  height: clamp(4.5rem, 13vw, 13rem);
  margin-block: -1px -2px;
  overflow: hidden;
  pointer-events: none;
}
.wave img {
  width: calc(100% + 6px);
  max-width: none;
  height: calc(100% + 2px);
  margin-left: -3px;
  object-fit: fill;
}
/* Onda al pie del hero: se monta sobre la foto */
.wave--hero {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  z-index: 0;
  margin: 0;
}
.wave--hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--white);
}
.wave--on-white {
  background: var(--white);
}
.wave--on-mist {
  background: var(--mist);
}
.wave--on-cyan {
  background: var(--cyan);
}
.wave--on-ink {
  background: var(--ink);
}
.wave--short {
  height: clamp(3.5rem, 9vw, 9rem);
}

/* ---------- Cifras ---------- */

.stats {
  padding-block: clamp(2rem, 4vw, 3rem);
  background: var(--cyan);
}
.stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  text-align: center;
}
.stats-list strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 1.8rem + 3vw, 4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stats-list strong small {
  font-size: 0.5em;
  color: var(--ink);
  margin-left: 0.08em;
}
.stats-list span {
  display: block;
  margin-top: 0.5rem;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.97rem;
}
@media (max-width: 47.99rem) {
  .stats-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Clientes ---------- */

.clients-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
}
.clients-grid h2 {
  font-size: clamp(2.3rem, 1.5rem + 3.2vw, 3.9rem);
  margin-top: 0.6rem;
}
.clients-grid h2 span {
  color: var(--yellow);
}
.clients-grid .label {
  color: var(--cyan);
}
.clients-grid > div > p {
  margin-top: 1rem;
  color: var(--on-ink-soft);
}
.client-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2 15rem;
  column-gap: 2.5rem;
}
.client-list li {
  break-inside: avoid;
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(233, 241, 243, 0.14);
  font-weight: 500;
}
.client-list .icon {
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.3rem;
  color: var(--cyan);
  stroke-width: 2.5;
}
@media (max-width: 59.99rem) {
  .clients-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Boyas ---------- */

.buoy-banner {
  padding-block: clamp(5rem, 11vw, 8.5rem);
}
.buoy-banner h2 span {
  color: var(--yellow);
}
.scope {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.scope li {
  padding: 0.4rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.buoy-banner .btn {
  margin-top: 2rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.diagram-card {
  margin: 0;
  background: var(--ink);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  position: relative;
}
.diagram-card figcaption {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--on-ink-soft);
}
.diagram {
  width: 100%;
  max-width: 26rem;
  margin-inline: auto;
  height: auto;
  overflow: hidden;
}
.diagram .float-group {
  transform-box: view-box;
  transform-origin: 180px 175px;
}
@media (prefers-reduced-motion: no-preference) {
  .diagram .float-group {
    animation: bob 6s ease-in-out infinite;
  }
  .diagram .wave {
    animation: drift 7s linear infinite;
  }
  .diagram .lamp-glow {
    animation: blink 3s ease-in-out infinite;
  }
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  30% {
    transform: translateY(4px) rotate(1.4deg);
  }
  65% {
    transform: translateY(-3px) rotate(-1.2deg);
  }
}
@keyframes drift {
  to {
    transform: translateX(-60px);
  }
}
@keyframes blink {
  0%,
  60%,
  100% {
    opacity: 0.15;
  }
  70%,
  85% {
    opacity: 0.95;
  }
}
.tech-copy p.muted {
  margin-top: 1rem;
}
.spec-table {
  width: 100%;
  margin-top: 1.75rem;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.spec-table th,
.spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--rule);
}
.spec-table thead th {
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spec-table tbody th {
  width: 34%;
  font-weight: 600;
}
.spec-table tbody tr:nth-child(even) {
  background: var(--mist);
}
.tech-copy .btn {
  margin-top: 1.75rem;
}
@media (max-width: 59.99rem) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
}

/* Proceso: del patio al mar */
.process {
  padding-top: clamp(4rem, 8vw, 6rem);
}
.process-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.process-head h3 {
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem);
  margin-top: 0.4rem;
}
.process-head p {
  margin-top: 0.6rem;
  color: var(--text-soft);
  max-width: 34rem;
}
.process-nav {
  display: flex;
  gap: 0.5rem;
  flex: none;
}
.process-nav button {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), opacity 200ms;
}
.process-nav button:disabled {
  opacity: 0.3;
  cursor: default;
}
@media (hover: hover) {
  .process-nav button:not(:disabled):hover {
    background: var(--ink);
    color: var(--yellow);
  }
}
.process-track {
  --inset: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  list-style: none;
  margin: 0;
  padding: 0 var(--inset) 1rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(15rem, 70vw, 20rem);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--inset);
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.process-track li {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.process-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-3);
}
.process-media img,
.process-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process-step {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
}
.process-text {
  padding: 1.1rem 1.2rem 1.35rem;
}
.process-track h4 {
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.05;
}
.process-track p {
  margin-top: 0.4rem;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.5;
}
@media (max-width: 37.49rem) {
  .process-nav {
    display: none;
  }
}

/* ---------- Servicios ---------- */

.services-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 1rem 4rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.svc-list {
  border-top: 2px solid var(--ink);
}
.svc {
  border-bottom: 1px solid var(--rule);
}
.svc summary {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 2.75rem;
  align-items: center;
  gap: 0.5rem 2rem;
  padding: 1.3rem 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.svc summary::-webkit-details-marker {
  display: none;
}
.svc-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.9rem);
  line-height: 1.05;
  transition: color 200ms var(--ease-out);
}
.svc-sum {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}
.svc-toggle {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid var(--rule);
  transition: background-color 200ms var(--ease-out), border-color 200ms;
}
.svc-toggle .icon {
  transition: transform 300ms var(--ease-out);
}
.svc[open] .svc-toggle {
  background: var(--yellow);
  border-color: var(--yellow);
}
.svc[open] .svc-toggle .icon {
  transform: rotate(45deg);
}
@media (hover: hover) {
  .svc summary:hover .svc-title {
    color: var(--cyan-deep);
  }
  .svc summary:hover .svc-toggle {
    border-color: var(--ink);
  }
}
.svc::details-content {
  block-size: 0;
  overflow: clip;
  transition:
    block-size 420ms var(--ease-out),
    content-visibility 420ms allow-discrete;
}
.svc[open]::details-content {
  block-size: auto;
}
.svc-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 2.75rem;
  gap: 1.5rem 2rem;
  padding: 0 0 2rem;
}
.svc-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  grid-column: 1 / 2;
}
.svc-body li {
  position: relative;
  padding-left: 1.4rem;
  line-height: 1.5;
}
.svc-body li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid var(--cyan-deep);
  border-right: 2px solid var(--cyan-deep);
  transform: rotate(45deg);
}
.svc-body li a {
  font-weight: 600;
  color: var(--cyan-deep);
}
.svc-body figure {
  margin: 0;
  grid-column: 2 / 3;
}
.svc-body figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.svc-body .collage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  align-self: start;
}
.svc-body .collage img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.svc-body .collage--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.svc-side {
  grid-column: 2 / 3;
  align-self: start;
  display: grid;
  gap: 1rem;
}
.svc-body .svc-side .collage,
.svc-body .svc-side .svc-note {
  grid-column: auto;
}
.svc-note strong {
  color: var(--ink);
}
.svc-body .svc-note {
  grid-column: 2 / 3;
  align-self: start;
  padding: 1.25rem;
  background: var(--mist);
  color: var(--text-soft);
}
@media (max-width: 47.99rem) {
  .services-head {
    grid-template-columns: 1fr;
  }
  .svc summary {
    grid-template-columns: minmax(0, 1fr) 2.75rem;
  }
  .svc-sum {
    grid-column: 1 / 2;
    grid-row: 2;
  }
  .svc-toggle {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
  }
  .svc-body {
    grid-template-columns: 1fr;
  }
  .svc-body ul,
  .svc-body figure,
  .svc-body .svc-note,
  .svc-side {
    grid-column: 1;
  }
}

/* ---------- Contacto ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.contact .label {
  color: var(--cyan);
}
.contact h2 {
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  margin-top: 0.6rem;
  max-width: 11ch;
}
.contact .lead {
  margin-top: 1.25rem;
  color: var(--on-ink);
}
.channels {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(233, 241, 243, 0.18);
}
.channels li {
  border-bottom: 1px solid rgba(233, 241, 243, 0.18);
}
.channel {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  text-decoration: none;
  min-height: 4.5rem;
}
.channel-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: rgba(10, 208, 240, 0.12);
  color: var(--cyan);
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.channel-label {
  display: block;
  font-size: 0.92rem;
  color: var(--on-ink-soft);
}
.channel-value {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.channel .arrow {
  color: var(--on-ink-soft);
  transition: transform 220ms var(--ease-out), color 200ms;
}
@media (hover: hover) {
  .channel:hover .channel-icon {
    background: var(--yellow);
    color: var(--ink);
  }
  .channel:hover .arrow {
    color: var(--yellow);
    transform: translateX(4px);
  }
}
.address {
  margin-top: 2.25rem;
  display: grid;
  gap: 1rem;
}
.address p {
  color: var(--on-ink);
}
.map {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink-3);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3);
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
}
@media (hover: hover) {
  .map-link:hover {
    text-decoration: underline;
  }
}
@media (max-width: 59.99rem) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pie ---------- */

.site-footer {
  background: #171415;
  color: var(--on-ink-soft);
  padding-block: 3rem;
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.foot-brand img {
  width: 3.5rem;
  height: 3.5rem;
}
.foot-brand strong {
  display: block;
  color: var(--on-ink);
  font-weight: 600;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.foot-nav a {
  text-decoration: none;
  padding: 0.4rem 0;
}
@media (hover: hover) {
  .foot-nav a:hover {
    color: var(--on-ink);
  }
}

/* Botón flotante de WhatsApp en celular */
.float-call {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(35, 31, 32, 0.35);
  transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out);
}
.float-call.is-hidden {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 47.99rem) {
  .float-call {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
