:root {
  --blue: #233F61;
  --blue-900: #0E1927;
  --blue-800: #142538;
  --blue-700: #1B314C;
  --blue-500: #61758D;
  --blue-400: #919FB0;
  --blue-300: #C1C9D3;
  --blue-200: #E5E8EC;
  --orange: #E86A0B;
  --orange-600: #974507;
  --orange-300: #F4B485;
  --orange-200: #F9DAC2;
  --red: #C8332D;
  --white: #FFFFFF;
  --ice: #F4F6F8;
  --steel: #D9DEE5;
  --graphite: #1E2633;
  --green: #25D366;
  /* Imagen de fondo suministrada por el cliente y almacenada localmente.
     El generador autónomo la convierte en data URI para evitar dependencias externas. */
  --hair: rgba(35, 63, 97, .18);
  --hair-dark: rgba(217, 222, 229, .2);
  --shadow: 0 18px 46px rgba(14, 25, 39, .12);
  --max: 1220px;
  --header-height: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--graphite);
  background: var(--ice);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.62;
  overflow-x: hidden;
}
body.dialog-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
section { scroll-margin-top: calc(var(--header-height) + 22px); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 18px;
  top: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--orange);
  text-decoration: none;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  line-height: 1.02;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(4rem, 7vw, 6.5rem); margin-bottom: 24px; }
h2 { font-size: clamp(2.7rem, 5vw, 4.5rem); margin-bottom: 18px; }
h3 { font-size: clamp(1.55rem, 2.4vw, 2rem); margin-bottom: 10px; }

.lead {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--blue-700);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
}
.lead--light { color: var(--blue-200); }
.muted { color: var(--blue-500); }
.mono {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--orange);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--orange);
}
.eyebrow--light { color: var(--blue-200); }
.eyebrow--light::before { background: var(--orange); }

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--orange);
  border-radius: 2px;
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--orange-600); border-color: var(--orange-600); }
.btn--small { min-height: 42px; padding-inline: 15px; font-size: .88rem; }
.btn--outline,
.btn--outline-light {
  background: transparent;
  box-shadow: none;
}
.btn--outline { color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }
.btn--outline-light { color: var(--white); border-color: rgba(255,255,255,.68); }
.btn--outline-light:hover { color: var(--blue-900); background: var(--white); border-color: var(--white); }
.btn--blue { background: var(--blue); border-color: var(--blue); }
.btn--blue:hover { background: var(--blue-800); border-color: var(--blue-800); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(20, 37, 56, .97);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand img { width: 205px; min-width: 180px; height: auto; }
nav { display: flex; align-items: center; gap: 22px; }
nav > a:not(.btn),
.nav-dropdown__trigger {
  position: relative;
  color: var(--white);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 500;
}
nav > a:not(.btn)::after,
.nav-dropdown__trigger::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
nav > a:not(.btn):hover::after,
.nav-dropdown__trigger:hover::after { transform: scaleX(1); }

.site-header nav .btn--small { font-size: 1.05rem; }
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown__trigger { display: inline-flex; align-items: center; gap: 6px; padding: 24px 0; }
.nav-dropdown__trigger > span { color: var(--orange); font-size: .78em; transition: transform .18s ease; }
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% - 7px);
  left: -18px;
  z-index: 120;
  display: grid;
  min-width: 315px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: var(--blue-800);
  box-shadow: 0 18px 34px rgba(14,25,39,.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.nav-dropdown__menu--compact { min-width: 230px; }
.nav-dropdown__menu a {
  padding: 10px 12px;
  border-left: 2px solid transparent;
  color: var(--blue-100);
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
}
.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus-visible { color: var(--white); border-left-color: var(--orange); background: rgba(255,255,255,.05); }
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown:hover .nav-dropdown__trigger > span,
.nav-dropdown:focus-within .nav-dropdown__trigger > span { transform: rotate(180deg); }

/* Sección fotográfica nueva conservando la retícula, bordes y paleta de v16. */
.board-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 28px; }
.board-photo-card { border: 1px solid var(--steel); background: var(--white); }
.board-photo-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.board-photo-card figcaption { padding: 16px 18px; color: var(--blue-500); font-size: .9rem; }
.board-photo-card figcaption strong { display: block; margin-bottom: 4px; color: var(--blue-800); font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 1.45rem; }
.page-intro { padding: 66px 0 58px; }
.page-intro .section-head { margin-bottom: 0; }
.page-intro h1 { color: var(--white); font-size: clamp(3.3rem, 6vw, 5.7rem); }
.page-intro .lead { max-width: 760px; }
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.audience-card { min-height: 290px; padding: 32px; border: 1px solid var(--steel); background: var(--white); }
.audience-card .mono { color: var(--orange); }
.audience-card h2 { margin-top: 42px; font-size: clamp(2.6rem, 4vw, 4rem); }
.audience-card .btn { margin-top: 22px; }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}
.menu-btn span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--white); transition: transform .18s ease, opacity .18s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  padding: 76px 0 72px;
  color: var(--white);
  background-color: var(--blue);
  background-image:
    linear-gradient(rgba(35,63,97,.84), rgba(35,63,97,.84)),
    url("assets/images/textura-fondo.jpg"),
    linear-gradient(135deg, rgba(255,255,255,.035) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,255,255,.025) 25%, transparent 25%);
  background-position: center, center, 0 0, 0 0;
  background-size: cover, cover, 72px 72px, 72px 72px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
}
.hero::after {
  content: "";
  position: absolute;
  left: -220px;
  bottom: -300px;
  width: 720px;
  height: 720px;
  border: 80px solid rgba(255,255,255,.035);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  --hero-accent-line-top: 8px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: start;
  gap: clamp(48px, 7vw, 92px);
}
.hero-copy { min-width: 0; }
.hero-copy h1 span { display: block; }
.hero-copy h1 em { color: var(--orange); font-style: normal; }
.hero-copy .lead { max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 38px; }
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--orange);
}
.hero-points > div {
  min-width: 0;
  padding: 18px 14px 0;
  border-right: 1px solid rgba(255,255,255,.16);
}
.hero-points > div:first-child { padding-left: 0; }
.hero-points > div:last-child { border-right: 0; }
.hero-points b {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.2rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-points span { color: var(--blue-200); font-size: .83rem; line-height: 1.45; }

.hero-brand-panel {
  position: relative;
  min-width: 0;
  padding: 34px 28px 0;
  border: 1px solid rgba(255,255,255,.24);
  background: var(--blue-800);
  box-shadow: 0 24px 54px rgba(8, 18, 31, .26);
}
.hero-logo-stage {
  min-height: 470px;
  display: grid;
  place-items: center;
  padding: 34px 26px 28px;
}
.hero-logo-stage img {
  width: min(100%, 310px);
  min-width: 140px;
  height: auto;
  transform: translateY(-16px);
}
.hero-meta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.18);
  color: var(--blue-200);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: .69rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-meta span:last-child { text-align: right; }
.panel-accent {
  position: absolute;
  z-index: 2;
  display: block;
  background: var(--orange);
  pointer-events: none;
}
.panel-accent--top { top: var(--hero-accent-line-top); left: 24px; width: 58px; height: 3px; }
.panel-accent--bottom { right: 20px; bottom: 22px; width: 3px; height: 34px; }

.facts {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  padding: 18px 0 20px;
  background:
    linear-gradient(90deg, rgba(35,63,97,.075), transparent 28%, transparent 72%, rgba(35,63,97,.075)),
    var(--ice);
  border-top: 1px solid rgba(35,63,97,.15);
  border-bottom: 1px solid var(--steel);
  overflow: hidden;
}
.facts::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(35,63,97,.025) 25%, transparent 25%),
    linear-gradient(315deg, rgba(35,63,97,.018) 25%, transparent 25%);
  background-size: 52px 52px;
  pointer-events: none;
}
.facts-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.fact {
  position: relative;
  min-width: 0;
  min-height: 132px;
  padding: 27px 22px 23px;
  border: 1px solid rgba(35,63,97,.18);
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(229,232,236,.72));
  box-shadow: 0 9px 22px rgba(14,25,39,.065);
  overflow: hidden;
}
.fact::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 4px;
  background: var(--blue);
}
.fact::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -34px;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(35,63,97,.12);
  background: rgba(35,63,97,.025);
  transform: rotate(45deg);
  pointer-events: none;
}
.fact strong,
.fact span { position: relative; z-index: 1; }
.fact strong {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}
.fact span {
  display: block;
  max-width: 190px;
  color: var(--blue-500);
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.45;
}
.fact:nth-child(3) {
  border-color: rgba(232,106,11,.38);
  background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(249,218,194,.66));
  box-shadow: 0 10px 25px rgba(232,106,11,.11);
}
.fact:nth-child(3)::before { background: var(--orange); }
.fact:nth-child(3)::after {
  border-color: rgba(232,106,11,.18);
  background: rgba(232,106,11,.055);
}
.fact:nth-child(3) strong { color: var(--orange); }

.section { padding: 104px 0; }
.section--white { background: var(--white); }
.section--ice { background: var(--ice); }
.section--blue { color: var(--white); background: var(--blue); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: end;
  gap: 54px;
  margin-bottom: 46px;
}
.section-head > * { min-width: 0; }
.section-head h2 { max-width: 780px; }
.section--blue .section-head h2 { color: var(--white); }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card {
  position: relative;
  min-width: 0;
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--steel);
  background: var(--white);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--blue);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card--featured {
  grid-column: span 2;
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}
.service-card--featured::after,
.service-card--accent::after { background: var(--orange); }
.service-card--featured .muted { color: var(--blue-200); }
.service-card--featured .service-icon { color: var(--white); }
.service-card--accent { background: var(--orange-200); border-color: var(--orange-300); }
.service-no,
.sales-card .num {
  display: block;
  color: var(--orange);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .13em;
}
.service-icon {
  width: 56px;
  height: 56px;
  margin: 28px 0 28px;
  color: var(--blue-800);
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 { max-width: 360px; }
.mini-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mini-list li { position: relative; padding-left: 18px; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); }
.mini-list--compact { font-size: .9rem; }

.equipment-wrap { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); align-items: start; gap: 34px; }
.sticky-panel {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 38px;
  color: var(--white);
  background: var(--blue-800);
  border-left: 5px solid var(--orange);
}
.sticky-panel h2 { font-size: clamp(2.6rem, 4vw, 4rem); }
.sticky-panel .btn { margin-top: 26px; }
.equipment-list { display: grid; gap: 12px; }
details { border: 1px solid var(--steel); background: var(--white); }
details[open] { box-shadow: 0 12px 32px rgba(14,25,39,.07); }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  color: var(--blue-800);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange); font-family: Inter, sans-serif; font-size: 1.4rem; }
details[open] summary::after { content: "−"; }
details p, details ul { margin: 0; padding: 0 24px 24px; color: var(--blue-500); }
details ul { padding-left: 43px; }

.sales {
  position: relative;
  overflow: hidden;
  background-color: var(--blue);
  background-image:
    linear-gradient(rgba(35,63,97,.94), rgba(35,63,97,.94)),
    url("assets/images/textura-fondo.jpg"),
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 18px);
  background-position: center, center, 0 0;
  background-size: cover, cover, auto;
  background-repeat: no-repeat, no-repeat, repeat;
}
.sales-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sales-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(14,25,39,.2);
}
.sales-card .num { margin-bottom: 60px; }
.sales-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.8rem;
  line-height: 1.05;
}
.sales-card p { margin: 0; color: var(--blue-200); font-size: .92rem; }

.about-grid { display: grid; grid-template-columns: minmax(340px, .82fr) minmax(0, 1.18fr); align-items: start; gap: clamp(50px, 7vw, 90px); }
.about-art {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  min-height: 660px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 1px, transparent 1px 18px),
    var(--blue);
}
.photo-placeholder {
  position: absolute;
  inset: 28px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 42px;
  border: 1px dashed rgba(255,255,255,.65);
  color: var(--white);
  text-align: center;
}
.photo-placeholder svg { width: 100px; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.photo-placeholder strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.7rem; line-height: 1.1; }
.photo-placeholder span { color: var(--blue-200); font-size: .86rem; }
.family-seal {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 150px;
  min-height: 150px;
  place-items: center;
  align-content: center;
  padding: 20px;
  color: var(--white);
  background: var(--orange);
  text-align: center;
  transform: rotate(-4deg);
}
.family-seal b { font-family: "Barlow Condensed", sans-serif; font-size: 2.5rem; line-height: .9; }
.family-seal span { font-family: "JetBrains Mono", monospace; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.about-copy > p:not(.eyebrow):not(.lead) { color: var(--blue-500); }
.family-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 32px 0 36px; background: var(--steel); border: 1px solid var(--steel); }
.family-values > div { padding: 20px; background: var(--white); }
.family-values b { display: block; margin-bottom: 8px; color: var(--blue); font-family: "Barlow Condensed", sans-serif; font-size: 1.35rem; line-height: 1.05; }
.family-values span { display: block; color: var(--blue-500); font-size: .82rem; line-height: 1.5; }
.timeline { border-top: 1px solid var(--steel); }
.time-row { display: grid; grid-template-columns: minmax(120px, 155px) minmax(0, 1fr); gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--steel); }
.year {
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  color: var(--orange);
  background: var(--orange-200);
  font-family: "JetBrains Mono", monospace;
  font-size: .76rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.time-row h3 { margin-bottom: 8px; font-size: 1.7rem; }
.time-row p { margin: 0; color: var(--blue-500); font-size: .92rem; }

.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust-grid article { padding: 28px; border: 1px solid var(--steel); background: var(--white); }
.trust-grid article > span { display: block; margin-bottom: 15px; color: var(--orange); font-family: "JetBrains Mono", monospace; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.trust-grid p { margin: 0; color: var(--blue-500); }
.clients-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 58px 0 22px; }
.clients-head h3 { margin: 0; font-size: clamp(2rem, 3vw, 3rem); }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--blue);
  border-radius: 2px;
  color: var(--blue);
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
}
.carousel-controls button:hover { color: var(--white); background: var(--blue); }
.client-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-400) var(--blue-200);
}
.client-card {
  min-height: 246px;
  display: grid;
  grid-template-rows: 104px auto auto;
  align-content: start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--steel);
  background: var(--white);
  scroll-snap-align: start;
}
.client-logo-wrap {
  width: 100%;
  height: 104px;
  display: grid;
  place-items: center;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--steel);
  background: var(--white);
}
.client-logo-wrap--blue {
  border-color: var(--blue);
  background: var(--blue);
}
.client-logo-wrap--temp {
  border-style: dashed;
  background:
    linear-gradient(135deg, rgba(35,63,97,.05) 25%, transparent 25%) 0 0 / 14px 14px,
    var(--ice);
}
.client-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}
.client-logo--wide { max-height: 68px; }
.client-logo--muted { filter: contrast(1.15) saturate(.75); }
.client-temp-mark {
  color: var(--blue);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: .9;
  text-align: center;
}
.client-temp-mark--word { font-size: 1.35rem; }
.client-card strong { color: var(--blue-800); font-size: .92rem; line-height: 1.35; }
.client-card small { color: var(--blue-500); font-size: .72rem; line-height: 1.45; }
.prototype-note { margin: 8px 0 0; color: var(--blue-500); font-size: .75rem; }

.work-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-auto-rows: 270px; gap: 14px; }
.work-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--steel);
  background: var(--blue-200);
}
.work-card--large { grid-row: span 2; }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,25,39,.82), transparent 62%); }
.work-card svg { width: 100%; height: 100%; padding: 58px; fill: none; stroke: var(--blue); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; opacity: .35; }
.work-card > div { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; color: var(--white); }
.work-card b { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 1.5rem; line-height: 1.05; }
.work-card span { display: block; color: var(--blue-200); font-size: .78rem; }

.branch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.branch-card { min-width: 0; border: 1px solid var(--steel); background: var(--white); }
.branch-map { height: 300px; background: var(--blue-200); }
.branch-map iframe { width: 100%; height: 100%; border: 0; }
.branch-content { padding: 28px; }
.schedule-summary { max-width: 470px; }
.schedule-note { margin: 10px 0 0; color: var(--blue-500); font-size: .78rem; line-height: 1.5; }
.schedule-note a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
.schedule-note a:hover { color: var(--orange); }
.branch-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.branch-head h3 { margin: 5px 0 0; }
.branch-status { display: grid; justify-items: end; gap: 6px; max-width: 235px; text-align: right; }
.branch-status small { color: var(--blue-500); font-size: .68rem; line-height: 1.35; }
.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px;
  font-family: "JetBrains Mono", monospace;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .035em;
  line-height: 1;
  text-transform: uppercase;
}
.status--open { color: #1f6b3c; background: #e7f4eb; }
.status--closed { color: var(--blue-700); background: #edf1f5; }
.status--holiday { color: #9a4208; background: #fff0e4; box-shadow: inset 3px 0 0 var(--orange); }
.status--uncertain { color: #70520b; background: #fff7d8; }
.status--checking { color: var(--blue); background: var(--blue-200); }
.schedule-summary[data-calendar-state="official"] .schedule-note { color: #315f47; }
.schedule-summary[data-calendar-state="cache"] .schedule-note { color: var(--blue-500); }
.schedule-summary[data-calendar-state="fallback"] .schedule-note { color: #70520b; }
.contact-list { display: grid; gap: 8px; margin: 24px 0; color: var(--blue-500); font-size: .9rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--orange); }
.branch-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.coming {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(280px, 1.1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  padding: 24px 26px;
  color: var(--white);
  background: var(--blue-800);
  border-left: 5px solid var(--orange);
}
.coming h3 { margin: 5px 0 0; }
.coming p { margin: 0; color: var(--blue-200); }

.contact {
  background-color: var(--blue);
  background-image:
    linear-gradient(rgba(35,63,97,.95), rgba(35,63,97,.95)),
    url("assets/images/textura-fondo.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.faq-contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); align-items: start; gap: 42px; }
.faq-intro { padding-top: 38px; }
.contact h2 { color: var(--white); }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-color: rgba(255,255,255,.18); background: var(--blue-800); }
.faq-list summary { color: var(--white); }
.faq-list p { color: var(--blue-200); }
.contact-box { padding: 36px; color: var(--graphite); background: var(--white); }
.contact-box h2 { color: var(--blue); font-size: clamp(2.5rem, 4vw, 3.8rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
label { color: var(--blue-800); font-family: "JetBrains Mono", monospace; font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
input, select, textarea { width: 100%; min-height: 48px; border: 1px solid var(--steel); border-radius: 2px; padding: 12px 13px; color: var(--graphite); background: var(--ice); outline: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(232,106,11,.15); }
textarea { min-height: 130px; resize: vertical; }
.form-note { margin: 13px 0 0; color: var(--blue-500); font-size: .74rem; }

footer { padding: 54px 0 26px; color: var(--blue-300); background: var(--blue-900); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .85fr; gap: 46px; padding-bottom: 40px; }
.footer-logo { width: 250px; min-width: 180px; height: auto; margin-bottom: 22px; }
footer p { max-width: 490px; }
footer h3 { color: var(--white); font-size: 1.35rem; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .75rem; }

.whatsapp-float {
  position: fixed;
  z-index: 150;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 30px rgba(14,25,39,.3);
  cursor: pointer;
}
.whatsapp-float:hover { transform: translateY(-2px); }
.whatsapp-float svg { width: 31px; }

.branch-dialog {
  width: min(calc(100% - 32px), 520px);
  padding: 0;
  border: 0;
  border-radius: 2px;
  color: var(--graphite);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(14,25,39,.38);
}
.branch-dialog::backdrop { background: rgba(14,25,39,.72); backdrop-filter: blur(4px); }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 26px; color: var(--white); background: var(--blue); }
.dialog-head h2 { margin: 0 0 6px; font-size: 2.6rem; }
.dialog-head p { margin: 0; color: var(--blue-200); font-size: .88rem; }
.dialog-close { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.45); border-radius: 2px; color: var(--white); background: transparent; font-size: 1.7rem; cursor: pointer; }
.dialog-body { display: grid; gap: 10px; padding: 20px; }
.wa-choice { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; border: 1px solid var(--steel); color: var(--blue-800); text-decoration: none; }
.wa-choice:hover { border-color: var(--green); background: #f1fbf5; }
.wa-choice strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 1.55rem; line-height: 1; }
.wa-choice small { display: block; margin-top: 5px; color: var(--blue-500); }
.wa-choice--pending { border-style: dashed; }

@media (max-width: 1100px) {
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 22px;
    background: var(--blue-800);
    border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 20px 34px rgba(14,25,39,.22);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  nav.open { display: flex; }
  nav > a { padding: 12px 4px; }
  nav > a:not(.btn)::after,
.nav-dropdown__trigger::after { display: none; }
  nav .btn { margin-top: 10px; }
  .menu-btn { display: block; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, .78fr); gap: 48px; }
  .hero-points { grid-template-columns: 1fr; border-top: 0; }
  .hero-points > div { padding: 12px 0; border-right: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card--featured { grid-column: span 2; }
  .sales-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: 1fr; }
  .coming { grid-template-columns: 1fr auto; }
  .coming p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 900px) {
  .hero { padding-top: 58px; }
  .hero-grid,
  .equipment-wrap,
  .about-grid,
  .faq-contact { grid-template-columns: minmax(0, 1fr); }
  .faq-intro { padding-top: 0; }
  .hero-brand-panel { width: min(100%, 590px); margin-inline: auto; }
  .hero-logo-stage { min-height: 430px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { min-height: 124px; }
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .sticky-panel, .about-art { position: relative; top: auto; }
  .about-art { min-height: 560px; }
  .family-values { grid-template-columns: 1fr; }
  .branch-grid { grid-template-columns: 1fr; }
  .coming { grid-template-columns: 1fr; }
  .coming p { grid-column: auto; grid-row: auto; }
  .coming .btn { justify-self: start; }
  .faq-contact { gap: 54px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { --header-height: 76px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand img { width: 180px; min-width: 180px; }
  .section { padding: 78px 0; }
  h1 { font-size: clamp(3.6rem, 16vw, 5rem); }
  h2 { font-size: clamp(2.55rem, 12vw, 3.6rem); }
  .hero { min-height: auto; padding: 52px 0 58px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-brand-panel { padding: 28px 20px 0; }
  .hero-logo-stage { min-height: 380px; padding-inline: 10px; }
  .hero-logo-stage img { width: min(100%, 260px); transform: translateY(-10px); }
  .hero-meta { align-items: flex-start; flex-direction: column; gap: 4px; }
  .hero-meta span:last-child { text-align: left; }
  .panel-accent--bottom { bottom: 20px; height: 26px; }
  .facts { padding: 14px 0 16px; }
  .facts-grid { grid-template-columns: 1fr; gap: 10px; }
  .fact { min-height: 0; padding: 23px 20px 21px; }
  .fact span { max-width: none; }
  .service-grid { grid-template-columns: 1fr; }
  .board-photo-grid, .audience-grid { grid-template-columns: 1fr; }
  .service-card--featured { grid-column: auto; }
  .service-card { min-height: 0; }
  .sales-grid { grid-template-columns: 1fr; }
  .sales-card { min-height: 210px; }
  .sales-card .num { margin-bottom: 42px; }
  .sticky-panel { padding: 30px 24px; }
  .about-art { min-height: 500px; }
  .photo-placeholder { inset: 20px; padding: 30px 24px; }
  .family-seal { width: 120px; min-height: 120px; right: 18px; bottom: 18px; }
  .family-seal b { font-size: 2rem; }
  .time-row { grid-template-columns: 1fr; gap: 12px; }
  .year { white-space: normal; }
  .clients-head { align-items: flex-start; flex-direction: column; }
  .client-track { grid-auto-columns: minmax(195px, 78vw); }
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .work-card--large { grid-row: auto; }
  .branch-content { padding: 24px; }
  .branch-head { align-items: flex-start; flex-direction: column; }
  .branch-status { justify-items: start; max-width: none; text-align: left; }
  .branch-actions { display: grid; }
  .branch-actions .btn { width: 100%; }
  .contact-box { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .brand img { width: 180px; }
  .menu-btn { width: 40px; height: 40px; padding: 7px; }
  .hero-brand-panel { padding-inline: 16px; }
  .hero-logo-stage { min-height: 340px; }
  .hero-logo-stage img { width: 230px; transform: translateY(-8px); }
  .photo-placeholder { padding: 24px 18px; }
  .family-seal { display: none; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

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