/* Enmimza — estilos del sitio. Archivo editable directamente; no necesita compilación.
   Colores, tipografías y medidas están en :root. */

@font-face {
  font-family: "Josefin Sans";
  src: url("/assets/fonts/josefin-sans.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/lato-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/lato-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Petrona solo se descarga en dispositivos sin Georgia (Android) */
@font-face {
  font-family: "Petrona";
  src: url("/assets/fonts/petrona.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Petrona";
  src: url("/assets/fonts/petrona-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --white: #fff;
  --grey: #eaeaea;
  --ink: #333;
  --muted: #666;
  --black: #000;
  --rule: #cfcfcf;
  --error: #b3261e;

  --f-display: "Josefin Sans", "Century Gothic", "Trebuchet MS", sans-serif;
  --f-ui: Lato, "Helvetica Neue", Arial, sans-serif;
  --f-body: Georgia, Petrona, "Times New Roman", serif;

  --container: 1170px;
  --pad: 15px;
  --bar: 60px;
  --sec: 60px;
}
@media (min-width: 1100px) {
  :root {
    --bar: 50px;
    --sec: 90px;
  }
}

/* ── Base ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + 16px);
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/27px var(--f-body);
  overflow-wrap: break-word;
}
main {
  display: block;
  padding-top: var(--bar);
}
img,
svg {
  max-width: 100%;
}
picture {
  display: block;
}
picture img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1);
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
address,
table {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
address {
  font-style: normal;
}
a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s linear, background 0.3s linear;
}
a:hover {
  color: var(--black);
}
strong {
  font-weight: 700;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}
html:not(.js) .js-only {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 15px;
  top: -80px;
  z-index: 100;
  background: var(--white);
  color: var(--black);
  padding: 12px 16px;
  font: 16px/24px var(--f-ui);
}
.skip:focus {
  top: 8px;
}
.muted {
  color: var(--muted);
}

/* ── Rejilla ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
}
.col-wide {
  max-width: 970px;
  margin-inline: auto;
}
.col-text {
  max-width: 770px;
  margin-inline: auto;
}

/* ── Secciones ────────────────────────────────────────── */
.sec {
  padding: var(--sec) 0;
  background: var(--white);
}
.sec--grey {
  background: var(--grey);
}
.sec__title {
  font: 600 30px/40px var(--f-display);
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
  text-wrap: balance;
}
.sec__title a {
  color: inherit;
}
.sec__sub {
  margin-top: 20px;
  font: 400 19px/29px var(--f-ui);
  text-align: center;
  color: var(--muted);
  text-wrap: balance;
}
.sec__sub a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sec__body {
  margin-top: 40px;
}
.sec--top {
  padding-top: 30px;
}
.sec--top .sec__body {
  margin-top: 20px;
}
.sec__more {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.center {
  text-align: center;
}
.center p + p {
  margin-top: 12px;
}
.h3 {
  font: 400 22px/32px var(--f-body);
  text-transform: uppercase;
  color: var(--ink);
}
@media (min-width: 768px) {
  .sec__title {
    font-size: 45px;
    line-height: 55px;
  }
  .sec__sub {
    font-size: 22px;
    line-height: 32px;
  }
  .sec__body {
    margin-top: 50px;
  }
}

/* ── Botones ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--black);
  border-radius: 0;
  background: var(--black);
  color: var(--white);
  font: 400 16px/22px var(--f-body);
  text-transform: uppercase;
  text-align: center;
  transition: color 0.3s linear, background 0.3s linear;
}
.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.btn:active {
  background: #555;
}
.btn--secondary {
  background: transparent;
  color: var(--black);
}
.btn--secondary:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.btn--sm {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 14px;
}
.link-btn {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: 400 16px/24px var(--f-ui);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-btn:hover {
  color: var(--black);
}

/* ── Cabecera ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--black);
  color: var(--white);
  transition: background 0.3s linear, padding 0.3s linear;
}
.site-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--bar);
  padding: 0 15px;
}
.site-header :focus-visible {
  outline-color: var(--white);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--white);
  font: 700 26px/1 var(--f-display);
  text-transform: lowercase;
  letter-spacing: -0.01em;
  transition: font-size 0.3s linear;
}
.logo:hover {
  color: var(--white);
}
.logo svg {
  flex: none;
  width: 1em;
  height: 1em;
}
.logo span {
  padding-top: 0.14em;
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  border: 0;
  background: none;
  color: var(--white);
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle__bars {
  position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__bars::before {
  top: -7px;
}
.nav-toggle__bars::after {
  top: 7px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}
.nav {
  display: none;
  position: absolute;
  inset: 100% 0 auto 0;
  max-height: calc(100vh - var(--bar));
  max-height: calc(100dvh - var(--bar));
  overflow-y: auto;
  padding: 10px 15px 24px;
  background: var(--black);
  border-top: 1px solid #333;
  text-align: center;
}
.nav.is-open {
  display: block;
}
.nav__list a {
  display: block;
  padding: 10px 12px;
  color: var(--white);
  font: 400 16px/24px var(--f-ui);
  text-transform: uppercase;
}
.nav__list a:hover {
  color: #bbb;
}
.nav__list a[aria-current="page"] span {
  box-shadow: 0 1px 0 0 currentColor;
  padding-bottom: 3px;
}
.nav__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.nav__tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  font: 400 16px/24px var(--f-ui);
}
.nav__tel:hover {
  color: #bbb;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--white);
  color: var(--white);
  font: 400 16px/24px var(--f-ui);
  text-transform: uppercase;
}
.nav__cta:hover {
  background: var(--white);
  color: var(--black);
}
@media (min-width: 1100px) {
  .site-header__in {
    padding: 0 20px;
  }
  .nav-toggle {
    display: none;
  }
  .nav {
    display: flex;
    align-items: center;
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
  }
  .nav__list {
    display: flex;
  }
  .nav__list a {
    padding: 0 12px;
    line-height: var(--bar);
  }
  .nav__aside {
    flex-direction: row;
    gap: 0;
    margin: 0 0 0 12px;
  }
  .nav__tel {
    padding: 0 16px 0 12px;
  }
  .nav__cta {
    min-height: 36px;
  }
  /* Inicio: sobre la foto, sin fondo, hasta que se hace scroll */
  .js .home .site-header:not(.is-scrolled) {
    background: transparent;
    padding: 30px 0;
  }
  .js .home .site-header:not(.is-scrolled) .logo {
    font-size: 44px;
  }
}

/* ── Primera pantalla ─────────────────────────────────── */
.home main {
  padding-top: var(--bar);
}
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--bar));
  min-height: calc(100svh - var(--bar));
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero__slides,
.hero__slide {
  position: absolute;
  inset: 0;
}
.hero__slide {
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__slide.is-active {
  opacity: 1;
}
.hero__slide picture,
.hero__slide img {
  width: 100%;
  height: 100%;
}
.hero__slide img {
  object-fit: cover;
  filter: grayscale(0.35);
}
.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.hero__caption {
  position: relative;
  width: 100%;
  max-width: 900px;
  padding: 60px 20px 100px;
  text-align: center;
}
.hero__title {
  font: 400 30px/40px var(--f-display);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-wrap: balance;
}
.hero__sub {
  margin-top: 16px;
  font: 400 18px/28px var(--f-ui);
  color: rgba(255, 255, 255, 0.82);
  text-wrap: balance;
}
.hero__down {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-left: -32px;
  color: var(--white);
}
.hero__down:hover {
  color: var(--white);
}
.hero__down:focus-visible {
  outline-color: var(--white);
}
.hero__down svg {
  transition: transform 0.3s ease;
}
.hero__down:hover svg {
  transform: translateY(5px);
}
@media (min-width: 768px) {
  .hero__title {
    font-size: 45px;
    line-height: 55px;
  }
  .hero__sub {
    font-size: 22px;
    line-height: 32px;
  }
}
@media (min-width: 1100px) {
  .home main {
    padding-top: 0;
  }
  html:not(.js) .home main {
    padding-top: var(--bar);
  }
  html:not(.js) .hero {
    min-height: calc(100vh - var(--bar));
    min-height: calc(100svh - var(--bar));
  }
  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero__caption {
    padding-top: 120px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__caption {
    animation: hero-in 0.8s ease 0.1s both;
  }
}
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* ── Baldosas con foto ────────────────────────────────── */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 0 15px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  text-align: center;
}
.tile:hover {
  color: var(--white);
}
.tile picture {
  position: absolute;
  inset: 0;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.5s;
}
.tile:hover::after {
  background: rgba(0, 0, 0, 0.6);
}
.tile:hover img {
  transform: scale(1.04);
}
.tile__label,
.tile__meta {
  position: relative;
  z-index: 1;
  padding: 0 10px;
}
.tile__label {
  font: 600 19px/26px var(--f-display);
  text-transform: uppercase;
}
.tile__meta {
  margin-top: 6px;
  font: 400 16px/24px var(--f-ui);
}
.tiles--wide {
  grid-template-columns: 1fr;
  padding: 0;
}
.tiles--wide .tile {
  aspect-ratio: 19 / 10;
}
.tiles--wide .tile__label {
  font: 400 22px/32px var(--f-body);
}
@media (min-width: 700px) {
  .tiles {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .tile__label {
    font-size: 25px;
    line-height: 35px;
  }
  .tiles--wide {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .tiles--6 {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tile:hover img {
    transform: none;
  }
}

/* ── Columnas centradas (pasos, contacto, datos) ──────── */
.cols {
  display: grid;
  gap: 40px 30px;
  text-align: center;
}
.cols h2,
.cols h3,
.cols dt {
  font: 400 22px/32px var(--f-body);
  text-transform: uppercase;
  color: var(--ink);
}
.cols p,
.cols dd,
.cols address {
  margin-top: 8px;
  color: var(--muted);
}
.cols .cols__when {
  margin-top: 6px;
  font: 400 16px/24px var(--f-ui);
  color: var(--ink);
}
.cols a {
  display: inline-block;
  padding: 4px 0;
}
@media (min-width: 640px) {
  .cols {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .cols--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cols--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Horario ──────────────────────────────────────────── */
.hours div {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.cols .hours {
  margin-top: 8px;
  color: var(--muted);
}
.hours dt,
.cols .hours dt {
  font: inherit;
  text-transform: none;
  color: inherit;
}
.hours dd,
.cols .hours dd {
  margin: 0;
}

/* ── Formularios ──────────────────────────────────────── */
.field {
  margin-bottom: 20px;
}
.field > label:not(.check) {
  display: block;
  margin-bottom: 6px;
  font: 400 16px/24px var(--f-ui);
  color: var(--ink);
}
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #999;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/26px var(--f-body);
  -webkit-appearance: none;
  appearance: none;
}
select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23333' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  text-overflow: ellipsis;
}
textarea {
  min-height: 140px;
  resize: vertical;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 0;
  border-color: var(--black);
}
::placeholder {
  color: #767676;
  opacity: 1;
}
.field-pair {
  display: grid;
  gap: 0 20px;
}
@media (min-width: 600px) {
  .field-pair {
    grid-template-columns: 1fr 1fr;
  }
}
.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field--error input,
.field--error textarea {
  border-color: var(--error);
  box-shadow: inset 0 0 0 1px var(--error);
}
.field__error {
  margin-top: 6px;
  font: 400 15px/22px var(--f-ui);
  color: var(--error);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 8px 0;
  font: 400 16px/26px var(--f-body);
  cursor: pointer;
}
.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--black);
}
.check a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sheet {
  padding: 30px 20px;
  background: var(--white);
  border: 1px solid var(--rule);
  text-align: left;
}
.sheet > .h3 {
  margin-bottom: 8px;
  text-align: center;
}
.sheet > .h3 + p {
  margin-bottom: 24px;
  text-align: center;
}
.sheet > .h3 + .lead {
  margin-top: 24px;
}
.sheet a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sheet a.btn {
  text-decoration: none;
}
@media (min-width: 768px) {
  .sheet {
    padding: 40px;
  }
}
.lead__alert {
  margin-bottom: 20px;
  padding: 12px 16px;
  border: 1px solid var(--error);
  color: var(--error);
  font: 400 16px/24px var(--f-ui);
}
.lead__send {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  text-align: center;
}
.lead__legal {
  font: 400 14px/22px var(--f-ui);
  color: var(--muted);
}
.lead__ok {
  text-align: center;
}
.lead__ok h3 {
  font: 400 22px/32px var(--f-body);
  text-transform: uppercase;
}
.lead__ok p {
  margin-top: 12px;
}
.lead__ok .btn {
  margin-top: 24px;
}

/* ── Calculadora ──────────────────────────────────────── */
.albaran {
  container-type: inline-size;
  padding: 30px 20px;
  background: var(--white);
  border: 1px solid var(--rule);
  text-align: left;
}
.albaran__head {
  margin-bottom: 24px;
  text-align: center;
}
.albaran__title {
  font: 400 22px/32px var(--f-body);
  text-transform: uppercase;
}
.albaran__note {
  margin-top: 4px;
  font: 400 16px/24px var(--f-ui);
  color: var(--muted);
}
.albaran__fields {
  display: grid;
  gap: 0 20px;
}
.calc-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.calc-row select {
  flex: 1;
  min-width: 0;
}
.calc-row__del {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #999;
  background: var(--white);
  color: var(--ink);
}
.calc-row__del:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.albaran__lines {
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
}
.line__dots {
  flex: 1;
  min-width: 16px;
  border-bottom: 1px dotted #999;
  transform: translateY(-5px);
}
.line__amt {
  white-space: nowrap;
}
.line-note {
  padding: 2px 0 6px;
  font: 400 15px/22px var(--f-ui);
  color: var(--muted);
}
.albaran__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
  font: 400 22px/32px var(--f-body);
  text-transform: uppercase;
}
.albaran__total strong {
  font-weight: 400;
  white-space: nowrap;
}
.albaran__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  text-align: center;
}
.albaran__fianza {
  font: 400 15px/22px var(--f-ui);
  color: var(--muted);
}
@container (min-width: 520px) {
  .albaran__fields {
    grid-template-columns: 1fr 1fr;
  }
  .albaran__equipo,
  .albaran__entrega {
    grid-column: 1 / -1;
  }
}
@media (min-width: 768px) {
  .albaran {
    padding: 40px;
  }
}

/* ── Tablas de precios ────────────────────────────────── */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 8px;
  margin-bottom: 30px;
}
.tabs button {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  font: 400 16px/24px var(--f-ui);
  text-transform: uppercase;
  transition: color 0.3s linear, border-color 0.3s linear;
}
.tabs button:hover {
  color: var(--black);
}
.tabs button[aria-selected="true"] {
  color: var(--black);
  border-bottom-color: var(--black);
}
.js .tarifa:not(.is-active) {
  display: none;
}
.js .tarifa__cat {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.tarifa + .tarifa {
  margin-top: 40px;
}
.js .tarifa + .tarifa {
  margin-top: 0;
}
.tarifa__cat {
  margin-bottom: 12px;
  font: 400 22px/32px var(--f-body);
  text-transform: uppercase;
  text-align: center;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.price-table caption {
  padding-bottom: 12px;
  font: 400 16px/24px var(--f-ui);
  color: var(--muted);
  text-align: center;
}
.price-table thead th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--ink);
  font: 400 14px/20px var(--f-ui);
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.price-table thead th:first-child {
  text-align: left;
}
.price-table tbody th,
.price-table tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--rule);
  vertical-align: baseline;
}
.price-table tbody th {
  font-weight: 400;
}
.price-table tbody th a {
  display: inline-block;
  margin: -10px 0;
  padding: 10px 0;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: #aaa;
  text-underline-offset: 3px;
}
.price-table tbody th a:hover {
  color: var(--black);
  text-decoration-color: currentColor;
}
.price-table tbody th span {
  display: block;
  font: 400 15px/22px var(--f-ui);
  color: var(--muted);
}
.price-table tbody td {
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 599px) {
  .price-table:not(.price-table--zonas) thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .price-table:not(.price-table--zonas) tbody tr {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
  }
  .price-table:not(.price-table--zonas) tbody th {
    grid-column: 1 / -1;
    padding: 0 0 8px;
    border: 0;
  }
  .price-table:not(.price-table--zonas) tbody td {
    padding: 0;
    border: 0;
    text-align: left;
  }
  .price-table:not(.price-table--zonas) tbody td::before {
    content: attr(data-label);
    display: block;
    font: 400 14px/20px var(--f-ui);
    color: var(--muted);
  }
}
.table-scroll {
  overflow-x: auto;
  margin-block: 24px;
}
.factor-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: center;
}
.factor-table caption {
  padding-bottom: 12px;
  font: 400 16px/24px var(--f-ui);
  color: var(--muted);
}
.factor-table th,
.factor-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--rule);
  font-weight: 400;
}
.factor-table thead th {
  border-bottom-color: var(--ink);
  font: 400 14px/20px var(--f-ui);
  text-transform: uppercase;
  color: var(--muted);
}
.factor-table th[scope="row"] {
  text-align: left;
}
.factor-table td {
  font-size: 22px;
}

/* ── Tarifas de un equipo ─────────────────────────────── */
.rates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 24px 0 12px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.rates div {
  padding: 14px 0;
}
.rates dt {
  font: 400 14px/20px var(--f-ui);
  text-transform: uppercase;
  color: var(--muted);
}
.rates dd {
  font: 400 24px/34px var(--f-body);
  white-space: nowrap;
}

/* ── Texto corrido ────────────────────────────────────── */
.prose {
  text-align: left;
}
.prose > * + * {
  margin-top: 16px;
}
.prose h2 {
  margin-top: 40px;
  font: 400 22px/32px var(--f-body);
  text-transform: uppercase;
}
.prose h3 {
  margin-top: 28px;
  font: 700 17px/27px var(--f-body);
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose ul {
  list-style: circle;
}
.prose ol {
  list-style: decimal;
}
.prose li + li {
  margin-top: 8px;
}
.prose a,
.center a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
}
.prose th,
.prose td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.prose .lead,
p.lead {
  font: 400 22px/32px var(--f-body);
}
.ticks {
  padding-left: 22px;
  list-style: circle;
  text-align: left;
}
.ticks li + li {
  margin-top: 6px;
}
.specs div,
.checklist div,
.how div {
  display: grid;
  gap: 2px 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
}
.specs div:first-child,
.checklist div:first-child,
.how div:first-child {
  border-top: 1px solid var(--ink);
}
.specs dt,
.checklist dt,
.how dt {
  font: 400 16px/27px var(--f-ui);
  color: var(--muted);
}
@media (min-width: 600px) {
  .specs div,
  .checklist div,
  .how div {
    grid-template-columns: 150px 1fr;
  }
}

/* ── Acordeón ─────────────────────────────────────────── */
.accordion {
  border-top: 1px solid var(--ink);
  text-align: left;
}
.accordion details {
  border-bottom: 1px solid var(--rule);
}
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 56px;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform 0.25s ease;
}
.accordion details[open] summary::after {
  transform: rotate(45deg);
}
.accordion summary:hover {
  color: var(--black);
}
.accordion__body {
  padding: 0 34px 20px 0;
  color: var(--muted);
}
.faq-group + .faq-group {
  margin-top: 60px;
}
.faq-group__title {
  margin-bottom: 20px;
  text-align: center;
}

/* ── Fotos con pie ────────────────────────────────────── */
.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 15px;
}
.shot p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 25px;
  text-align: center;
  color: var(--muted);
}
.shot strong {
  display: block;
  font-weight: 400;
  color: var(--ink);
}
@media (min-width: 900px) {
  .shots {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
  }
}
figcaption {
  margin-top: 10px;
  font: 400 16px/24px var(--f-ui);
  color: var(--muted);
  text-align: center;
}
.photo-pair {
  display: grid;
  gap: 15px;
}
.photo-pair img {
  height: 100%;
  object-fit: cover;
}
@media (min-width: 700px) {
  .photo-pair {
    grid-template-columns: 15fr 8fr;
    gap: 30px;
  }
  .photo-pair picture {
    height: 100%;
  }
}

/* ── Cabecera de página interior ──────────────────────── */
.page-head {
  padding: 50px 0;
  background: var(--grey);
  text-align: center;
}
@media (min-width: 768px) {
  .page-head {
    padding: 70px 0 60px;
  }
}
.crumbs {
  margin-bottom: 16px;
  font: 400 14px/20px var(--f-ui);
  text-transform: uppercase;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.crumbs li {
  display: flex;
  align-items: center;
}
.crumbs li + li::before {
  content: "/";
  padding: 0 8px;
  color: #999;
}
.crumbs a {
  display: inline-block;
  padding: 12px 0;
}
.crumbs span {
  color: var(--ink);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 6px;
  margin-top: 30px;
}
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-bottom: 2px solid transparent;
  font: 400 16px/24px var(--f-ui);
  text-transform: uppercase;
}
.chips a[aria-current="page"] {
  color: var(--black);
  border-bottom-color: var(--black);
}
.contact-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  font: 400 22px/32px var(--f-body);
}
.contact-big a {
  padding: 6px 0;
}

/* ── Catálogo ─────────────────────────────────────────── */
.catalog__group:nth-of-type(even) {
  background: var(--grey);
}
.catalog__intro {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
}
.cards {
  --n: 2;
  --gap: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px var(--gap);
}
.cards > li {
  flex: 0 0 calc((100% - (var(--n) - 1) * var(--gap)) / var(--n));
  min-width: 0;
}
.card {
  display: block;
  text-align: center;
  color: var(--ink);
}
.card picture {
  overflow: hidden;
  background: #ddd;
}
.card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: filter 0.3s linear, transform 0.3s ease;
}
.card:hover img {
  filter: grayscale(0);
  transform: scale(1.03);
}
.card__name {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  line-height: 26px;
}
.card__type {
  display: block;
  font: 400 15px/22px var(--f-ui);
  color: var(--muted);
}
.card__price {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.card:hover .card__price {
  color: var(--black);
}
@media (min-width: 768px) {
  .cards {
    --n: 3;
    --gap: 30px;
    row-gap: 40px;
  }
}
@media (min-width: 1100px) {
  .cards {
    --n: 4;
  }
  .cards--3 {
    --n: 3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card:hover img {
    transform: none;
  }
}

/* ── Ficha de equipo ──────────────────────────────────── */
.split {
  display: grid;
  gap: 30px;
  align-items: start;
}
.split > * {
  min-width: 0;
}
@media (min-width: 1000px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  .split--photo {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }
  .split--flip > :first-child {
    order: 2;
  }
}
.product__type {
  font: 400 19px/29px var(--f-ui);
  color: var(--muted);
}
.product__name {
  margin-top: 4px;
  font: 600 30px/38px var(--f-display);
  text-transform: uppercase;
  text-wrap: balance;
}
.product__summary {
  margin-top: 16px;
}
.quote__note {
  margin-top: 16px;
  text-align: center;
}
.product__vat,
.pack__note,
.quote__note {
  font: 400 15px/22px var(--f-ui);
  color: var(--muted);
}
@media (min-width: 768px) {
  .product__name {
    font-size: 40px;
    line-height: 48px;
  }
}
.product__detail > * + * {
  margin-top: 40px;
}
.product__detail .h3 {
  margin-bottom: 14px;
}
.pack-list {
  border-top: 1px solid var(--ink);
}
.pack-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.pack-list__name {
  text-transform: uppercase;
}
.pack-list__for {
  grid-column: 1 / -1;
  font: 400 15px/22px var(--f-ui);
  color: var(--muted);
}
.pack-list small {
  font-size: inherit;
}
.pack-list a:hover .pack-list__name {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Packs ────────────────────────────────────────────── */
.pack__name {
  font: 600 30px/38px var(--f-display);
  text-transform: uppercase;
}
.pack__for {
  margin-top: 6px;
  font: 400 19px/29px var(--f-ui);
  color: var(--muted);
}
.pack__body > p + p,
.pack__body > .ticks {
  margin-top: 16px;
}
.pack__body .btn {
  margin-top: 24px;
}

/* ── Guía y legales ───────────────────────────────────── */
.guide__sec:nth-of-type(even) {
  background: var(--grey);
}
.guide__sec .prose,
.guide__sec .price-table,
.guide__sec .table-scroll {
  margin-top: 30px;
}
.guide__sec figure {
  margin-top: 40px;
}
.guide__sec .table-scroll + .prose {
  margin-top: 0;
}
.legal__updated {
  margin-bottom: 24px;
  font: 400 16px/24px var(--f-ui);
  color: var(--muted);
  text-align: center;
}
.legal .prose > h2:first-child {
  margin-top: 0;
}

/* ── Página no encontrada ─────────────────────────────── */
.notfound {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--bar));
  min-height: calc(100svh - var(--bar));
  padding: var(--sec) 0;
  background: var(--grey);
  text-align: center;
}
.notfound__links {
  margin: 30px 0;
  font-size: 19px;
}
.notfound__links a {
  display: inline-block;
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Pie ──────────────────────────────────────────────── */
.site-footer {
  padding: 50px 0 40px;
  background: var(--white);
  text-align: center;
}
.site-footer .logo {
  color: var(--black);
  font-size: 30px;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 8px;
  margin-top: 20px;
}
.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  font: 400 15px/22px var(--f-ui);
  text-transform: uppercase;
  color: var(--ink);
}
.site-footer__nav a:hover {
  color: var(--muted);
}
.site-footer__legal {
  margin-top: 24px;
  font-size: 15px;
  line-height: 25px;
}
.site-footer__legal ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}
.site-footer__legal li {
  display: flex;
  align-items: center;
}
.site-footer__legal ul {
  gap: 0 20px;
}
@media (min-width: 900px) {
  .site-footer__legal ul {
    gap: 0;
  }
  .site-footer__legal li + li::before {
    content: "";
    width: 1px;
    height: 14px;
    margin: 0 10px;
    background: #999;
  }
}
.site-footer__legal a,
.footer-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  transition: color 0.3s linear;
}
.footer-btn:hover {
  color: var(--black);
}

/* ── Aviso de cookies ─────────────────────────────────── */
.cookies {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  background: #eee;
  border-top: 1px solid var(--rule);
  font: 400 13px/20px Helvetica, Arial, sans-serif;
  color: var(--ink);
}
.cookies__box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 10px 15px;
  text-align: center;
}
.cookies h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.cookies p {
  flex: 1 1 320px;
  max-width: 640px;
}
.cookies a {
  color: var(--ink);
  text-decoration: underline;
}
.cookies__prefs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 20px;
  flex-basis: 100%;
}
.cookies .check {
  font: inherit;
  align-items: center;
}
.cookies .check input {
  margin: 0;
}
.cookies__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cookies .btn {
  min-height: 44px;
  padding: 8px 14px;
  font: 400 13px/20px Helvetica, Arial, sans-serif;
  text-transform: none;
}
.cookies .link-btn {
  font: inherit;
  color: var(--ink);
}

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