/* ==========================================================================
   Forta Build S.L. — Hoja de estilos
   --------------------------------------------------------------------------
   1.  Tokens de diseño (tema claro / oscuro)
   2.  Reset y base
   3.  Utilidades, tipografía y enlaces
   4.  Botones e iconos
   5.  Cabecera y navegación
   6.  Portada (hero)
   7.  Declaración
   8.  Servicios
   9.  Empresa y proceso
   10. Zona de actuación
   11. Contacto y formulario
   12. Pie de página
   13. Animaciones y movimiento
   14. Responsive
   15. Accesibilidad
   ========================================================================== */

/* ==========================================================================
   1. Tokens de diseño
   ========================================================================== */
:root {
  color-scheme: light;

  /* Superficies */
  --bg: #F8F7F4;
  --bg-soft: #F1EEE9;
  --bg-alt: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #FBFAF7;

  /* Texto */
  --ink: #16181D;
  --ink-soft: #3F444D;
  --ink-muted: #61666F;

  /* Grafito y bandas oscuras */
  --graphite: #14161A;
  --graphite-2: #1B1E23;
  --band: #14161A;
  --footer-bg: #0B0D10;
  --inverse-ink: #F6F4EF;
  --inverse-muted: #BDB9B0;

  /* Oro */
  --gold: #B8893E;
  --gold-2: #C69749;
  --gold-3: #B57A38;
  --gold-light: #F6C775;
  --gold-ink: #7A5620;
  --on-gold: #16181D;

  /* Líneas y controles */
  --line: rgba(22, 24, 29, 0.12);
  --line-strong: rgba(22, 24, 29, 0.22);
  --input-bg: #FBFAF7;
  --input-border: #9A9184;
  --danger: #A3221B;
  --focus: #7A5620;

  /* Scrollbar (tema claro: pista crema, pulgar oro) */
  --scrollbar-track: #F1EEE9;
  --scrollbar-thumb: #B57A38;
  --scrollbar-thumb-hover: #C69749;
  --scrollbar-edge: rgba(181, 122, 56, 0.28);

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(20, 22, 26, 0.06);
  --shadow-md: 0 18px 40px -18px rgba(20, 22, 26, 0.26);
  --shadow-lg: 0 30px 60px -24px rgba(20, 22, 26, 0.34);

  /* Cabecera */
  --header-bg: rgba(20, 22, 26, 0.72);
  --header-bg-solid: rgba(20, 22, 26, 0.97);
  --header-line: rgba(246, 244, 239, 0.08);

  /* Medidas */
  --header-h: 84px;
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 3px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0F1114;
  --bg-soft: #15181D;
  --bg-alt: #14171B;
  --surface: #191C21;
  --surface-2: #14171B;

  --ink: #F2EFE8;
  --ink-soft: #CFCBC2;
  --ink-muted: #A5A29A;

  --graphite: #14161A;
  --graphite-2: #1B1E23;
  --band: #090B0E;
  --footer-bg: #08090B;
  --inverse-ink: #F6F4EF;
  --inverse-muted: #B9B5AC;

  --gold: #C69749;
  --gold-2: #D8A75A;
  --gold-3: #B57A38;
  --gold-light: #F6C775;
  --gold-ink: #E6BA70;
  --on-gold: #16181D;

  --line: rgba(242, 239, 232, 0.13);
  --line-strong: rgba(242, 239, 232, 0.24);
  --input-bg: #101216;
  --input-border: #626976;
  --danger: #FF9A90;
  --focus: #F6C775;

  /* Scrollbar (tema oscuro: pista grafito, pulgar oro) */
  --scrollbar-track: #080808;
  --scrollbar-thumb: #B57A38;
  --scrollbar-thumb-hover: #F6C775;
  --scrollbar-edge: rgba(246, 199, 117, 0.16);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 20px 44px -20px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 32px 64px -26px rgba(0, 0, 0, 0.9);

  --header-bg: rgba(9, 10, 12, 0.78);
  --header-bg-solid: rgba(9, 10, 12, 0.97);
  --header-line: rgba(246, 244, 239, 0.1);
}

/* ==========================================================================
   Scrollbar personalizada
   WebKit/Blink: ::-webkit-scrollbar. Firefox: scrollbar-color / scrollbar-width.
   El @supports limita las propiedades estandar a Firefox: Chrome tambien las
   entiende desde 2024 y, si las recibiera, ignoraria ::-webkit-scrollbar.
   La pista es crema en el tema claro y grafito en el oscuro, para que ninguno
   de los dos deje una franja oscura sobre el fondo contrario.
   ========================================================================== */
@supports (-moz-appearance: none) {
  html {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  }
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  box-shadow: inset 1px 0 0 var(--scrollbar-edge);
}

::-webkit-scrollbar-thumb {
  min-height: 44px;
  border: 2px solid var(--scrollbar-track);
  border-radius: 999px;
  background-color: var(--scrollbar-thumb);
  background-clip: padding-box;
  transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
  background-color: var(--scrollbar-thumb-hover);
}

::-webkit-scrollbar-corner {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

/* Refuerzo por tema con colores fijos: el aspecto no depende de que los
   tokens superiores se editen por separado. En claro, pista crema; en oscuro,
   grafito. Así el tema claro nunca muestra una franja oscura. */
html:not([data-theme="dark"])::-webkit-scrollbar-track {
  background-color: #F1EEE9;
  box-shadow: inset 1px 0 0 rgba(181, 122, 56, 0.28);
}

html:not([data-theme="dark"])::-webkit-scrollbar-thumb {
  border-color: #F1EEE9;
  background-color: #B57A38;
}

html:not([data-theme="dark"])::-webkit-scrollbar-thumb:hover,
html:not([data-theme="dark"])::-webkit-scrollbar-thumb:active {
  background-color: #C69749;
}

html:not([data-theme="dark"])::-webkit-scrollbar-corner {
  background: #F1EEE9;
}

html[data-theme="dark"]::-webkit-scrollbar-track {
  background-color: #080808;
  box-shadow: inset 1px 0 0 rgba(246, 199, 117, 0.16);
}

html[data-theme="dark"]::-webkit-scrollbar-thumb {
  border-color: #080808;
  background-color: #B57A38;
}

html[data-theme="dark"]::-webkit-scrollbar-thumb:hover,
html[data-theme="dark"]::-webkit-scrollbar-thumb:active {
  background-color: #F6C775;
}

html[data-theme="dark"]::-webkit-scrollbar-corner {
  background: #080808;
}

@supports (-moz-appearance: none) {
  html:not([data-theme="dark"]) {
    scrollbar-color: #B57A38 #F1EEE9;
  }

  html[data-theme="dark"] {
    scrollbar-color: #B57A38 #080808;
  }
}

/* ==========================================================================
   2. Reset y base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

main {
  display: block;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

button {
  cursor: pointer;
}

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

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

figure {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

p {
  margin: 0;
}

::selection {
  background: var(--gold);
  color: var(--on-gold);
}

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

:target {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.noscript-note {
  margin: 0;
  padding: 12px 20px;
  background: var(--band);
  color: var(--inverse-ink);
  font-size: 0.8125rem;
  text-align: center;
}

/* ==========================================================================
   3. Utilidades, tipografía y enlaces
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(64px, 8.5vw, 118px);
}

.section-head {
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head__row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

.section-head h2 {
  max-width: 20ch;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 700;
}

.section-head__intro {
  max-width: 46ch;
  padding-bottom: 4px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--gold-ink);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow__dash {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

.eyebrow--light {
  color: var(--gold-light);
}

.eyebrow--light .eyebrow__dash {
  background: var(--gold-2);
}

.media-note {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-muted);
  font-size: 0.78125rem;
  line-height: 1.5;
}

.media-note__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.media-note__dot {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  /* Centra la viñeta con la primera línea de texto (line-height 1.5). */
  margin-top: calc((1.5em - 5px) / 2);
  background: var(--gold);
  border-radius: 50%;
}

.media-note__text {
  min-width: 0;
}

/* ==========================================================================
   4. Botones e iconos
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition:
    transform 0.35s var(--ease),
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.35s ease;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold-3) 100%);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--on-gold);
  box-shadow: 0 10px 24px -16px rgba(184, 137, 62, 0.8);
}

.btn--ghost {
  background: rgba(246, 244, 239, 0.04);
  border-color: rgba(246, 244, 239, 0.4);
  color: var(--inverse-ink);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(246, 244, 239, 0.34);
  color: var(--inverse-ink);
}

.btn--outline-dark {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--block {
  width: 100%;
}

.btn--header {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.6875rem;
}

.btn--small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.65625rem;
}

.btn__label {
  white-space: nowrap;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}

.btn .icon--arrow {
  margin-left: 2px;
}

/* ==========================================================================
   5. Cabecera y navegación
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(to bottom, rgba(10, 11, 13, 0.66), rgba(10, 11, 13, 0.18));
  border-bottom: 1px solid var(--header-line);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: var(--header-bg-solid);
  box-shadow: 0 12px 32px -24px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* El filtro de la cabecera convierte al header en containing block de los
   elementos fixed. Al abrir el menú lo desactivamos para que el panel
   ocupe toda la pantalla. */
.site-header.menu-open {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 44px;
  color: var(--inverse-ink);
}

.brand__mark {
  display: block;
  width: auto;
  height: 52px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand__name {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand__legal {
  margin-left: 2px;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.72;
}

.brand__sub {
  color: var(--gold-2);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  color: rgba(246, 244, 239, 0.78);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  height: 1px;
  background: var(--gold-2);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active {
  color: var(--inverse-ink);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-nav__link.is-active {
  color: var(--gold-light);
}

.site-nav__foot {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.lang {
  display: inline-flex;
  height: 44px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(246, 244, 239, 0.28);
}

.lang__btn {
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: rgba(246, 244, 239, 0.62);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.lang__btn + .lang__btn {
  border-left: 1px solid rgba(246, 244, 239, 0.2);
}

.lang__btn:hover {
  color: var(--inverse-ink);
}

.lang__btn.is-active {
  background: var(--gold);
  color: var(--on-gold);
}

.lang__btn:focus-visible {
  outline-color: var(--gold-light);
  outline-offset: -4px;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(246, 244, 239, 0.24);
  border-radius: var(--radius);
  background: transparent;
  color: var(--inverse-ink);
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.theme-toggle:hover {
  border-color: var(--gold-2);
  color: var(--gold-light);
  background: rgba(184, 137, 62, 0.08);
}

.theme-toggle__icon {
  width: 18px;
  height: 18px;
}

.theme-toggle__icon--sun {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--sun {
  display: block;
}

[data-theme="dark"] .theme-toggle__icon--moon {
  display: none;
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(246, 244, 239, 0.24);
  border-radius: var(--radius);
  background: transparent;
}

.burger__line {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  margin-left: -9px;
  background: var(--inverse-ink);
  transition: transform 0.32s var(--ease), opacity 0.2s ease;
}

.burger__line:nth-child(1) {
  top: 15px;
}

.burger__line:nth-child(2) {
  top: 21px;
}

.burger__line:nth-child(3) {
  top: 27px;
}

.burger.is-open .burger__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.is-open .burger__line:nth-child(2) {
  opacity: 0;
}

.burger.is-open .burger__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 95;
  background: rgba(6, 7, 9, 0.58);
  animation: backdrop-in 0.3s ease both;
}

@keyframes backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   6. Portada
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 700px;
  min-height: max(660px, 100svh);
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(48px, 7vh, 84px);
  overflow: hidden;
  background: #0C0E11;
  color: var(--inverse-ink);
}

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

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  filter: saturate(1.06) contrast(1.03);
  transform: translate3d(0, var(--parallax, 0px), 0) scale(1.05);
}

.hero.has-parallax .hero__img {
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 11, 14, 0.95) 0%, rgba(10, 11, 14, 0.8) 34%, rgba(10, 11, 14, 0.34) 63%, rgba(10, 11, 14, 0.42) 100%),
    linear-gradient(0deg, rgba(10, 11, 14, 0.94) 0%, rgba(10, 11, 14, 0.18) 46%, rgba(10, 11, 14, 0.2) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__title {
  max-width: 1080px;
  margin-bottom: 26px;
  color: var(--inverse-ink);
  font-size: clamp(2.1rem, 3.8vw, 3.45rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.06;
}

.hero__title-line {
  display: block;
}

.hero__title-line--gold {
  color: var(--gold-light);
}

.hero__lead {
  max-width: 590px;
  color: rgba(246, 244, 239, 0.82);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 36px;
  margin-top: clamp(36px, 5vh, 56px);
  padding-top: 24px;
  border-top: 1px solid rgba(246, 244, 239, 0.16);
}

.hero__facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(246, 244, 239, 0.72);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero__facts li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--gold-2);
  border-radius: 50%;
}

.hero__caption {
  position: absolute;
  right: var(--gutter);
  bottom: 24px;
  z-index: 2;
  color: rgba(246, 244, 239, 0.58);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 72px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 72px;
  color: var(--gold-2);
}

.hero__scroll-line {
  position: relative;
  display: block;
  width: 1px;
  height: 52px;
  overflow: hidden;
  background: rgba(246, 244, 239, 0.22);
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform-origin: top center;
  animation: scroll-pulse 2.6s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ==========================================================================
   7. Declaración
   ========================================================================== */
.manifesto {
  position: relative;
  padding-block: clamp(56px, 7vw, 88px);
  background: var(--band);
  color: var(--inverse-ink);
  overflow: hidden;
}

.manifesto::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 151, 73, 0.14), transparent 68%);
  pointer-events: none;
}

.manifesto__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.manifesto__main {
  max-width: 960px;
}

.manifesto__note {
  max-width: 220px;
  padding: 0 16px 9px 0;
  border-right: 1px solid rgba(198, 151, 73, 0.45);
  color: rgba(246, 244, 239, 0.6);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.7;
  text-align: right;
  text-transform: uppercase;
}

.manifesto__statement {
  max-width: 960px;
  font-size: clamp(1.75rem, 3.3vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.manifesto__accent {
  display: inline;
  color: var(--gold-light);
}

/* ==========================================================================
   8. Servicios
   ========================================================================== */
.services {
  background: var(--bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    border-color 0.4s ease,
    box-shadow 0.5s ease,
    background-color 0.35s ease;
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(10, 11, 14, 0.44));
  pointer-events: none;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 0.9s var(--ease), filter 0.4s ease;
}

.service-card__num {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid rgba(246, 244, 239, 0.24);
  background: rgba(10, 11, 14, 0.66);
  color: var(--gold-light);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
}

.service-card__icon {
  position: absolute;
  bottom: 18px;
  left: 20px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(198, 151, 73, 0.62);
  background: var(--graphite);
  color: var(--gold-light);
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, 0.7);
}

.service-card__icon .icon {
  width: 26px;
  height: 26px;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px clamp(20px, 2.4vw, 30px) 0;
}

.service-card__body h3 {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.service-card__text {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.service-card__list {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.service-card__list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.5;
}

.service-card__list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.service-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  margin-top: 24px;
  padding: 18px 0 20px;
  border-top: 1px solid var(--line);
  color: var(--gold-ink);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.service-card__cta .icon--arrow {
  color: var(--gold);
  transition: transform 0.35s var(--ease), color 0.25s ease;
}

.service-card:hover .service-card__cta {
  color: var(--ink);
}

.service-card:hover .service-card__cta .icon--arrow {
  transform: translate(3px, -3px);
  color: var(--gold-ink);
}

.service-card__cta:focus-visible {
  outline-offset: 2px;
}

/* ==========================================================================
   9. Empresa y proceso
   ========================================================================== */
.about {
  background: var(--bg-alt);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(44px, 6vw, 86px);
  align-items: center;
}

.about__media {
  position: relative;
  padding-bottom: 46px;
}

.about__media::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -14px;
  z-index: 0;
  width: 64%;
  height: 58%;
  border: 1px solid rgba(184, 137, 62, 0.42);
  pointer-events: none;
}

.about__figure {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}

.about__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(10, 11, 14, 0.72);
  color: var(--inverse-ink);
  font-size: 0.59375rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.about__caption::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--gold-light);
  border-radius: 50%;
}

.about__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 44%;
  aspect-ratio: 4 / 3;
  border: 8px solid var(--bg-alt);
  background: var(--bg-soft);
  box-shadow: var(--shadow-md);
}

.about__inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  top: 18px;
  left: -14px;
  z-index: 3;
  padding: 10px 14px;
  border-left: 2px solid var(--gold);
  background: var(--graphite);
  color: var(--inverse-ink);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.about__content h2 {
  margin-bottom: 22px;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  max-width: 15ch;
}

.about__content > p {
  color: var(--ink-soft);
  font-size: 0.9875rem;
  line-height: 1.75;
}

.about__content > p + p {
  margin-top: 14px;
}

.about__lead {
  color: var(--ink) !important;
  font-size: 1.0625rem !important;
}

.about__values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.about__values li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.5;
}

.about__values .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--gold);
}

.process {
  margin-top: clamp(64px, 9vw, 112px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

.process__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.process__title {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
}

.process__intro {
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.process__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.process__step {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.process__step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.process__num {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-ink);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.process__step h4 {
  margin-bottom: 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.process__step p {
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ==========================================================================
   10. Zona de actuación
   ========================================================================== */
.coverage {
  background: var(--bg-soft);
}

.coverage__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.coverage-card {
  position: relative;
  padding: clamp(26px, 3vw, 38px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid rgba(184, 137, 62, 0.55);
  border-radius: var(--radius);
  transition: border-color 0.35s ease, transform 0.45s var(--ease), box-shadow 0.45s ease;
}

.coverage-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border: 1px solid rgba(184, 137, 62, 0.35);
  background: rgba(184, 137, 62, 0.06);
  color: var(--gold-ink);
}

.coverage-card__icon .icon {
  width: 20px;
  height: 20px;
}

.coverage-card h3 {
  margin-bottom: 9px;
  font-size: 1.3rem;
}

.coverage-card p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.68;
}

.coverage-card--wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-top-color: rgba(198, 151, 73, 0.75);
  background: var(--graphite);
  border-color: rgba(246, 244, 239, 0.12);
  color: var(--inverse-ink);
}

.coverage-card--wide .coverage-card__body {
  max-width: 620px;
}

.coverage-card--wide .coverage-card__icon {
  border-color: rgba(246, 199, 117, 0.4);
  background: rgba(246, 199, 117, 0.08);
  color: var(--gold-light);
}

.coverage-card--wide h3 {
  color: var(--inverse-ink);
}

.coverage-card--wide p {
  color: rgba(246, 244, 239, 0.7);
}

.coverage__note {
  margin-top: 26px;
  padding-left: 16px;
  border-left: 1px solid var(--gold);
  color: var(--ink-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ==========================================================================
   11. Contacto y formulario
   ========================================================================== */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--band);
  color: var(--inverse-ink);
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(246, 199, 117, 0.05) 1px, transparent 1px),
    radial-gradient(ellipse at 82% 18%, rgba(184, 137, 62, 0.14), transparent 60%);
  background-size: 132px 100%, 100% 100%;
  opacity: 0.7;
  pointer-events: none;
}

.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

.contact__intro h2 {
  color: var(--inverse-ink);
  font-size: clamp(2rem, 3.4vw, 3rem);
  max-width: 14ch;
}

.contact__lead {
  max-width: 48ch;
  margin-top: 20px;
  color: rgba(246, 244, 239, 0.72);
  font-size: 0.9875rem;
  line-height: 1.75;
}

.contact__subtitle {
  margin-top: 38px;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact__list {
  border-top: 1px solid rgba(246, 244, 239, 0.14);
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(246, 244, 239, 0.14);
  color: var(--inverse-ink);
  transition: color 0.25s ease;
}

.contact-line__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(246, 244, 239, 0.2);
  color: var(--gold-light);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.contact-line__icon .icon {
  width: 18px;
  height: 18px;
}

.contact-line__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-line__label {
  color: rgba(246, 244, 239, 0.62);
  font-size: 0.59375rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-line__value {
  overflow-wrap: anywhere;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
}

.contact-line__arrow {
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: rgba(246, 244, 239, 0.5);
  transition: transform 0.35s var(--ease), color 0.25s ease;
}

.contact-line:hover {
  color: var(--gold-light);
}

.contact-line:hover .contact-line__icon {
  border-color: rgba(246, 199, 117, 0.55);
  background: rgba(246, 199, 117, 0.06);
}

.contact-line:hover .contact-line__arrow {
  color: var(--gold-light);
  transform: translate(3px, -3px);
}

.contact__note {
  margin-top: 20px;
  color: rgba(246, 244, 239, 0.6);
  font-size: 0.78125rem;
  line-height: 1.6;
}

.contact__note span {
  display: block;
}

.form {
  position: relative;
  padding: clamp(24px, 3.2vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.form__title {
  font-size: 1.35rem;
  letter-spacing: -0.015em;
}

.form__hint {
  margin-top: 6px;
  margin-bottom: 24px;
  color: var(--ink-muted);
  font-size: 0.75rem;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  background: var(--input-bg);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-muted);
  opacity: 1;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--line-strong);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 137, 62, 0.22);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(163, 34, 27, 0.12);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1.5 7 7.5l6-6' stroke='%23B8893E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.field select:invalid {
  color: var(--ink-muted);
}

.field select option {
  background: var(--surface);
  color: var(--ink);
}

.field__error {
  margin-top: 5px;
  color: var(--danger);
  font-size: 0.75rem;
  line-height: 1.45;
}

.field__error:empty {
  display: none;
}

.form__status {
  margin: 4px 0 12px;
  color: var(--danger);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.form__status:empty {
  display: none;
}

.form__fineprint {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.6875rem;
  line-height: 1.6;
}

.form__result {
  margin-top: 20px;
  padding: 18px;
  border-left: 2px solid var(--gold);
  background: var(--bg-soft);
}

.form__result h4 {
  margin-bottom: 6px;
  font-size: 0.9375rem;
}

.form__result p {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.form__result-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 10px;
}

.form__result-note {
  color: var(--ink-muted) !important;
  font-size: 0.6875rem !important;
}

/* ==========================================================================
   11b. Bloques de presupuesto: WhatsApp / formulario (sección y modal)
   ========================================================================== */
.contact__intro {
  max-width: 780px;
}

.contact__choices {
  position: relative;
  z-index: 1;
  margin-top: clamp(34px, 5vw, 56px);
}

.quote-choice {
  display: block;
}

.quote-choice__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  align-items: stretch;
}

.quote-choice [hidden] {
  display: none !important;
}

/* Tarjetas-acción: <a> sin JavaScript, <button> con JavaScript. */
.quote-pick {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 1.8vw, 20px);
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: clamp(22px, 2.6vw, 32px);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(184, 137, 62, 0.42);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px -18px rgba(20, 22, 26, 0.22);
  color: var(--ink);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.3s var(--ease), border-color 0.25s ease,
    box-shadow 0.25s ease, background-color 0.25s ease;
}

.quote-pick::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold-2), var(--gold-3));
}

.quote-pick:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 30px -20px rgba(20, 22, 26, 0.26);
  transform: translateY(-2px);
}

.quote-pick:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
}

.quote-pick__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(184, 137, 62, 0.5);
  background: var(--bg-soft);
  color: var(--gold-ink);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.quote-pick:hover .quote-pick__icon {
  border-color: var(--gold);
}

.quote-pick__icon .icon {
  width: 24px;
  height: 24px;
}

.quote-pick__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-right: 26px;
}

.quote-pick__label {
  color: var(--gold-ink);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.quote-pick__action {
  margin-top: 7px;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.quote-pick__note {
  margin-top: 7px;
  color: var(--ink-muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.quote-pick__arrow {
  position: absolute;
  top: clamp(20px, 2.4vw, 28px);
  right: clamp(18px, 2.2vw, 26px);
  width: 18px;
  height: 18px;
  color: var(--gold-ink);
  transition: transform 0.35s var(--ease), color 0.25s ease;
}

.quote-pick:hover .quote-pick__arrow {
  transform: translate(3px, -3px);
}

/* Tema oscuro: grafito como hasta ahora. */
[data-theme="dark"] .quote-pick {
  background: linear-gradient(160deg, var(--graphite-2) 0%, var(--graphite) 100%);
  border-color: rgba(198, 151, 73, 0.34);
  box-shadow: var(--shadow-md);
  color: var(--inverse-ink);
}

[data-theme="dark"] .quote-pick:hover {
  border-color: rgba(246, 199, 117, 0.62);
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .quote-pick__icon {
  border-color: rgba(198, 151, 73, 0.58);
  background: rgba(8, 9, 11, 0.42);
  color: var(--gold-light);
}

[data-theme="dark"] .quote-pick__label,
[data-theme="dark"] .quote-pick__arrow {
  color: var(--gold-light);
}

[data-theme="dark"] .quote-pick__action {
  color: var(--inverse-ink);
}

[data-theme="dark"] .quote-pick__note {
  color: #CBC7BE;
}

/* Formulario del paso 2, dentro del bloque o de la modal. */
.quote-choice__form {
  position: relative;
  margin-top: clamp(22px, 3vw, 32px);
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--surface);
  border: 1px solid rgba(184, 137, 62, 0.34);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px -20px rgba(20, 22, 26, 0.22);
  color: var(--ink);
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

/* Tokens propios solo en tema oscuro: el tema claro usa los de :root. */
[data-theme="dark"] .quote-choice__form {
  color-scheme: dark;
  background: linear-gradient(160deg, var(--graphite-2) 0%, var(--graphite) 100%);
  border-color: rgba(198, 151, 73, 0.34);
  box-shadow: var(--shadow-md);
  color: var(--inverse-ink);

  --ink: var(--inverse-ink);
  --ink-soft: #D6D2C9;
  --ink-muted: #A9A59C;
  --line: rgba(246, 244, 239, 0.14);
  --line-strong: rgba(246, 244, 239, 0.3);
  --input-bg: rgba(8, 9, 11, 0.42);
  --input-border: rgba(246, 244, 239, 0.28);
  --danger: #FFB4AA;
  --focus: var(--gold-light);
  --gold-ink: var(--gold-light);
  --bg-soft: rgba(246, 199, 117, 0.08);
  --surface: transparent;
}

.quote-choice__form .form {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
}

.quote-choice__form .form::before {
  display: none;
}

.quote-choice__form .form__title {
  color: var(--gold-ink);
}

.quote-choice__form .field input,
.quote-choice__form .field select,
.quote-choice__form .field textarea {
  background: var(--input-bg);
  color: var(--ink);
  border-color: var(--input-border);
}

.quote-choice__form .field input::placeholder,
.quote-choice__form .field textarea::placeholder {
  color: var(--ink-muted);
}

.quote-choice__form .field input:hover,
.quote-choice__form .field select:hover,
.quote-choice__form .field textarea:hover {
  border-color: var(--ink-muted);
}

.quote-choice__form .field select option {
  background: var(--bg-alt);
  color: var(--ink);
}

[data-theme="dark"] .quote-choice__form .field select option {
  background: #191C21;
  color: var(--inverse-ink);
}

.quote-choice__form .field input:focus,
.quote-choice__form .field select:focus,
.quote-choice__form .field textarea:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(184, 137, 62, 0.22);
}

[data-theme="dark"] .quote-choice__form .field input:focus,
[data-theme="dark"] .quote-choice__form .field select:focus,
[data-theme="dark"] .quote-choice__form .field textarea:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(246, 199, 117, 0.24);
}

.quote-choice__form .field input[aria-invalid="true"],
.quote-choice__form .field select[aria-invalid="true"],
.quote-choice__form .field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(163, 34, 27, 0.12);
}

[data-theme="dark"] .quote-choice__form .field input[aria-invalid="true"],
[data-theme="dark"] .quote-choice__form .field select[aria-invalid="true"],
[data-theme="dark"] .quote-choice__form .field textarea[aria-invalid="true"] {
  box-shadow: 0 0 0 3px rgba(255, 180, 170, 0.16);
}

.quote-choice__form .field__error,
.quote-choice__form .form__status--error {
  color: var(--danger);
}

.quote-choice__form .form__status--notice {
  color: var(--gold-ink);
}

.quote-choice__form .form__fineprint {
  border-top-color: var(--line);
  color: var(--ink-muted);
}

.quote-choice__form .form__result {
  border-left-color: var(--gold);
  background: var(--bg-soft);
}

.quote-choice__form .form__result--error {
  border-left-color: var(--danger);
}

.quote-choice__form .form__result h4 {
  color: var(--ink);
}

.quote-choice__form .form__result p {
  color: var(--ink-soft);
}

/* Botón «Volver»: vuelve del formulario a las dos tarjetas. */
.quote-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 11px 7px 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--gold-ink);
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.quote-back:hover {
  border-color: rgba(184, 137, 62, 0.42);
  background: var(--bg-soft);
}

.quote-back:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 2px;
}

.quote-back__icon {
  width: 16px;
  height: 16px;
  transform: rotate(180deg);
}

[data-theme="dark"] .quote-back {
  color: var(--gold-light);
}

[data-theme="dark"] .quote-back:hover {
  border-color: rgba(246, 199, 117, 0.4);
  background: rgba(246, 199, 117, 0.08);
}

[data-theme="dark"] .quote-back:focus-visible {
  outline-color: var(--gold-light);
}

/* Separador vertical «O» / «OR» */
.quote-divider {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 54px;
}

.quote-divider::before,
.quote-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: calc(50% - 34px);
  background: linear-gradient(to bottom, transparent, rgba(198, 151, 73, 0.52));
  transform: translateX(-50%);
}

.quote-divider::before {
  top: 0;
}

.quote-divider::after {
  bottom: 0;
  background: linear-gradient(to top, transparent, rgba(198, 151, 73, 0.52));
}

.quote-divider span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(198, 151, 73, 0.58);
  border-radius: 50%;
  background: var(--band);
  color: var(--gold-light);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
}

/* En la sección el fondo es la banda grafito; en la modal, el panel. */
.contact .quote-divider span {
  background: var(--band);
  color: var(--gold-light);
}

.quote-modal .quote-divider span {
  background: var(--quote-panel-bg, var(--bg));
  color: var(--gold-ink);
}

[data-theme="dark"] .quote-modal .quote-divider span {
  color: var(--gold-light);
}

/* Modal */
.quote-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: clamp(14px, 3vw, 34px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.quote-modal::backdrop {
  background: rgba(6, 7, 9, 0.8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.quote-modal.is-fallback {
  display: block;
  background: rgba(6, 7, 9, 0.8);
}

.quote-modal__panel {
  position: relative;
  width: min(1120px, 100%);
  margin: max(2vh, 16px) auto;
  padding: clamp(22px, 3vw, 38px);
  background: var(--bg);
  --quote-panel-bg: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 50px -30px rgba(20, 22, 26, 0.28);
}

[data-theme="dark"] .quote-modal__panel {
  box-shadow: var(--shadow-lg);
}

.quote-modal[open] .quote-modal__panel {
  animation: quote-modal-in 0.34s var(--ease) both;
}

@keyframes quote-modal-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.quote-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-right: 54px;
  margin-bottom: clamp(20px, 2.6vw, 30px);
}

.quote-modal__eyebrow {
  margin-bottom: 8px;
  color: var(--gold-ink);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.quote-modal__heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.quote-modal__desc {
  max-width: 66ch;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.quote-modal__close {
  position: absolute;
  top: clamp(16px, 2.4vw, 26px);
  right: clamp(16px, 2.4vw, 26px);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--ink);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.quote-modal__close:hover {
  border-color: var(--gold);
  color: var(--gold-ink);
}

.quote-modal__close .icon {
  width: 22px;
  height: 22px;
}

.quote-choice--modal {
  margin-top: 4px;
}

@media (max-width: 860px) {
  .quote-choice__cards {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quote-divider {
    min-width: 0;
    width: 100%;
    min-height: 64px;
  }

  .quote-divider::before,
  .quote-divider::after {
    top: 50%;
    bottom: auto;
    width: calc(50% - 42px);
    height: 1px;
    transform: none;
  }

  .quote-divider::before {
    left: 0;
    background: linear-gradient(to right, transparent, rgba(198, 151, 73, 0.52));
  }

  .quote-divider::after {
    left: auto;
    right: 0;
    background: linear-gradient(to left, transparent, rgba(198, 151, 73, 0.52));
  }

  .quote-divider span {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 767px) {
  .quote-modal {
    padding: 10px;
  }

  .quote-modal__panel {
    margin: 8px auto;
    padding: 22px 18px;
  }

  .quote-modal__head {
    padding-right: 48px;
  }

  .quote-modal__close {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
  }

  .quote-pick,
  .quote-choice__form {
    padding: 22px 18px;
  }
}

/* ==========================================================================
   12. Pie de página
   ========================================================================== */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(246, 244, 239, 0.08);
  color: rgba(246, 244, 239, 0.68);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid rgba(246, 244, 239, 0.1);
}

.brand--footer {
  color: var(--inverse-ink);
}

.brand--footer .brand__mark {
  height: 44px;
}

.site-footer__tagline {
  max-width: 34ch;
  margin-top: 20px;
  color: rgba(246, 244, 239, 0.64);
  font-size: 0.875rem;
  line-height: 1.65;
}

.site-footer__regions {
  max-width: 44ch;
  margin-top: 14px;
  color: rgba(246, 244, 239, 0.58);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
}

.site-footer h2 {
  margin-bottom: 18px;
  color: var(--gold-2);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer__nav ul,
.site-footer__contact ul {
  display: grid;
  gap: 10px;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: rgba(246, 244, 239, 0.7);
  font-size: 0.875rem;
  transition: color 0.25s ease;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--gold-light);
}

.site-footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  color: rgba(246, 244, 239, 0.7);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
  transition: color 0.25s ease;
}

.site-footer__contact a:hover,
.site-footer__contact a:focus-visible {
  color: var(--gold-light);
}

.site-footer__contact .icon {
  width: 17px;
  height: 17px;
  color: var(--gold-2);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 24px;
  padding-block: 24px 30px;
  font-size: 0.6875rem;
  line-height: 1.6;
}

.site-footer__legal {
  color: rgba(246, 244, 239, 0.72);
  font-weight: 600;
}

.site-footer__legal-note {
  color: rgba(246, 244, 239, 0.56);
}

.site-footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin-left: auto;
  color: rgba(246, 244, 239, 0.55);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.site-footer__top-link .icon {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
}

.site-footer__top-link:hover {
  color: var(--gold-light);
}

.site-footer__copyright {
  color: rgba(246, 244, 239, 0.55);
}

/* ==========================================================================
   13. Animaciones y movimiento
   ========================================================================== */
@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.75s ease var(--reveal-delay, 0ms),
    transform 0.85s var(--ease) var(--reveal-delay, 0ms);
}

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

@media (prefers-reduced-motion: no-preference) {
  .js .hero__inner > * {
    animation: rise 0.95s var(--ease) both;
  }

  .js .hero__inner > *:nth-child(1) { animation-delay: 0.05s; }
  .js .hero__inner > *:nth-child(2) { animation-delay: 0.13s; }
  .js .hero__inner > *:nth-child(3) { animation-delay: 0.24s; }
  .js .hero__inner > *:nth-child(4) { animation-delay: 0.34s; }
  .js .hero__inner > *:nth-child(5) { animation-delay: 0.44s; }
}

@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -14px rgba(184, 137, 62, 0.65);
  }

  .btn--ghost:hover,
  .btn--outline-light:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
    background: rgba(184, 137, 62, 0.08);
  }

  .btn--outline-dark:hover {
    border-color: var(--gold);
    color: var(--gold-ink);
    background: rgba(184, 137, 62, 0.06);
  }

  .btn:hover .icon--arrow {
    transform: translate(3px, -3px);
  }

  .service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(184, 137, 62, 0.5);
    box-shadow: var(--shadow-md);
  }

  .service-card:hover .service-card__media img {
    transform: scale(1.06);
  }

  .coverage-card:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 137, 62, 0.45);
    box-shadow: var(--shadow-sm);
  }

  .coverage-card--wide:hover {
    border-color: rgba(198, 151, 73, 0.45);
  }
}

/* ==========================================================================
   14. Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .site-nav__list {
    gap: 20px;
  }

  .hero__title {
    max-width: 900px;
  }
}

@media (max-width: 1023px) {
  .process__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
  }

  .about__grid {
    gap: 52px;
  }

  /* La CTA de cabecera es más larga que la antigua; compactamos el grupo. */
  .site-header__inner {
    gap: 12px;
  }

  .site-header__actions {
    gap: 6px;
  }

  .btn--header {
    padding: 0 14px;
  }

  .btn--header .icon {
    display: none;
  }
}

@media (max-width: 979px) {
  :root {
    --header-h: 72px;
  }

  .burger {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    z-index: 96;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: min(440px, 100%);
    padding: 34px 28px calc(32px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: #0D0F12;
    border-left: 1px solid rgba(246, 244, 239, 0.1);
    transform: translate3d(102%, 0, 0);
    visibility: hidden;
    transition: transform 0.5s var(--ease), visibility 0.5s ease;
  }

  .site-nav.is-open {
    transform: none;
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__link {
    display: flex;
    width: 100%;
    justify-content: space-between;
    min-height: 56px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(246, 244, 239, 0.12);
    color: var(--inverse-ink);
    font-size: clamp(1.3rem, 4.8vw, 1.7rem);
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__link.is-active {
    color: var(--gold-light);
  }

  .site-nav__foot {
    display: block;
    margin-top: 40px;
  }

  .site-nav__note {
    margin-top: 16px;
    color: rgba(246, 244, 239, 0.6);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
  }

  .site-header__inner {
    gap: 16px;
  }

  .site-header.is-scrolled {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .brand__mark {
    height: 48px;
  }

  .brand__name {
    font-size: 1rem;
  }

  .hero {
    align-items: flex-end;
    min-height: max(640px, 100svh);
    padding-top: calc(var(--header-h) + 28px);
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(10, 11, 14, 0.42) 0%, rgba(10, 11, 14, 0.52) 38%, rgba(10, 11, 14, 0.94) 100%),
      linear-gradient(90deg, rgba(10, 11, 14, 0.6), rgba(10, 11, 14, 0.16));
  }

  .hero__img {
    object-position: 58% 50%;
  }

  .hero__caption,
  .hero__scroll {
    display: none;
  }

  .hero__title {
    font-size: clamp(2rem, 5.4vw, 3rem);
    margin-bottom: 20px;
  }

  .hero__lead {
    max-width: 540px;
  }

  .section-head__row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-head__intro {
    max-width: 56ch;
  }

  .section-head {
    margin-bottom: 40px;
  }

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

  .about__media {
    max-width: 580px;
  }

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

  .contact__intro {
    max-width: 640px;
  }

  .contact__intro h2 {
    max-width: 18ch;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
  }

  .site-footer__contact {
    grid-column: 1 / -1;
  }

  .site-footer__contact ul {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 28px;
  }

  .site-footer__nav a,
  .site-footer__contact a,
  .site-footer__top-link {
    min-height: 44px;
  }
}

@media (max-width: 900px) {
  .hero.has-parallax .hero__img {
    will-change: auto;
  }

  .hero__img {
    transform: none;
  }
}

@media (max-width: 859px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card__media {
    aspect-ratio: 16 / 9;
  }

  .manifesto__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .manifesto__note {
    max-width: 320px;
    padding: 0 0 0 14px;
    border-right: 0;
    border-left: 1px solid rgba(198, 151, 73, 0.45);
    text-align: left;
  }

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

  .coverage-card--wide {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .coverage-card--wide .btn {
    width: 100%;
  }

  .about__media {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  .hero__facts {
    gap: 8px 24px;
  }
}

@media (max-width: 767px) {
  .section {
    padding-block: clamp(56px, 11vw, 76px);
  }

  /* En móvil, animaciones más cortas y con menos desplazamiento. */
  .js .reveal {
    transform: translate3d(0, 18px, 0);
    transition:
      opacity 0.5s ease var(--reveal-delay, 0ms),
      transform 0.55s var(--ease) var(--reveal-delay, 0ms);
  }

  .hero {
    min-height: max(620px, 100svh);
  }

  .hero__title {
    font-size: clamp(1.95rem, 7vw, 2.6rem);
  }

  .hero__lead {
    font-size: 0.9875rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 400px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__facts {
    display: grid;
    gap: 8px;
    margin-top: 32px;
    padding-top: 20px;
  }

  .manifesto__statement {
    font-size: clamp(1.55rem, 5.6vw, 2rem);
  }

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

  .process__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .process__list {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .contact__intro h2 {
    max-width: 16ch;
  }

  .form {
    padding: 24px 20px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer__contact ul {
    grid-auto-flow: row;
    gap: 8px;
  }

  .site-footer__bottom {
    gap: 8px;
  }

  .site-footer__top-link {
    margin-left: 0;
    order: 3;
  }

  .site-footer__copyright {
    order: 4;
    flex-basis: 100%;
  }
}

@media (max-width: 640px) {
  .btn--header {
    display: none;
  }

  .brand__sub {
    display: none;
  }

  .site-header__actions {
    gap: 8px;
  }

  .about__media::before {
    top: -10px;
    left: -10px;
  }

  .about__badge {
    top: 12px;
    left: 0;
  }

  .about__inset {
    width: 46%;
    border-width: 6px;
  }

  .about__caption {
    max-width: 52%;
  }

  .hero__caption {
    display: none;
  }
}

@media (max-width: 479px) {
  :root {
    --header-h: 64px;
  }

  .container {
    padding-inline: 16px;
  }

  .brand {
    gap: 8px;
  }

  .brand__mark {
    height: 42px;
  }

  .brand__name {
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
  }

  .brand__legal {
    display: none;
  }

  .site-header__inner {
    gap: 8px;
  }

  .site-header__actions {
    gap: 6px;
  }

  .lang {
    height: 44px;
  }

  .lang__btn {
    min-width: 44px;
    padding: 0 6px;
    font-size: 0.625rem;
  }

  .theme-toggle,
  .burger {
    width: 44px;
    height: 44px;
  }

  .site-nav {
    padding-inline: 20px;
  }

  .hero__title {
    font-size: clamp(1.8rem, 8.4vw, 2.25rem);
  }

  .hero__facts li {
    font-size: 0.6875rem;
  }

  .section-head h2,
  .about__content h2,
  .contact__intro h2 {
    font-size: clamp(1.7rem, 8vw, 2.1rem);
  }

  .service-card__body {
    padding-inline: 18px;
  }

  .coverage-card {
    padding: 24px 20px;
  }

  .about__media {
    padding-bottom: 34px;
  }

  .about__caption {
    bottom: 10px;
    left: 10px;
    font-size: 0.5625rem;
  }

  .about__inset {
    width: 42%;
  }

  .contact-line {
    min-height: 64px;
  }

  .contact-line__value {
    font-size: 0.875rem;
  }

  .form__result-links .btn {
    width: 100%;
  }

  .brand--footer .brand__mark {
    height: 40px;
  }

  .brand--footer .brand__name {
    font-size: 1rem;
  }
}

@media (max-width: 379px) {
  .brand__text {
    display: none;
  }

  .site-header__inner {
    gap: 8px;
  }

  .site-header__actions {
    gap: 6px;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .coverage-card--wide {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   15. Accesibilidad y preferencias
   ========================================================================== */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 0.8125rem;
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform 0.25s ease;
}

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

.hero :focus-visible,
.manifesto :focus-visible,
.contact :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold-light);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
}

@media (hover: none) {
  .site-header.is-scrolled,
  .site-header.menu-open {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .service-card__num {
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__img {
    transform: none;
  }

  .hero__scroll-line::after {
    display: none;
  }
}
