@font-face { font-family: "PD Display"; src: url(fuentes/display-800.woff) format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "PD Texto"; src: url(fuentes/inter-400.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PD Texto"; src: url(fuentes/inter-600.woff) format("woff"); font-weight: 600; font-display: swap; }

:root {
  --monte-950: #0b241c;
  --monte-900: #12352a;
  --monte-800: #184436;
  --brote: #4f9d69;
  --brote-claro: #8cc5a0;
  --madera-100: #f6ead6;
  --madera-300: #ecd3a8;
  --madera-500: #c98f4e;
  --madera-700: #8f5a26;
  --papel: #f5f1e8;
  --tinta: #17201c;
  --gris: #4d5853;
  --linea: #e1dbcd;
  --wa: #1f9d55;
  --display: "PD Display", "Segoe UI", system-ui, sans-serif;
  --texto: "PD Texto", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --ancho: 1180px;
  --pad: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--texto);
  color: var(--tinta);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
}
@media (pointer: fine) {
  html, a, button, video, summary { cursor: url(img/cursor.png) 6 6, auto; }
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; line-height: 1.06; margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brote); outline-offset: 3px; border-radius: 6px; }

.saltar { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 8px; }
.saltar:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 600 1rem/1 var(--texto); text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; transition: background-color .18s, color .18s, border-color .18s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178447; }
.btn-claro { border-color: rgba(236, 211, 168, .55); color: var(--madera-300); }
.btn-claro:hover { background: rgba(236, 211, 168, .12); }
.btn-borde { border-color: rgba(236, 211, 168, .5); color: var(--madera-300); }
.btn-borde:hover { background: var(--madera-300); color: var(--monte-900); }
.btn-oscuro { background: var(--monte-900); color: #fff; }
.btn-oscuro:hover { background: var(--monte-800); }
.btn-chico { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-grande { min-height: 62px; padding: 0 32px; font-size: 1.2rem; }

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 36, 28, .94); backdrop-filter: blur(10px);
  color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.cabecera-in { max-width: var(--ancho); margin: 0 auto; padding: 12px var(--pad); display: flex; align-items: center; gap: 28px; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.marca img { width: 40px; height: 40px; }
.marca-txt { display: flex; flex-direction: column; line-height: 1.15; }
.marca-txt strong { font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.marca-txt span { font-size: .8rem; color: var(--madera-300); letter-spacing: .02em; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .82); }
.nav a:hover { color: #fff; }
.nav .solo-movil { display: none; }
.cabecera-acc { display: flex; align-items: center; gap: 14px; }
.idiomas { display: flex; gap: 4px; background: rgba(255, 255, 255, .07); padding: 3px; border-radius: 999px; }
.idioma {
  display: flex; align-items: center; gap: 6px; border: 0; background: transparent; color: rgba(255, 255, 255, .75);
  font: 600 .78rem/1 var(--texto); padding: 6px 9px; border-radius: 999px;
}
.idioma svg { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
.idioma[aria-pressed="true"] { background: rgba(255, 255, 255, .16); color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--monte-900); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  min-height: calc(100svh - 64px); max-height: 980px;
}
.hero-txt { padding: clamp(48px, 8vw, 110px) var(--pad); align-self: center; max-width: 660px; margin-left: auto; }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5.4rem); line-height: .98; letter-spacing: -0.035em; }
.hero-sub { margin-top: 26px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, .82); max-width: 34em; }
.hero-acc { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-media { position: relative; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--monte-900) 0, rgba(18, 53, 42, 0) 22%);
}

/* ---------- Experiencia (anillos) ---------- */
.experiencia {
  max-width: var(--ancho); margin: 0 auto; padding: clamp(72px, 10vw, 130px) var(--pad);
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 90px); align-items: center;
}
.anillos { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; justify-self: center; }
.anillos svg { width: 100%; height: 100%; overflow: visible; }
.anillos path { fill: none; stroke: var(--madera-500); stroke-linecap: round; }
.anillos .corteza { stroke: var(--madera-700); }
.anillos-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.anillos-num span { font-family: var(--display); font-weight: 800; font-size: clamp(4.5rem, 11vw, 7.5rem); line-height: .9; color: var(--monte-900); letter-spacing: -0.05em; background: var(--papel); padding: 0 .12em; border-radius: 12px; }
.anillos-num small { font: 600 1.05rem/1 var(--texto); color: var(--madera-700); margin-top: 10px; background: var(--papel); padding: 2px 8px; border-radius: 6px; }
.experiencia-txt h2 { max-width: 13em; }
.experiencia-txt p { margin-top: 20px; font-size: 1.12rem; color: var(--gris); max-width: 36em; }

/* ---------- Servicios ---------- */
.servicios {
  max-width: var(--ancho); margin: 0 auto; padding: 0 var(--pad) clamp(72px, 10vw, 120px);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start;
}
.servicios-cab { position: sticky; top: 100px; }
.servicios-cab p { margin-top: 16px; color: var(--gris); font-size: 1.1rem; max-width: 26em; }
.servicios-foto { margin-top: 28px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.servicios-lista { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--monte-900); }
.servicios-lista li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--linea); }
.servicios-lista svg { width: 40px; height: 40px; fill: none; stroke: var(--brote); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.servicios-lista p { margin-top: 6px; color: var(--gris); }

/* ---------- Plataformas ---------- */
.plataformas {
  background: var(--monte-950); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
}
.plataformas-txt { padding: clamp(64px, 9vw, 120px) var(--pad); max-width: 720px; margin-left: auto; width: 100%; }
.plataformas-txt > p { margin-top: 16px; color: rgba(255, 255, 255, .78); font-size: 1.1rem; max-width: 30em; }
.plataformas-lista { list-style: none; margin: 38px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(236, 211, 168, .22); }
.plataformas-lista li {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.015em;
  padding: 18px 0; border-bottom: 1px solid rgba(236, 211, 168, .22); color: var(--madera-300);
}
.plataformas-lista li:nth-child(odd) { padding-right: 16px; }
.plataformas-lista .plataformas-otro { color: var(--brote-claro); }
.plataformas-foto { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }

/* ---------- Banda ---------- */
.banda { position: relative; color: #fff; overflow: hidden; }
.banda-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.banda::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 36, 28, .35), rgba(11, 36, 28, .88)); }
.banda-in { position: relative; z-index: 2; max-width: var(--ancho); margin: 0 auto; padding: clamp(160px, 22vw, 300px) var(--pad) clamp(56px, 7vw, 90px); display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: end; }
.banda-bloque p { margin-top: 14px; font-size: 1.12rem; color: rgba(255, 255, 255, .88); max-width: 32em; }
.banda-bloque h3 { font-size: 1.6rem; }
.banda-bloque + .banda-bloque { border-left: 2px solid var(--madera-300); padding-left: 26px; }

/* ---------- Sistema ---------- */
.sistema {
  max-width: var(--ancho); margin: 0 auto; padding: clamp(80px, 10vw, 130px) var(--pad);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 7vw, 100px); align-items: center;
}
.pildora { display: inline-block; background: var(--madera-300); color: var(--monte-900); font-weight: 600; font-size: .9rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.sistema-txt > p { margin-top: 16px; color: var(--gris); font-size: 1.12rem; max-width: 32em; }
.pasos { list-style: none; counter-reset: paso; margin: 34px 0 34px; padding: 0; }
.pasos li { counter-increment: paso; position: relative; padding: 0 0 22px 58px; font-size: 1.08rem; }
.pasos li::before {
  content: counter(paso); position: absolute; left: 0; top: -4px;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--monte-900); color: var(--madera-300); font: 800 1rem/1 var(--display);
}
.pasos li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 38px; bottom: 2px; width: 2px; background: var(--linea); }
.nota { margin-top: 12px; font-size: .92rem; color: var(--gris); }
.telefono { margin: 0; justify-self: center; width: min(340px, 100%); }
.telefono-marco { background: #0a0f0d; padding: 12px; border-radius: 46px; box-shadow: 0 30px 80px rgba(11, 36, 28, .35); }
.telefono-marco video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 36px; background: var(--monte-900); }

/* ---------- Así trabajamos ---------- */
.asi { background: var(--madera-100); padding: clamp(64px, 9vw, 110px) var(--pad); }
.asi-txt { max-width: var(--ancho); margin: 0 auto 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; }
.asi-txt p { color: var(--gris); font-size: 1.1rem; max-width: 30em; }
.asi-video { max-width: var(--ancho); width: 100%; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 22px; background: #000; object-fit: cover; }

/* ---------- Contacto ---------- */
.contacto { background: var(--monte-900); color: #fff; text-align: center; padding: clamp(80px, 11vw, 140px) var(--pad); }
.contacto h2 { max-width: 14em; margin: 0 auto; }
.contacto > p { margin-top: 16px; color: rgba(255, 255, 255, .8); font-size: 1.15rem; }
.contacto-acc { margin-top: 38px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.contacto-mail { color: var(--madera-300); font-weight: 600; font-size: 1.1rem; text-underline-offset: 5px; }

/* ---------- Pie ---------- */
.pie { background: var(--monte-950); color: rgba(255, 255, 255, .75); padding: 40px var(--pad) 28px; font-size: .95rem; }
.pie-in { max-width: var(--ancho); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; }
.pie-in a { margin-left: auto; color: var(--madera-300); font-weight: 600; text-underline-offset: 4px; }
.marca-pie img { width: 34px; height: 34px; }
.pie-copy { max-width: var(--ancho); margin: 26px auto 0; font-size: .85rem; color: rgba(255, 255, 255, .45); }

/* ---------- WhatsApp flotante ---------- */
.wa-flotante {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.wa-flotante svg { width: 30px; height: 30px; }
.wa-flotante.visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Pantallas medianas y celulares ---------- */
@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--monte-950); flex-direction: column; gap: 0; padding: 8px var(--pad) 18px; }
  .nav.abierta { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1.05rem; }
  .nav .solo-movil { display: block; color: var(--madera-300); border-bottom: 0; }
  .menu-btn { display: block; }
  .cabecera-in { gap: 14px; }
  .cabecera-acc { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; position: relative; }
  .hero-media { position: absolute; inset: 0; }
  .hero-media::after { background: linear-gradient(180deg, rgba(11, 36, 28, .55) 0%, rgba(11, 36, 28, .86) 60%, var(--monte-900) 100%); }
  .hero-txt { position: relative; z-index: 2; margin: 0; padding-top: clamp(120px, 30vw, 220px); padding-bottom: 56px; }
  .experiencia, .servicios, .sistema { grid-template-columns: 1fr; }
  .anillos { max-width: 320px; }
  .servicios-cab { position: static; }
  .servicios-foto { aspect-ratio: 16 / 10; }
  .plataformas { grid-template-columns: 1fr; }
  .plataformas-txt { margin: 0; }
  .plataformas-foto { min-height: 0; aspect-ratio: 16 / 11; height: auto; }
  .banda-in { grid-template-columns: 1fr; }
  .banda-bloque + .banda-bloque { border-left: 0; border-top: 2px solid var(--madera-300); padding: 22px 0 0; }
  .asi-txt { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cabecera-acc .btn-chico { display: none; }
  .idioma span { display: none; }
  .marca-txt strong { font-size: 1.02rem; }
  .hero-acc .btn { width: 100%; }
  .plataformas-lista { grid-template-columns: 1fr; }
  .plataformas-lista li:nth-child(odd) { padding-right: 0; }
  .pie-in a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
