﻿/* ==========================================================================
   Brocon SAS — landing estática
   Tipografías autoalojadas (SIL OFL): Barlow Condensed, Inter, IBM Plex Mono.
   ========================================================================== */

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-var-400-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #1b1d1e;
  --ink-2: #242728;
  --footer-ink: #161819;
  --paper: #f4f1ea;
  --paper-2: #e9e4da;
  --paper-3: #ded7ca;
  --coral: #ef7d47;
  --coral-hover: #e56c35;
  --coral-ink: #a63e16;
  --text: #252829;
  --muted: #5d6262;
  --muted-dark: #b9b6ae;
  --line: rgba(27, 29, 30, 0.18);
  --line-strong: rgba(27, 29, 30, 0.34);
  --line-light: rgba(244, 241, 234, 0.18);
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

body.menu-open {
  overflow: hidden;
}

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

svg {
  display: block;
}

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

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

a {
  color: inherit;
}

button {
  font: inherit;
}

::selection {
  background: var(--coral);
  color: var(--ink);
}

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--coral);
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--coral);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

main:focus,
main:focus-visible,
h1[tabindex="-1"]:focus,
h2[tabindex="-1"]:focus {
  outline: none;
  box-shadow: none;
}

.icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Cabecera
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(244, 241, 234, 0.1);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.header-bar {
  position: relative;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex: 0 0 auto;
}

.brand__logo {
  width: clamp(152px, 15vw, 190px);
  height: auto;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-toggle__bars {
  position: relative;
  display: block;
  width: 22px;
  height: 14px;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}

.menu-toggle__bars::before {
  top: 2px;
}

.menu-toggle__bars::after {
  top: 10px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  top: 6px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  top: 6px;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__meta {
  display: none;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: #d8d5cd;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 1px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--paper);
}

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

/* ==========================================================================
   Botones y enlaces de texto
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--coral {
  background: var(--coral);
  color: var(--ink);
}

.btn--coral:hover {
  background: var(--coral-hover);
}

.btn--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 10px;
  letter-spacing: 0.06em;
}

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

.btn .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

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

.btn--full .icon--whatsapp {
  width: 20px;
  height: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(166, 62, 22, 0.35);
  color: var(--coral-ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

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

.text-link:hover .icon--arrow {
  transform: translateX(3px);
}

.text-link--light {
  border-color: rgba(244, 241, 234, 0.4);
  color: var(--paper);
}

.text-link--light:hover {
  border-color: var(--coral);
  color: var(--coral);
}

/* ==========================================================================
   Etiquetas y títulos de sección
   ========================================================================== */

.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.section-head {
  display: grid;
  grid-template-columns: 170px minmax(0, 1.12fr) minmax(250px, 0.68fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-label__num {
  color: var(--coral-ink);
}

.section-label--light {
  border-color: var(--line-light);
  color: var(--muted-dark);
}

.section-label--light .section-label__num {
  color: var(--coral);
}

.section-label--dark {
  border-color: rgba(27, 29, 30, 0.48);
  color: var(--ink);
}

.section-label--dark .section-label__num {
  color: var(--ink);
}

.section-label--small {
  padding-top: 0;
  border-top: 0;
}

.section-title {
  max-width: 15ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 66px);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 0.94;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-title--light {
  color: var(--paper);
}

.section-title--dark {
  color: var(--ink);
}

.section-intro {
  align-self: end;
  max-width: 37ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(600px, calc(100vh - var(--header-h)), 840px);
  min-height: clamp(600px, calc(100svh - var(--header-h)), 840px);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(0.8) contrast(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(27, 29, 30, 0.16) 0%, rgba(27, 29, 30, 0.32) 42%, rgba(27, 29, 30, 0.94) 100%),
    linear-gradient(90deg, rgba(27, 29, 30, 0.92) 0%, rgba(27, 29, 30, 0.7) 46%, rgba(27, 29, 30, 0.2) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(72px, 12vh, 120px) 32px;
}

.hero__copy {
  max-width: 980px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow__mark {
  width: 32px;
  height: 1px;
  background: var(--coral);
}

.hero__title {
  max-width: 16ch;
  margin-top: 22px;
  color: #f7f4ec;
  font-family: var(--font-display);
  font-size: clamp(46px, 7.6vw, 104px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero__lead {
  max-width: 54ch;
  margin-top: 26px;
  color: #e0dcd3;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 34px;
}

.hero__meta {
  display: flex;
  gap: clamp(24px, 5vw, 64px);
  max-width: 900px;
  margin-top: clamp(42px, 7vh, 76px);
  padding-top: 18px;
  border-top: 1px solid rgba(244, 241, 234, 0.24);
}

.hero__meta div {
  min-width: 0;
}

.hero__meta dt {
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero__meta dd {
  margin-top: 4px;
  color: #d8d4ca;
  font-size: 12px;
  line-height: 1.4;
}

.hero__scroll {
  position: absolute;
  right: 38px;
  bottom: 40px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(244, 241, 234, 0.62);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 54px;
  background: linear-gradient(var(--coral), transparent);
}

/* ==========================================================================
   Banda de servicios
   ========================================================================== */

.service-band {
  background: var(--coral);
  color: var(--ink);
}

.service-band__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-band__list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 76px;
  padding: 18px 20px;
  border-left: 1px solid rgba(27, 29, 30, 0.22);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
}

.service-band__list li:first-child {
  padding-left: 0;
  border-left: 0;
}

.service-band__num {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Servicios
   ========================================================================== */

.services {
  background: var(--paper);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 300px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--paper);
  transition: background-color 0.25s ease;
}

.service-card:hover {
  background: #ede8de;
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.service-card__num {
  color: var(--coral-ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--ink);
  opacity: 0.82;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card:hover .service-card__icon {
  color: var(--coral-ink);
  opacity: 1;
}

.service-card__title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 0.98;
  text-transform: uppercase;
}

.service-card__text {
  max-width: 34ch;
  min-height: 3.2em; /* reserva dos líneas para que los títulos queden alineados entre tarjetas */
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.services-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.services-foot p {
  color: var(--muted);
  font-size: 15px;
}

/* ==========================================================================
   Galería
   ========================================================================== */

.gallery {
  background: var(--paper-2);
}

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

.gallery-item {
  grid-column: span 7;
  min-width: 0;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(3) {
  grid-column: span 5;
}

.gallery-item__media {
  height: clamp(300px, 33vw, 470px);
  overflow: hidden;
  background: var(--paper-3);
}

.gallery-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.gallery-item:nth-child(3) .gallery-item__media img {
  object-position: center 45%;
}

.gallery-item:nth-child(4) .gallery-item__media img {
  object-position: center 55%;
}

.gallery-caption {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.gallery-caption__num {
  color: var(--coral-ink);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.gallery-caption__text {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.gallery-caption__type {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.gallery-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.gallery-foot p {
  color: var(--muted);
  font-size: 15px;
}

/* ==========================================================================
   Marca
   ========================================================================== */

.brand-section {
  background: var(--ink);
  color: var(--paper);
}

.brand-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
}

.brand-photo {
  position: relative;
  max-width: 500px;
}

.brand-photo::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--coral);
  pointer-events: none;
}

.brand-photo img {
  position: relative;
  width: 100%;
  height: auto;
}

.brand-photo figcaption {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.brand-photo figcaption::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--coral);
}

.brand-copy {
  max-width: 620px;
}

.brand-section .section-title {
  max-width: 14ch;
  margin-top: 24px;
}

.brand-lead {
  max-width: 48ch;
  margin-top: 28px;
  color: var(--paper);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.brand-copy > p:not(.section-label):not(.brand-lead) {
  max-width: 54ch;
  margin-top: 16px;
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.7;
}

.brand-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
  padding: 18px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.brand-facts dt {
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.brand-facts dd {
  margin-top: 6px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.brand-section .text-link {
  margin-top: 30px;
}

/* ==========================================================================
   Cobertura
   ========================================================================== */

.coverage {
  position: relative;
  overflow: hidden;
  background: var(--coral);
  color: var(--ink);
}

.coverage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(27, 29, 30, 0.06) 0,
    rgba(27, 29, 30, 0.06) 1px,
    transparent 1px,
    transparent 32px
  );
  pointer-events: none;
}

.coverage::after {
  content: "CUYO";
  position: absolute;
  right: -0.08em;
  bottom: -0.22em;
  color: rgba(27, 29, 30, 0.055);
  font-family: var(--font-display);
  font-size: clamp(180px, 30vw, 460px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.8;
  pointer-events: none;
}

.coverage-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
  gap: clamp(40px, 6vw, 90px);
}

.coverage .section-title {
  max-width: 10ch;
  margin-top: 24px;
}

.coverage-intro {
  max-width: 34ch;
  margin-top: 24px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

.province-list {
  border-top: 1px solid rgba(27, 29, 30, 0.48);
}

.province-list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: clamp(14px, 2vw, 22px) 0;
  border-bottom: 1px solid rgba(27, 29, 30, 0.48);
}

.province-list__num {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.province-list__name {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 92px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 0.82;
  text-transform: uppercase;
}

/* ==========================================================================
   Contacto
   ========================================================================== */

.contact {
  background: var(--paper);
}

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

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: clamp(24px, 3.2vw, 40px);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.contact-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 3px;
  background: var(--coral);
}

.contact-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact-card__num {
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.contact-card__role {
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-card__name {
  margin-top: clamp(28px, 4vw, 48px);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 0.85;
  text-transform: uppercase;
}

.contact-card__phone {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.25);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.6vw, 20px);
  letter-spacing: 0.01em;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-card__phone:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.contact-card__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  margin-top: auto;
  padding-top: 36px;
}

.contact-card__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 4px;
  color: var(--muted-dark);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.contact-card__call:hover {
  color: var(--paper);
}

.contact-card__call .icon {
  width: 15px;
  height: 15px;
}

.social-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.social-strip__handle {
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.contact-note {
  max-width: 72ch;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

/* ==========================================================================
   Pie
   ========================================================================== */

.site-footer {
  padding-top: clamp(56px, 7vw, 88px);
  background: var(--footer-ink);
  color: var(--muted-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

.footer-brand__logo {
  width: min(220px, 60vw);
  height: auto;
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-brand__coverage {
  color: var(--coral) !important;
  font-family: var(--font-mono);
  font-size: 10px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-label {
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-nav ul,
.footer-contact ul {
  display: grid;
  gap: 2px;
  margin-top: 14px;
}

.footer-nav a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted-dark);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-block: 20px;
  border-top: 1px solid rgba(244, 241, 234, 0.12);
  color: rgba(185, 182, 174, 0.78);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* ==========================================================================
   Movimiento
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover .gallery-item__media img {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Adaptación
   ========================================================================== */

@media (max-width: 1100px) {
  .hero__scroll {
    display: none;
  }

  .section-head {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .section-intro {
    grid-column: 2;
    max-width: 52ch;
    margin-top: -6px;
  }
}

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

  .menu-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 12px var(--gutter) 32px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-light);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.25);
  }

  .js .site-nav.is-open {
    display: flex;
    animation: menu-in 0.18s ease-out;
  }

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

  .site-nav__link {
    width: 100%;
    min-height: 48px;
    padding: 0;
    border-bottom: 1px solid var(--line-light);
    font-size: 12px;
  }

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

  .site-nav__cta {
    width: 100%;
    margin-top: 12px;
  }

  .site-nav__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--line-light);
    color: var(--muted-dark);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .no-js .header-bar {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .no-js .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .no-js .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .no-js .site-nav__link {
    width: 100%;
    padding: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .no-js .site-nav__cta {
    margin-top: 8px;
  }

  .no-js .menu-toggle {
    display: none;
  }

  @keyframes menu-in {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .brand-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

  .brand-photo {
    max-width: 560px;
  }

  .brand-copy {
    max-width: 640px;
  }

  .coverage-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .coverage .section-title {
    max-width: 14ch;
  }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item,
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4) {
    grid-column: auto;
  }

  .gallery-item__media {
    height: 340px;
  }

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

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

@media (max-width: 720px) {
  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .section-intro {
    grid-column: auto;
    margin-top: 0;
  }

  .hero {
    min-height: clamp(580px, calc(100svh - var(--header-h)), 760px);
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(27, 29, 30, 0.22) 0%, rgba(27, 29, 30, 0.42) 34%, rgba(27, 29, 30, 0.96) 100%),
      linear-gradient(90deg, rgba(27, 29, 30, 0.82) 0%, rgba(27, 29, 30, 0.42) 100%);
  }

  .hero__inner {
    padding-block: 64px 26px;
  }

  .hero__title {
    max-width: 12ch;
    font-size: clamp(46px, 12vw, 76px);
  }

  .hero__lead {
    max-width: 44ch;
  }

  .hero__meta {
    gap: 20px;
    margin-top: 38px;
  }

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

  .service-band__list li {
    min-height: 0;
    padding: 14px 0;
    border-top: 1px solid rgba(27, 29, 30, 0.22);
    border-left: 0;
    font-size: 15px;
  }

  .service-band__list li:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid rgba(27, 29, 30, 0.22);
  }

  .service-band__list li:nth-child(-n + 2) {
    border-top: 0;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card {
    gap: 32px;
    min-height: 0;
  }

  .service-card__text {
    min-height: 0;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-card {
    min-height: 340px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

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

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .gallery-item__media {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery-item--portrait .gallery-item__media {
    aspect-ratio: 3 / 4;
  }

  .gallery-caption__type {
    margin-left: 0;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .btn,
  .hero__actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .hero__meta {
    flex-direction: column;
    gap: 14px;
  }

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

  .brand-facts div:last-child {
    grid-column: 1 / -1;
  }

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

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

/* Barra de consulta fija (solo móvil): aparece después del hero y se oculta en Contacto. */
.mobile-bar {
  display: none;
}

@media (max-width: 959px) {
  .mobile-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: block;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line-light);
    background: rgba(27, 29, 30, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    visibility: hidden;
    transform: translateY(100%);
    transition: transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
  }

  .mobile-bar.is-visible {
    visibility: visible;
    transform: none;
    transition: transform 0.3s var(--ease-out), visibility 0s;
  }

  body.menu-open .mobile-bar {
    visibility: hidden;
  }

  .mobile-bar__cta {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 76px;
  }
}

@media (max-width: 400px) {
  .brand {
    width: 148px;
  }

  .brand__logo {
    width: 148px;
  }

  .menu-toggle {
    gap: 8px;
  }

  .btn {
    padding-inline: 16px;
    font-size: 11px;
  }

  .contact-card {
    padding: 22px;
  }

  .contact-card__name {
    font-size: 46px;
  }
}

/* ==========================================================================
   Cambios 12/11/2026: cinco áreas y galería de seis fotos
   ========================================================================== */

.service-band__list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Servicios: 2 tarjetas arriba y 3 abajo */
.services-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.services-grid .service-card {
  grid-column: span 2;
}

.services-grid .service-card:nth-child(-n + 2) {
  grid-column: span 3;
}

/* Galería: grilla pareja de fotos verticales */
.gallery-grid--six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid--six .gallery-item,
.gallery-grid--six .gallery-item:nth-child(n) {
  grid-column: auto;
}

.gallery-grid--six .gallery-item__media {
  height: auto;
  aspect-ratio: 3 / 4;
}

.gallery-grid--six .gallery-item__media img,
.gallery-grid--six .gallery-item:nth-child(n) .gallery-item__media img {
  object-position: center;
}

@media (max-width: 1100px) {
  .service-band__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-band__list li {
    border-top: 1px solid rgba(27, 29, 30, 0.22);
  }

  .service-band__list li:nth-child(-n + 3) {
    border-top: 0;
  }

  .service-band__list li:nth-child(3n + 1) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 900px) {
  .gallery-grid--six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid--six .gallery-item__media {
    height: auto;
  }
}

@media (max-width: 720px) {
  .service-band__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-band__list li,
  .service-band__list li:nth-child(3n + 1) {
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid rgba(27, 29, 30, 0.22);
  }

  .service-band__list li:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid rgba(27, 29, 30, 0.22);
  }

  .service-band__list li:nth-child(-n + 2) {
    border-top: 0;
  }

  .service-band__list li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .services-grid,
  .services-grid .service-card,
  .services-grid .service-card:nth-child(-n + 2) {
    grid-template-columns: minmax(0, 1fr);
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .gallery-grid--six {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid--six .gallery-item__media {
    aspect-ratio: 4 / 5;
  }
}
