/* ═══════════════════════════════════════════════════════════
   KUVO CONTAINERS — hoja de estilo
   Paleta: acero oscuro + naranja seguridad.
   Para cambiar el color de la marca, toca sólo --brand.
   ═══════════════════════════════════════════════════════════ */

:root {
  --brand: #ff6b1a;
  --brand-dk: #e2540a;
  --brand-soft: rgba(255, 107, 26, 0.12);

  --ink: #0e1113;
  --ink-2: #151a1e;
  --steel: #1b2228;
  --paper: #f4f2ef;
  --paper-2: #e8e4de;

  --on-dark: #eef1f4;
  --on-dark-mute: #98a3ac;
  --on-light: #13181c;
  --on-light-mute: #59646d;

  --line-d: rgba(255, 255, 255, 0.11);
  --line-l: rgba(14, 17, 19, 0.12);

  --r-sm: 6px;
  --r: 12px;
  --r-lg: 18px;

  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 40px);

  --display: "Barlow Condensed", "Oswald", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --shadow: 0 1px 2px rgba(14, 17, 19, 0.06), 0 12px 32px rgba(14, 17, 19, 0.1);
  --shadow-lg: 0 2px 4px rgba(14, 17, 19, 0.08), 0 26px 60px rgba(14, 17, 19, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--on-light);
  background: var(--paper);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

/* El atributo hidden manda sobre cualquier display de abajo */
[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  display: inline-block;
  vertical-align: -0.2em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ── Tipografía de título ────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.04;
  margin: 0;
  text-transform: uppercase;
}

p {
  margin: 0;
}

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 14px;
}
.eyebrow--dark {
  color: var(--brand-dk);
}

/* ── Botones ─────────────────────────────────────────────── */
.btn {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    transform 0.12s ease;
}
.btn:active {
  transform: translateY(1px);
}

.btn--brand {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
}
.btn--brand:hover {
  --btn-bg: var(--brand-dk);
}

.btn--ghost {
  --btn-fg: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn--ghost:hover {
  border-color: var(--on-dark);
  --btn-bg: rgba(255, 255, 255, 0.07);
}

.btn--dark {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
}
.btn--dark:hover {
  --btn-bg: var(--steel);
}

.btn--lg {
  padding: 15px 26px;
  font-size: 15.5px;
}
.btn--block {
  width: 100%;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  font-weight: 650;
  font-size: 14.5px;
  color: var(--brand-dk);
  text-decoration: none;
}
.link .ico {
  transition: transform 0.16s ease;
}
.link:hover .ico {
  transform: translateX(4px);
}

/* ── Barra superior ──────────────────────────────────────── */
.topbar {
  background: #090b0d;
  color: var(--on-dark-mute);
  font-size: 13px;
  border-bottom: 1px solid var(--line-d);
}
.topbar__in {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: inherit;
}
.topbar a.topbar__item:hover {
  color: #fff;
}
.topbar__item .ico {
  color: var(--brand);
  width: 14px;
  height: 14px;
}
.topbar__sep {
  width: 1px;
  height: 14px;
  background: var(--line-d);
}
.topbar__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.social {
  display: flex;
  align-items: center;
  gap: 4px;
}
.social a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  color: inherit;
  text-decoration: none;
  transition:
    background 0.16s ease,
    color 0.16s ease;
}
.social a:hover {
  background: var(--brand);
  color: #fff;
}
.social--sm a .ico {
  width: 15px;
  height: 15px;
}
.social--lg a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-d);
}
.social--lg a .ico {
  width: 19px;
  height: 19px;
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 17, 19, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-d);
  color: var(--on-dark);
}
.nav.is-stuck {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
  flex: none;
}
.logo__mark {
  width: 36px;
  height: 36px;
  flex: none;
}
.logo__text {
  display: grid;
  line-height: 1;
}
.logo__text strong {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.logo__text em {
  font-style: normal;
  font-family: var(--body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--on-dark-mute);
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.nav__links a {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 550;
  color: var(--on-dark-mute);
  text-decoration: none;
  transition:
    color 0.16s ease,
    background 0.16s ease;
}
.nav__links a:hover,
.nav__links a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-d);
  border-radius: var(--r-sm);
  color: var(--on-dark);
  cursor: pointer;
}
.nav__burger .ico {
  width: 22px;
  height: 22px;
}
.nav__burger .ico--close {
  display: none;
}
.nav__burger[aria-expanded="true"] .ico--open {
  display: none;
}
.nav__burger[aria-expanded="true"] .ico--close {
  display: block;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 70% at 78% 12%, rgba(255, 107, 26, 0.2), transparent 62%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.038) 0 2px,
      transparent 2px 9px,
      rgba(0, 0, 0, 0.16) 9px 11px,
      transparent 11px 18px
    ),
    linear-gradient(180deg, #171d22 0%, #0e1113 100%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 17, 19, 0.9) 100%);
}
.hero__in {
  padding-block: clamp(64px, 11vw, 132px) clamp(52px, 8vw, 88px);
  max-width: 1000px;
}
.hero__title {
  font-size: clamp(42px, 8.2vw, 88px);
  letter-spacing: -0.005em;
  margin-bottom: 22px;
}
.hero__title .hl {
  color: var(--brand);
}
.hero__sub {
  max-width: 62ch;
  font-size: clamp(16px, 1.65vw, 18.5px);
  color: #c3ccd3;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero__marks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 12px 24px;
  list-style: none;
  margin: clamp(44px, 6vw, 72px) 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line-d);
  font-size: 14.5px;
  color: #c3ccd3;
}
.hero__marks li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__marks .ico {
  color: var(--brand);
  width: 17px;
  height: 17px;
}

/* ── Secciones ───────────────────────────────────────────── */
.sec {
  padding-block: clamp(60px, 8.5vw, 104px);
}
.sec--paper {
  background: var(--paper);
  color: var(--on-light);
}
.sec--dark {
  background: var(--ink);
  color: var(--on-dark);
}
.sec--steel {
  background: var(--steel);
  color: var(--on-dark);
}

.sec__head {
  max-width: 62ch;
  margin-bottom: clamp(34px, 4.5vw, 56px);
}
.sec__head--row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.sec__head--row > div {
  max-width: 62ch;
}
.sec__title {
  font-size: clamp(30px, 4.4vw, 48px);
  margin-bottom: 16px;
}
.sec__lead {
  font-size: 17px;
  color: var(--on-light-mute);
}
.sec--dark .sec__lead,
.sec--steel .sec__lead {
  color: var(--on-dark-mute);
}

/* ── Tarjetas de servicio ────────────────────────────────── */
.cards {
  display: grid;
  gap: 20px;
}
.cards--3 {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line-l);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.card__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  color: var(--brand-dk);
}
.card__ico .ico {
  width: 24px;
  height: 24px;
}
.card h3 {
  font-size: 27px;
  margin-bottom: 10px;
}
.card > p {
  color: var(--on-light-mute);
  font-size: 15.3px;
}

.ticks {
  list-style: none;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-l);
  display: grid;
  gap: 9px;
  font-size: 14.5px;
}
.ticks li {
  position: relative;
  padding-left: 22px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand);
}

/* ── Mini bodegas ────────────────────────────────────────── */
.bodega {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  background: var(--ink-2);
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  overflow: hidden;
}
.bodega::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--line-d);
}
.bodega--top {
  border-color: rgba(255, 107, 26, 0.45);
  background: linear-gradient(180deg, rgba(255, 107, 26, 0.09), transparent 42%), var(--ink-2);
}
.bodega--top::before {
  background: var(--brand);
}
.bodega__tag {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bodega__medida {
  font-family: var(--display);
  font-size: 58px;
  font-weight: 700;
  line-height: 0.92;
  color: #fff;
}
.bodega__equiv {
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand);
}
.bodega__dims {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-d);
  font-size: 14px;
  color: var(--on-dark-mute);
}
.bodega__cabe {
  margin-top: 12px;
  font-size: 14.8px;
  color: #c3ccd3;
}
.bodega__precio {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.bodega__precio strong {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 700;
  color: #fff;
}
.bodega__precio span {
  font-size: 13.5px;
  color: var(--on-dark-mute);
}
.bodega__precio--pend strong {
  font-size: 22px;
  color: var(--on-dark-mute);
  letter-spacing: 0.01em;
}
.bodega .btn {
  margin-top: 22px;
}

.bodegas__extra {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
  margin-top: clamp(38px, 5vw, 60px);
  padding-top: clamp(30px, 4vw, 44px);
  border-top: 1px solid var(--line-d);
}
.feat__ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-d);
  color: var(--brand);
}
.feat__ico .ico {
  width: 21px;
  height: 21px;
}
.feat h4 {
  font-size: 20px;
  margin-bottom: 7px;
}
.feat p {
  font-size: 14.6px;
  color: var(--on-dark-mute);
}

/* ── Proyectos ───────────────────────────────────────────── */
.proyectos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  align-items: start;
  gap: 20px;
}
.proyecto {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-l);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.proyecto:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.proyecto--destacado {
  grid-column: span 2;
}
.proyecto--destacado .proyecto__foto {
  aspect-ratio: 21 / 9;
}
.proyecto--destacado .proyecto__body h3 {
  font-size: 30px;
}
.proyecto__foto {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  overflow: hidden;
}
.proyecto__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proyecto__ph {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 0 3px,
      transparent 3px 12px,
      rgba(0, 0, 0, 0.25) 12px 15px,
      transparent 15px 24px
    ),
    linear-gradient(140deg, #232b31, #12161a);
  display: grid;
  place-items: center;
}
.proyecto__ph span {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.28);
  padding: 8px 14px;
  border-radius: var(--r-sm);
}
.proyecto__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.proyecto__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.proyecto__body h3 {
  font-size: 25px;
  margin-bottom: 6px;
}
.proyecto__meta {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-light-mute);
  margin-bottom: 12px;
}
.proyecto__body p {
  font-size: 15px;
  color: var(--on-light-mute);
}

/* ── Tipos de contenedor ─────────────────────────────────── */
.tipos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1px;
  background: var(--line-d);
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  overflow: hidden;
}
.tipos--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.tipo {
  background: var(--steel);
  padding: 26px 24px;
  transition: background 0.16s ease;
}
.tipo:hover {
  background: #232a31;
}
.tipo h3 {
  font-size: 24px;
  margin-bottom: 4px;
}
.tipo__m {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.tipo p:last-child {
  font-size: 14.6px;
  color: var(--on-dark-mute);
}
.tipos__pie {
  margin-top: 26px;
  font-size: 15px;
  color: var(--on-dark-mute);
}
.tipos__pie a {
  color: var(--brand);
  font-weight: 600;
}

/* ── Proceso ─────────────────────────────────────────────── */
.pasos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
  counter-reset: paso;
}
.pasos li {
  padding-top: 20px;
  border-top: 3px solid var(--line-l);
}
.pasos li:first-child {
  border-top-color: var(--brand);
}
.pasos__n {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-dk);
}
.pasos h3 {
  font-size: 23px;
  margin: 6px 0 8px;
}
.pasos p {
  font-size: 14.8px;
  color: var(--on-light-mute);
}

.promesa {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(28px, 4vw, 40px);
  background: var(--paper-2);
  border-radius: var(--r-lg);
}
.promesa h3 {
  font-size: 26px;
  margin-bottom: 20px;
}
.promesa__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px 30px;
}
.promesa__grid p {
  display: flex;
  gap: 11px;
  font-size: 15.3px;
  color: var(--on-light);
}
.promesa__grid .ico {
  color: var(--brand-dk);
  width: 19px;
  height: 19px;
  margin-top: 4px;
}

/* ── Contacto ────────────────────────────────────────────── */
.contacto {
  display: grid;
  grid-template-columns: 1fr minmax(0, 480px);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contacto .sec__head,
.contacto__texto .sec__lead {
  margin-bottom: 0;
}
.contacto__texto .sec__lead {
  margin-bottom: 28px;
}
.contacto__datos {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 13px;
}
.contacto__datos li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
}
.contacto__datos .ico {
  color: var(--brand);
  width: 19px;
  height: 19px;
}
.contacto__datos a {
  text-decoration: none;
  color: var(--on-dark);
  border-bottom: 1px solid transparent;
}
.contacto__datos a:hover {
  border-bottom-color: var(--brand);
}

.form {
  padding: clamp(24px, 3.5vw, 32px);
  background: var(--ink-2);
  border: 1px solid var(--line-d);
  border-radius: var(--r-lg);
  display: grid;
  gap: 16px;
}
.campo {
  display: grid;
  gap: 7px;
}
.campo label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--on-dark);
}
.campo .opt {
  font-weight: 400;
  color: var(--on-dark-mute);
}
.campo input,
.campo select,
.campo textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--on-dark);
  background: #0b0e10;
  border: 1px solid var(--line-d);
  border-radius: var(--r-sm);
  transition:
    border-color 0.16s ease,
    background 0.16s ease;
}
.campo textarea {
  resize: vertical;
  min-height: 84px;
}
.campo select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--on-dark-mute) 50%),
    linear-gradient(135deg, var(--on-dark-mute) 50%, transparent 50%);
  background-position:
    calc(100% - 19px) calc(50% + 1px),
    calc(100% - 14px) calc(50% + 1px);
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
.campo input::placeholder,
.campo textarea::placeholder {
  color: #6b7780;
}
.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  border-color: var(--brand);
  outline: none;
  background: #0f1315;
}
.campo.is-error input,
.campo.is-error select {
  border-color: #ff5f56;
}
.form__nota {
  font-size: 13px;
  color: var(--on-dark-mute);
  text-align: center;
}

/* ── Footer ──────────────────────────────────────────────── */
.foot {
  background: #090b0d;
  color: var(--on-dark-mute);
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line-d);
}
.foot__in {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(140px, 1fr));
  gap: 36px;
  padding-bottom: clamp(36px, 5vw, 56px);
}
.foot__marca p {
  margin: 16px 0 18px;
  font-size: 14.6px;
  max-width: 34ch;
}
.foot__marca .logo {
  color: #fff;
}
.foot__col {
  display: grid;
  align-content: start;
  gap: 10px;
}
.foot__col h4 {
  font-size: 15px;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 4px;
}
.foot__col a,
.foot__col span {
  font-size: 14.5px;
  text-decoration: none;
  color: var(--on-dark-mute);
}
.foot__col a:hover {
  color: var(--brand);
}
.foot__legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 20px;
  border-top: 1px solid var(--line-d);
  font-size: 13px;
}
.foot__legal p {
  margin: 0;
}

/* ── WhatsApp flotante ───────────────────────────────────── */
.fab {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: clamp(14px, 3vw, 26px);
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #04160b;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.36);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease;
}
.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.46);
}
.fab .ico {
  width: 25px;
  height: 25px;
}

/* ── Responsivo ──────────────────────────────────────────── */
@media (max-width: 1040px) {
  .nav__links {
    /* Anclado al nav, no a un alto fijo: la barra superior cambia
       de altura según el texto y dejaba ver el hero por el hueco. */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 14px var(--pad) 22px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-d);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
  }
  .nav__links.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav__links a {
    padding: 13px 12px;
    font-size: 16px;
    border-bottom: 1px solid var(--line-d);
    border-radius: 0;
  }
  .nav__burger {
    display: inline-flex;
  }
  .nav__cta {
    margin-left: auto;
  }
  .contacto {
    grid-template-columns: 1fr;
  }
  .foot__in {
    grid-template-columns: repeat(2, 1fr);
  }
  .proyecto--destacado {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  .topbar__hide-sm {
    display: none;
  }
  .topbar__sep {
    display: none;
  }
  .nav__cta .btn--brand {
    display: none;
  }
  .hero__title {
    letter-spacing: 0;
  }
  .fab__texto {
    display: none;
  }
  .fab {
    padding: 15px;
  }
  .foot__in {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sec__head--row {
    align-items: start;
  }
}

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