@font-face{font-family:'Inter';font-style:normal;font-weight:300 500;font-display:swap;src:url('/assets/fonts/Inter-300-500-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:300 500;font-display:swap;src:url('/assets/fonts/Inter-300-500-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:'JetBrains Mono';font-style:normal;font-weight:300;font-display:swap;src:url('/assets/fonts/JetBrainsMono-300-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:300;font-display:swap;src:url('/assets/fonts/JetBrainsMono-300-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:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/JetBrainsMono-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/JetBrainsMono-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}
:root {
  --color-forest-depths: #1c3a13;
  --color-logo-green: #007934;
  --color-lime-pulse: #d3fa99;
  --color-sage-moss: #757c5d;
  --color-olive-gold: #9f995b;
  --color-eucalyptus: #698e79;
  --color-snow-white: #fcfcf7;
  --color-warm-stone: #eeeee9;
  --color-frosted-glass: #c4c7c4;
  --color-ash: #b3b3b3;
  --color-pewter: #666666;

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --page-max-width: 1200px;
  --radius-cards: 16px;
  --radius-large-cards: 32px;
  --radius-inputs: 8px;
  --radius-full: 1000px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--color-snow-white);
  color: var(--color-forest-depths);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "ss05" on;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 16px; }
figure { margin: 0; }

.container { max-width: calc(var(--page-max-width) + 48px); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); letter-spacing: 0.015em; }
.muted { color: var(--color-pewter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--color-forest-depths); color: var(--color-snow-white); padding: 8px 16px; border-radius: var(--radius-full); }

/* Type */
.display { font-size: clamp(36px, 5vw, 48px); font-weight: 300; line-height: 1.1; letter-spacing: -0.015em; margin: 24px 0; }
.heading-lg { font-size: clamp(32px, 4vw, 40px); font-weight: 300; line-height: 1.1; letter-spacing: -0.01em; margin: 16px 0 24px; }
.subheading { font-size: 24px; font-weight: 350; line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
.lead { font-size: 18px; line-height: 1.4; letter-spacing: -0.01em; max-width: 520px; }

/* Logo (SVG mask so it inherits currentColor) */
.logo {
  display: block;
  width: 126px;
  aspect-ratio: 180.3 / 54.1;
  background: currentColor;
  -webkit-mask: url("/assets/logo.svg") center / contain no-repeat;
          mask: url("/assets/logo.svg") center / contain no-repeat;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 24px;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  font: 400 16px/1 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--primary { background: var(--color-forest-depths); color: var(--color-snow-white); }
.btn--primary:hover { background: #2a5220; }
.btn--outline { background: var(--color-snow-white); color: var(--color-forest-depths); border-color: var(--color-forest-depths); }
.btn--outline:hover { background: var(--color-warm-stone); }
.btn--ghost { background: transparent; color: var(--color-snow-white); border-color: var(--color-snow-white); }
.btn--ghost:hover { background: rgba(252, 252, 247, .14); }
.btn--light { background: var(--color-snow-white); color: var(--color-forest-depths); }
.btn--light:hover { background: var(--color-lime-pulse); }

.link-arrow {
  display: inline-block;
  padding: 7px 0;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
}
.link-arrow:hover { text-decoration-color: var(--color-eucalyptus); }

/* Pills & badges */
.pill, .badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}
.pill { border: 1.5px solid currentColor; text-transform: uppercase; }
.pill--dark { color: var(--color-forest-depths); }
.pill--light { color: var(--color-snow-white); }
.badge { font-family: var(--font-sans); font-weight: 500; }
.badge--lime { background: var(--color-lime-pulse); color: var(--color-forest-depths); }


/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--color-snow-white); }
.nav__inner { max-width: calc(1320px + 48px); height: 72px; display: flex; align-items: center; gap: 24px; }
.nav__brand { color: var(--color-logo-green); }
.nav__links { display: flex; align-items: center; gap: 20px; flex: 1; }
.nav__links a, .nav__group-btn { white-space: nowrap; text-decoration: none; font: 400 16px/1.5 var(--font-sans); color: inherit; }
.nav__links a:hover, .nav__links a[aria-current="page"], .nav__group-btn:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.nav__group { position: relative; }
.nav__group-btn { white-space: nowrap; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav__group-btn::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav__group-btn[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.nav__group:has([aria-current="page"]) .nav__group-btn { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.nav__menu {
  position: absolute; top: calc(100% + 16px); left: -24px;
  display: none; flex-direction: column; min-width: 260px;
  background: var(--color-snow-white); border: 1px solid var(--color-warm-stone); border-radius: var(--radius-cards);
  padding: 8px;
}
.nav__menu::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; }
.nav__group:hover .nav__menu, .nav__group-btn[aria-expanded="true"] + .nav__menu { display: flex; }
.nav__menu a { padding: 10px 16px; border-radius: var(--radius-inputs); }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: var(--color-warm-stone); text-decoration: none; }
.nav__actions { display: flex; gap: 8px; }
.nav__actions .btn { padding: 12px 20px; font-size: 14px; }
.nav__toggle { display: none; }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: transparent; border: 1.5px solid var(--color-warm-stone); border-radius: var(--radius-full); font: 400 14px/1 var(--font-sans); color: inherit; cursor: pointer; }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { border-color: var(--color-forest-depths); }
.lang__btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.lang__name { display: none; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 180px; margin: 0; padding: 8px; list-style: none; background: var(--color-snow-white); border: 1px solid var(--color-warm-stone); border-radius: var(--radius-cards); }
.lang__menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-inputs); text-decoration: none; font-size: 15px; }
.lang__menu a:hover, .lang__menu a[aria-current="true"] { background: var(--color-warm-stone); }
.nav__links > .nav__mobile-only { display: none; }

/* Hero */
.hero { padding: 48px 0 96px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero__ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-large-cards); }
.hero__media--wide img { aspect-ratio: 16 / 10; }
.hero__badge { position: absolute; top: 24px; left: 24px; }

/* Facts */
.facts { border-top: 1px solid var(--color-warm-stone); border-bottom: 1px solid var(--color-warm-stone); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 40px 24px; display: flex; flex-direction: column; gap: 8px; }
.fact + .fact { border-left: 1px solid var(--color-warm-stone); }
.fact__value { font-size: 40px; font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
.fact__label { font-size: 12px; color: var(--color-pewter); text-transform: uppercase; }

/* Sections */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--color-forest-depths); color: var(--color-snow-white); }
.section--stone { background: var(--color-warm-stone); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; }
.section__head .heading-lg { margin: 0; }
.section__sub { max-width: 420px; margin: 0; opacity: .85; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; border-radius: var(--radius-cards); }
.card__title { font-size: 24px; font-weight: 350; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
.card__media { width: 100%; aspect-ratio: 1; border-radius: var(--radius-cards); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__media--light { background: var(--color-snow-white); display: grid; place-items: center; }
.card__media--light img { height: auto; object-fit: contain; padding: 8px; }
.card__media--spec { background: rgba(252, 252, 247, .08); display: flex; align-items: flex-end; padding: 24px; }
.card__text { font-size: 14px; opacity: .85; margin: 0; flex: 1; }

.spec { list-style: none; margin: 0; padding: 0; width: 100%; font-size: 14px; }
.spec li { padding: 10px 0; border-top: 1px solid rgba(252, 252, 247, .25); }
.spec--rows { margin: 24px 0 8px; }
.spec--rows li { display: flex; justify-content: space-between; gap: 16px; }
.spec--rows li span:first-child { opacity: .7; }

/* Split layouts (40/60) */
.split { display: grid; grid-template-columns: 2fr 3fr; gap: 64px; align-items: center; }
.split--reverse { grid-template-columns: 3fr 2fr; }
.split--reverse .split__copy { order: 2; }
.split--top { align-items: start; }
.split__copy { max-width: 480px; }
.split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-large-cards); }
.split__media--light { background: var(--color-snow-white); border-radius: var(--radius-large-cards); padding: 24px; }
.split__media--light img { aspect-ratio: auto; object-fit: contain; border-radius: 0; }
.split__media--panel { background: var(--color-warm-stone); border-radius: var(--radius-large-cards); padding: 48px; }

.materials { list-style: none; margin: 0; padding: 0; }
.materials li { display: flex; align-items: baseline; gap: 24px; padding: 20px 0; font-size: clamp(24px, 3vw, 36px); font-weight: 300; letter-spacing: -0.02em; line-height: 1; }
.materials li + li { border-top: 1px solid var(--color-frosted-glass); }
.materials .mono { font-size: 12px; color: var(--color-pewter); }

/* Zones */
.zones { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.zones__list { display: flex; gap: 8px; flex-wrap: wrap; }

/* Contact */
.contact { margin: 40px 0 0; }
.contact div { padding: 16px 0; border-top: 1px solid rgba(252, 252, 247, .25); }
.contact dt { font-size: 12px; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }
.contact dd { margin: 0; font-size: 18px; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; text-underline-offset: 4px; }

.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  color: var(--color-snow-white);
  border: 1.5px solid rgba(252, 252, 247, .6);
  border-radius: var(--radius-inputs);
  padding: 14px 20px;
  font: 400 16px/1.4 var(--font-sans);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23fcfcf7' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; }
.field select option { color: var(--color-forest-depths); }
.field textarea { resize: vertical; }
.select { position: relative; }
.select__btn {
  width: 100%; text-align: left; cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23fcfcf7' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 20px center;
  color: var(--color-snow-white); border: 1.5px solid rgba(252, 252, 247, .6); border-radius: var(--radius-inputs);
  padding: 14px 48px 14px 20px; font: 400 16px/1.4 var(--font-sans);
}
.select__btn:focus-visible, .select__btn[aria-expanded="true"] { outline: none; border-color: var(--color-lime-pulse); }
.select__list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none;
  background: var(--color-snow-white); color: var(--color-forest-depths); border-radius: var(--radius-cards);
  max-height: 280px; overflow-y: auto; outline: none;
}
.select__list li { padding: 10px 14px; border-radius: var(--radius-inputs); cursor: pointer; font-size: 15px; }
.select__list li:hover, .select__list li.is-active { background: var(--color-warm-stone); }
.select__list li[aria-selected="true"] { font-weight: 500; }
.select__list li[aria-selected="true"]::after { content: ""; float: right; width: 12px; height: 7px; margin-top: 6px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-lime-pulse); }
.check { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; margin: 0;
  width: 20px; height: 20px; border: 1.5px solid rgba(252, 252, 247, .6); border-radius: 6px;
  background: transparent no-repeat center / 12px; cursor: pointer; transition: background-color .15s, border-color .15s;
}
.check input:checked {
  background-color: var(--color-lime-pulse); border-color: var(--color-lime-pulse);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none' stroke='%231c3a13' stroke-width='2'%3E%3Cpath d='M1 5l3.5 3.5L11 1'/%3E%3C/svg%3E");
}
.check input:focus-visible { outline: 2px solid var(--color-lime-pulse); outline-offset: 2px; }
.form .btn { align-self: flex-start; }
.form__status { font-size: 14px; min-height: 1.5em; margin: 0; }
.form__status[data-state="ok"] { color: var(--color-lime-pulse); }
/* Errores de validación: mismo criterio que el configurador (borde rojo en lo que falta, sin el globo del navegador) */
.form__status[data-state="error"] { color: #ff9b8a; }
.form[data-submitted] .field input:invalid, .form[data-submitted] .field textarea:invalid { border-color: #ff9b8a; }
.form[data-submitted] .check input:invalid { border-color: #ff9b8a; outline: 1.5px solid #ff9b8a; outline-offset: 2px; }
.field--hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn[disabled] { opacity: .6; cursor: progress; }

/* Page hero (subpages) */
.page-hero { padding: 56px 0 64px; }
.page-hero .display { max-width: 820px; }
.page-hero .lead { max-width: 640px; }
.page-hero .hero__grid { align-items: end; }
.page-hero__media { margin-top: 48px; }
.page-hero__media img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--radius-large-cards); }
.page-hero--center { text-align: center; padding: 120px 0; }
.page-hero--center .display, .page-hero--center .lead { margin-left: auto; margin-right: auto; }
.page-hero--center .hero__ctas { justify-content: center; }
.section--flush-top { padding-top: 0; }
.crumbs { font-size: 12px; text-transform: uppercase; color: var(--color-pewter); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Tiles */
.tiles { display: grid; gap: 40px 16px; }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
.tile { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.tile__media { aspect-ratio: 4 / 3; border-radius: var(--radius-cards); overflow: hidden; background: var(--color-warm-stone); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.tile:hover .tile__media img { transform: scale(1.03); }
.tile__title { font-size: 24px; font-weight: 350; letter-spacing: -0.02em; line-height: 1.2; margin: 8px 0 0; }
.tile__text { margin: 0; color: var(--color-pewter); font-size: 15px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
.cards--2 .card__media { aspect-ratio: 4 / 3; }
.cards--3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards--3 .card { background: rgba(252, 252, 247, .07); padding: 0 0 16px; overflow: hidden; gap: 12px; }
.cards--3 .card > * { margin-inline: 16px; }
.cards--3 .card__media { order: -1; margin: 0 0 4px; width: 100%; aspect-ratio: 4 / 3; border-radius: 0; }
.card__tags { display: flex; gap: 8px; align-items: center; }
.section__foot { margin: 48px 0 0; text-align: center; }

/* Comparison table */
.compare-wrap { overflow-x: auto; }
.section__head--tight { margin-bottom: 16px; gap: 12px; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; table-layout: fixed; }
.compare th, .compare td { text-align: left; padding: 16px 16px 16px 0; border-top: 1px solid var(--color-frosted-glass); vertical-align: middle; }
.compare thead th { border-top: 0; padding-bottom: 24px; vertical-align: bottom; }
.compare thead th:first-child { width: 18%; }
.compare thead a { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.compare thead img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-cards); }
.compare thead span { font-size: 24px; font-weight: 350; letter-spacing: -0.02em; }
.compare tbody th { font: 400 12px/1.4 var(--font-mono); letter-spacing: 0.015em; text-transform: uppercase; color: var(--color-pewter); }
.compare td { font-family: var(--font-mono); font-size: 14px; }
.compare tr:last-child td { font-family: var(--font-sans); font-size: 15px; }
.bar { display: block; height: 6px; width: var(--p); max-width: 100%; background: var(--color-forest-depths); border-radius: var(--radius-full); margin-bottom: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Service list */
.service-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--color-frosted-glass); }
.service-list a { display: grid; grid-template-columns: 48px 1fr 1fr 24px; align-items: baseline; gap: 24px; padding: 28px 0; border-top: 1px solid var(--color-frosted-glass); text-decoration: none; transition: padding .3s; }
.service-list a:hover { padding-left: 12px; }
.service-list .mono { font-size: 12px; color: var(--color-pewter); }
.service-list__name { font-size: clamp(24px, 3vw, 36px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; }
.service-list__desc { color: var(--color-pewter); }

/* FAQ */
.faq details { border-top: 1px solid var(--color-frosted-glass); }
.faq details:last-child { border-bottom: 1px solid var(--color-frosted-glass); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 20px; font-weight: 350; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq details > :not(summary) { margin: 0 0 16px; max-width: 620px; }
.faq details > :last-child { margin-bottom: 24px; }
.faq ul { padding-left: 20px; }

/* Models */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.model { scroll-margin-top: 96px; background: var(--color-warm-stone); border-radius: var(--radius-cards); padding: 16px 16px 8px; }
.model__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 24px; }
.model__gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-inputs); }
.model__gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.model__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.model__head .subheading { margin-right: 4px; }
.model__use { margin: 8px 0 16px; }
.model__cta { display: none; }
.specs { margin: 0; font-size: 14px; }
.specs div { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--color-frosted-glass); }
.specs dt { color: var(--color-pewter); }
.specs dd { margin: 0; }
/* 5 dots: the first --v are filled, the rest muted */
.rating {
  --v: 0; display: inline-block; width: 66px; height: 10px; vertical-align: middle;
  background: linear-gradient(to right, var(--color-forest-depths) calc(var(--v) * 14px), var(--color-frosted-glass) 0);
  -webkit-mask: radial-gradient(circle at 5px 5px, #000 4px, transparent 4.5px) 0 0 / 14px 10px repeat-x;
          mask: radial-gradient(circle at 5px 5px, #000 4px, transparent 4.5px) 0 0 / 14px 10px repeat-x;
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { border-top: 1.5px solid rgba(252, 252, 247, .4); padding-top: 24px; }
.steps__n { font-size: 12px; opacity: .7; }
.steps__title { font-size: 24px; font-weight: 350; letter-spacing: -0.02em; line-height: 1.2; margin: 16px 0 12px; }
.steps p { font-size: 15px; opacity: .85; margin: 0; }

/* Definitions */
.defs { margin: 0; }
.defs div { padding: 24px 0; border-top: 1px solid var(--color-frosted-glass); display: grid; grid-template-columns: 180px 1fr; gap: 24px; }
.defs div:last-child { border-bottom: 1px solid var(--color-frosted-glass); }
.defs dt { font-size: 20px; font-weight: 350; letter-spacing: -0.01em; }
.defs dd { margin: 0; color: var(--color-pewter); }
.section--dark .defs dd { color: inherit; opacity: .8; }

.guarantee { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--color-warm-stone); border-bottom: 1px solid var(--color-warm-stone); }
.guarantee__item { padding: 40px 24px; display: flex; flex-direction: column; gap: 8px; }
.guarantee__item + .guarantee__item { border-left: 1px solid var(--color-warm-stone); }
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.formats div { background: var(--color-warm-stone); border-radius: var(--radius-cards); padding: 32px 24px; display: flex; flex-direction: column; gap: 8px; }

/* Lists */
.checks { list-style: none; margin: 16px 0 32px; padding: 0; }
.checks li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--color-frosted-glass); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 6px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.checks--light li { border-color: rgba(252, 252, 247, .25); }
.mini-title { font-size: 12px; font-weight: 400; text-transform: uppercase; color: var(--color-pewter); margin: 32px 0 12px; }
.section--dark .mini-title { color: inherit; opacity: .7; }
.process { margin: 0; padding-left: 24px; font-size: 14px; }
.process li { padding: 6px 0; }
.index-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; counter-reset: idx; }
.index-list li { counter-increment: idx; display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--color-frosted-glass); font-size: 15px; line-height: 1.35; }
.index-list li::before { content: counter(idx, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; opacity: .6; flex: none; }
.section--dark .index-list li { border-color: rgba(252, 252, 247, .25); }
.tags { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1.5px solid currentColor; border-radius: var(--radius-full); padding: 6px 12px; font-size: 14px; }
.swatches + .btn, .swatches + .link-arrow { margin-top: 24px; display: inline-flex; }
.swatches { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.swatches li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.swatches span { width: 20px; height: 20px; border-radius: 50%; }

.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.benefits--3 { grid-template-columns: repeat(3, 1fr); }
.benefits li { background: var(--color-snow-white); border-radius: var(--radius-cards); padding: 24px; }
.benefits .mono { font-size: 12px; color: var(--color-pewter); }
.benefits h3 { font-size: 20px; font-weight: 350; letter-spacing: -0.01em; margin: 24px 0 8px; }
.benefits p { margin: 0; font-size: 15px; color: var(--color-pewter); }

/* Rows (image + text) */
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 2fr 3fr; gap: 48px; align-items: center; padding: 32px 0; border-top: 1px solid var(--color-warm-stone); }
.row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-cards); }
.row__code { font-size: 12px; color: var(--color-pewter); }
.row .subheading { margin: 8px 0 16px; }
.row p { color: var(--color-pewter); margin: 0; max-width: 620px; }

/* Components (pádel) */
.tabs__list { display: inline-flex; gap: 4px; padding: 4px; border: 1.5px solid rgba(252, 252, 247, .4); border-radius: var(--radius-full); margin-bottom: 32px; }
.tabs__list button { background: transparent; color: inherit; border: 0; border-radius: var(--radius-full); padding: 10px 20px; font: 400 14px/1 var(--font-sans); cursor: pointer; }
.tabs__list button[aria-selected="true"] { background: var(--color-snow-white); color: var(--color-forest-depths); }
.components { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
[hidden] { display: none !important; }
.components li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid rgba(252, 252, 247, .2); }
.components .mono { font-size: 12px; opacity: .6; padding-top: 4px; }
.components h3 { font-size: 18px; font-weight: 400; margin: 0 0 4px; }
.components p { margin: 0; font-size: 14px; opacity: .8; }

/* Gallery */
/* Home project carousel */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scroll-behavior: smooth; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid var(--color-logo-green); outline-offset: 4px; border-radius: var(--radius-cards); }
.carousel__slide { flex: 0 0 min(720px, 72%); margin: 0; scroll-snap-align: start; }
.carousel__slide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-cards); }
.carousel__nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.carousel__btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--color-forest-depths); background: transparent; color: var(--color-forest-depths); font-size: 18px; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.carousel__btn:hover:not(:disabled) { background: var(--color-warm-stone); }
.carousel__btn:disabled { opacity: .3; cursor: default; }
.carousel .dots { display: flex; justify-content: center; position: absolute; left: 0; right: 0; bottom: 12px; pointer-events: none; }
.carousel .dots__dot { pointer-events: auto; }
.gallery { display: grid; gap: 16px; }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery--3 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-cards); }
.gallery--2 { grid-template-columns: repeat(2, 1fr); }
.gallery--2 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-cards); }
.split__media--small { max-width: 400px; justify-self: center; width: 100%; }
.split__media--small img { aspect-ratio: 1; }
.dots { display: none; }
.dots__dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-grid; place-items: center; }
.dots__dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--color-frosted-glass); transition: background .2s, transform .2s; }
.dots__dot[aria-current="true"]::before { background: var(--color-forest-depths); transform: scale(1.25); }
.dots__dot:focus-visible { outline: 2px solid var(--color-logo-green); outline-offset: 2px; border-radius: 50%; }
.gallery--masonry { display: block; columns: 3; column-gap: 16px; }
.gallery--masonry img { width: 100%; margin-bottom: 16px; border-radius: var(--radius-cards); break-inside: avoid; }

/* Prose */
.prose { max-width: 680px; }
.prose p { font-size: 17px; line-height: 1.6; }
.prose--legal h2 { font-size: 24px; font-weight: 350; letter-spacing: -0.02em; margin: 48px 0 16px; }
.prose--legal p, .prose--legal li { font-size: 16px; color: #333; }
.table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.legal-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-top: 1px solid var(--color-frosted-glass); }
.legal-table th { font: 400 12px/1.4 var(--font-mono); text-transform: uppercase; color: var(--color-pewter); }

.quote { margin: 0 auto; max-width: 900px; text-align: center; }
.quote p { font-size: clamp(24px, 3vw, 32px); font-weight: 300; line-height: 1.3; letter-spacing: -0.02em; }
.quote footer { font-size: 12px; text-transform: uppercase; opacity: .7; margin-top: 24px; }

.places { list-style: none; margin: 0; padding: 0; }
.places li { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-top: 1px solid var(--color-frosted-glass); }
.places strong { font-weight: 400; font-size: 18px; }
.places span { color: var(--color-pewter); text-align: right; }

/* Visit card (map + directions) */
.visit { display: grid; grid-template-columns: 3fr 2fr; gap: 8px; background: var(--color-warm-stone); border-radius: var(--radius-large-cards); padding: 8px; }
.visit__map { position: relative; min-height: 420px; border-radius: 24px; overflow: hidden; background: var(--color-frosted-glass); }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.visit__map.is-loaded .visit__placeholder { display: none; }
.visit__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px; text-align: center; }
.visit__placeholder p { margin: 0; max-width: 320px; font-size: 15px; }
.visit__more { font-size: 14px; text-underline-offset: 4px; }
.visit__info { padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.visit__info .subheading { margin: 16px 0 4px; }
.visit__info .muted { margin: 0; }
.map__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.visit__cta { margin-top: 24px; }

/* Home */
.hero--image { position: relative; display: flex; align-items: flex-end; min-height: min(78vh, 760px); padding: 120px 0 72px; color: var(--color-snow-white); overflow: hidden; background: var(--color-forest-depths); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--image::after { content: ""; position: absolute; inset: 0; background: rgba(12, 26, 8, .68); }
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__config { display: none; }
.hero--image .lead { max-width: 600px; opacity: .9; }
.hero__title { font-size: clamp(40px, 6.5vw, 76px); line-height: 1.02; letter-spacing: -0.03em; max-width: 960px; margin: 0 0 24px; }
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.use { display: flex; flex-direction: column; gap: 0; min-width: 0; background: var(--color-warm-stone); border-radius: var(--radius-cards); overflow: hidden; }
.use__media { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.use__media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.use__media:hover img { transform: scale(1.03); }
.use__copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; max-width: none; padding: 20px; }
.use__copy .heading-lg { margin: 0 0 12px; font-size: 24px; font-weight: 400; line-height: 1.2; }
.use__copy p { flex: 1; margin: 0 0 20px; font-size: 15px; font-weight: 300; }
.use__copy .link-arrow { margin-top: auto; padding: 11px 18px; border: 1.5px solid var(--color-forest-depths); border-radius: var(--radius-full); text-decoration: none; font-size: 14px; }
.use__copy .link-arrow:hover { background: var(--color-forest-depths); color: var(--color-snow-white); }
.statement { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.statement__text { font-size: clamp(24px, 3vw, 36px); font-weight: 300; line-height: 1.25; letter-spacing: -0.02em; max-width: 860px; margin: 0; }
.map__quick { display: flex; gap: 24px; margin-top: auto; padding-top: 32px; }

/* Cookie consent */
.consent {
  position: fixed; z-index: 100; left: 24px; bottom: 24px; width: min(440px, calc(100% - 48px));
  background: var(--color-snow-white); border: 1px solid var(--color-frosted-glass); border-radius: var(--radius-cards); padding: 24px;
}
.consent__title { font-size: 20px; font-weight: 350; margin: 0 0 8px; }
.consent__text { font-size: 14px; color: var(--color-pewter); margin: 0 0 16px; }
.consent__text a { color: var(--color-forest-depths); }
.consent__prefs { margin-bottom: 16px; }
.consent__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--color-warm-stone); font-size: 14px; cursor: pointer; }
.consent__row small { display: block; color: var(--color-pewter); font-size: 13px; }
.consent__row input { width: 20px; height: 20px; accent-color: var(--color-forest-depths); flex: none; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent__actions .btn { flex: 1 1 auto; }
.footer__cookie-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; opacity: .7; cursor: pointer; }
.footer__cookie-btn:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Instagram band */
.ig-band { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.ig-band__icon { width: 48px; height: 48px; }
.ig-band .subheading { margin: 0 0 4px; }
.ig-band p { margin: 0; }

/* CTA band */
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta .heading-lg { margin-top: 0; }
.cta__text { max-width: 520px; opacity: .85; margin: 0; }
.cta__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--color-forest-depths); color: var(--color-snow-white); border-top: 1px solid rgba(252, 252, 247, .15); padding: 48px 0 32px; }
.footer__grid { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px 48px; }
.footer__copy, .footer__legal { align-self: end; }
.footer__legal { justify-self: end; }
.logo--footer { width: 136px; }
.footer__address { font-style: normal; font-size: 15px; line-height: 1.6; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.footer__address a { text-decoration: none; }
.footer__street > span + span::before { content: ", "; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.footer__links a + a::before { content: "·"; margin: 0 10px; opacity: .5; }
.footer__links { align-items: center; }
.footer__links .footer__ig::before { content: none; }
.footer__ig { display: inline-flex; margin-left: 16px; transition: opacity .2s; }
.footer__ig:hover { opacity: .7; }
.cta__text a { color: inherit; text-underline-offset: 4px; white-space: nowrap; }
.footer__address a:hover, .footer__legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__copy { font-size: 12px; opacity: .7; margin: 0; }
.footer__legal { display: flex; gap: 24px; font-size: 12px; }
.footer__legal a { text-decoration: none; opacity: .7; }

:focus-visible { outline: 2px solid var(--color-eucalyptus); outline-offset: 3px; }
.select__list:focus-visible { outline: none; }

/* Responsive */
@media (max-width: 1280px) {
  /* Barras en píxeles enteros (el borde va como sombra para no desplazar medio píxel) y así se ven iguales */
  .nav__toggle {
    display: block; position: relative; flex: none;
    margin-left: 8px; width: 44px; height: 44px; padding: 0;
    background: transparent; border: 0; box-shadow: inset 0 0 0 1.5px var(--color-forest-depths); border-radius: var(--radius-full); cursor: pointer;
  }
  .nav__toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 1px; background: var(--color-forest-depths); transition: transform .2s; }
  .nav__toggle span:first-child { top: 17px; }
  .nav__toggle span:last-child { top: 25px; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__actions { display: none; }
  .nav__links {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - 72px); overflow-y: auto;
    background: var(--color-snow-white);
    padding: 8px 24px 24px;
    border-bottom: 1px solid var(--color-warm-stone);
  }
  .nav__links.is-open { display: flex; }
  .nav__links > .nav__mobile-only { display: flex; }
  .nav__links > a, .nav__group-btn { display: flex; width: 100%; padding: 16px 0; font-size: 24px; font-weight: 300; border-top: 1px solid var(--color-warm-stone); }
  .nav__group-btn { justify-content: space-between; }
  .nav__group:hover .nav__menu { display: none; }
  .nav__group .nav__group-btn[aria-expanded="true"] + .nav__menu { display: flex; }
  .nav__menu { position: static; min-width: 0; border: 0; padding: 0 0 16px 4px; gap: 4px; }
  .nav__menu::before { display: none; }
  .nav__menu a { font-size: 18px; padding: 8px 12px; }
  .lang { margin-left: auto; }
}

@media (max-width: 1100px) {
  .tiles--4, .cards:not(.cards--3) { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 900px) {

  .hero { padding: 24px 0 64px; }
  .hero__grid, .split, .row { grid-template-columns: 1fr; gap: 40px; }
  .split { gap: 24px; }
  .row { gap: 24px; }
  .hero__media img { aspect-ratio: 4 / 3; }
  .split--reverse .split__copy { order: 0; }
  .split__copy { max-width: none; }
  .section { padding: 64px 0; }
  .section--flush-top { padding-top: 0; }
  .page-hero { padding: 32px 0 48px; }
  .page-hero__media img { aspect-ratio: 16 / 9; }
  .section__head { flex-direction: column; align-items: start; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--color-warm-stone); }
  .tiles--3 { grid-template-columns: 1fr 1fr; }
  /* Photo gallery as a swipeable row instead of a tall stack */
  .gallery--3, .gallery--masonry { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scrollbar-width: none; }
  .gallery--3::-webkit-scrollbar, .gallery--masonry::-webkit-scrollbar { display: none; }
  .gallery--3 img, .gallery--masonry img { flex: 0 0 min(420px, 82vw); scroll-snap-align: start; }
  .gallery--masonry img { margin: 0; aspect-ratio: 4 / 3; object-fit: cover; }
  .dots { display: flex; justify-content: center; gap: 4px; margin-top: 12px; }
  /* Tile row as a swipeable carousel, bleeding to the screen edges */
  .tiles--carousel { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; }
  .tiles--carousel::-webkit-scrollbar { display: none; }
  .tiles--carousel > .tile { flex: 0 0 min(320px, 78vw); scroll-snap-align: start; }
  .uses { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scrollbar-width: none; }
  .uses::-webkit-scrollbar { display: none; }
  .use { flex: 0 0 min(320px, 78vw); scroll-snap-align: start; }
  .components { grid-template-columns: 1fr; }
  .service-list a { grid-template-columns: 32px 1fr 24px; }
  .service-list__desc { display: none; }
  .defs div { grid-template-columns: 1fr; gap: 8px; }
  .visit { grid-template-columns: 1fr; }
  .hero--image { min-height: 0; padding: 72px 0 48px; }
  .lang { margin-left: auto; }
  .hero__models { display: none; }
  .hero__config { display: inline-flex; }
  .lang__name { display: none; }
  .lang__code { display: inline; }
  .lang__btn { padding: 8px 10px; height: 44px; }
  .visit__map { min-height: 300px; }
  .visit__info { padding: 16px 16px 20px; }
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .ig-band { grid-template-columns: auto 1fr; }
  .ig-band .btn { grid-column: 1 / -1; justify-self: start; }

  /* Model cards in a horizontal, swipeable row; next card peeks in */
  .models, .cards.cards--3 {
    display: flex;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scrollbar-width: none;
  }
  .models::-webkit-scrollbar, .cards--3::-webkit-scrollbar { display: none; }
  .model, .cards--3 .card { flex: 0 0 min(320px, 78vw); }
  .cards--3 { margin-inline: 0; padding-inline: 0; }
  .model, .cards--3 .card { scroll-snap-align: start; }
  .model { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
  .model__gallery { display: block; margin: 0; }
  .model__gallery img:not(:first-child) { display: none; }
  .model__gallery img:first-child { aspect-ratio: 4 / 3; border-radius: 0; }
  .model__head { padding: 16px 16px 0; }
  .model__use { padding: 0 16px; margin: 6px 0 16px; font-size: 14px; }
  .model .specs { display: none; }
  .model__cta { display: inline-flex; align-self: flex-start; margin: auto 16px 16px; }
  .cards--3 .card__media { aspect-ratio: 4 / 3; }
  /* Mobile vertical rhythm: tighter gaps between blocks, headings close to their text */
  .heading-lg { margin: 12px 0 16px; }
  .split > * > :last-child { margin-bottom: 0; }
  .split > * > :first-child, .split .prose > :first-child { margin-top: 0; }
  .split .heading-lg { margin-bottom: 12px; }
  .split .heading-lg:last-child { margin-bottom: 0; }
  .section__head { margin-bottom: 24px; gap: 12px; }
  .section__foot { margin-top: 24px; }
  .page-hero__media { margin-top: 32px; }
  .benefits li { padding: 20px; }
  .benefits h3 { margin: 12px 0 6px; }
  /* Title/description hierarchy (Pavimentos) */
  .tiles--compact .tile { gap: 6px; }
  .tiles--compact .tile__media { margin-bottom: 8px; }
  .tiles--compact .tile__title { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
  .tiles--compact .tile__text { font-weight: 400; }
  .defs--compact div { gap: 4px; padding: 20px 0; }
  .defs--compact dt { font-size: 18px; font-weight: 500; }
  .defs--compact dd { font-weight: 400; }
}

@media (max-width: 600px) {
  .carousel__slide { flex-basis: 86%; }
  .carousel__slide img { aspect-ratio: 4 / 3; }
  .section { padding: 48px 0; }
  .section--tight { padding: 40px 0; }
  .section--flush-top { padding-top: 0; }
  .page-hero { padding: 24px 0 40px; }
  .page-hero:has(.page-hero__media, .hero__media) { padding-bottom: 0; }
  /* A coloured block right after the hero has its own background, so the photo needs breathing room */
  .page-hero:has(.page-hero__media, .hero__media):has(+ .section--dark, + .section--stone) { padding-bottom: 40px; }
  .steps { row-gap: 24px; }
  .steps li { padding-top: 16px; }
  .steps__title { margin: 8px 0 6px; }
  .section--stone + .section--stone, .section--dark + .section--dark { padding-top: 0; }
  .cards, .cards--2, .tiles--3, .tiles--4, .steps, .benefits, .benefits--3 { grid-template-columns: 1fr; }
  .uses { gap: 12px; }
  .guarantee { grid-template-columns: 1fr; }
  .guarantee__item + .guarantee__item { border-left: 0; border-top: 1px solid var(--color-warm-stone); }
  .formats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .formats div { padding: 20px 12px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; justify-items: start; gap: 24px; }
  .footer__legal { justify-self: start; order: 3; flex-wrap: wrap; gap: 8px 20px; }
  .footer__copy { order: 4; }
  .footer__address { align-items: flex-start; text-align: left; font-size: 15px; gap: 16px; }
  .footer__street, .footer__links { display: flex; flex-direction: column; gap: 2px; }
  .footer__street > span + span::before, .footer__links a + a::before { content: none; }
  .footer__links { justify-content: flex-start; align-items: flex-start; gap: 6px; }
  .footer__ig { margin: 6px 0 0; }
  .fact__value { font-size: 32px; }
}

@media (max-width: 360px) {
  .index-list { grid-template-columns: 1fr; }
  .hero__ctas .btn { white-space: normal; line-height: 1.25; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Live 3D configurator preview (padel page) */
.section__head .pill { margin-bottom: 16px; }
.configurator { background: var(--color-snow-white); border-radius: var(--radius-large-cards); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(28, 58, 19, .35); }
.configurator__bar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--color-warm-stone); font-size: 13px; }
.configurator__dots { display: flex; gap: 6px; }
.configurator__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--color-frosted-glass); }
.configurator__url { flex: 1; min-width: 0; padding: 6px 14px; border-radius: var(--radius-full); background: var(--color-warm-stone); color: var(--color-pewter); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.configurator__open { color: var(--color-forest-depths); white-space: nowrap; text-decoration: none; }
.configurator__open:hover { text-decoration: underline; }
.configurator__stage { position: relative; aspect-ratio: 16 / 9; max-height: 78vh; width: 100%; background: var(--color-warm-stone) url('/assets/img/configurador-pista.jpg') center / cover no-repeat; }
.configurator__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.configurator__shield { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 32px; background: linear-gradient(to top, rgba(28, 58, 19, .35), transparent 45%); text-decoration: none; cursor: pointer; transition: background-color .2s; }
.configurator__shield:hover { background-color: rgba(28, 58, 19, .08); }
.configurator.is-active .configurator__shield { display: none; }
.configurator__foot { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 32px; }
.configurator__checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
.configurator__checks li { position: relative; padding-left: 24px; }
.configurator__checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 6px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .configurator { border-radius: var(--radius-cards); }
  .configurator__bar { padding: 10px 14px; gap: 10px; }
  .configurator__dots { display: none; }
  .configurator__open { font-size: 0; }
  .configurator__open span { font-size: 16px; }
  .configurator__stage { aspect-ratio: 4 / 5; max-height: 70vh; }
  .configurator__foot { flex-direction: column; align-items: flex-start; gap: 24px; }
  .configurator__checks { flex-direction: column; }
}
.section--configurator .section__head { margin-bottom: 32px; }
.section--configurator .configurator { border: 1px solid var(--color-warm-stone); }

/* Tiles inside a carousel (padel court types) */
.carousel--tiles .carousel__slide { flex: 0 0 calc((100% - 32px) / 3); }
.carousel--tiles .dots { position: static; justify-content: flex-start; align-items: center; min-height: 48px; margin-top: 24px; }
.carousel--tiles .carousel__nav { position: absolute; right: 0; bottom: 0; margin: 0; }
@media (max-width: 1100px) { .carousel--tiles .carousel__slide { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 900px) { .carousel--tiles .carousel__slide { flex-basis: min(320px, 80%); } }

/* Floating WhatsApp button */
.wa { position: fixed; z-index: 90; right: 24px; bottom: 24px; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35); transition: transform .2s; }
.wa:hover { transform: scale(1.06); }
.wa:focus-visible { outline: 2px solid var(--color-forest-depths); outline-offset: 3px; }
@media (max-width: 900px) {
  .wa { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  body:has(.consent:not([hidden])) .wa { display: none; }
}

/* Assembly animation video with step captions (padel page) */
.montaje { position: relative; margin: 0; }
.montaje video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-large-cards); background: var(--color-warm-stone); }
.montaje__step { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: var(--radius-full); background: rgba(28, 58, 19, .88); color: var(--color-snow-white); font-size: 15px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.montaje__step.is-on { opacity: 1; transform: none; }
.montaje__n { color: var(--color-lime-pulse); font-size: 13px; }
.montaje__n:empty { display: none; }
@media (max-width: 900px) {
  .montaje video { border-radius: var(--radius-cards); }
  .montaje__step { left: 12px; bottom: 12px; padding: 8px 14px; font-size: 13px; }
}

/* Catalog download dialog */
.catalog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 40px; border: 0; border-radius: var(--radius-large-cards); background: var(--color-forest-depths); color: var(--color-snow-white); }
.catalog::backdrop { background: rgba(10, 20, 8, .55); backdrop-filter: blur(2px); }
.catalog__title { margin: 0 40px 12px 0; }
.catalog__text { margin: 0 0 28px; opacity: .85; }
.catalog__close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(252, 252, 247, .4); background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.catalog__close:hover { background: rgba(252, 252, 247, .12); }
.catalog .check a { color: inherit; }
.catalog__done { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.catalog__ready { margin: 0; font-size: 20px; color: var(--color-lime-pulse); }
@media (max-width: 900px) { .catalog { padding: 28px 20px; } .catalog__close { top: 14px; right: 14px; } }
.page-hero--maker .crumbs { margin-bottom: 32px; }
.page-hero--maker .display { font-size: clamp(36px, 4.4vw, 60px); }
.home-padel .pill { margin-bottom: 16px; }

/* Pickleball: court diagram (hero) and project figures */
.pickle-hero { align-items: center; }
.pickle-hero .crumbs { margin-bottom: 24px; }
.pickle-hero .display { font-size: clamp(36px, 4.4vw, 60px); }
.court-diagram { margin: 0; padding: 24px 24px 20px; background: var(--color-warm-stone); border-radius: var(--radius-large-cards); }
.court-svg { display: block; width: 100%; height: auto; }
.court-svg__runoff { fill: #dcded5; }
.court-svg__court { fill: var(--color-eucalyptus); }
.court-svg__kitchen { fill: var(--color-forest-depths); }
.court-svg__lines { stroke: var(--color-snow-white); stroke-width: 3; }
.court-svg__net { stroke: var(--color-lime-pulse); stroke-width: 5; stroke-linecap: round; }
.court-svg__post { fill: var(--color-forest-depths); }
.court-svg__label, .court-svg__dimtext { font: 500 14px var(--font-mono); fill: var(--color-forest-depths); text-anchor: middle; }
.court-svg__tag { font: 400 13px var(--font-sans); text-anchor: middle; }
.court-svg__tag--light { fill: var(--color-snow-white); opacity: .9; }
.court-svg__dim { stroke: var(--color-forest-depths); stroke-width: 1.2; }
.court-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 12px; color: var(--color-pewter); text-transform: uppercase; }
.court-legend span { display: inline-flex; align-items: center; gap: 8px; }
.court-legend i { width: 14px; height: 14px; border-radius: 4px; }
.court-legend__k { background: var(--color-forest-depths); }
.court-legend__s { background: var(--color-eucalyptus); }
.court-legend__n { background: var(--color-lime-pulse); }
.court-diagram__caption { margin-top: 12px; font-size: 12px; color: var(--color-pewter); }
.project-facts { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--color-frosted-glass); border-bottom: 1px solid var(--color-frosted-glass); align-self: center; }
.project-facts > div { padding: 32px 20px; display: flex; flex-direction: column; gap: 8px; }
.project-facts > div + div { border-left: 1px solid var(--color-frosted-glass); }
.project-facts dd { margin: 0; color: var(--color-pewter); text-transform: uppercase; }
#almanzor .pill { margin-bottom: 16px; }
@media (max-width: 900px) {
  .court-diagram { padding: 16px 12px 14px; border-radius: var(--radius-cards); }
  .project-facts { grid-template-columns: 1fr; }
  .project-facts > div { padding: 20px 0; }
  .project-facts > div + div { border-left: 0; border-top: 1px solid var(--color-frosted-glass); }
}

/* Menú de escritorio con 5 entradas: más compacto para que quepa en todos los idiomas */
@media (min-width: 1281px) {
  .nav__inner { gap: 16px; }
  .nav__links { gap: 16px; }
  .nav__links a, .nav__group-btn { font-size: 15px; }
  .nav__actions .btn { padding: 12px 16px; }
}
@media (min-width: 1281px) and (max-width: 1380px) {
  .nav__inner, .nav__links { gap: 12px; }
}
.project-photo img { aspect-ratio: 16 / 9; }
#almanzor .project-facts { margin-top: 48px; }
@media (min-width: 901px) { #almanzor .project-facts > div { padding: 32px 24px; } }
