/* ==========================================================================
   VETALOV Carpinteros — hoja de estilos principal
   Paleta y tipografía derivadas del manual de marca.
   ========================================================================== */

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

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

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Tokens ----------------------------------------------------------------- */
:root {
  --ink: #1e1e1e;
  --ink-soft: #34322d;
  --olive: #565131;
  --olive-dark: #423e25;
  --cream: #f4f0e8;
  --paper: #fbfaf7;
  --sand: #e7e0d1;
  --muted: #6f6a5e;
  --line: rgba(30, 30, 30, 0.14);
  --line-light: rgba(244, 240, 232, 0.16);

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino,
    "Book Antiqua", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 2px;
  --header-h: 86px;

  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
}

/* Base ------------------------------------------------------------------- */
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--olive);
  color: var(--cream);
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Tipografía ------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.9rem, 7.4vw, 6.2rem);
}

h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  line-height: 1.2;
}

h4 {
  font-size: 1.1rem;
  line-height: 1.3;
}

p {
  text-wrap: pretty;
}

em {
  font-style: italic;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
  color: var(--olive);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.eyebrow--light {
  color: #b9b295;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: var(--muted);
}

.section {
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

.section--cream {
  background: var(--cream);
}

.section--tight {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  align-items: end;
  gap: 2rem 3rem;
  margin-bottom: clamp(2.4rem, 4.5vw, 4rem);
}

.section-head > .text-link {
  justify-self: end;
}

.section-head .eyebrow {
  margin-bottom: 1.1rem;
}

.section-head__title {
  max-width: 24ch;
}

.section-head__aside {
  max-width: 34ch;
  color: var(--muted);
  padding-bottom: 0.4rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.25rem;
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}

.text-link:hover {
  color: var(--olive);
  gap: 0.85rem;
}

.text-link--light {
  color: var(--cream);
}

.text-link--light:hover {
  color: #d9d2ba;
}

/* Botones ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.05rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn span[aria-hidden] {
  transition: transform 0.25s var(--ease);
}

.btn:hover span[aria-hidden] {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--cream);
}

.btn--primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: var(--olive);
  border-color: var(--olive);
}

.btn--ghost {
  border-color: rgba(30, 30, 30, 0.28);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn--light {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.btn--light:hover {
  background: transparent;
  color: var(--cream);
}

.btn--outline-light {
  border-color: rgba(244, 240, 232, 0.45);
  color: var(--cream);
}

.btn--outline-light:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Cabecera --------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  background: transparent;
  transition: background-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: transparent;
  transition: background-color 0.35s var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: 1.15rem;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 247, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled::after {
  background: var(--line);
}

.brand {
  display: grid;
  flex: none;
  width: clamp(165px, 15vw, 196px);
  margin-right: auto;
}

.brand__logo {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  transition: opacity 0.3s var(--ease);
}

.brand__logo--white {
  opacity: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.4vw, 2.4rem);
}

.nav__link {
  position: relative;
  padding-block: 0.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__link[aria-current="page"] {
  color: var(--ink);
}

.site-header__cta {
  min-height: 2.75rem;
  padding: 0.7rem 1.15rem;
  font-size: 0.68rem;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
}

.nav-toggle__bars,
.nav-toggle__bars::before {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle__bars {
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-toggle__bars::before {
  content: "";
  top: -6px;
  left: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(6px) rotate(-90deg);
}

/* Cabecera sobre imagen (solo portada) */
.site-header--transparent .brand__logo--color {
  opacity: 0;
}

.site-header--transparent .brand__logo--white {
  opacity: 1;
}

.site-header--transparent .nav__link {
  color: rgba(255, 255, 255, 0.82);
}

.site-header--transparent .nav__link:hover,
.site-header--transparent .nav__link[aria-current="page"] {
  color: #fff;
}

.site-header--transparent .site-header__cta {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.site-header--transparent .site-header__cta:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.site-header--transparent .nav-toggle {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* Menú móvil ------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 89;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  background: var(--ink);
  color: var(--cream);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav {
  display: grid;
  gap: 0.2rem;
}

.mobile-menu nav a {
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 2.9rem);
  line-height: 1.25;
  color: var(--cream);
}

.mobile-menu nav a[aria-current="page"] {
  color: #b9b295;
}

.mobile-menu__foot {
  display: grid;
  gap: 0.55rem;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.9rem;
  color: rgba(244, 240, 232, 0.7);
}

.mobile-menu__foot .btn {
  margin-top: 0.8rem;
  justify-self: start;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .site-header {
  background: transparent;
}

body.menu-open .site-header::after {
  background: transparent;
}

body.menu-open .brand__logo--color {
  opacity: 0;
}

body.menu-open .brand__logo--white {
  opacity: 1;
}

body.menu-open .nav-toggle {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* Portada ---------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(1.6rem, 4vh, 2.6rem);
  overflow: hidden;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ink);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      to bottom,
      rgba(12, 12, 10, 0.66) 0%,
      rgba(12, 12, 10, 0.18) 34%,
      rgba(12, 12, 10, 0.86) 100%
    ),
    linear-gradient(to right, rgba(12, 12, 10, 0.55), transparent 62%);
}

.hero__inner {
  width: 100%;
}

.hero .eyebrow {
  color: #d7d0b8;
}

.hero h1 {
  max-width: 15ch;
  font-size: clamp(2.9rem, 8.4vw, 7rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.hero h1 em {
  color: #ddd6c0;
}

.hero__lead {
  max-width: 46ch;
  margin-top: 1.6rem;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.hero .btn-row {
  margin-top: 2.2rem;
}

.hero__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(2.6rem, 7vh, 4.5rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero__tags span {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
}

.hero__tags span:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.5);
  animation: scroll-cue 2.4s var(--ease) infinite;
  transform-origin: top;
}

@keyframes scroll-cue {
  0% {
    transform: scaleY(0.2);
    opacity: 0.2;
  }
  45% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(1) translateY(12px);
    opacity: 0;
  }
}

/* Cinta de servicios ----------------------------------------------------- */
.marquee {
  overflow: hidden;
  background: var(--olive);
  color: #ece6d3;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee__group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 2.6rem;
  padding: 0.85rem 1.3rem;
}

.marquee__group span {
  display: inline-flex;
  align-items: center;
  gap: 2.6rem;
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.marquee__group span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Presentación ----------------------------------------------------------- */
.intro {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.intro__body p + p {
  margin-top: 1.1rem;
}

.intro__body .lead {
  color: var(--ink-soft);
}

.intro__link {
  margin-top: 2rem;
}

.intro__media {
  position: relative;
  padding: 0 0 1.8rem 1.8rem;
}

.intro__media::before {
  content: "";
  position: absolute;
  inset: 1.8rem 0 0 0;
  border: 1px solid rgba(86, 81, 49, 0.35);
  pointer-events: none;
}

.intro__media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.92);
}

.intro__caption {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.intro__caption::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--olive);
}

/* Servicios (tarjetas) --------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
}

.card {
  display: flex;
  flex-direction: column;
  color: inherit;
}

.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.94);
}

.card:hover .card__media img {
  transform: scale(1.055);
  filter: saturate(1);
}

.card__index {
  position: absolute;
  top: 0.85rem;
  left: 0.9rem;
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(20, 20, 18, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 0.18rem 0.5rem;
  line-height: 1.6;
}

.card__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  margin-top: 1.1rem;
}

.card__title {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.card__text {
  max-width: 36ch;
  margin-top: 0.45rem;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--muted);
}

.card__arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.85rem;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.card:hover .card__arrow {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--cream);
  transform: rotate(-45deg);
}

/* Proyectos destacados --------------------------------------------------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(160px, 17vw, 230px);
  gap: clamp(0.6rem, 1.1vw, 1rem);
}

.featured-tile {
  position: relative;
  display: block;
  grid-column: span 1;
  grid-row: span 1;
  overflow: hidden;
  background: var(--sand);
}

.featured-tile--wide {
  grid-column: span 2;
  grid-row: span 2;
}

.featured-tile--tall {
  grid-column: span 1;
  grid-row: span 2;
}

.featured-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.featured-tile:hover img {
  transform: scale(1.045);
}

.featured-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 8, 0.78),
    rgba(10, 10, 8, 0.05) 55%
  );
  transition: opacity 0.4s var(--ease);
}

.featured-tile__caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 1.3rem 1.2rem;
  color: #fff;
}

.featured-tile__cat {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.featured-tile__title {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.25;
}

/* Proceso ---------------------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.process__media {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.process__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.process__media figcaption {
  margin-top: 0.9rem;
  font-size: 0.76rem;
  color: var(--muted);
}

.steps {
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1.2rem;
  padding-block: 1.7rem;
  border-bottom: 1px solid var(--line);
}

.step__num {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--olive);
  padding-top: 0.2rem;
}

.step h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.step p {
  max-width: 52ch;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Valores ---------------------------------------------------------------- */
.values {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}

.values__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.values__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(0.35);
}

.values::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to right,
    rgba(20, 20, 18, 0.96),
    rgba(20, 20, 18, 0.82) 55%,
    rgba(20, 20, 18, 0.55)
  );
}

.values::after {
  content: "";
  position: absolute;
  right: -6%;
  top: 50%;
  z-index: -1;
  width: min(42vw, 560px);
  aspect-ratio: 391 / 292;
  transform: translateY(-50%);
  background: url("../img/vetag-blanco.svg") no-repeat center / contain;
  opacity: 0.055;
  pointer-events: none;
}

.values .section-head__title {
  max-width: 20ch;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.8rem, 4vw, 3.5rem);
  padding-top: 2.2rem;
  border-top: 1px solid var(--line-light);
}

.value h3 {
  font-size: 1.5rem;
}

.value p {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(244, 240, 232, 0.68);
}

.value__mark {
  display: block;
  width: 26px;
  height: 1px;
  margin-bottom: 1.1rem;
  background: #b9b295;
}

/* Banda CTA -------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--olive);
  color: var(--cream);
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding-block: clamp(3rem, 7vw, 5.2rem);
}

.cta__text h2 {
  max-width: 18ch;
  color: var(--cream);
}

.cta__text p {
  max-width: 42ch;
  margin-top: 1rem;
  color: rgba(244, 240, 232, 0.78);
}

.cta .btn-row {
  flex: none;
}

.cta .btn--light {
  background: var(--cream);
  color: var(--ink);
}

.cta .btn--light:hover {
  background: transparent;
  color: var(--cream);
}

/* Pie -------------------------------------------------------------------- */
.site-footer {
  background: #171715;
  color: rgba(244, 240, 232, 0.72);
  padding-top: clamp(3.2rem, 6vw, 5rem);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.6rem, 5vw, 4rem);
}

.footer-brand__logo {
  width: 210px;
  height: auto;
  margin-bottom: 1.3rem;
}

.footer-brand p {
  max-width: 34ch;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(244, 240, 232, 0.6);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.8);
  border-bottom: 1px solid rgba(244, 240, 232, 0.25);
  padding-bottom: 0.2rem;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin-top: 1.3rem;
}

.footer-socials .footer-social {
  margin-top: 0;
}

.footer-social:hover {
  color: #fff;
}

.footer-col h4 {
  margin-bottom: 1.1rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.45);
}

.footer-col ul {
  display: grid;
  gap: 0.6rem;
}

.footer-col a {
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact li {
  display: grid;
  gap: 0.1rem;
}

.footer-contact > li > span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.38);
}

.footer-contact a {
  font-size: 1rem;
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(244, 240, 232, 0.12);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: rgba(244, 240, 232, 0.42);
}

.footer-bottom a:hover {
  color: var(--cream);
}

/* Cabecera de páginas interiores ----------------------------------------- */
.page-hero {
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(2.8rem, 6vw, 4.6rem);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--olive);
}

.breadcrumb span[aria-current] {
  color: var(--olive);
}

.page-hero h1 {
  max-width: 17ch;
  font-size: clamp(2.7rem, 6.6vw, 5.4rem);
}

.page-hero__lead {
  max-width: 56ch;
  margin-top: 1.4rem;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--muted);
}

/* Servicios (detalle) ---------------------------------------------------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.2rem, 5.5vw, 5rem);
  align-items: center;
  padding-block: clamp(2.8rem, 6vw, 4.8rem);
  border-top: 1px solid var(--line);
}

.service-detail:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.service-detail__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}

.service-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
}

.service-detail:nth-child(even) .service-detail__media {
  order: 2;
}

.service-detail__body h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.service-detail__body p {
  max-width: 54ch;
  color: var(--muted);
}

.checks {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.checks li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.checks li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--olive);
  transform: rotate(45deg);
}

/* Chips ------------------------------------------------------------------ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.35);
}

/* FAQ -------------------------------------------------------------------- */
.faq {
  max-width: 62rem;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.3rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.4;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--sans);
  font-size: 1.2rem;
  color: var(--olive);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .faq__answer {
  max-width: 58ch;
  padding-bottom: 1.4rem;
  color: var(--muted);
  font-size: 0.96rem;
}

/* Galería ---------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}

.filter {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.filter:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.gallery-count {
  margin-bottom: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery {
  columns: 3;
  column-gap: clamp(0.7rem, 1.3vw, 1.1rem);
}

.tile {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 clamp(0.7rem, 1.3vw, 1.1rem);
  padding: 0;
  border: 0;
  background: var(--sand);
  overflow: hidden;
  break-inside: avoid;
  cursor: zoom-in;
  text-align: left;
}

.tile[hidden] {
  display: none;
}

.tile img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.95);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 8, 0.72),
    rgba(10, 10, 8, 0) 46%
  );
  opacity: 0.9;
  transition: opacity 0.4s var(--ease);
}

.tile:hover img,
.tile:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.02);
}

.tile__caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 1.6rem 1.1rem 0.95rem;
  color: #fff;
}

.tile__cat {
  display: block;
  margin-bottom: 0.18rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.tile__title {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.3;
}

/* Lightbox --------------------------------------------------------------- */
.lightbox {
  width: min(94vw, 1180px);
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(12, 12, 10, 0.94);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
}

.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #111;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.lightbox__caption {
  font-size: 0.9rem;
  color: rgba(244, 240, 232, 0.78);
}

.lightbox__caption strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cream);
}

.lightbox__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
}

.lb-btn {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(244, 240, 232, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font-size: 1rem;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.lb-btn:hover {
  background: var(--cream);
  color: var(--ink);
}

.lightbox__close {
  position: absolute;
  top: -3.2rem;
  right: 0;
}

.lightbox__count {
  margin-right: 0.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: rgba(244, 240, 232, 0.55);
}

body.lightbox-open {
  overflow: hidden;
}

/* Contacto --------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.form {
  display: grid;
  gap: 1.15rem;
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(30, 30, 30, 0.22);
  border-radius: var(--radius);
  background: #fff;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea {
  min-height: 9.5rem;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236f6a5e' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(86, 81, 49, 0.14);
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: #a44632;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
}

.checkbox input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.18rem;
  accent-color: var(--olive);
  flex: none;
}

.checkbox a {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.form__note {
  max-width: 50ch;
  font-size: 0.8rem;
  color: var(--muted);
}

.form__note a {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__status {
  min-height: 1.5rem;
  font-size: 0.85rem;
  color: var(--olive);
}

.contact-aside {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--ink);
  color: var(--cream);
}

.contact-aside h2 {
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  color: var(--cream);
}

.contact-aside .eyebrow {
  color: #b9b295;
}

.contact-aside .eyebrow::before {
  background: #b9b295;
}

.contact-list {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
}

.contact-list > div > span {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.42);
}

.contact-list a,
.contact-list strong {
  display: inline-block;
  margin-top: 0.15rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--cream);
}

.contact-list a:hover {
  color: #d9d2ba;
}

.contact-aside .btn {
  width: 100%;
  margin-top: 1.6rem;
}

.contact-aside__map {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(244, 240, 232, 0.28);
  font-size: 0.77rem;
  letter-spacing: 0.04em;
  color: #b9b295;
}

.contact-aside__map:hover {
  color: var(--cream);
}

.contact-aside__note {
  margin-top: 1.2rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(244, 240, 232, 0.55);
}

/* Legal y 404 ------------------------------------------------------------ */
.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 2.6rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose p + p {
  margin-top: 0.9rem;
}

.prose ul {
  display: grid;
  gap: 0.4rem;
  margin: 0.8rem 0;
  padding-left: 1.2rem;
  list-style: disc;
}

.prose a {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice {
  margin-top: 2.4rem;
  padding: 1.2rem 1.3rem;
  border-left: 3px solid var(--olive);
  background: var(--cream);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.error-page {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 4rem;
  text-align: center;
  background: var(--cream);
}

.error-page__mark {
  width: 90px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.error-page h1 {
  font-size: clamp(3rem, 9vw, 6rem);
}

.error-page p {
  max-width: 44ch;
  margin: 1.2rem auto 2rem;
  color: var(--muted);
}

/* Próximamente ----------------------------------------------------------- */
.soon {
  background: var(--ink);
  color: var(--cream);
}

.soon__main {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
}

.soon__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ink);
}

.soon__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
}

.soon__main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      90deg,
      rgba(12, 12, 10, 0.94) 0%,
      rgba(12, 12, 10, 0.74) 44%,
      rgba(12, 12, 10, 0.34) 100%
    ),
    linear-gradient(0deg, rgba(12, 12, 10, 0.78), transparent 58%);
}

.soon__inner {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-block: clamp(1.6rem, 4vw, 2.6rem);
}

.soon__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.soon__brand {
  display: block;
  width: clamp(170px, 17vw, 220px);
}

.soon__brand img {
  width: 100%;
  height: auto;
}

.soon__tag {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.6);
}

.soon__content {
  max-width: 820px;
  margin-block: auto;
  padding-block: clamp(3rem, 8vw, 5rem);
}

.soon .eyebrow {
  color: #cfc7ae;
}

.soon h1 {
  font-size: clamp(2.9rem, 7.6vw, 6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.soon h1 em {
  color: #ddd6c0;
}

.soon__lead {
  max-width: 50ch;
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.65;
  color: rgba(244, 240, 232, 0.72);
}

.soon__contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 2.2rem;
}

.soon-contact {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(244, 240, 232, 0.24);
  background: rgba(20, 20, 18, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--cream);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.soon-contact:hover {
  background: rgba(244, 240, 232, 0.1);
  border-color: rgba(244, 240, 232, 0.55);
  transform: translateY(-2px);
}

.soon-contact__icon {
  width: 22px;
  height: 22px;
  flex: none;
}

.soon-contact small {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.55);
}

.soon-contact strong {
  display: block;
  margin-top: 0.1rem;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--cream);
  overflow-wrap: anywhere;
}

.soon__socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 2rem;
}

.soon-social {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgba(244, 240, 232, 0.32);
  border-radius: 50%;
  color: var(--cream);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.soon-social svg {
  width: 1.1rem;
  height: 1.1rem;
}

.soon-social:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.soon__address {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 46ch;
  margin-top: 1.7rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(244, 240, 232, 0.64);
  transition: color 0.25s var(--ease);
}

.soon__address svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 0.15rem;
}

.soon__address:hover {
  color: var(--cream);
}

.soon__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(244, 240, 232, 0.18);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.5);
}

@media (max-width: 860px) {
  .soon__main::after {
    background: linear-gradient(
        180deg,
        rgba(12, 12, 10, 0.8),
        rgba(12, 12, 10, 0.58) 40%,
        rgba(12, 12, 10, 0.94)
      ),
      linear-gradient(90deg, rgba(12, 12, 10, 0.55), transparent);
  }

  .soon__contacts {
    grid-template-columns: 1fr;
  }

  .soon__content {
    padding-block: 3.5rem;
  }
}

@media (max-width: 640px) {
  .soon__top {
    align-items: flex-start;
  }

  .soon__tag {
    display: none;
  }

  .soon__brand {
    width: 170px;
  }

  .soon h1 {
    font-size: clamp(2.7rem, 12vw, 3.8rem);
  }

  .soon__footer {
    flex-direction: column;
    gap: 0.4rem;
  }
}

/* Animaciones de entrada ------------------------------------------------ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header__cta {
    margin-left: auto;
  }

  .brand {
    margin-right: 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process {
    grid-template-columns: 1fr;
  }

  .process__media {
    position: static;
    max-width: 560px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 1fr;
  }

  .footer-col--contact {
    grid-column: 1 / -1;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .contact-aside {
    position: static;
  }

  .gallery {
    columns: 2;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 76px;
  }

  .site-header__cta {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .section-head > .text-link {
    justify-self: start;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .intro__media {
    max-width: 520px;
    padding: 0 1.4rem 1.4rem 0;
  }

  .intro__media::before {
    inset: 1.4rem 0 0 1.4rem;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(180px, 34vw, 240px);
  }

  .featured-tile--wide {
    grid-row: span 2;
  }

  .cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .service-detail:nth-child(even) .service-detail__media {
    order: 0;
  }

  .service-detail__media {
    aspect-ratio: 16 / 10;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .values::after {
    width: 70vw;
    opacity: 0.04;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 94svh;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero__meta {
    align-items: flex-start;
  }

  .hero__scroll {
    display: none;
  }

  .hero__tags {
    gap: 0.4rem 1rem;
  }

  .hero__tags span {
    gap: 1rem;
  }

  .hero__tags span:nth-child(3) {
    display: none;
  }

  .hero__tags span:nth-child(2)::after {
    display: none;
  }

  .brand {
    width: 176px;
  }

  .section-head {
    gap: 1.4rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .featured-grid {
    grid-auto-rows: 55vw;
  }

  .featured-tile--wide {
    grid-column: span 2;
    grid-row: span 1;
  }

  .featured-tile--tall {
    grid-row: span 1;
  }

  .gallery {
    columns: 1;
  }

  .form__grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .lightbox__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox__close {
    top: -2.9rem;
  }

  .contact-aside {
    padding: 1.4rem;
  }
}

/* Accesibilidad y preferencias ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .marquee__track {
    animation: none;
  }
}

@media print {
  .site-header,
  .mobile-menu,
  .marquee,
  .cta,
  .filters,
  .lightbox {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero {
    min-height: auto;
    color: #000;
  }

  .hero__media,
  .hero::after {
    display: none;
  }
}
