@charset "UTF-8";
/* =========================================================
   UNITECH — Design tokens & base
   Breakpoints: 360 · 480 · 640 · 768 · 960 · 1024 · 1280 · 1440 · 1920
   ========================================================= */

/* ----- Self-hosted fonts (latin subset, woff2) — no external requests ----- */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-var.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-600.woff2") format("woff2");
}

:root {
  /* Brand */
  --c-orange: #DB6923;
  --c-orange-600: #C25A1A;
  --c-orange-deep: #A84A10; /* AA 4.5:1 sobre --c-bg y --c-bg-2 */
  --c-orange-100: #FFE9D8;
  --c-black: #0A0A0A;
  --c-ink: #1A1A1A;
  --c-white: #FFFFFF;
  --c-bg: #F7F5F2;
  --c-bg-2: #ECE8E2;
  --c-line: #D9D4CC;
  --c-muted: #6B645A;

  /* Type */
  --ff-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --ff-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Section paddings (fluid) */
  --pad-section: clamp(48px, 8vw, 96px);
  --pad-container: clamp(16px, 4vw, 32px);

  /* Radii — sharpened for an industrial, engineered feel */
  --r-sm: 2px; --r-md: 3px; --r-lg: 4px; --r-pill: 999px;

  /* Shadows — flat by default; hard offset reserved for hover */
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-hard: 4px 4px 0 var(--c-black);

  /* Layout */
  --container: 1200px;
  --header-h: 80px;
}

@media (min-width: 1024px) {
  :root { --header-h: 88px; }
}

@media (min-width: 1920px) {
  :root { --container: 1320px; }
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@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; }
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  min-width: 0;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: var(--c-black);
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 700; text-transform: uppercase; line-height: 0.98; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 700; text-transform: uppercase; }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.55rem); font-weight: 600; }

p { margin: 0 0 var(--sp-4); text-wrap: pretty; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-orange-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline-offset: 4px; }

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

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

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--c-black);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--c-orange-deep);
  font-weight: 600;
  margin: 0 0 var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--c-orange);
  flex-shrink: 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto var(--sp-7);
  text-align: center;
}
.section-lead {
  color: var(--c-muted);
  font-size: clamp(1rem, 1.2vw, 1.05rem);
  margin: 0;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 13px 24px;
  border-radius: var(--r-sm);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.17rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .1s ease;
  text-decoration: none;
  min-height: 46px;
  line-height: 1.1;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-orange); color: #fff; }
.btn-primary:hover { background: var(--c-orange-600); }
.btn-outline { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 1.25rem; min-height: 54px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  display: block;
  height: 52px;
  width: auto;
}

@media (min-width: 480px) {
  .logo-mark { height: 58px; }
}
@media (min-width: 1024px) {
  .logo-mark { height: 64px; }
}

.primary-nav {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  margin-left: var(--sp-5);
}
.primary-nav > ul {
  display: flex;
  gap: clamp(12px, 1.8vw, 24px);
  justify-self: center;
}
.primary-nav a {
  color: var(--c-ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 4px;
}
.primary-nav a:hover { color: var(--c-orange); text-decoration: none; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--c-muted);
}
.lang-switch button {
  background: none;
  border: none;
  color: var(--c-muted);
  cursor: pointer;
  padding: 6px 4px;
  font: inherit;
  min-height: 44px;
  min-width: 32px;
}
.lang-switch button.is-active { color: var(--c-black); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--c-orange); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--c-black);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--c-bg);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-5);
    transform: translateX(100%);
    transition: transform .3s ease;
    margin: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav > ul { flex-direction: column; gap: 0; justify-self: unset; }
  .primary-nav a:not(.nav-cta) {
    display: block;
    padding: var(--sp-4) 0;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--c-line);
  }
  .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .lang-switch {
    justify-content: flex-start;
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--c-line);
  }
  .nav-cta {
    margin-top: var(--sp-5);
    justify-content: center;
    width: 100%;
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background-color: var(--c-black);
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  color: #fff;
  padding: var(--pad-section) 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(140% 90% at 50% -10%, rgba(255,255,255,.06), transparent 60%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--c-orange); }
.hero .lead {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: rgba(255,255,255,.78);
  max-width: 560px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin: var(--sp-6) 0;
}
.hero-subtitle {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: 0;
  color: rgba(255,255,255,.78);
  max-width: 540px;
  margin: var(--sp-4) 0 0;
  text-wrap: pretty;
}
.hero-visual { display: flex; justify-content: center; align-items: center; }

/* Technical spec panel — no photo, no glow: bordered engineered card */
.spec-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0;
  border: 1.5px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.02);
}
.spec-panel__bar,
.spec-panel__coords {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 11px 14px;
}
.spec-panel__bar {
  justify-content: space-between;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  border-bottom: 1.5px solid rgba(255,255,255,.20);
}
.spec-panel__coords {
  justify-content: center;
  color: var(--c-orange);
  border-top: 1.5px solid rgba(255,255,255,.20);
}
.spec-panel__body {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: clamp(28px, 6vw, 56px);
}
.spec-panel__body img {
  width: auto;
  height: auto;
  max-width: 170px;
  max-height: 170px;
  opacity: 0.9;
}
/* Variante con foto real: a sangre, retrato 3:4 */
.spec-panel__body--photo {
  aspect-ratio: 3 / 4;
  padding: 0;
}
.spec-panel__body--photo picture {
  display: block;
  width: 100%;
  height: 100%;
}
.spec-panel__body--photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  display: block;
}
.spec-panel__tick {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 0 solid var(--c-orange);
}
.spec-panel__tick--tl { top: -1.5px; left: -1.5px; border-top-width: 2px; border-left-width: 2px; }
.spec-panel__tick--tr { top: -1.5px; right: -1.5px; border-top-width: 2px; border-right-width: 2px; }
.spec-panel__tick--bl { bottom: -1.5px; left: -1.5px; border-bottom-width: 2px; border-left-width: 2px; }
.spec-panel__tick--br { bottom: -1.5px; right: -1.5px; border-bottom-width: 2px; border-right-width: 2px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .spec-panel { max-width: 360px; }
}
@media (max-width: 640px) {
  /* En móvil la foto del equipo sí aporta confianza: se mantiene, contenida */
  .spec-panel { max-width: 300px; }
}
@media (max-width: 480px) {
  .hero-ctas .btn { width: 100%; }
}

/* =========================================================
   Services
   ========================================================= */
.services {
  padding: var(--pad-section) 0;
  background: var(--c-bg);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  counter-reset: svc;
}
@media (min-width: 560px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  /* 9 tarjetas en 2 columnas: la última ocupa el ancho para no dejar hueco */
  .services-grid .service-card:last-child { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid .service-card:last-child { grid-column: auto; }
}
.service-card {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.service-card::after {
  counter-increment: svc;
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-line);
  transition: color .15s ease;
}
.service-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hard);
  border-color: var(--c-orange);
}
.service-card:hover::after { color: var(--c-orange); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  background: var(--c-black);
  color: var(--c-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { padding-right: var(--sp-6); }
.service-card p { color: var(--c-muted); margin: 0; }

/* =========================================================
   Why
   ========================================================= */
.why {
  padding: var(--pad-section) 0;
  background: var(--c-ink);
  color: #fff;
}
.why h2 { color: #fff; }
.why .eyebrow { color: var(--c-orange); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 560px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}
.why-grid li {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}
.why-num {
  font-family: var(--ff-mono);
  color: var(--c-orange);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: var(--sp-4);
}
.why-grid h3 { color: #fff; }
.why-grid p { color: rgba(255,255,255,.7); margin: 0; }

/* =========================================================
   Area — mapa informativo + lista de municipios (sin enlaces)
   ========================================================= */
.area {
  padding: var(--pad-section) 0;
  background: var(--c-bg-2);
}

.area-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: stretch;
}
@media (min-width: 880px) {
  .area-layout {
    grid-template-columns: 1.15fr 1fr;
    gap: var(--sp-6);
  }
}

/* ----- Mapa esquemático ----- */
.area-map {
  margin: 0;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
}
.area-map svg {
  width: 100%;
  height: auto;
  display: block;
}
.area-map-caption {
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: var(--sp-4) 0 0;
}
.map-sea { fill: #D8E2E2; }
.map-coast { fill: none; stroke: var(--c-black); stroke-width: 2; }
.map-sea-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  fill: #5B6B6E;
  opacity: 0.6;
}
.map-ring {
  fill: none;
  stroke: rgba(219, 105, 35, 0.4);
  stroke-width: 1.5;
  stroke-dasharray: 2 7;
}
.town-dot { fill: var(--c-black); stroke: #fff; stroke-width: 1.5; }
.town-name {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  fill: var(--c-ink);
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 3px;
  stroke-linejoin: round;
}
.base-pin { fill: var(--c-orange); stroke: #fff; stroke-width: 1; }
.base-chip { fill: var(--c-black); }
.base-chip-text {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  fill: #fff;
  text-anchor: middle;
}

/* ----- Lista de municipios ----- */
.area-side {
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
}
.area-towns-label {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 0 0 var(--sp-3);
}
.area-list {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.area-list li {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  padding: 11px 0;
  border-bottom: 1px solid var(--c-bg-2);
}
.area-list li:last-child { border-bottom: none; }
.area-list li::before {
  content: "\2713";
  color: var(--c-orange);
  font-weight: 700;
  flex-shrink: 0;
}
.area-list-name {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--c-black);
  line-height: 1.15;
}
.area-list-meta {
  margin-left: auto;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-orange-deep);
}
.area-list .is-current .area-list-name { color: var(--c-orange-deep); }
.area-list li.area-list-more::before { content: ""; }
.area-list-more {
  color: var(--c-muted);
  font-style: italic;
  font-size: 0.92rem;
}

/* ----- CTA: banda oscura a ancho completo ----- */
.area-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-6);
  background: var(--c-black);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  margin-top: var(--sp-6);
}
.area-cta p {
  margin: 0;
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  max-width: 30ch;
  text-wrap: balance;
}
.area-cta .btn { white-space: nowrap; }

@media (max-width: 640px) {
  .area-cta {
    flex-direction: column;
    text-align: center;
    padding: var(--sp-6) var(--sp-5);
  }
}

/* =========================================================
   Gallery
   ========================================================= */
.gallery { padding: var(--pad-section) 0; background: var(--c-bg); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 880px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-grid figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--c-ink);
  box-shadow: var(--shadow-sm);
}
.gallery-grid picture {
  display: block;
  width: 100%; height: 100%;
}
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  position: absolute;
  bottom: 8px; left: 8px;
  background: rgba(10,10,10,.78);
  color: #fff;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  letter-spacing: 0.02em;
}
.gallery-cta {
  text-align: center;
  margin: var(--sp-6) 0 0;
}
.gallery-cta a {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: var(--pad-section) 0; background: var(--c-bg-2); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.faq-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-5);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--c-black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 11px; height: 11px;
  flex-shrink: 0;
  border-right: 2px solid var(--c-orange);
  border-bottom: 2px solid var(--c-orange);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item summary:hover { color: var(--c-orange-600); }
.faq-answer {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--c-muted);
}
.faq-answer p { margin: 0; line-height: 1.6; }

@media (max-width: 480px) {
  .faq-item summary { padding: var(--sp-4); font-size: 0.98rem; }
  .faq-answer { padding: 0 var(--sp-4) var(--sp-4); }
}

/* =========================================================
   Contact
   ========================================================= */
.contact {
  padding: var(--pad-section) 0;
  background: var(--c-black);
  color: #fff;
}
.contact h2 { color: #fff; }
.contact .section-lead { color: rgba(255,255,255,.7); }
.contact .eyebrow { color: var(--c-orange); }

/* ----- CTAs grandes ----- */
.contact-ctas {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  max-width: 840px;
  margin: 0 auto var(--sp-7);
}
@media (min-width: 640px) {
  .contact-ctas { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
.contact-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--c-ink);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  min-height: 88px;
}
.contact-btn:hover {
  text-decoration: none;
  border-color: var(--c-orange);
  background: #161616;
}
.contact-btn svg { flex-shrink: 0; }
.contact-btn.call svg { color: var(--c-orange); }
.contact-btn.whatsapp svg { color: #25D366; }
.contact-btn.email svg { color: var(--c-orange); }
.contact-btn span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.contact-btn strong {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}
.contact-btn small {
  color: rgba(255,255,255,.6);
  font-size: 0.88rem;
}

/* ----- Info grid 2x2 ----- */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  max-width: 840px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .contact-info-grid { grid-template-columns: 1fr 1fr; }
}
.contact-info-grid li {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-4) var(--sp-5);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
}
.contact-info-label {
  font-family: var(--ff-mono);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--c-orange);
}
.contact-info-value {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}
a.contact-info-value:hover {
  color: var(--c-orange);
  text-decoration: none;
}

@media (max-width: 480px) {
  .contact-btn { padding: var(--sp-4); }
  .contact-info-grid li { padding: var(--sp-3) var(--sp-4); }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--c-ink);
  color: rgba(255,255,255,.7);
  padding: var(--sp-5) 0 var(--sp-4);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  display: block;
  width: clamp(220px, 28vw, 320px);
  height: auto;
}
.footer-address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
}
.footer-address a { color: rgba(255,255,255,.78); text-decoration: underline; text-underline-offset: 3px; }
.footer-address a:hover { color: #fff; }
.footer-inner nav {
  display: flex;
  gap: clamp(12px, 2vw, 32px);
  flex-wrap: wrap;
  justify-content: center;
}
.footer-inner nav a {
  color: rgba(255,255,255,.7);
  font-size: 0.95rem;
}
.footer-inner nav a:hover { color: #fff; }
.copy {
  text-align: center;
  font-size: 0.82rem;
  margin: 0;
  color: rgba(255,255,255,.5);
}
.footer-legal {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.82rem;
}
.footer-legal a { color: rgba(255,255,255,.55); }
.footer-legal a:hover { color: #fff; }
.footer-zones {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
  max-width: 70ch;
}
.footer-zones a { color: rgba(255,255,255,.6); }
.footer-zones a:hover { color: #fff; }

/* =========================================================
   Floating WhatsApp
   ========================================================= */
.float-wa {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom, 20px));
  right: max(20px, env(safe-area-inset-right, 20px));
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  z-index: 40;
  transition: transform .2s ease;
}
.float-wa:hover { transform: scale(1.08); text-decoration: none; }
.float-wa:focus-visible { outline-offset: 4px; }

@media (max-width: 480px) {
  .float-wa { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}

/* =========================================================
   Sticky mobile contact bar (Call + WhatsApp) — season lead-gen
   ========================================================= */
.mobile-cta-bar { display: none; }
@media (max-width: 640px) {
  .mobile-cta-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 45;
    background: var(--c-black);
    border-top: 2px solid var(--c-orange);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mcta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    min-height: 56px;
    padding: 12px;
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 1.17rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    text-decoration: none;
  }
  .mcta:hover, .mcta:focus-visible { text-decoration: none; }
  .mcta svg { flex-shrink: 0; }
  .mcta--call { background: var(--c-orange); }
  /* Texto oscuro sobre verde: el blanco no llega al contraste AA */
  .mcta--wa { background: #25D366; color: #08321A; border-left: 2px solid rgba(0,0,0,.18); }
  .float-wa { display: none; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}

/* =========================================================
   Body scroll lock when mobile menu open
   ========================================================= */
body.no-scroll { overflow: hidden; }

/* =========================================================
   Reduced motion fine-tuning
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .service-card:hover,
  .contact-btn:hover,
  .btn:hover,
  .float-wa:hover,
  .gallery-grid figure:hover img { transform: none; }
}

/* =========================================================
   Landing pages por municipio
   ========================================================= */
.hero-intro {
  color: rgba(255, 255, 255, .72);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.6;
  max-width: 560px;
  margin: var(--sp-4) 0 0;
}
.breadcrumb {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding: var(--sp-4) 0 0;
}
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-orange); }
.breadcrumb [aria-current="page"] { color: var(--c-orange-deep); }

/* =========================================================
   Aviso de cookies (inyectado por script.js)
   ========================================================= */
.cookie-notice {
  position: fixed;
  left: max(16px, env(safe-area-inset-left, 16px));
  bottom: max(16px, env(safe-area-inset-bottom, 16px));
  z-index: 60;
  max-width: 380px;
  width: calc(100% - 32px);
  background: var(--c-black);
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: 0 12px 32px rgba(10,10,10,.35);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  font-size: 0.9rem;
  line-height: 1.5;
}
.cookie-notice p { margin: 0; }
.cookie-notice a { color: var(--c-orange); text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice .btn { align-self: flex-start; }
.cookie-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.cookie-actions .btn { align-self: auto; }

/* =========================================================
   Página 404
   ========================================================= */
.page-404 .nav-actions { flex-direction: row; }
.page-404 .lang-switch { border-bottom: none; padding: 0; }
.page-404 .hero-grid {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  min-height: 60vh;
  align-content: center;
}
.page-404 .hero-ctas { justify-content: center; }
@media (max-width: 640px) {
  /* Por encima de la barra fija de Llamar/WhatsApp */
  .cookie-notice {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}

/* =========================================================
   Página legal (aviso legal · privacidad · cookies)
   ========================================================= */
.legal-page {
  padding: var(--sp-7) 0 var(--pad-section);
  background: var(--c-bg);
}
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: var(--sp-5); }
.legal-content h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: var(--sp-7) 0 var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1.5px solid var(--c-line);
}
.legal-content h3 { font-size: 1.2rem; margin: var(--sp-5) 0 var(--sp-3); }
.legal-content p, .legal-content li { color: var(--c-muted); }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; }
.legal-content strong { color: var(--c-ink); }
.legal-content ul { list-style: disc; padding-left: 1.2em; margin: 0 0 var(--sp-4); }
.legal-content li { margin-bottom: var(--sp-2); }
.legal-updated {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0 0 var(--sp-5);
}
.legal-toc a {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  padding: 6px 12px;
}
.legal-toc a:hover { border-color: var(--c-orange); color: var(--c-orange-600); text-decoration: none; }
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 var(--sp-4); font-size: 0.9rem; }
.legal-table th, .legal-table td {
  text-align: left;
  padding: var(--sp-3);
  border: 1px solid var(--c-line);
  vertical-align: top;
  color: var(--c-muted);
}
.legal-table th {
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--c-black);
  background: #fff;
}

/* =========================================================
   Print styles
   ========================================================= */
@media print {
  .site-header, .float-wa, .mobile-cta-bar, .nav-toggle, .lang-switch, .hero-ctas, .contact-ctas, .gallery-cta, .cookie-notice { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .why, .contact { background: #fff !important; color: #000 !important; }
  .hero h1, .why h2, .why-grid h3, .why-grid p, .contact h2 { color: #000 !important; }
}
