/* ==========================================================================
   Next Drill Rigs — hoja de estilos única (sin frameworks)
   Réplica del tema YOOtheme/UIkit del sitio WordPress anterior.
   Breakpoints (idénticos a UIkit): 640 / 960 / 1200 / 1600
   ========================================================================== */

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(../fonts/montserrat-300-800-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(../fonts/montserrat-300-800-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Play'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/play-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Play'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/play-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Play'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/play-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Play'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/play-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/work-sans-500-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/work-sans-500-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --yellow: #ffc32d;
  --stripe: #ffc230;
  --red: #f91b24;
  --ink: #292929;
  --text: #696969;
  --muted: #a0a0a0;
  --line: #e9e9e9;
  --soft: #f4f4f4;
  --black: #000;
  --gap: 20px;
  --gap-l: 40px;
  --font-body: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: Play, "Segoe UI", Arial, sans-serif;
  --font-ui: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 84px;
}
@media (min-width: 1200px) {
  :root { --gap: 40px; --gap-l: 70px; }
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  font: 300 15px/1.6 var(--font-body);
  color: var(--text);
  background: #fff;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-y: scroll;
  scroll-behavior: smooth;
}
body { margin: 0; }
img, video, iframe, svg { max-width: 100%; }
img, video { height: auto; vertical-align: middle; border: 0; }
a { color: #1d1c21; text-decoration: none; cursor: pointer; }
a:hover { color: var(--red); text-decoration: underline; }
p, ul, ol, dl, figure, blockquote, pre, hr { margin: 0 0 20px; }
ul, ol { padding-left: 30px; }
hr { border: 0; border-top: 1px solid var(--line); overflow: visible; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  text-transform: none;
}
h1, .h1 { font: 800 34px/1.4 var(--font-head); }
h2, .h2 { font: 800 25.5px/1.3 var(--font-head); }
h3, .h3 { font: 800 22px/1.4 var(--font-head); }
h4, .h4 { font: 800 18px/1.4 var(--font-head); }
h5, .h5 { font: 500 12px/1.4 var(--font-ui); text-transform: uppercase; letter-spacing: 1px; }
h1, .h1, h2, h3, h4, h5 { color: var(--ink); }
/* h2 de sección con el mismo aspecto que el título grande del tema */
.h1 { margin: 0 0 20px; }
@media (min-width: 960px) {
  h1, .h1 { font-size: 40px; }
  h2, .h2 { font-size: 30px; }
}
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.skip-link {
  position: absolute; left: 10px; top: -60px; z-index: 2000;
  background: #fff; color: var(--ink); padding: 8px 14px; font: 500 13px var(--font-ui);
  box-shadow: 0 6px 50px rgba(0, 0, 0, .15);
}
.skip-link:focus { top: 10px; text-decoration: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Tipografías de texto del editor original ----------------------------- */
.next  { font: 700 15px/1.6 var(--font-body); letter-spacing: 1px; color: var(--yellow); }
.titulo { font: 700 38px/1 var(--font-head); color: #000; }
.tit   { font: 700 40px/.9 var(--font-head); color: #000; }
.sub   { font: 400 22px/1.2 var(--font-head); color: #000; margin: 0; }
.texto { font: 500 16px/1.5 var(--font-body); color: #000; }
.texto-1 { font: 500 14px/1.6 var(--font-body); color: #000; }
.direccion { font: 400 15px/1.4 var(--font-head); color: #000; }
.home .sub { font-size: 21px; line-height: 1.3; }
.eyebrow { display: block; margin-bottom: 0; }

/* --- Layout -------------------------------------------------------------- */
.container {
  box-sizing: content-box;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 15px;
  display: flow-root;
}
.container-large { max-width: 1400px; }
@media (min-width: 640px) { .container { padding-inline: 20px; } }
@media (min-width: 960px) { .container { padding-inline: 40px; } }

.section { padding-block: 40px; display: flow-root; }
.section-lg { padding-block: 70px; }
@media (min-width: 960px) {
  .section { padding-block: 70px; }
  .section-lg { padding-block: 140px; }
  .fill-fold { min-height: calc(100vh - 540px); display: flex; align-items: center; }
  .fill-fold > .container { flex: 1 1 0; min-width: 0; }
}
.fill-vh { min-height: 100vh; display: flex; align-items: center; }
.fill-vh > .container { flex: 1 1 0; min-width: 0; }
.bg-default { background: #fff; }
.bg-muted { background: var(--soft); }
.bg-black { background: #000; color: #fff; }

.grid { display: grid; gap: var(--gap); align-items: start; }
.grid-large { gap: var(--gap-l); }
.grid-center { align-items: center; }
.grid-match { align-items: stretch; }
@media (min-width: 960px) {
  .grid-2-5 { grid-template-columns: 2fr 3fr; }
  .grid-1-2 { grid-template-columns: 1fr 1fr; }
  .grid-1-3 { grid-template-columns: 1fr 2fr; }
  .grid-divider > * + * { position: relative; }
}
.text-center { text-align: center; }
@media (min-width: 960px) { .text-left-m { text-align: left; } }
.mt { margin-top: 20px; }
.mb { margin-bottom: 20px; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.mb-m { margin-bottom: 40px; }
.spacer { height: 13px; }
.spacer-40 { height: 40px; }
.narrow { max-width: 600px; margin-inline: auto; }
@media (min-width: 960px) { .narrow-left { margin-inline: 0 auto; } }

/* Divisor pequeño amarillo */
.divider-small { display: block; height: 0; line-height: 0; margin: 20px 0; border: 0; }
.divider-small::after {
  content: ""; display: inline-block; width: 45px; max-width: 100%;
  border-top: 4px solid var(--yellow); vertical-align: top;
}
.text-center .divider-small { text-align: center; }
.divider-vertical {
  display: none; position: absolute; left: 90%; top: 0; height: 100px;
  border-left: 3px solid var(--line);
}
@media (min-width: 960px) { .divider-vertical { display: block; } }

/* --- Botones ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0; padding: 0 30px; border: 0; border-radius: 0; cursor: pointer;
  background: #000; color: #fff;
  font: 700 15px/40px var(--font-ui); text-transform: uppercase; text-align: center;
  text-decoration: none; transition: .1s ease-in-out; transition-property: color, background-color;
  -webkit-appearance: none; appearance: none;
}
.btn:hover, .btn:focus-visible { background: #121212; color: #fff; text-decoration: none; }
.btn-sm { padding: 0 20px; font-size: 13px; line-height: 30px; }
.btn svg { flex: none; stroke: currentColor; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* --- Cabecera ------------------------------------------------------------ */
.site-header { position: relative; z-index: 980; background: #fff; }
.navbar {
  display: flex; align-items: center; justify-content: space-between; gap: 15px;
  max-width: 1400px; margin-inline: auto; padding-inline: 15px; box-sizing: content-box;
}
.logo { display: flex; align-items: center; min-height: 80px; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo img { display: block; width: auto; }
.logo .logo-dark { height: 84px; }
.logo .logo-light { height: 70px; display: none; }
.nav-toggle {
  display: flex; align-items: center; justify-content: center; min-height: 80px; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--muted);
}
.nav-toggle svg { display: block; }
.nav-toggle rect { fill: currentColor; transition: .2s ease-in-out; transform-origin: center; }
.nav-toggle[aria-expanded="true"] .l1, .nav-toggle[aria-expanded="true"] .l4 { opacity: 0; }

.menu { list-style: none; margin: 0; padding: 0; }
.menu a { display: block; }
.nav-social { display: none; }
.nav-backdrop { display: none; }

/* móvil / tablet: menú off-canvas */
@media (max-width: 959.98px) {
  .site-header .nav-panel {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 1010; width: 270px; padding: 20px;
    overflow-y: auto; background: #fff; box-shadow: 0 6px 50px rgba(0, 0, 0, .05);
    transform: translateX(-100%); visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  .nav-open .nav-panel { transform: none; visibility: visible; transition: transform .25s ease; }
  .nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 1005; background: rgba(0, 0, 0, .1);
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s;
  }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; transition: opacity .25s ease; }
  .nav-open { overflow: hidden; }
  .menu a {
    padding: 5px 0; font: 500 12px/1.6 var(--font-ui); text-transform: uppercase;
    letter-spacing: 1px; color: var(--muted);
  }
  .menu li + li { margin-top: 5px; padding-top: 5px; border-top: 1px solid var(--line); }
  .menu a:hover, .menu a[aria-current="page"] { color: var(--ink); text-decoration: none; }
  .nav-social { display: block; margin-top: 30px; }
  .nav-social .h5 { margin: 0 0 20px; color: var(--ink); }
  .navbar { padding-inline: 15px; }
  .home .site-header { position: absolute; inset: 0 0 auto; background: transparent; }
  .home .logo .logo-dark { display: none; }
  .home .logo .logo-light { display: block; }
  .home .nav-toggle { color: #fff; }
  .logo .logo-dark { height: 70px; width: auto; }
}
@media (min-width: 640px) and (max-width: 959.98px) {
  .site-header .nav-panel { width: 350px; }
  .navbar { padding-inline: 20px; }
}

/* escritorio: menú horizontal */
@media (min-width: 960px) {
  .nav-toggle, .nav-backdrop { display: none; }
  .navbar { padding-inline: 40px; gap: 30px; }
  .site-header { position: sticky; top: 0; transition: box-shadow .2s ease, background-color .1s ease; }
  .site-header.is-stuck { box-shadow: 0 3px 12px rgba(0, 0, 0, .07); }
  .nav-panel { margin-left: auto; }
  .menu { display: flex; }
  .menu a {
    position: relative; display: flex; align-items: center; min-height: 80px; padding: 0 15px;
    font: 600 14px var(--font-ui); text-transform: uppercase; letter-spacing: 1px; color: var(--muted);
    transition: .1s ease-in-out; transition-property: color, background-color;
  }
  .menu a::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: -1;
    background: transparent; transition: .1s ease-in-out; transition-property: background-color, height;
  }
  .menu a:hover { color: var(--ink); text-decoration: none; }
  .menu a[aria-current="page"] { color: var(--ink); }
  .menu a[aria-current="page"]::before { background: var(--red); height: 2px; }

  /* Home: cabecera transparente sobre el video, blanca al hacer scroll */
  .home .site-header { position: fixed; inset: 0 0 auto; width: 100%; background: transparent; }
  .home .site-header:not(.is-stuck) .logo-dark { display: none; }
  .home .site-header:not(.is-stuck) .logo-light { display: block; }
  .home .site-header:not(.is-stuck) .menu a { color: rgba(255, 255, 255, .5); }
  .home .site-header:not(.is-stuck) .menu a:hover,
  .home .site-header:not(.is-stuck) .menu a[aria-current="page"] { color: #fff; }
  .home .site-header.is-stuck { background: #fff; }
}

/* --- Héroes -------------------------------------------------------------- */
.stripe { position: relative; height: 12px; background: linear-gradient(90deg, #000 59.4%, var(--stripe) 59.4%); }
.hero-page { position: relative; }
.hero-banner {
  position: relative; overflow: hidden; background: #3c3c3c; color: #fff;
  width: 100%; aspect-ratio: 2560 / 600; min-height: 300px; display: flex; align-items: center;
}
.hero-banner > picture, .hero-banner > img {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.hero-banner img { width: 100%; height: 100%; object-fit: cover; }
.hero-banner .container { position: relative; flex: 1 1 0; min-width: 0; }
.hero-copy { max-width: 750px; padding-block: 70px; }
.hero-copy .meta {
  margin: 0; font: 500 11px/1.4 var(--font-ui); text-transform: uppercase; letter-spacing: 1px;
  color: rgba(255, 255, 255, .5);
}
.hero-copy .hero-title { margin: 20px 0 0; color: #fff; }
.hero-copy .hero-title.is-small { font-size: 23px; font-weight: 700; line-height: 1.1; }
/* el banner queda fijo detrás mientras el contenido se desliza encima (efecto del sitio original) */
@media (min-width: 960px) {
  .hero-page { position: sticky; top: 0; z-index: 0; }
  .site-main > section:not(.hero-page) { position: relative; z-index: 1; }
}

.hero-home { position: relative; overflow: hidden; background: #3c3c3c; color: #fff; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .31); }
.hero-shade::after { content: ""; position: absolute; inset: 0; background: rgba(1, 1, 1, .13); }
.hero-slide {
  position: relative; display: flex; align-items: center;
  width: 100%; aspect-ratio: 2560 / 900; min-height: 500px;
}
.hero-home .container { flex: 1 1 0; min-width: 0; }
.hero-home .hero-copy { padding-block: 70px; }
.hero-home .meta {
  font: 500 18px/1.4 var(--font-ui); color: #fff; letter-spacing: 1px;
}
.hero-home h1 { margin: 20px 0 0; font: 800 40px/1.4 var(--font-head); color: #fff; }
.hero-home h1 .l1 { font-size: 35px; font-weight: 400; }
.hero-home h1 .l2 { font-size: 55px; font-weight: 700; line-height: 1; }
.hero-home .lead { margin: 10px 0 0; font: 600 17px/1.4 var(--font-body); color: #fff; }
@media (max-width: 639.98px) {
  .hero-home h1 .l2 { font-size: 42px; }
}

/* --- Tarjetas de producto ------------------------------------------------- */
.cards { display: grid; gap: var(--gap); grid-template-columns: 1fr; margin-bottom: 20px; }
@media (min-width: 640px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  display: flex; flex-direction: column; height: 100%; padding: 20px;
  background: #fff; color: var(--text); border-top: 6px solid var(--yellow);
  box-shadow: 0 6px 50px rgba(0, 0, 0, .05);
}
.card:hover { color: var(--text); text-decoration: none; }
@media (min-width: 1200px) { .card { padding: 20px; } }
.card img { display: block; width: 100%; }
.card .card-title {
  margin: 20px 0 0; color: var(--ink);
  font: 700 23px/1.1 var(--font-head);
}
.card .card-sub { margin: 20px 0 0; font: 700 16px/1.1 var(--font-head); color: var(--text); }
.card .btn { margin-top: 20px; align-self: flex-start; }
.card:hover .btn { background: #121212; }
.card-grid-wrap { margin-top: 13px; }

/* --- Beneficios (iconos) -------------------------------------------------- */
.features { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 640px)  { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .features { grid-template-columns: repeat(4, 1fr); } }
.features h3 { margin: 20px 0 0; }
.features .texto { display: block; margin-top: 20px; font-size: 16px; color: #767676; }
.features img { display: block; }

/* --- Mosaico del home ----------------------------------------------------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; align-items: start; padding-bottom: 100px; }
.mosaic img { width: 100%; height: auto; border-radius: 5px; box-shadow: 0 28px 50px rgba(0, 0, 0, .16); }
.mosaic > div { will-change: transform; }
@media (max-width: 639.98px) { .mosaic { padding-bottom: 40px; } }

/* --- Secciones con fondo -------------------------------------------------- */
.bg-image { position: relative; background: #f2f2f2 center / cover no-repeat; }
.bg-image::before { content: ""; position: absolute; inset: 0; background: rgba(242, 242, 242, .02); }
.bg-image > .container { position: relative; }
.bg-map { background-image: url(/assets/img/fondo-mapa.webp); }
.bg-principios { background-image: url(/assets/img/fondo-principios.webp); }
.principles { display: grid; gap: var(--gap); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1200px) { .principles { grid-template-columns: repeat(4, 1fr); } }
.principles h3 { margin: 20px 0 0; }
.numbered { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 960px) { .numbered { grid-template-columns: repeat(2, 1fr); } }
.numbered .item { max-width: 750px; margin-inline: auto; padding: 0; }
.numbered .item > div { padding: 15px; }
.numbered h3 { margin: 0; }
.numbered .texto-1 { display: block; }

/* --- Galería -------------------------------------------------------------- */
.gallery { display: grid; gap: 15px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 960px)  { .gallery { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .gallery { grid-template-columns: repeat(5, 1fr); } }
.gallery figure { position: relative; margin: 0; overflow: hidden; }
.gallery img { display: block; width: 100%; transition: opacity .3s ease; }
.gallery figure::after {
  content: ""; position: absolute; inset: 0; background: rgba(29, 28, 33, .8);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.gallery figure:hover::after { opacity: 1; }
.gallery a { display: block; }

/* --- Carrusel ------------------------------------------------------------- */
.carousel { position: relative; margin-bottom: 20px; }
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > li { flex: 0 0 100%; scroll-snap-align: center; }
.carousel-track img { display: block; width: 100%; }
.carousel-track.rounded img { border-radius: 5px; }
.carousel-nav {
  display: none; margin: 10px 0 0; padding: 0; list-style: none; gap: 15px; justify-content: center;
}
@media (min-width: 640px) { .carousel-nav { display: flex; } }
.carousel-nav button {
  display: block; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(105, 105, 105, .2); transition: .2s ease-in-out; transition-property: background-color;
}
.carousel-nav button:hover { background: rgba(105, 105, 105, .6); }
.carousel-nav button[aria-current="true"] { background: var(--red); }
.carousel-arrow {
  display: none; position: absolute; top: 50%; z-index: 1; padding: 10px; border: 0; background: none;
  color: rgba(105, 105, 105, .5); cursor: pointer; transform: translateY(-50%);
}
.carousel-arrow:hover { color: rgba(105, 105, 105, .9); }
.carousel-arrow.prev { right: 100%; margin-right: 10px; }
.carousel-arrow.next { left: 100%; margin-left: 10px; }
@media (min-width: 1200px) { .carousel-arrow { display: block; } }

/* --- Listas --------------------------------------------------------------- */
.list { list-style: none; margin: 0 0 20px; padding: 0; }
.list-divider > li + li { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.list-disc { list-style: disc; padding-left: 30px; }
.list-disc > li::marker { color: var(--muted); }
.download { display: flex; align-items: center; gap: 15px; color: inherit; }
.download:hover { text-decoration: none; }
.download svg { flex: none; stroke: #000; }
.download h4 { margin: 0; color: #1d1c21; }
.download:hover h4 { color: var(--red); text-decoration: underline; }
.contact-list li { margin: 0; }
.contact-list .name { margin: 0; font: 800 18px/1.4 var(--font-head); color: var(--ink); }
.contact-list .role {
  font: 500 11px/1.4 var(--font-ui); text-transform: uppercase; letter-spacing: 1px; color: var(--muted);
}
.contact-list .data {
  margin: 0; font: 500 12px/1.4 var(--font-ui); text-transform: uppercase; letter-spacing: 1px;
}
.contact-list .data a { text-transform: none; }
.location { display: flex; gap: 15px; align-items: flex-start; }
.location svg { flex: none; margin-top: 2px; stroke: var(--ink); }
.map-frame { display: block; width: 100%; height: 450px; border: 0; background: #e5e3df; }
@media (min-width: 960px) { .grid-divider > * + * { border-left: 1px solid var(--line); padding-left: var(--gap-l); } }
@media (min-width: 960px) { .grid-divider { column-gap: var(--gap-l); } }

/* --- Formulario ------------------------------------------------------------ */
.form-box { padding: 30px; background: #fff; border: 1px solid #ddd; border-radius: 0; }
.form-box .row { display: grid; gap: 0 15px; }
@media (min-width: 640px) { .form-box .row.two { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 15px; }
.field label { display: block; margin-bottom: 4px; font: 400 15px/1.6 var(--font-body); color: #5b5b5b; }
.field input, .field select, .field textarea {
  display: block; width: 100%; padding: 8px 12px; font: 400 13px/1.6 var(--font-body); color: #5b5b5b;
  background: #fff; border: 1px solid #ddd; border-radius: 0; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select[multiple] { min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: #66afe9; box-shadow: 0 0 0 3px rgba(102, 175, 233, .25);
}
.field .hint { margin: 4px 0 0; font-size: 12px; color: #8f8f8f; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field .error { display: none; margin: 4px 0 0; font-size: 12px; color: var(--red); }
.field.has-error .error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin: 15px 0 0; padding: 15px; font-size: 14px; }
.form-status.is-error { display: block; color: #a30d14; background: #fdecec; border-left: 4px solid var(--red); }
.form-success { display: none; text-align: center; padding: 30px; background: #fff; border: 1px solid #ddd; }
.form-success img { display: block; margin: 0 auto 15px; }
.form-success p { margin: 0; font: 400 21px/1.4 var(--font-head); color: #5b5b5b; }
.is-sent .form-box { display: none; }
.is-sent .form-success { display: block; animation: fade-in-down .5s ease both; }
@keyframes fade-in-down { from { opacity: 0; transform: translateY(-15px); } to { opacity: 1; transform: none; } }
.cf-turnstile-slot { margin-bottom: 15px; }
.cf-turnstile-slot:empty { display: none; }

/* --- Pie de página --------------------------------------------------------- */
.site-footer .footer-grid { display: grid; gap: var(--gap-l); }
@media (min-width: 960px) { .site-footer .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer .footer-text { margin: 20px 0 0; font: 700 13px/1.2 var(--font-head); color: #fff; }
.site-footer h3 { margin: 0 0 20px; font: 500 12px/1.4 var(--font-ui); text-transform: uppercase; letter-spacing: 1px; color: #fff; }
.site-footer .list li + li { margin-top: 10px; }
.site-footer .list a { font: 500 12px/1.4 var(--font-ui); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.site-footer .list a:hover, .icon-link:hover { color: #696969; text-decoration: none; }
.site-footer .list a:hover { color: #fff; }
.icon-link { color: var(--muted); display: inline-flex; }
.icon-link:hover { color: #fff; }
.social { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.footer-bottom { background: #fff; }
.footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-block: 20px; }
.footer-bottom .derechos { margin: 0; font: 700 11px/1.6 var(--font-head); letter-spacing: .2px; color: #000; }
.totop { display: inline-flex; align-items: center; gap: 15px; color: rgba(105, 105, 105, .5); }
.totop:hover { color: var(--ink); text-decoration: none; }
.totop span { font: 700 12px/1 var(--font-head); color: #000; }
.totop svg { stroke: currentColor; }

/* --- Botones flotantes (reemplazo de Buttonizer) ---------------------------- */
.fab {
  position: fixed; right: 5%; bottom: 5%; z-index: 900; display: flex; flex-direction: column-reverse;
  align-items: flex-end; gap: 10px; margin: 0; padding: 0; list-style: none;
}
.fab a {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; color: #36394e; background: rgba(255, 206, 10, 1);
  box-shadow: 0 2px 6px 1px rgba(0, 0, 0, .2); transition: ease-in-out 250ms;
}
.fab a:hover { color: #36394e; text-decoration: none; filter: brightness(1.08); transform: translateY(-2px); }
.fab svg { width: 23px; height: 23px; fill: currentColor; }

/* --- Animaciones de entrada (solo si hay JS) -------------------------------- */
.js [data-reveal] { opacity: 0; transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal="left"]   { transform: translateX(-40px); }
.js [data-reveal="bottom"] { transform: translateY(20px); }
.js [data-reveal="left-s"] { transform: translateX(-20px); }
.js [data-reveal].in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-video { display: none; }
}
@media print {
  .site-header, .fab, .nav-backdrop, .totop { display: none !important; }
}

/* --- Complementos: producto, contacto, checkboxes, menú ------------------------ */
.product-title { max-width: 750px; margin-bottom: 20px; }
.product-title .pt-name { display: block; margin: 0 0 20px; font: 700 35px/1.1 var(--font-head); color: var(--ink); }
.product-title .pt-sub  { display: block; margin: 0; font: 700 23px/1.1 var(--font-head); color: var(--ink); }
.product-tech { max-width: 750px; font: 700 30px/1.1 var(--font-head); }
.checks { margin: 0 0 15px; padding: 0; border: 0; min-width: 0; }
.checks legend { padding: 0; margin-bottom: 6px; font: 400 13px/1.6 var(--font-body); color: #5b5b5b; }
.checks .check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 6px; font: 400 13px/1.5 var(--font-body); color: #5b5b5b; cursor: pointer; }
.checks .check input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: #000; }
.checks.has-error legend { color: var(--red); }
.checks .error { display: none; margin: 4px 0 0; font-size: 12px; color: var(--red); }
.checks.has-error .error { display: block; }
.contact-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-grid > ul { margin-bottom: 0; }
.nav-toggle .l3 { opacity: 0; }
.nav-toggle[aria-expanded="true"] .l2 { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .l3 { opacity: 1; transform: rotate(-45deg); }

/* --- Utilidades (evitan estilos en línea para poder usar una CSP estricta) ------- */
.rel { position: relative; }
.spacer-10 { height: 10px; }
.w-2xl { max-width: 750px; }
.hero-home { background-image: url(/assets/img/hero-poster.webp); background-size: cover; background-position: center; }
