/* ==========================================================================
   ARCOSUR Soluciones Técnicas — hoja de estilos principal
   ========================================================================== */

:root {
  --navy: #061A2F;
  --navy-soft: #0E2A45;
  --blue: #4FAAF4;
  --blue-dark: #1C6FB0;
  --orange: #F28A2E;
  --orange-dark: #D8721A;
  --gray-light: #F5F7FA;
  --gray-200: #E7EBF0;
  --gray-400: #A9B4C0;
  --gray-600: #5B6B7C;
  --white: #FFFFFF;
  --success: #1E7A3C;
  --success-bg: #E7F6EC;
  --success-border: #BFE6CC;
  --error: #B3261E;
  --error-bg: #FDEAEA;
  --error-border: #F4C6C4;

  --font-display: "Sora", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 3px rgba(6, 26, 47, 0.08);
  --shadow-md: 0 8px 24px rgba(6, 26, 47, 0.10);
  --shadow-lg: 0 20px 48px rgba(6, 26, 47, 0.16);

  --container: 1260px;
}

/* ---- Tipografías autoalojadas (Sora / Manrope, ficheros variables locales) ---- */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/sora-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/sora-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/sora-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/sora-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/manrope-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/manrope-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/manrope-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-variable.woff2") format("woff2");
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
::selection { background: var(--orange); color: var(--navy); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
/* Enlaces dentro de texto corrido: nunca solo por color, siempre con subrayado */
p a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 120px 0; }
.section--tight { padding: 64px 0; }
.section--gray { background: var(--gray-light); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: var(--gray-400); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--blue); }

h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; }
.lead { font-size: 1.2rem; line-height: 1.65; color: var(--gray-600); }
.section--navy .lead { color: var(--gray-400); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  font-family: var(--font-display);
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--orange); color: var(--navy); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--blue { background: var(--blue-dark); color: var(--white); }
.btn--blue:hover { background: var(--navy); }
.btn--block { width: 100%; justify-content: center; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.25s ease;
}
.site-header.is-compact {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(6, 26, 47, 0.08);
}
@media (max-width: 899px) {
  .site-header.is-hidden { transform: translateY(-100%); }
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
  padding-inline: 20px;
  min-height: 70px;
  transition: min-height 0.2s ease, padding-block 0.2s ease;
}
@media (max-width: 899px) {
  .site-header.is-compact .site-header__bar { padding-block: 7px; min-height: 0; }
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 150px; height: auto; transition: width 0.2s ease; }
@media (max-width: 899px) {
  .site-header.is-compact .brand img { width: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header__bar, .brand img, .header-cta { transition: none; }
}

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: 30px; }
.nav-desktop a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 8px 0;
  position: relative;
}
.nav-desktop a:hover { color: var(--blue-dark); }
.nav-desktop a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.header-cta { display: none; transition: padding 0.2s ease, font-size 0.2s ease; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  flex-shrink: 0;
}
.nav-toggle__bar {
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .nav-toggle__bar { transition: none; }
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1;
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding-inline: 20px;
}
.nav-mobile.is-open { display: block; }
.nav-mobile ul { padding: 8px 0; }
.nav-mobile a {
  display: flex;
  align-items: center;
  min-height: 50px;
  font-family: var(--font-display);
  font-weight: 600;
}
.nav-mobile a.is-active { color: var(--blue-dark); }
.nav-mobile__location {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  margin-top: 4px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
}
.nav-mobile__location svg { width: 16px; height: 16px; color: var(--orange-dark); flex-shrink: 0; }
.nav-mobile__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}
.nav-mobile__phone svg { width: 16px; height: 16px; color: var(--orange-dark); flex-shrink: 0; }
.nav-mobile .header-cta { display: flex; width: 100%; min-height: 48px; margin: 14px 0 20px; }

@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .site-header__bar { padding-block: 10px; padding-inline: 24px; min-height: 78px; }
  .brand img { width: 175px; }

  .site-header.is-compact .site-header__bar { padding-block: 9px; min-height: 0; }
  .site-header.is-compact .brand img { width: 150px; }
  .site-header.is-compact .header-cta { padding: 9px 18px; font-size: 0.88rem; }
}

/* ---- Breadcrumbs ---- */
.breadcrumbs { padding: 18px 0; font-size: 0.85rem; color: var(--gray-600); }
.breadcrumbs a { color: var(--gray-600); }
.breadcrumbs a:hover { color: var(--blue-dark); }
.breadcrumbs .sep { margin: 0 8px; color: var(--gray-600); }
.breadcrumbs .current { color: var(--navy); font-weight: 600; }

/* ---- Hero: navy panel + full-bleed photo, matches reference composition ---- */
.hero {
  display: grid;
  align-items: stretch;
  background: var(--navy);
  color: var(--white);
  container-type: inline-size;
}
@media (min-width: 960px) {
  .hero { grid-template-columns: 52% 48%; min-height: 640px; }
}
.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 32px 36px;
  min-width: 0;
}
@media (min-width: 960px) {
  .hero__text { padding: 20px 16px 40px max(10px, calc((100cqw - var(--container)) / 2 + 10px)); }
}
.hero__text .eyebrow { color: var(--blue); }
.hero__text h1 { max-width: 25ch; color: var(--white); font-size: clamp(1.85rem, 2.6vw, 2.3rem); line-height: 1.25; }
.hero__text h1 .accent { color: var(--blue); }
@media (min-width: 960px) {
  .hero__text h1 { max-width: 680px; font-size: 48px; line-height: 1.08; }
}
.hero__text .lead { color: var(--gray-400); max-width: 46ch; margin-top: 12px; margin-bottom: 20px; font-size: 17px; line-height: 1.55; }
@media (min-width: 960px) {
  .hero__text .lead { margin-top: 24px; margin-bottom: 40px; }
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 0; }
.hero__actions .btn { padding: 12px 16px; font-size: 0.88rem; white-space: nowrap; }
@media (min-width: 480px) { .hero__actions .btn { padding: 14px 26px; font-size: 0.98rem; } }
.hero__trust-row {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .72);
}
@media (min-width: 960px) {
  .hero__trust-row { display: flex; margin-top: 20px; }
}
.hero__trust-row span:not(:first-child) { margin-left: 14px; }
.hero__trust-row span:not(:first-child)::before { content: "\00b7"; color: var(--blue); margin-right: 14px; }

.hero__photo { position: relative; aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; background: var(--navy); min-width: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; position: absolute; inset: 0; }
@media (min-width: 960px) {
  .hero__photo { aspect-ratio: auto; min-height: 100%; }
  .hero__photo img { object-position: 65% center; }
}
.hero__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(6,26,47,0.92) 6%, rgba(6,26,47,0.55) 20%, rgba(6,26,47,0.18) 38%, rgba(6,26,47,0) 58%);
}
@media (max-width: 959px) { .hero__photo::after { background: linear-gradient(180deg, var(--navy) 0%, rgba(6,26,47,0.5) 5%, rgba(6,26,47,0.12) 12%, rgba(6,26,47,0) 20%); } }

/* ---- Photo treatment: unify stock photography under one editorial tone ---- */
.photo-frame { position: relative; overflow: hidden; background: var(--navy); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.92) contrast(1.04); }
.photo-frame__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 22px 16px;
  background: linear-gradient(180deg, rgba(6,26,47,0) 0%, rgba(6,26,47,0.78) 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

/* ---- Service anchor (photo-led primary service) ---- */
.service-anchor { display: grid; gap: 32px; align-items: center; margin-bottom: 56px; }
@media (min-width: 800px) { .service-anchor { grid-template-columns: 1fr 1fr; gap: 48px; } }
.service-anchor__photo { aspect-ratio: 4/3; border-radius: var(--radius-md); }
.service-anchor__photo.photo-frame { }
.service-anchor h3 { font-size: 1.6rem; margin-bottom: 14px; }

/* ---- Work gallery (real installations, editorial mosaic) ---- */
.work-gallery { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .work-gallery { grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: repeat(2, 220px); gap: 16px; }
  .work-gallery__item--tall { grid-row: span 2; }
}
.work-gallery__item { border-radius: var(--radius-sm); aspect-ratio: 4/3; }
@media (min-width: 760px) { .work-gallery__item { aspect-ratio: auto; } }

/* ---- Particulares: hogar doméstico, foto grande contenida, sin sobrecarga ---- */
.particulares-section { background: var(--navy); padding: 56px 0; }
.particulares-grid { display: flex; flex-direction: column; }
.particulares-content h2 { color: var(--white); margin: 0 0 14px; }
.particulares-content > .lead { color: var(--gray-400); font-size: 16px; line-height: 1.55; margin: 0 0 22px; }
.particulares-section .eyebrow { color: var(--blue); }

.particulares-areas { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 480px) { .particulares-areas { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.particulares-areas li { display: flex; gap: 12px; align-items: flex-start; }
.particulares-areas__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 170, 244, 0.16);
  color: var(--blue);
  border-radius: 50%;
}
.particulares-areas__icon svg { width: 17px; height: 17px; }
.particulares-areas h3 { color: var(--white); font-size: 1rem; margin: 0 0 4px; }
.particulares-areas p { color: var(--gray-400); font-size: 0.88rem; line-height: 1.5; margin: 0; }

.particulares-actions { display: flex; flex-direction: column; gap: 14px; }
.particulares-cta { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; line-height: 1.2; align-self: flex-start; }
.particulares-cta svg { width: 18px; height: 18px; flex: 0 0 auto; }

.particulares-photo { margin-top: 28px; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; }
.particulares-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 85% center; display: block; }

@media (min-width: 1024px) {
  .particulares-section { padding: 80px 0 68px; }
  .particulares-section .container { max-width: 1320px; padding: 0 48px; }
  .particulares-grid {
    display: grid;
    grid-template-columns: 46fr 54fr;
    column-gap: 64px;
    align-items: center;
  }
  .particulares-content h2 { font-size: 50px; line-height: 1.05; }
  .particulares-content > .lead { font-size: 17px; max-width: 480px; }
  .particulares-photo { margin-top: 0; aspect-ratio: auto; height: 430px; min-height: 420px; max-height: 450px; align-self: center; }
}

/* ---- Cards / grids ---- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.card:hover { border-color: var(--blue-dark); }

.coverage-map { padding: 20px; }
.coverage-map svg { display: block; width: 100%; height: auto; aspect-ratio: 4/3; border-radius: var(--radius-sm); }
.coverage-map__label { font-family: var(--font-display); font-size: 13px; font-weight: 700; fill: var(--white); }
.coverage-map__sublabel { font-family: var(--font-body); font-size: 11px; fill: var(--gray-400); }
.coverage-map__zone { font-family: var(--font-display); font-size: 15px; font-weight: 700; fill: var(--white); opacity: 0.85; letter-spacing: 0.02em; }

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.service-card p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 14px; }
.service-card__link { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--blue-dark); display: inline-flex; align-items: center; gap: 6px; }
.service-card__link svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.service-card:hover .service-card__link svg { transform: translateX(3px); }

.value-card { text-align: left; }
.value-card__num { font-family: var(--font-display); font-weight: 700; color: var(--gray-200); font-size: 2.2rem; line-height: 1; margin-bottom: 10px; }
.section--navy .value-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.section--navy .value-card__num { color: rgba(255,255,255,0.18); }
.section--navy .value-card p { color: var(--gray-400); }

/* ---- Proof band (real, non-fabricated credibility stats) ---- */
.proof-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
@media (min-width: 800px) { .proof-band { grid-template-columns: repeat(4, 1fr); } }
.proof-band__item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
@media (min-width: 800px) { .proof-band__item { border-bottom: none; } }
.proof-band__item:nth-child(2n) { border-right: none; }
@media (min-width: 800px) {
  .proof-band__item:nth-child(2n) { border-right: 1px solid var(--gray-200); }
  .proof-band__item:last-child { border-right: none; }
}
.proof-band__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--navy); line-height: 1; margin-bottom: 10px; }
.proof-band__label { font-size: 0.92rem; color: var(--gray-600); font-weight: 600; max-width: 22ch; margin: 0 auto; }

/* ---- Services index (editorial list, replaces card grid on the homepage) ---- */
.services-index { display: grid; gap: 40px; }
@media (min-width: 900px) { .services-index { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }
.services-index__intro h2 { margin-bottom: 18px; }
.services-index__list { border-top: 1px solid var(--gray-200); }
.services-index__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: padding-left 0.2s ease;
}
.services-index__item:hover { padding-left: 12px; }
.services-index__item-text h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  margin-bottom: 6px;
  transition: color 0.2s ease;
}
.services-index__item:hover .services-index__item-text h3 { color: var(--blue-dark); }
.services-index__item-text p { color: var(--gray-600); margin: 0; max-width: 46ch; }
.services-index__item-arrow { flex-shrink: 0; color: var(--blue-dark); transition: transform 0.2s ease; }
.services-index__item-arrow svg { width: 22px; height: 22px; }
.services-index__item:hover .services-index__item-arrow { transform: translateX(4px); }

/* ---- Statement block (bold typographic device, no cards/numbers) ---- */
.statement { text-align: center; max-width: 900px; margin: 0 auto; }
.statement h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.statement__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gray-400);
}
.statement__points span:not(.statement__sep) { color: var(--white); }
.statement__sep { color: var(--blue); margin: 0 18px; }

/* ---- Check lists ---- */
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--gray-200); }
.check-list li:last-child { border-bottom: none; }
.check-list svg { width: 20px; height: 20px; color: var(--blue-dark); flex-shrink: 0; margin-top: 2px; }

/* ---- Zones / coverage ---- */
.zone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
}
.zone-pill svg { width: 16px; height: 16px; color: var(--orange-dark); }

/* ---- CTA band ---- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: var(--gray-400); margin: 0; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-item__q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}
.faq-item__q svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue-dark); transition: transform 0.2s ease; }
.faq-item.is-open .faq-item__q svg { transform: rotate(45deg); }
.faq-item__a { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows 0.25s ease; }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a p { overflow: hidden; min-height: 0; padding: 0 4px; color: var(--gray-600); margin: 0; }
.faq-item.is-open .faq-item__a p { padding-bottom: 20px; }
@media (prefers-reduced-motion: reduce) {
  .faq-item__q svg, .faq-item__a { transition: none; }
}

/* ---- FAQ editorial (homepage): texto + foto a la izquierda, acordeón amplio a la derecha ---- */
.faq-section { background: var(--gray-light); padding: 56px 0; }
.faq-grid { display: flex; flex-direction: column; }
.faq-content { display: flex; flex-direction: column; }
.faq-content h2 { margin-bottom: 14px; }
.faq-content > .lead { color: var(--gray-600); margin-top: 0; font-size: 16px; line-height: 1.55; }

.faq-photo { margin-top: 20px; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.faq-panel {
  margin-top: 32px;
  background: rgba(79, 170, 244, 0.06);
  border-radius: 20px;
  padding: 6px 16px;
  box-shadow: 0 1px 2px rgba(6, 26, 47, 0.04);
}
.faq-accordion .faq-item__label { display: flex; align-items: center; gap: 14px; min-width: 0; }
.faq-accordion .faq-item__num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  background: rgba(79, 170, 244, 0.2);
  border-radius: 10px;
}
.faq-accordion .faq-item__text { font-size: 1.05rem; }
.faq-panel .faq-item__q {
  min-height: 60px;
  padding: 12px 14px;
  border-radius: 10px;
  transition: background-color 0.18s ease;
}
.faq-panel .faq-item__q:hover { background: rgba(79, 170, 244, 0.09); }
.faq-panel .faq-item__q:focus-visible { background: rgba(79, 170, 244, 0.09); }
.faq-panel .faq-item.is-open .faq-item__q { background: rgba(79, 170, 244, 0.13); }
.faq-panel .faq-item.is-open .faq-item__q .faq-item__text { color: var(--navy); }
.faq-panel .faq-item.is-open .faq-item__a p { padding: 4px 14px 14px; }
.faq-accordion .faq-item__q svg { transform: rotate(180deg); }
.faq-accordion .faq-item.is-open .faq-item__q svg { transform: rotate(0deg); color: var(--blue); }

.faq-cta { margin-top: 24px; background: rgba(79, 170, 244, 0.16); border-radius: 16px; padding: 16px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.faq-cta__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-sm);
}
.faq-cta__icon svg { width: 20px; height: 20px; color: var(--blue); }
.faq-cta__body { flex: 1 1 auto; min-width: 200px; }
.faq-cta__body .eyebrow { display: block; margin-bottom: 2px; color: var(--navy); }
.faq-cta__body p { margin: 0; font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.faq-cta__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--blue);
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  background: var(--white);
  transition: background 0.15s ease, color 0.15s ease;
}
.faq-cta__btn:hover { background: var(--blue); color: var(--white); }
.faq-cta__btn svg { width: 16px; height: 16px; }

@media (min-width: 1024px) {
  .faq-section { padding: 76px 0; }
  .faq-section .container { max-width: 1360px; padding: 0 48px; }
  .faq-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .faq-content h2 { font-size: 46px; line-height: 1.05; }
  .faq-photo { aspect-ratio: 16 / 9; }
  .faq-panel { margin-top: 0; padding: 6px 22px; }
  .faq-accordion .faq-item__text { font-size: 1.1rem; }
  .faq-panel .faq-item__a p { font-size: 0.95rem; }
}

/* ---- Forms ---- */
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 700; font-family: var(--font-display); font-size: 0.9rem; margin-bottom: 8px; }
.form-field input:not([type="checkbox"]),
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--navy);
}
.form-field input:not([type="checkbox"]):focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79,170,244,0.18);
}
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: 0.82rem; color: var(--gray-600); margin-top: 6px; }
.form-field--checkbox { margin-bottom: 16px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-family: var(--font-body); font-size: 0.85rem; color: var(--gray-600); cursor: pointer; }
.form-checkbox input[type="checkbox"] { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--blue-dark); cursor: pointer; }
.form-checkbox a { color: var(--blue-dark); text-decoration: underline; }
.form-alert { padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; font-weight: 600; }
.form-alert--success { background: var(--success-bg); color: var(--success); border: 1px solid var(--success-border); }
.form-alert--error { background: var(--error-bg); color: var(--error); border: 1px solid var(--error-border); }

.contact-info-card { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 36px; }
.contact-info-card h3 { color: var(--white); }
.contact-info-card ul { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.contact-info-card li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-card li svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.contact-info-card small { display: block; color: var(--gray-400); font-size: 0.82rem; margin-top: 2px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: var(--gray-400); padding: 64px 0 28px; }
.footer-grid { display: grid; gap: 40px; margin-bottom: 48px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { width: auto; height: 30px; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1.05rem; }
.footer-desc { max-width: 320px; }
.footer-legal-links { display: flex; gap: 20px; }
.form-honeypot { position: absolute; left: -9999px; }
.footer-col h3 { color: var(--white); font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--white); }

/* ---- Header: location pill (desktop only) ---- */
.header-location {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  white-space: nowrap;
}
.header-location svg { width: 16px; height: 16px; color: var(--orange-dark); flex-shrink: 0; }
@media (min-width: 1100px) { .header-location { display: inline-flex; } }

.header-phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; color: var(--orange-dark); flex-shrink: 0; }
.header-phone:hover { color: var(--blue-dark); }
@media (min-width: 900px) { .header-phone { display: inline-flex; } }

/* ---- Servicios: bloques editoriales fotográficos + franja secundaria + CTA de cierre ---- */
.svc-section { padding: 64px 0; }

.svc-head { display: flex; flex-direction: column; margin-bottom: 32px; }
.svc-head__title h2 { color: var(--navy); margin: 0; }
.svc-head__intro { margin-top: 16px; color: var(--gray-600); font-size: 16px; line-height: 1.5; }

.svc-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); align-items: stretch; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }

.svc-card { display: flex; flex-direction: column; }
.svc-card__photo { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 16px; }
@media (max-width: 639px) {
  .svc-card__photo { aspect-ratio: 4 / 3; }
}
.svc-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 200ms ease; }
.svc-card:hover .svc-card__photo img { transform: scale(1.02); }
.svc-photo--cerrajeria { object-position: 58% 45%; }
.svc-photo--porteros { object-position: 85% center; }
.svc-photo--iluminacion { object-position: 72% center; }
.svc-photo--pintura { object-position: 60% center; }
.svc-card__icon {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 1;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-dark);
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
}
.svc-card__icon svg { width: 17px; height: 17px; }
.svc-card__body { display: flex; flex-direction: column; flex: 1 1 auto; }
.svc-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.svc-card h3 a:hover { color: var(--blue-dark); }
.svc-card p { color: var(--gray-600); font-size: 0.92rem; line-height: 1.5; margin: 0 0 14px; }
.svc-card__link {
  margin-top: auto;
  padding: 12px 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}
.svc-card__link svg { width: 15px; height: 15px; transition: transform 200ms ease; }
.svc-card:hover .svc-card__link svg { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .svc-card__photo img, .svc-card__link svg { transition: none; }
}

.svc-more {
  margin-top: 32px;
  background: var(--gray-light);
  border-radius: 18px;
  padding: 8px 16px;
}
.svc-more__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  padding: 16px 16px 0;
}
.svc-more__list { border-top: none; }
.svc-more__list .service-detail-related__item:last-child { border-bottom: none; }

.svc-cta {
  margin-top: 32px;
  background: rgba(79, 170, 244, 0.08);
  border-radius: 18px;
  padding: 30px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.svc-cta__body .eyebrow { color: var(--blue-dark); margin-bottom: 4px; display: block; }
.svc-cta__body p { margin: 0; font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.svc-cta__btn { flex-shrink: 0; }

@media (min-width: 1024px) {
  .svc-section { padding: 96px 0; }
  .svc-section .container { max-width: 1360px; padding: 0 48px; }
  .svc-head { display: grid; grid-template-columns: 13fr 12fr; column-gap: 40px; align-items: center; margin-bottom: 52px; }
  .svc-head__title h2 { font-size: 46px; line-height: 1.05; }
  .svc-head__intro { margin-top: 0; font-size: 17px; line-height: 1.6; max-width: 540px; }
  .svc-grid { gap: 24px; }
  .svc-card p { font-size: 0.94rem; }
}

/* ---- Comunidades y administradores: navy section with a contained photo column (no image transform/zoom) ---- */
.community-section { background: var(--navy); overflow: hidden; container-type: inline-size; }
.community-grid { position: relative; display: flex; flex-direction: column; padding: 56px 24px; }
.community-grid > .eyebrow { color: var(--blue); margin-bottom: 18px; }
.community-grid > h2 { color: var(--white); font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: 1.08; margin-bottom: 30px; }
.community-grid > .lead { color: var(--gray-400); font-size: 1.1rem; margin-bottom: 32px; max-width: 550px; }
.community-photo { margin: 0 0 32px; border-radius: 12px; overflow: hidden; }
.community-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (min-width: 1024px) {
  .community-grid {
    padding: 64px 0;
    padding-left: max(24px, calc((100cqw - var(--container)) / 2 + 24px));
    min-height: 600px;
    justify-content: center;
  }
  .community-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    width: calc(52% + 75px);
    background: var(--navy);
    clip-path: polygon(0 0, 100% 0, calc(100% - 75px) 100%, 0 100%);
    z-index: 1;
  }
  .community-grid > .eyebrow,
  .community-grid > h2,
  .community-grid > .lead,
  .community-grid > .benefit-list,
  .community-actions {
    position: relative;
    z-index: 2;
    width: 52%;
    max-width: 500px;
    padding-right: 24px;
  }
  .community-grid > h2 { font-size: 47px; line-height: 1.05; margin-bottom: 26px; }
  .community-grid > .lead { max-width: 500px; font-size: 16px; margin-bottom: 28px; }
  .community-grid > .benefit-list { margin-bottom: 26px; }
  .community-grid > .benefit-list li { padding: 8px 0; }
  .community-grid > .benefit-list li > div { padding-bottom: 8px; }
  .community-grid > .benefit-list h3 { font-size: 16px; }
  .community-grid > .benefit-list p { font-size: 14px; }
  .community-photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 48%;
    margin: 0;
    z-index: 0;
    border-radius: 0;
    overflow: visible;
  }
  .community-photo img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 60% center;
    transform: none;
  }
}

.benefit-list { margin: 0 0 30px; }
.benefit-list li { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; }
.benefit-list li > div { border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 10px; }
.benefit-list li:last-child > div { border-bottom: none; padding-bottom: 0; }
.benefit-list svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.benefit-list h3 { color: var(--white); font-size: 1.05rem; margin: 0 0 4px; }
.benefit-list p { color: var(--gray-400); font-size: 0.92rem; margin: 0; }

/* ---- Incidencias habituales: editorial photo + derivable-situation rows ---- */
.incident-section { padding: 104px 0; }
.incident-split { display: flex; flex-direction: column; gap: 48px; }
@media (min-width: 900px) {
  .incident-split { flex-direction: row; align-items: center; gap: 64px; }
  .incident-split__photo { order: -1; flex: 0 0 45%; max-width: 45%; }
  .incident-split__content { flex: 1 1 55%; min-width: 0; }
}
.incident-split__photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
@media (min-width: 900px) { .incident-split__photo img { height: 560px; } }

.incident-split__content .eyebrow { color: var(--blue-dark); }
.incident-split__content h2 { font-size: clamp(2.1rem, 3.4vw, 2.9rem); line-height: 1.15; margin-bottom: 20px; }
.incident-split__content .lead { font-size: 1.1rem; margin-bottom: 36px; max-width: 56ch; }

.incident-list { margin: 0 0 36px; }
.incident-list li { display: flex; gap: 20px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--gray-200); }
.incident-list li:first-child { padding-top: 0; }
.incident-list li:last-child { border-bottom: none; padding-bottom: 0; }
.incident-list__num { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--blue-dark); flex-shrink: 0; min-width: 30px; }
.incident-list h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.incident-list p { font-size: 0.95rem; color: var(--gray-600); margin: 0; }

.incident-split__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

@media (min-width: 900px) {
  .incident-section { padding: 80px 0; }
  .incident-split__content h2 { font-size: 43px; line-height: 1.06; margin-bottom: 18px; }
  .incident-split__content .lead { font-size: 16px; margin-bottom: 26px; }
  .incident-list { margin: 0 0 30px; }
  .incident-list li { padding: 8px 0; }
  .incident-list__num { font-size: 17px; }
  .incident-list h3 { font-size: 17px; }
  .incident-list p { font-size: 14px; }
}
.incident-split__secondary { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--blue-dark); }

/* ---- Cobertura: texto + mapa de cobertura real, sin recrear el mapa en CSS ---- */
.coverage-section { background: var(--white); padding: 64px 0; }
.coverage-grid { display: flex; flex-direction: column; }
.coverage-grid > h2 { max-width: 650px; }
.coverage-grid > .lead { color: var(--gray-600); margin-top: 14px; max-width: 680px; }

.coverage-visual { margin: 28px 0; border-radius: 18px; overflow: hidden; }
.coverage-visual img, .coverage-visual svg { width: 100%; height: auto; object-fit: contain; display: block; }

.coverage-areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 480px) { .coverage-areas { grid-template-columns: 1fr 1fr; } }
.coverage-areas li { display: flex; flex-direction: column; gap: 10px; }
.coverage-areas svg { width: 26px; height: 26px; color: var(--blue); }
.coverage-areas h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0; }
.coverage-areas p { font-size: 0.88rem; color: var(--gray-600); margin: 0; line-height: 1.5; }

.coverage-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.coverage-cta { padding: 13px 26px; line-height: 1.2; }
.coverage-secondary { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--blue-dark); display: inline-flex; align-items: center; gap: 6px; }
.coverage-secondary svg { width: 16px; height: 16px; }

@media (min-width: 1024px) {
  .coverage-section { padding: 92px 0; }
  .coverage-section .container { max-width: 1440px; padding: 0 48px; }
  .coverage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    column-gap: 56px;
    align-items: start;
  }
  .coverage-grid > .eyebrow { grid-column: 1; grid-row: 1; }
  .coverage-grid > h2 { grid-column: 1; grid-row: 2; font-size: 46px; line-height: 1.08; }
  .coverage-grid > .lead { grid-column: 1; grid-row: 3; font-size: 17px; }
  .coverage-grid > .coverage-areas { grid-column: 1; grid-row: 4; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 32px; }
  .coverage-grid > .coverage-actions { grid-column: 1; grid-row: 5; }
  .coverage-visual { grid-column: 2; grid-row: 1 / 6; align-self: center; margin: 0; }
}

/* ---- Empresa: fotografía real + identidad corporativa (sin repetir cobertura/horarios/proceso) ---- */
.empresa-section { padding: 64px 0; }
.empresa-grid { display: flex; flex-direction: column; }
.empresa-grid > .lead { color: var(--gray-600); margin-top: 14px; max-width: 500px; }

.empresa-photo { margin: 28px 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; }
.empresa-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

.empresa-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.empresa-facts li { display: flex; gap: 16px; align-items: flex-start; }
.empresa-facts__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 170, 244, 0.12);
  border-radius: var(--radius-sm);
}
.empresa-facts__icon svg { width: 20px; height: 20px; color: var(--blue); }
.empresa-facts h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.empresa-facts p { font-size: 0.92rem; color: var(--gray-600); margin: 0; line-height: 1.5; }

.empresa-actions { margin-top: 32px; }
.empresa-cta { padding: 13px 26px; line-height: 1.2; }

@media (min-width: 1024px) {
  .empresa-section { padding: 96px 0; }
  .empresa-section .container { max-width: 1360px; padding: 0 48px; }
  .empresa-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: 64px;
    align-items: stretch;
  }
  .empresa-grid > .eyebrow { grid-column: 2; grid-row: 1; }
  .empresa-grid > h2 { grid-column: 2; grid-row: 2; font-size: 46px; line-height: 1.1; max-width: 500px; }
  .empresa-grid > .lead { grid-column: 2; grid-row: 3; font-size: 17px; max-width: 500px; }
  .empresa-grid > .empresa-facts { grid-column: 2; grid-row: 4; margin-top: 8px; }
  .empresa-grid > .empresa-actions { grid-column: 2; grid-row: 5; }
  .empresa-photo { grid-column: 1; grid-row: 1 / 6; align-self: center; margin: 0; aspect-ratio: 5 / 4; }
}

/* ---- Contacto: fondo fotográfico inmersivo + formulario de solicitud ---- */
.contact-band {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  color: var(--white);
}
.contact-band__photo { position: absolute; inset: 0; }
.contact-band__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.contact-band__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,26,47,0.82) 0%, rgba(6,26,47,0.72) 45%, rgba(6,26,47,0.46) 100%); }
.contact-band__inner { position: relative; z-index: 1; }
.contact-band .eyebrow { color: var(--orange); }
.contact-band h2 { color: var(--white); max-width: 16ch; }
.contact-band .lead { color: var(--gray-200, #E7EBF0); max-width: 520px; }
.contact-band__grid { display: grid; gap: 40px; }

.contact-band__facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-band__facts li { display: flex; gap: 14px; align-items: flex-start; }
.contact-band__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 170, 244, 0.18);
  border-radius: var(--radius-sm);
}
.contact-band__icon svg { width: 18px; height: 18px; color: var(--blue); }
.contact-band__facts h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin: 0 0 4px; }
.contact-band__facts h3 a { color: inherit; }
.contact-band__facts p { font-size: 0.9rem; color: var(--gray-400); margin: 0; line-height: 1.5; }

.contact-band__form-card {
  background: var(--white);
  color: var(--navy);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: var(--shadow-md);
}
.contact-band__form-card .form-field:last-of-type { margin-bottom: 20px; }
.form-field__req { color: var(--error); margin-left: 2px; }
.contact-band__form-card .form-field input:not([type="checkbox"]),
.contact-band__form-card .form-field select {
  height: 52px;
  font-size: 16px;
}
.contact-band__form-card .form-field textarea {
  min-height: 120px;
  font-size: 16px;
  resize: vertical;
}
.contact-band__submit { height: 52px; font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 10px; }
.contact-band__submit svg { width: 18px; height: 18px; flex: 0 0 auto; }
.contact-band__form-card .form-note { margin-top: 12px; }

@media (min-width: 1024px) {
  .contact-band { padding: 96px 0; }
  .contact-band__inner { max-width: 1360px; padding: 0 48px; }
  .contact-band__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
  .contact-band h2 { font-size: 50px; line-height: 1.05; }
  .contact-band .lead { font-size: 17px; }
  .contact-band__form-card { padding: 40px; }
}

/* ---- Página /contacto/: intro + datos ligeros + formulario reutilizado ---- */
.contact-page { padding-block: 0 80px; }
.contact-page__grid { display: grid; gap: 48px; }
.contact-page__info { display: flex; flex-direction: column; gap: 28px; }
.contact-page__info-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-page__info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(79, 170, 244, 0.14);
  color: var(--blue-dark);
}
.contact-page__info-icon svg { width: 20px; height: 20px; }
.contact-page__info-item h2 { font-size: 0.95rem; margin: 0 0 4px; }
.contact-page__info-item p { margin: 0; color: var(--gray-600); font-size: 0.95rem; }
.contact-page__info-item p a { color: var(--blue-dark); font-weight: 600; }
.contact-page__info-item p a:hover { text-decoration: underline; }
@media (max-width: 959px) {
  .contact-page__info { order: 2; }
  .contact-page__form { order: 1; }
}
@media (min-width: 960px) {
  .contact-page { padding-block: 8px 80px; }
  .contact-page__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 56px; align-items: start; }
}

/* ---- Footer contact list with icons ---- */
.footer-col__contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-col__contact svg { width: 17px; height: 17px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }

/* ---- Back to top ---- */
.back-to-top {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; }
.back-to-top:hover { border-color: var(--blue); color: var(--blue); }

/* ---- Legal pages ---- */
.legal-content h2 { margin-top: 2em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--gray-600); }
.legal-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.legal-content li { margin-bottom: 0.4em; }
.legal-table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.9rem; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border: 1px solid var(--gray-200); color: var(--gray-600); vertical-align: top; }
.legal-table th { background: var(--gray-light); color: var(--navy); font-family: var(--font-display); font-weight: 700; }
.legal-table code { font-size: 0.85em; background: var(--gray-light); padding: 2px 5px; border-radius: 4px; }
@media (max-width: 600px) { .legal-table { display: block; overflow-x: auto; } }

/* ---- Page header (interior pages) ---- */
.page-header { padding: 20px 0 60px; }
.page-header h1 { margin-bottom: 14px; }
.page-header .lead { max-width: 680px; }

/* ---- Página 404 ---- */
.error-page { padding: 56px 0 80px; }
.error-page__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.error-page__icon { display: inline-flex; color: var(--blue-dark); margin-bottom: 18px; }
.error-page__icon svg { width: 48px; height: 48px; }
.error-page h1 { margin: 8px 0 14px; }
.error-page .lead { max-width: 480px; margin: 0 auto 28px; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 56px; }
.error-page__links { text-align: left; background: var(--gray-light); border-radius: var(--radius-lg); padding: 32px; }
.error-page__links h2 { font-size: 1.2rem; margin-bottom: 16px; }
.error-page__links .check-list li a { color: var(--navy); font-weight: 600; }
.error-page__links .check-list li a:hover { color: var(--blue-dark); }
@media (min-width: 700px) {
  .error-page__links .check-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
}
.error-page__contact { margin-top: 28px; color: var(--gray-600); }
.error-page__contact a { color: var(--blue-dark); font-weight: 700; }

/* ---- Servicios (index): editorial catalogue, no photos ---- */
.services-section { padding-block: 72px; }

.services-hero {
  position: relative;
  overflow: hidden;
  background: var(--gray-light);
  padding-block: 4px 44px;
}
@media (min-width: 960px) {
  .services-hero { min-height: 440px; display: flex; align-items: center; padding-block: 40px; }
}
.services-hero__grid { position: relative; z-index: 1; }
@media (min-width: 960px) {
  .services-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: center;
    gap: 24px;
  }
}
.services-hero__inner h1 { margin-bottom: 16px; }
@media (min-width: 960px) {
  .services-hero__inner h1 { max-width: 700px; font-size: 44px; line-height: 1.15; }
}
.services-hero__tags {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.services-hero__tags span { margin: 0 8px; color: var(--gray-400); }
.services-hero__mark {
  display: none;
  opacity: 0.05;
  pointer-events: none;
}
@media (min-width: 960px) {
  .services-hero__mark {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    overflow: hidden;
  }
  .services-hero__mark img { height: 90%; width: auto; max-width: none; margin-right: -8%; display: block; }
}

.services-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.services-intro__head h2 { margin: 0; }
.services-intro__note { color: var(--gray-600); margin: 0; }
@media (min-width: 900px) {
  .services-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(220px, 1fr);
    align-items: center;
    gap: 48px;
  }
  .services-intro__note { max-width: 320px; }
}

.services-list { border-top: 1px solid var(--gray-200); }
.services-list__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 16px;
  margin-inline: -16px;
  border-radius: 8px;
  border-bottom: 1px solid var(--gray-200);
  background-color: transparent;
  transition: background-color 180ms ease;
}
@media (min-width: 700px) {
  .services-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; border-top: none; }
  .services-list__item { border-top: 1px solid var(--gray-200); }
}
.services-list__icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(79, 170, 244, 0.14);
  color: var(--blue-dark);
  transition: background-color 180ms ease, color 180ms ease;
}
.services-list__icon svg { width: 26px; height: 26px; }
.services-list__body { min-width: 0; }
.services-list__title { font-size: 1.1rem; margin: 0 0 8px; transition: color 180ms ease; }
.services-list__desc { color: var(--gray-600); font-size: 0.95rem; margin: 0 0 12px; }
.services-list__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 180ms ease;
}
.services-list__link svg { width: 15px; height: 15px; transition: transform 180ms ease; }

.services-list__item:focus-visible {
  background-color: var(--gray-light);
}
.services-list__item:focus-visible .services-list__icon { background: rgba(79, 170, 244, 0.22); }
.services-list__item:focus-visible .services-list__title { color: var(--blue-dark); }

@media (hover: hover) and (pointer: fine) {
  .services-list__item:hover { background-color: var(--gray-light); cursor: pointer; }
  .services-list__item:hover .services-list__icon { background: rgba(79, 170, 244, 0.22); }
  .services-list__item:hover .services-list__title { color: var(--blue-dark); }
  .services-list__item:hover .services-list__link { color: var(--navy); }
  .services-list__item:hover .services-list__link svg { transform: translateX(4px); }
}

.services-final-cta { background: var(--gray-light); }
.services-final-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.services-final-cta__inner .lead { margin: 6px 0 0; }
@media (min-width: 800px) {
  .services-final-cta__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .services-list__item, .services-list__icon, .services-list__title, .services-list__link, .services-list__link svg { transition: none; }
}

/* ---- Ficha de servicio (Cerrajería, plantilla maestra): service-detail-* ---- */
.service-detail-hero {
  background: var(--gray-light);
  padding-block: 4px 56px;
}
.service-detail-hero__grid { position: relative; }
@media (min-width: 960px) {
  .service-detail-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
    align-items: center;
    gap: 32px;
  }
}
.service-detail-hero__inner { max-width: 640px; }
.service-detail-hero__icon { display: inline-flex; color: var(--blue-dark); margin-bottom: 18px; }
.service-detail-hero__icon svg { width: 42px; height: 42px; }
.service-detail-hero h1 { margin: 10px 0 14px; }
.service-detail-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 24px; }
.service-detail-hero__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-detail-hero__link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.service-detail-hero__link:hover svg { transform: translateX(3px); }
.service-detail-hero__brand {
  display: none;
  pointer-events: none;
}
.service-detail-hero__brand img {
  display: block;
  width: clamp(240px, 22vw, 380px);
  height: auto;
  object-fit: contain;
  opacity: 0.08;
}
@media (min-width: 960px) {
  .service-detail-hero { padding-block: 64px; }
  .service-detail-hero__brand { display: flex; align-items: center; justify-content: center; height: 100%; }
}

.service-detail-jobs { padding-block: 80px; }
.service-detail-jobs__grid { display: grid; gap: 40px; align-items: start; }
.service-detail-jobs__list h2 { margin-bottom: 24px; }
@media (min-width: 960px) {
  .service-detail-jobs__grid { grid-template-columns: minmax(0, 2.2fr) minmax(240px, 1fr); gap: 56px; }
}
.service-detail-jobs__list .check-list li { padding-block: 14px; gap: 14px; }
@media (min-width: 700px) {
  .service-detail-jobs__list .check-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
}
.service-detail-audiences { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 32px; }
.service-detail-audiences h3 { color: var(--white); margin: 0 0 6px; font-size: 1.05rem; }
.service-detail-audiences ul { display: flex; flex-direction: column; }
.service-detail-audiences li { display: flex; align-items: center; gap: 16px; padding-block: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.service-detail-audiences li:last-child { border-bottom: none; padding-bottom: 0; }
.service-detail-audiences li svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }
.service-detail-audiences li span { font-weight: 700; font-size: 0.95rem; }

.service-detail-cases { padding-block: 80px; background: var(--gray-light); }
.service-detail-cases__head { max-width: 560px; margin-bottom: 40px; }
.service-detail-cases__head h2 { margin: 0; }
.service-detail-cases__item { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--gray-200); }
.service-detail-cases__item:first-child { padding-top: 0; margin-top: 0; border-top: none; }
@media (min-width: 960px) {
  .service-detail-cases__item { padding: 0 0 0 40px; margin-top: 0; border-top: none; border-left: 1px solid var(--gray-200); }
  .service-detail-cases__item:first-child { padding-left: 0; border-left: none; }
}
.service-detail-cases__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(79, 170, 244, 0.14);
  color: var(--blue-dark);
  margin-bottom: 18px;
}
.service-detail-cases__icon svg { width: 22px; height: 22px; }
.service-detail-cases__item h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 10px; }
.service-detail-cases__item p { color: var(--gray-600); font-size: 0.92rem; line-height: 1.6; margin: 0; }

.service-detail-faq { background: var(--white); padding-block: 72px; }
.service-detail-faq .faq-content h2 { font-size: clamp(2.1rem, 3.6vw, 3rem); line-height: 1.15; }

.service-detail-related { background: var(--gray-light); padding-block: 64px; }
.service-detail-related__grid { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .service-detail-related__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
}
.service-detail-related__head h2 { margin: 0; }
.service-detail-related__list { border-top: 1px solid var(--gray-200); }
.service-detail-related__item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 22px;
  border-bottom: 1px solid var(--gray-200);
  transition: background-color 180ms ease;
}
.service-detail-related__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(79, 170, 244, 0.14);
  color: var(--blue-dark);
  transition: background-color 180ms ease, color 180ms ease;
}
.service-detail-related__icon svg { width: 23px; height: 23px; }
.service-detail-related__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.service-detail-related__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--navy); transition: color 180ms ease; }
.service-detail-related__desc { color: var(--gray-600); font-size: 0.88rem; margin-top: 3px; }
.service-detail-related__arrow { flex-shrink: 0; color: var(--blue-dark); display: flex; }
.service-detail-related__arrow svg { width: 18px; height: 18px; transition: transform 180ms ease; }
@media (hover: hover) and (pointer: fine) {
  .service-detail-related__item:hover { background-color: rgba(255, 255, 255, 0.6); }
  .service-detail-related__item:hover .service-detail-related__icon { background: rgba(79, 170, 244, 0.22); }
  .service-detail-related__item:hover .service-detail-related__name { color: var(--blue-dark); }
  .service-detail-related__item:hover .service-detail-related__arrow svg { transform: translateX(4px); }
}
.service-detail-related__item:focus-visible { background-color: rgba(255, 255, 255, 0.6); }
.service-detail-related__item:focus-visible .service-detail-related__icon { background: rgba(79, 170, 244, 0.22); }
.service-detail-related__item:focus-visible .service-detail-related__name { color: var(--blue-dark); }
.service-detail-related__item:focus-visible .service-detail-related__arrow svg { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .service-detail-hero__link svg, .service-detail-related__item, .service-detail-related__icon, .service-detail-related__name, .service-detail-related__arrow svg { transition: none; }
}

/* ==========================================================================
   Página /empresa/ — hero de 3 columnas, ficha corporativa editorial
   ========================================================================== */

/* ---- Hero: texto + fotografía ---- */
.company-hero {
  display: grid;
  background: var(--gray-light);
  container-type: inline-size;
}
@media (min-width: 960px) {
  .company-hero { grid-template-columns: 47% 53%; min-height: 480px; }
}
.company-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 24px 36px;
  min-width: 0;
}
@media (min-width: 960px) {
  .company-hero__content { padding: 20px 32px 20px max(24px, calc((100cqw - var(--container)) / 2 + 24px)); }
}
.company-hero__content .eyebrow { color: var(--blue-dark); }
.company-hero__content h1 { margin: 10px 0 16px; max-width: 22ch; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.16; }
.company-hero__content .lead { color: var(--gray-600); max-width: 42ch; margin: 0 0 28px; }
.company-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.company-hero__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.company-hero__link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.company-hero__link:hover svg { transform: translateX(3px); }

.company-hero__photo { position: relative; aspect-ratio: 16 / 10; min-height: 0; overflow: hidden; background: var(--navy); min-width: 0; }
.company-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
@media (min-width: 960px) {
  .company-hero__photo { aspect-ratio: auto; min-height: 100%; }
}

/* ---- Quiénes somos ---- */
.company-intro { padding-block: 56px; background: var(--white); }
@media (min-width: 700px) { .company-intro { padding-block: 72px; } }
@media (min-width: 960px) { .company-intro { padding-block: 84px; } }
.company-intro__grid { display: grid; gap: 36px; }
@media (min-width: 960px) {
  .company-intro__grid { grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr); gap: 56px; align-items: start; }
}
.company-intro__text p { color: var(--gray-600); margin: 0 0 16px; }
.company-intro__text p:last-of-type { margin-bottom: 24px; }
.company-intro__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.company-intro__link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.company-intro__link:hover svg { transform: translateX(3px); }

.company-intro__panel {
  position: relative;
  overflow: hidden;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  padding: 28px;
}
.company-intro__panel-mark { position: absolute; right: -18px; bottom: -18px; width: 150px; height: 150px; opacity: 0.06; pointer-events: none; }
.company-intro__panel-mark img { width: 100%; height: 100%; object-fit: contain; }
.company-intro__panel-item { position: relative; display: flex; gap: 16px; align-items: flex-start; padding-block: 20px; border-bottom: 1px solid var(--gray-200); }
.company-intro__panel-item:first-child { padding-top: 0; }
.company-intro__panel-item:last-child { padding-bottom: 0; border-bottom: none; }
.company-intro__panel-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(79, 170, 244, 0.14);
  color: var(--blue-dark);
}
.company-intro__panel-icon svg { width: 22px; height: 22px; }
.company-intro__panel-item h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.company-intro__panel-item p { font-size: 0.9rem; color: var(--gray-600); margin: 0; line-height: 1.55; }

/* ---- Franja Navy: modelo ARCOSUR ---- */
.company-stats { background: var(--navy); padding-block: 48px; }
.company-stats__grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 700px) { .company-stats__grid { grid-template-columns: repeat(3, 1fr); } }
.company-stats__item {
  text-align: center;
  padding: 20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.company-stats__item:last-child { border-bottom: none; }
@media (min-width: 700px) {
  .company-stats__item { border-bottom: none; border-right: 1px solid rgba(255, 255, 255, 0.12); padding: 4px 28px; }
  .company-stats__item:last-child { border-right: none; }
}
.company-stats__icon { display: inline-flex; color: var(--blue); margin-bottom: 12px; }
.company-stats__icon svg { width: 28px; height: 28px; }
.company-stats__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--white); margin: 0 0 8px; }
.company-stats__desc { font-size: 0.88rem; color: var(--gray-400); line-height: 1.55; max-width: 26ch; margin: 0 auto; }

/* ---- Un servicio pensado para las personas ---- */
.company-people { padding-block: 56px; background: var(--white); }
@media (min-width: 700px) { .company-people { padding-block: 72px; } }
@media (min-width: 960px) { .company-people { padding-block: 84px; } }
.company-people__grid { display: grid; gap: 36px; }
@media (min-width: 960px) {
  .company-people__grid { grid-template-columns: repeat(2, 1fr); gap: 64px; align-items: start; }
}
.company-people__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.company-people__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.company-people__content .lead { color: var(--gray-600); margin: 12px 0 24px; }
.company-people__content .check-list { margin-bottom: 28px; }
.company-people__tagline { border-top: 1px solid var(--gray-200); padding-top: 20px; font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.05rem; margin: 0; }

/* ---- Nuestros valores ---- */
.company-values { padding-block: 56px; background: var(--gray-light); }
@media (min-width: 700px) { .company-values { padding-block: 72px; } }
@media (min-width: 960px) { .company-values { padding-block: 84px; } }
.company-values__head { max-width: 560px; margin-bottom: 40px; }
.company-values__head h2 { margin: 0; }
.company-values__grid { display: grid; gap: 0; }
@media (min-width: 700px) { .company-values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .company-values__grid { grid-template-columns: repeat(4, 1fr); } }
.company-values__item { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--gray-200); }
.company-values__item:first-child { padding-top: 0; margin-top: 0; border-top: none; }
@media (min-width: 700px) {
  .company-values__item { padding: 0 28px 0 0; margin-top: 0; border-top: none; }
  .company-values__item:nth-child(n) { border-left: 1px solid var(--gray-200); padding-left: 28px; }
  .company-values__item:nth-child(2n+1) { border-left: none; padding-left: 0; }
}
@media (min-width: 1024px) {
  .company-values__item:nth-child(2n+1) { border-left: 1px solid var(--gray-200); padding-left: 28px; }
  .company-values__item:first-child { border-left: none; padding-left: 0; }
}
.company-values__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(79, 170, 244, 0.14);
  color: var(--blue-dark);
  margin-bottom: 18px;
}
.company-values__icon svg { width: 26px; height: 26px; }
.company-values__item h3 { font-size: 1.08rem; font-weight: 700; color: var(--navy); margin: 0 0 10px; }
.company-values__item p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.6; margin: 0; }

/* ---- Al servicio de comunidades, empresas y particulares ---- */
.company-showcase { position: relative; overflow: hidden; }
.company-showcase__photo { position: relative; aspect-ratio: 4 / 3; }
.company-showcase__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.company-showcase__panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  margin: -32px 20px 0;
}
.company-showcase__panel .eyebrow { color: var(--blue-dark); margin-bottom: 18px; }
.company-showcase__panel h2 { margin: 0 0 18px; }
.company-showcase__panel p { color: var(--gray-600); margin: 0 0 24px; font-size: 0.95rem; line-height: 1.6; }
.company-showcase__panel .btn {
  width: auto;
  max-width: max-content;
  flex-shrink: 0;
  align-self: flex-start;
  min-height: 44px;
  padding: 0 20px;
}
.company-showcase__panel .btn svg { width: 15px; height: 15px; flex: 0 0 15px; transition: transform 0.2s ease; }
.company-showcase__panel .btn:hover svg { transform: translateX(4px); }
@media (min-width: 960px) {
  .company-showcase__photo { position: absolute; inset: 0; aspect-ratio: auto; }
  .company-showcase { height: 520px; }
  .company-showcase > .container { position: relative; height: 100%; }
  .company-showcase__panel {
    position: absolute;
    top: 10%;
    bottom: 10%;
    right: 0;
    width: min(44%, 520px);
    margin: 0;
    padding: 30px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
  .company-showcase__panel h2 { font-size: clamp(1.9rem, 2.3vw, 2.125rem); line-height: 1.15; }
}

/* ---- Comprometidos con nuestro entorno ---- */
.company-commitment { padding-block: 56px; background: var(--white); }
@media (min-width: 700px) { .company-commitment { padding-block: 72px; } }
@media (min-width: 960px) { .company-commitment { padding-block: 84px; } }
.company-commitment__grid { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .company-commitment__grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
}
.company-commitment__text p { color: var(--gray-600); margin: 12px 0 0; }
.company-commitment__block { background: var(--gray-light); border-radius: var(--radius-lg); padding: 28px 32px; display: flex; flex-direction: column; }
.company-commitment__row { display: flex; align-items: center; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--gray-200); }
.company-commitment__row:first-child { padding-top: 0; }
.company-commitment__row:last-child { padding-bottom: 0; border-bottom: none; }
.company-commitment__row svg { width: 22px; height: 22px; color: var(--blue-dark); flex-shrink: 0; }
.company-commitment__row span { font-weight: 700; font-size: 0.95rem; color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  .company-hero__link svg, .company-intro__link svg { transition: none; }
}

/* ---- Banner de cookies ---- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: var(--gray-light);
  color: var(--navy);
  padding: 20px;
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 24px rgba(6, 26, 47, 0.12);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cookie-banner__text { margin: 0; font-size: 0.9rem; color: var(--gray-600); flex: 1 1 320px; }
.cookie-banner__text a { color: var(--blue-dark); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner__btn {
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid var(--navy);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.cookie-banner__btn--accept { background: var(--navy); color: var(--white); }
.cookie-banner__btn--accept:hover { background: var(--navy-soft); }
.cookie-banner__btn--reject { background: transparent; color: var(--navy); }
.cookie-banner__btn--reject:hover { background: rgba(6, 26, 47, 0.08); }
@media (max-width: 600px) {
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner__btn { transition: none; }
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.max-w { max-width: 680px; }
.max-w-center { max-width: 680px; margin-left: auto; margin-right: auto; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--white);
  padding: 12px 18px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }
