
/* =========================================================
   1. TIPOGRAFÍAS LOCALES
   ========================================================= */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-italic-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   2. TOKENS DE DISEÑO
   ========================================================= */
:root {
  /* Color - Paleta corporativa adaptada a logo.png */
  --ink: #0A1C2A;
  --petrol: #0B2545;
  --petrol-deep: #07192E;
  --petrol-soft: #134074;
  --brass: #B38A5B;
  --brass-deep: #896641;
  --brass-soft: #D6BB91;
  --gold-star: #F59E0B;
  --sand: #F5F1E9;
  --sand-deep: #EAE3D7;
  --mist: #E2DDD3;
  --muted: #68685F;
  --line: #DDD5C8;
  --line-soft: #EAE4DA;
  --line-dark: rgba(255, 255, 255, 0.16);
  --white: #FFFFFF;

  /* Tipografía */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Medidas */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.25rem, 9vw, 7.5rem);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --header-h: 92px;

  /* Efectos */
  --shadow-soft: 0 30px 70px -40px rgba(11, 37, 69, 0.45);
  --shadow-card: 0 18px 45px -30px rgba(11, 37, 69, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================================
   3. RESET Y BASE
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0125rem;
  line-height: 1.7;
  font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  text-wrap: balance;
}

h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.2rem; }
p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { display: block; }

::selection { background: var(--brass); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] { display: none !important; }

/* =========================================================
   4. UTILIDADES
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--sand { background: var(--sand); }

.section-head { max-width: 740px; margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 1rem clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  max-width: none;
}
.section-head--split .lead { margin: 0 0 0.25rem; }

/* Dirección editorial cálida, inspirada en estudios de interiorismo */
.section { position: relative; }
.section-head { max-width: 800px; }
.section-head--split { max-width: none; }
.eyebrow { letter-spacing: .22em; }
.hero { background: var(--sand); }
.hero__grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
.hero__title { font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 500; }
.hero__media img { border-radius: 2px; }
.hero__caption { border-radius: 2px; }
.service, .quote, .gallery__cta, .form-card { border-radius: 2px; }
.gallery__item { border-radius: 2px; }
.about__media-main, .about__media-small { border-radius: 2px; }
.step { border-radius: 2px; }
.gallery__item img { transition: transform 1s cubic-bezier(.2,.7,.15,1), filter 1.3s ease; }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.075); filter: saturate(.88); }
.gallery__item::after { background: linear-gradient(to top, rgba(7,25,46,.82), transparent 62%); }
.gallery__item:nth-child(3n+2) { transition-delay: 100ms; }
.gallery__item:nth-child(3n) { transition-delay: 180ms; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  color: var(--brass-deep);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--brass);
  flex: none;
}
.eyebrow--light { color: var(--brass-soft); }

.lead {
  max-width: 58ch;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.7;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }
.icon--sm { width: 16px; height: 16px; }

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

.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: -120px;
  left: 1rem;
  z-index: 300;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--sand);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* =========================================================
   5. BOTONES
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--petrol); color: var(--white); }
.btn--primary:hover { background: var(--petrol-deep); }

.btn--brass { background: var(--brass-deep); color: var(--white); }
.btn--brass:hover { background: #004F7C; }

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--white); border-color: var(--brass); }

.btn--on-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}
.btn--on-dark:hover { border-color: var(--brass-soft); background: rgba(255, 255, 255, 0.08); }

.btn--sm { min-height: 44px; padding: 0.6rem 1.1rem; font-size: 0.875rem; }

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

/* =========================================================
   6. CABECERA Y NAVEGACIÓN
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 120;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(11, 37, 69, 0.25);
}
.site-header.is-menu-open {
  background: var(--white);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  height: 100%;
  min-height: 0;
  padding-block: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
  line-height: 0;
}
.logo__img {
  display: block;
  height: clamp(56px, 6.5vw, 72px);
  width: auto;
  max-width: 100%;
  aspect-ratio: 3.657 / 1;
  max-width: min(340px, 31vw);
  object-fit: contain;
  transition: transform 0.25s var(--ease);
}
.logo:hover .logo__img {
  transform: scale(1.02);
}
.logo--footer {
  display: inline-block;
  background: #ffffff;
  padding: 0.35rem 0.55rem;
  border-radius: 2px;
  box-shadow: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.logo--footer:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.logo__img--footer {
  height: 44px;
  width: auto;
  max-width: 260px;
  aspect-ratio: 3.657 / 1;
  object-fit: contain;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2rem);
}
.nav__link {
  position: relative;
  padding-block: 0.35rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav__link:hover { color: var(--brass-deep); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link:focus { outline: 3px solid var(--brass); outline-offset: -3px; border-radius: 2px; }

.nav__mobile-cta { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.2s var(--ease);
}
.header-phone .icon { color: var(--brass-deep); }
.header-phone:hover { color: var(--brass-deep); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
.menu-toggle:hover { border-color: var(--brass); }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

/* =========================================================
   7. HERO
   ========================================================= */
.hero {
  position: relative;
  padding-block: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(900px 520px at 88% 4%, rgba(2, 132, 199, 0.12), transparent 62%),
    radial-gradient(760px 460px at 4% 92%, rgba(11, 37, 69, 0.08), transparent 60%),
    var(--sand);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__title {
  margin-block: 0 clamp(1.1rem, 2vw, 1.5rem);
  font-size: clamp(2.65rem, 5.5vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
}
.hero__title em {
  font-style: italic;
  color: var(--brass-deep);
}

.hero__sub {
  max-width: 50ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.6rem, 3vw, 2.15rem);
}

.hero__call {
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.hero__call a {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid var(--brass);
  transition: color 0.2s var(--ease);
}
.hero__call a:hover { color: var(--brass-deep); }

.hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin-top: clamp(1.6rem, 3vw, 2.1rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero__notes li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
}
.hero__notes .icon { width: 18px; height: 18px; color: var(--brass-deep); }

.hero__media { position: relative; }

main section:focus-visible,
main section [tabindex="-1"]:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.hero__media img {
  width: 100%;
  height: clamp(430px, 62vh, 660px);
  object-fit: cover;
  object-position: 20% center;
  border-radius: var(--radius-lg);
  background: var(--mist);
  box-shadow: var(--shadow-soft);
}

.hero__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: calc(100% - 2rem);
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
}
.hero__caption p {
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.35;
}
.hero__caption strong { font-size: 0.9rem; }
.hero__caption small { display: block; color: var(--muted); font-size: 0.72rem; }

.stars {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  color: var(--gold-star);
  flex: none;
}
.stars .icon { width: 13px; height: 13px; }

/* =========================================================
   8. BARRA DE CONFIANZA Y MARCAS
   ========================================================= */
.trust {
  background: var(--sand-deep);
  border-block: 1px solid var(--line);
  padding-block: 1.1rem;
}
.trust__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1.5rem;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 0.855rem;
  font-weight: 600;
}
.trust__item .icon { width: 17px; height: 17px; color: var(--brass-deep); }

.brands {
  background: var(--sand);
  padding-block: clamp(1.9rem, 3.5vw, 2.6rem);
}
.brands__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem clamp(1.25rem, 3.5vw, 2.75rem);
}
.brands__label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.brands__name {
  color: #486581;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.brands__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem clamp(1.25rem, 3.5vw, 2.75rem);
}

/* =========================================================
   9. REVEAL AL HACER SCROLL (mejora progresiva)
   ========================================================= */
.reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-hidden {
  opacity: 0;
  transform: translateY(34px);
}
.gallery__item.reveal.is-hidden { transform: translateY(42px) scale(.985); }

/* =========================================================
   10. SERVICIOS
   ========================================================= */
.services-grid {
  --services-gap: clamp(1.2rem, 2.5vw, 2.4rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--services-gap);
}

.service {
  flex: 0 1 calc((100% - var(--services-gap) - var(--services-gap)) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.service:hover {
  transform: translateY(-4px);
  border-color: var(--brass);
  box-shadow: var(--shadow-card);
}

.service__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--mist);
}
.service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.service:hover .service__media img { transform: scale(1.045); }

.service__tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.38rem 0.62rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brass-deep);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.45rem 1.5rem 1.55rem;
}
.service__body h3 { font-size: 1.32rem; line-height: 1.15; }
.service__body p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}
.service__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.1rem;
  color: var(--brass-deep);
  font-size: 0.83rem;
  font-weight: 800;
}
.service__link .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.service__link:hover .icon { transform: translateX(3px); }

.urgent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: clamp(1.4rem, 2.5vw, 2rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--petrol);
  color: var(--white);
}
.urgent h3 { margin-bottom: 0.2rem; color: var(--white); font-size: 1.3rem; }
.urgent p { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; }
.urgent .btn { flex: none; }

/* =========================================================
   11. SOBRE NOSOTROS
   ========================================================= */
.about { background: var(--sand); }

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about__media {
  position: relative;
  padding: 0 2.2rem 2.2rem 0;
}
.about__media-main {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--mist);
  box-shadow: var(--shadow-card);
}
.about__media-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 6px solid var(--sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.feature-list {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}
.feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.12);
  color: var(--brass-deep);
}
.feature__icon .icon { width: 20px; height: 20px; }
.feature h3 {
  margin-bottom: 0.15rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
}
.feature p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* =========================================================
   12. PROCESO Y CIFRAS
   ========================================================= */
.process {
  position: relative;
  overflow: hidden;
  background: var(--petrol);
  color: var(--white);
}
.process::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.22), transparent 68%);
  pointer-events: none;
}
.process .container { position: relative; z-index: 1; }
.process h2 { color: var(--white); }
.process .lead { color: rgba(255, 255, 255, 0.76); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.step {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark);
}
.step__num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brass-soft);
}
.step h3 { margin: 0.5rem 0 0.4rem; color: var(--white); font-size: 1.18rem; }
.step p { color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; line-height: 1.65; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-top: clamp(1.75rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line-dark);
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
}
.stat__value span { color: var(--brass-soft); font-size: 0.65em; }
.stat__label {
  display: block;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  line-height: 1.45;
}

/* =========================================================
   13. GALERÍA
   ========================================================= */
.gallery { background: var(--white); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.4vw, 1rem);
}

.gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  grid-column: span 4;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--mist);
  cursor: zoom-in;
  text-align: left;
}
.gallery__item:first-child,
.gallery__item:nth-child(2) {
  grid-column: span 6;
  aspect-ratio: 16 / 10;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 27, 51, 0.78), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.gallery__item:hover img,
.gallery__item:focus-visible img { transform: scale(1.04); }
.gallery__item:hover::after,
.gallery__item:focus-visible::after { opacity: 1; }

.gallery__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.9rem;
  z-index: 1;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery__item:hover .gallery__caption,
.gallery__item:focus-visible .gallery__caption {
  opacity: 1;
  transform: none;
}

.gallery__cta {
  display: flex;
  grid-column: span 12;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--sand);
}
.gallery__cta h3 { margin-bottom: 0.2rem; font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.gallery__cta p { color: var(--muted); font-size: 0.9rem; }

/* =========================================================
   14. OPINIONES
   ========================================================= */
.testimonials { background: var(--sand); }

.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}
.rating p { color: var(--muted); font-size: 0.85rem; line-height: 1.45; }
.rating strong { color: var(--ink); font-size: 1rem; }
.rating .stars .icon { width: 16px; height: 16px; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.4rem, 3vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.quote__mark {
  height: 1.15rem;
  color: var(--brass);
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 0.6;
}
.quote blockquote p { color: var(--ink); font-size: 0.98rem; line-height: 1.7; }
.quote figcaption {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
.quote cite {
  display: block;
  color: var(--ink);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 800;
}

/* =========================================================
   15. PREGUNTAS FRECUENTES
   ========================================================= */
.faq { background: var(--white); }

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.faq__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.faq__aside .lead { margin-bottom: 1.5rem; }

.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--brass-deep); }

.faq__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brass-deep);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease),
              border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.faq__icon .icon { width: 16px; height: 16px; }
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  background: var(--brass-deep);
  border-color: var(--brass-deep);
  color: var(--white);
}
.faq__answer {
  max-width: 64ch;
  padding-bottom: 1.3rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* =========================================================
   16. CONTACTO Y FORMULARIO
   ========================================================= */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--petrol);
  color: var(--white);
}
.contact::before {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.2), transparent 68%);
  pointer-events: none;
}
.contact .container { position: relative; z-index: 1; }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: stretch;
}
.contact h2 { color: var(--white); }
.contact .lead { color: rgba(255, 255, 255, 0.76); }

.contact__list { display: grid; gap: 1.05rem; margin-top: clamp(1.75rem, 3.5vw, 2.25rem); }
.contact__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}
.contact__list .icon { width: 20px; height: 20px; margin-top: 0.25rem; color: var(--brass-soft); }
.contact__list span {
  display: block;
  margin-bottom: 0.1rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.contact__list strong,
.contact__list p,
.contact__list a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}
.contact__list a {
  border-bottom: 1px solid rgba(125, 211, 252, 0.45);
  transition: color 0.2s var(--ease);
}
.contact__list a:hover { color: var(--brass-soft); }

.contact__areas {
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}
.contact__areas h3 {
  margin-bottom: 0.5rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.contact__areas p { color: rgba(255, 255, 255, 0.72); font-size: 0.87rem; line-height: 1.6; }

.form-card {
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.form-card__title { margin-bottom: 0.3rem; font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
.form-card__sub { margin-bottom: 1.4rem; color: var(--muted); font-size: 0.86rem; }
.form-card form { display: grid; gap: 1rem; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.01em; }
.field label .optional { color: var(--muted); font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.94rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.55; }
.field input::placeholder,
.field textarea::placeholder { color: #627D98; opacity: 1; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.22);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23486581' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 18px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}
.checkbox input {
  flex: none;
  width: 18px;
  height: 18px;
  min-height: auto;
  margin-top: 0.1rem;
  accent-color: var(--brass-deep);
}
.checkbox a { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 2px; }

.form__submit { margin-top: 0.25rem; }
.form-card__note { margin-top: -0.2rem; color: var(--muted); font-size: 0.72rem; text-align: center; }
.form-card__note--left { margin: 0 0 1.1rem; text-align: left; line-height: 1.55; }
.form-card__note--left a { color: var(--brass-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.form-alert {
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.86rem;
  line-height: 1.5;
}
.form-alert--success { border-color: #C8D6C9; background: #EDF3EB; color: #1F4532; }
.form-alert--error { border-color: #E8B7B2; background: #FFF1EF; color: #8A2C24; }
.field .errorlist { margin: 0; padding-left: 1.2rem; color: #8A2C24; font-size: 0.78rem; }

.form-success {
  padding: 1.2rem 1.25rem;
  border: 1px solid #C8D6C9;
  border-radius: 10px;
  background: #EDF3EB;
  color: #1F4532;
  font-size: 0.9rem;
  line-height: 1.55;
}
.form-success strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #173A29;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

/* =========================================================
   17. PIE DE PÁGINA
   ========================================================= */
.site-footer {
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
  background: #061B33;
  color: rgba(255, 255, 255, 0.72);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1fr 1.1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
}
.footer__brand .logo__text { color: var(--white); }
.footer__brand .logo__text em { color: var(--brass-soft); }
.footer__brand > p {
  max-width: 34ch;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.87rem;
  line-height: 1.65;
}
.footer__rating {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}
.footer__rating .stars { color: var(--gold-star); }
.footer__rating .icon { width: 13px; height: 13px; }

.footer__col h3 {
  margin-bottom: 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer__col ul { display: grid; gap: 0.55rem; }
.footer__col a,
.footer__col p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.55;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--brass-soft); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: 1.35rem 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.footer__legal a:hover { color: var(--brass-soft); }

/* =========================================================
   18. BOTÓN FLOTANTE Y LIGHTBOX
   ========================================================= */
.call-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 110;
  display: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brass-deep);
  color: var(--white);
  box-shadow: 0 16px 34px -12px rgba(11, 37, 69, 0.55);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.call-fab:hover { transform: translateY(-2px); background: #004F7C; }
.call-fab .icon { width: 24px; height: 24px; }
.call-fab--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
}

.lightbox {
  width: fit-content;
  max-width: calc(100vw - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--petrol-deep);
  color: var(--sand);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
}
.lightbox::backdrop {
  background: rgba(6, 20, 24, 0.86);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; width: fit-content; max-width: 100%; max-height: calc(100dvh - 4.5rem); margin: 0; }
.lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 4.5rem);
  max-height: calc(100dvh - 7rem);
  margin-inline: auto;
  border-radius: 12px;
  background: #041324;
  object-fit: contain;
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
}
.lightbox__caption { line-height: 1.4; }
.lightbox__close {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.lightbox__close:hover { border-color: var(--brass-soft); background: rgba(255, 255, 255, 0.08); }
.lightbox__close .icon { width: 16px; height: 16px; }

/* =========================================================
   19. RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 2.75rem); }
  .hero__content { min-width: 0; }
  .hero__media { order: 2; min-width: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media img { height: clamp(360px, 54vw, 520px); }

  .about__grid { grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 2.75rem); }
  .about__media { max-width: 540px; margin-inline: auto; }

  .faq__grid { grid-template-columns: 1fr; gap: 2rem; }
  .faq__aside { position: static; }

  .contact__grid { grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 2.75rem); }

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

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .rating { justify-content: flex-start; margin-top: 0.5rem; }
}

@media (max-width: 900px) {
  .js .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-h));
    padding: 1.25rem var(--gutter) 2rem;
    overflow-y: auto;
    background: var(--sand);
    border-top: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    /* visibility cambia al instante al abrir (para poder enfocar) y se
       retrasa al cerrar (para que se vea el fundido) */
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .js .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__link { display: block; padding: 1rem 0; font-size: 1.05rem; }
  .nav__link::after { display: none; }

  .nav__mobile-cta { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
  .nav__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
  }

  .js .menu-toggle { display: inline-flex; }
  .header-phone { display: none; }
  .header-cta { display: none; }
  .call-fab { display: grid; }

  .service { flex-basis: calc((100% - var(--services-gap)) / 2); }

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

  .gallery__item,
  .gallery__item:first-child,
  .gallery__item:nth-child(2) { grid-column: span 6; aspect-ratio: 4 / 3; }
  .gallery__item:nth-child(3),
  .gallery__item:nth-child(4) { grid-column: span 6; }
  .gallery__item:nth-child(5) { grid-column: span 12; aspect-ratio: 16 / 9; }

  /* Sin JavaScript: navegación visible y usable, sin menú desplegable */
  html:not(.js) .site-header__inner { flex-wrap: wrap; row-gap: 0.35rem; padding-block: 0.6rem; }
  html:not(.js) .nav { width: 100%; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .nav__list { flex-direction: row; flex-wrap: wrap; gap: 0.25rem 1rem; }
  html:not(.js) .nav__list li { border-bottom: 0; }
  html:not(.js) .nav__link { padding: 0.2rem 0; font-size: 0.85rem; }
  html:not(.js) .nav__list { display: flex; }
  html:not(.js) .nav__mobile-cta { display: none; }
  html:not(.js) .hero { padding-top: calc(var(--header-h) + 6.5rem); }
}

@media (max-width: 768px) {
  :root { --header-h: 80px; }

  .site-header__inner { min-height: 80px; padding-block: 0.5rem; }
  .logo__img { height: clamp(44px, 6vw, 56px); max-width: 58vw; }

  .hero { padding-block: calc(var(--header-h) + 2.25rem) 2.75rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__notes { padding-top: 0; border-top: 0; }

  .trust__list { flex-direction: column; align-items: flex-start; gap: 0.55rem; }
  .brands__inner { justify-content: flex-start; }

  .service { flex-basis: 100%; max-width: 520px; }

  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .about__media { padding: 0 1.6rem 1.6rem 0; }

  .urgent { flex-direction: column; align-items: flex-start; }
  .urgent .btn { width: 100%; }
}

@media (max-width: 600px) {
  .hero__title { font-size: clamp(2.35rem, 10vw, 3.2rem); }
  .hero__media img { height: 340px; }
  .hero__caption { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; max-width: none; }

  .gallery__item,
  .gallery__item:first-child,
  .gallery__item:nth-child(2),
  .gallery__item:nth-child(3),
  .gallery__item:nth-child(4),
  .gallery__item:nth-child(5) {
    grid-column: span 12;
    aspect-ratio: 16 / 10;
  }
  .gallery__caption { opacity: 1; transform: none; }
  .gallery__item::after { opacity: 0.74; }

  .process .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .section-head--split { gap: 1rem; }
  .quote { padding: 1.35rem; }
  .form-card { padding: 1.25rem; }
  .lightbox { width: fit-content; max-width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); border-radius: var(--radius-lg); padding: 0.5rem; }
  .lightbox__figure { max-height: calc(100dvh - 3rem); }
  .lightbox__img { max-width: calc(100vw - 2rem); max-height: calc(100dvh - 5rem); }
}

@media (hover: none) {
  .gallery__caption { opacity: 1; transform: none; }
  .gallery__item::after { opacity: 0.74; }
}

/* =========================================================
   20. MOVIMIENTO REDUCIDO
   ========================================================= */
@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;
  }
  .reveal.is-hidden { opacity: 1; transform: none; }
}

/* =========================================================
   REDISEÑO EDITORIAL — Jaime Salvador
   Composición nueva: portada inmersiva, proceso claro y proyectos
   como eje visual, con referencias de interiorismo contemporáneo.
   ========================================================= */
:root {
  --ink: #26312B;
  --petrol: #0B2545;
  --petrol-deep: #07192E;
  --petrol-soft: #134074;
  --brass: #B28D62;
  --brass-deep: #8A6945;
  --brass-soft: #D7C1A2;
  --sand: #F6F3ED;
  --sand-deep: #E9E4DA;
  --mist: #E3DED4;
  --muted: #73746D;
  --line: #DED9CF;
  --line-soft: #EAE6DF;
  --container: 1320px;
  --section-y: clamp(5rem, 10vw, 9rem);
  --header-h: 84px;
  --radius-sm: 0;
  --radius: 2px;
  --radius-lg: 2px;
}
html { scroll-behavior: smooth; }
body { background: var(--sand); color: var(--ink); }
h1, h2, h3 { font-weight: 500; letter-spacing: -.035em; }
h2 { max-width: 18ch; font-size: clamp(2.3rem, 4.5vw, 4.6rem); line-height: 1.04; }
.container { width: min(var(--container), calc(100% - 2 * var(--gutter))); }
.site-header { background: rgba(246,243,237,.95); border-color: rgba(38,49,43,.1); }
.site-header.is-scrolled { background: rgba(246,243,237,.98); box-shadow: 0 8px 30px rgba(30,36,30,.07); }
.site-header { height: var(--header-h); }
.site-header__inner { height: 100%; min-height: 0; padding-block: 0; }
.logo__img { height: 48px; max-width: min(310px, 29vw); }
.nav__link { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.nav__link::after { background: var(--brass); }
.btn { border-radius: 0; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.btn--primary { background: var(--petrol); }
.btn--primary:hover { background: var(--petrol-soft); }
.eyebrow { color: var(--brass-deep); font-size: .68rem; letter-spacing: .24em; }
.eyebrow::before { background: var(--brass); }
.section-head { max-width: 820px; margin-bottom: clamp(2.8rem, 6vw, 5rem); }
.section-head--split { max-width: none; }
.lead { color: var(--muted); }

/* Escenario inicial a pantalla completa: Menú + Hero (foto) + Franja de confianza */
.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100svh;
  min-height: 460px;
  padding-top: var(--header-h);
  box-sizing: border-box;
}
.hero-stage .hero {
  flex: 1 1 0%;
  min-height: 0;
  height: 100%;
  padding: 0;
  display: flex;
  align-items: stretch;
  background: var(--petrol-deep);
  position: relative;
  overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,25,46,.78) 0%, rgba(7,25,46,.47) 45%, rgba(7,25,46,.05) 100%); pointer-events: none; }
.hero__grid { position: relative; z-index: 2; width: min(var(--container), calc(100% - 2 * var(--gutter))); margin: auto; display: flex; align-items: center; height: 100%; min-height: 0; padding-block: clamp(0.75rem, 2vh, 2rem); }
.hero__content { max-width: 650px; color: white; }
.hero__content .eyebrow { color: #E3CBA9; }
.hero__title { max-width: 10ch; margin: clamp(0.5rem, 1.4vh, 1.2rem) 0 clamp(0.5rem, 1.6vh, 1.4rem); font-size: clamp(2.5rem, min(6.5vw, 7.5vh), 6.5rem); line-height: .94; letter-spacing: -.055em; font-weight: 400; }
.hero__title em { color: #E2C79F; }
.hero__sub { max-width: 49ch; color: rgba(255,255,255,.84); font-size: clamp(0.92rem, 1.2vw, 1.15rem); }
.hero__call { color: rgba(255,255,255,.78); margin-top: clamp(0.5rem, 1.4vh, 1.1rem); }
.hero__call a { color: white; border-color: #D7C1A2; }
.hero__notes { border-color: rgba(255,255,255,.3); margin-top: clamp(0.6rem, 1.6vh, 1.3rem); padding-top: clamp(0.6rem, 1.6vh, 1.3rem); }
.hero__notes li { color: white; }
.hero__notes .icon { color: #E2C79F; }
.hero__actions { margin-top: clamp(0.6rem, 1.6vh, 1.4rem); }
.hero__actions .btn--primary { background: #F6F3ED; color: var(--petrol-deep); }
.hero__actions .btn--primary:hover { background: #E2C79F; }
.hero__actions .btn--ghost { color: white; border-color: rgba(255,255,255,.55); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; max-height: none; border-radius: 0; box-shadow: none; object-fit: cover; object-position: center 55%; }
.hero__caption { left: auto; right: max(var(--gutter), calc((100vw - var(--container))/2)); bottom: clamp(0.75rem, 2vh, 1.75rem); border: 0; border-radius: 0; }

/* Banda de confianza y servicios con jerarquía de estudio */
.hero-stage .trust {
  flex: 0 0 auto;
}
.trust { background: #EAE5DA; border: 0; padding-block: clamp(0.55rem, 1.2vh, 0.9rem); }
.trust__list { justify-content: space-between; gap: 0.6rem 2rem; }
.trust__item { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.brands { background: #F6F3ED; }
.brands__inner { min-height: 90px; }
.brands__name { color: #6D7068; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.services-grid { gap: var(--services-gap); }
.service { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.service__media { aspect-ratio: 4/4.8; }
.service__media img { transition: transform 1s cubic-bezier(.2,.7,.15,1); }
.service:hover .service__media img { transform: scale(1.035); }
.service__tag { border-radius: 0; background: var(--sand); color: var(--ink); text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; }
.service__body { padding: 1.25rem 0 0; }
.service__body h3 { font-size: clamp(1.45rem, 2.1vw, 2rem); }
.urgent { border-radius: 0; background: var(--petrol); }

/* Estudio, pasos y proyectos: asimetría y espacios generosos */
.about { background: #EAE5DA; }
.about__grid { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(3rem, 8vw, 8rem); }
.about__media { min-height: 620px; }
.about__media-main { border-radius: 0; }
.about__media-small { border: 8px solid #EAE5DA; border-radius: 0; }
.feature { border-bottom-color: rgba(38,49,43,.15); }
.process { background: var(--petrol-deep); color: white; }
.process h2, .process h3 { color: white; }
.process .lead { color: rgba(255,255,255,.72); }
.process .eyebrow { color: #D7C1A2; }
.step { border: 1px solid rgba(255,255,255,.18); background: transparent; border-radius: 0; padding: 4px;}
.step__number { color: #D7C1A2; }
.stats { border-top-color: rgba(255,255,255,.2); }
.stat__value { color: white; }
.stat__label { color: rgba(255,255,255,.65); }
.gallery { background: var(--sand); }
.gallery__carousel { width: 100%; position: relative; }
.gallery__viewport { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); }
.gallery__track { position: relative; width: 100%; height: 100%; }
.gallery__item {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  grid-column: auto !important;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--mist);
  cursor: zoom-in;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}
.gallery__item.is-previous {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: none;
}
.gallery__item.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
}
html:not(.js) .gallery__item:first-child {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.gallery__item img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover !important;
  transition: transform 1.2s cubic-bezier(.2,.7,.15,1);
}
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.025); }
.gallery__item::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(7,25,46,.70)); opacity: 1; pointer-events: none; }
.gallery__caption { position: absolute; z-index: 1; left: clamp(1rem, 4vw, 3rem); bottom: clamp(1rem, 4vw, 3rem); color: white; font: 500 clamp(1.25rem, 2.5vw, 2.5rem)/1.1 var(--font-display); letter-spacing: -.02em; }
.gallery__controls { display: flex; align-items: center; gap: 1rem; margin-top: 1.1rem; }
.gallery__arrow { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; transition: color .25s, background .25s, border-color .25s; }
.gallery__arrow:hover { color: white; background: var(--petrol); border-color: var(--petrol); }
.gallery__arrow .icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.gallery__dots { display: flex; align-items: center; justify-content: center; gap: .55rem; margin-inline: auto; }
.gallery__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #C9C3B8; cursor: pointer; transition: width .3s, background .3s; }
.gallery__dot.is-active { width: 26px; border-radius: 8px; background: var(--petrol); }
.gallery__count { color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.gallery__cta { margin-top: clamp(2rem, 4vw, 3.5rem); padding: clamp(1.5rem, 3vw, 2.5rem) 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.testimonials { background: #EAE5DA; }
.quote { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; padding-inline: 0; }
.quote__mark { color: var(--brass); }
.faq { background: var(--sand); }
.faq__item { border-color: var(--line); }
.contact { background: var(--petrol-deep); color: white; }
.contact h2, .contact h3 { color: white; }
.contact .lead, .contact__list span, .contact__list p { color: rgba(255,255,255,.72); }
.contact .eyebrow { color: #D7C1A2; }
.form-card { border-radius: 0; }
.site-footer { background: #07192E; }
.site-footer .logo--footer { box-shadow: none; }
.legal-page { max-width: 900px; }
.legal-page h1 { margin-bottom: 2rem; }
.legal-page__content { white-space: normal; line-height: 1.85; }
.legal-page__content br { content: ""; display: block; margin-bottom: 0.9rem; }

/* Revelado y microinteracciones de desplazamiento */
.reveal { transition: opacity .85s cubic-bezier(.2,.7,.15,1), transform .85s cubic-bezier(.2,.7,.15,1); }
.reveal.is-hidden { transform: translateY(48px); }
.nav__link, .service__link, .btn { transition-duration: .45s; }
@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .hero, .hero__grid { min-height: 0; }
  .hero__grid { display: flex; }
  .hero__title { font-size: clamp(3.5rem, 12vw, 6.4rem); }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { min-height: 500px; }
  .gallery__viewport { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .hero, .hero__grid { min-height: 0; }
  .hero__grid { padding-block: clamp(0.5rem, 1.5vh, 1rem); }
  .hero__title { font-size: clamp(3.2rem, 15vw, 5rem); }
  .hero__media img { height: 100%; }
  .hero__caption { display: none; }
  .trust__list { align-items: flex-start; }
  .gallery__viewport { aspect-ratio: 4 / 3; }
  .gallery__arrow { width: 42px; height: 42px; }
  .about__media { min-height: 400px; }
}

/* Páginas de detalle de servicio, proyecto y enlaces GEO/SEO */
.service-pages-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.service-pages-bar__link { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.service-pages-bar__link:hover { color: var(--petrol); }

.gallery__links { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.gallery__links-title { margin-bottom: 0.5rem; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.gallery__links-list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; padding: 0; margin: 0; font-size: 0.92rem; }
.gallery__links-list a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.gallery__links-list a:hover { color: var(--petrol); }

.detail-page { max-width: 900px; }
.detail-page h1 { margin-bottom: 1.25rem; }
.detail-page .lead { margin-bottom: 2rem; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-bottom: 1.5rem; font-size: 0.85rem; color: var(--muted); }
.breadcrumb a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.detail-section { margin-top: 2rem; }
.detail-section h2 { margin-bottom: 0.75rem; font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.detail-section p + p { margin-top: 0.85rem; }
.detail-media { margin: 1.5rem 0 2rem; }
.detail-media img { width: 100%; height: auto; max-height: 540px; object-fit: cover; border-radius: 2px; }
.detail-media figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--muted); }
.detail-related-list { padding-left: 1.25rem; display: grid; gap: 0.5rem; }
.detail-related-list a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.detail-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* Preferencias de cookies */
.cookie-preferences {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}
.cookie-panel[hidden], .cookie-preferences[hidden] { display: none; }
.cookie-panel {
  position: fixed;
  z-index: 115;
  inset: auto auto max(1rem, env(safe-area-inset-bottom)) 1rem;
  width: min(28rem, calc(100vw - 2rem));
  max-height: min(50vh, 23rem);
  overflow: auto;
  padding: 1.15rem;
  background: #fff;
  color: #17243b;
  border: 1px solid #17243b;
  box-shadow: 0 0.5rem 1.75rem rgb(0 0 0 / 20%);
}
.cookie-panel h2 { font-size: 1.25rem; margin: 0 0 0.55rem; }
.cookie-panel p { margin: 0 0 0.65rem; }
.cookie-panel a, .checkbox a { text-decoration: underline; }
.cookie-panel__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 0.5rem;
}
.cookie-panel__actions .btn { padding: 0.55rem 0.5rem; justify-content: center; }
.contact__list a[href*="wa.me"] { display: block; }
