@font-face {
  font-family: Sora;
  src: url("assets/marca/Sora.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/marca/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --font: Inter, Arial, sans-serif;
  --blue-700: #053771;
  --blue-600: #05469a;
  --ink: #16334a;
  --ink-soft: #405c70;
  --ink-faint: #536d80;
  --navy-950: #03244a;
  --navy-900: #053771;
  --navy-800: #074785;
  --blue-500: #1577ad;
  --blue-150: #cbdfe9;
  --blue-50: #edf6fb;
  --bg: #f4f8fb;
  --line: #d2e1ea;
  --cream: #fff;
  --cream-2: #eef5f9;
  --cream-line: var(--line);
  --radius: 8px;
  --radius-lg: 12px;
  --panel-marca: url("assets/marca/panel.webp") center / cover no-repeat var(--navy-900);
  --warm-1: #f09107;
  --warm-2: #f09107;
  --warm-3: #f09107;
  --grad-warm: linear-gradient(var(--warm-1), var(--warm-1));
}
h1, h2, h3, h4 { font-family: Sora, var(--font); }
.home-hero h1 .accent {
  background: none;
  color: var(--blue-700);
  text-decoration: underline var(--warm-1) .06em;
  text-underline-offset: .08em;
}
.btn-warm, .badge.own, .sw-row.hi span { color: #132d49; }
.path-visual.warm { background: var(--blue-700); }

/* La firma, los titulares y los controles comparten la jerarquía del folleto. */
h5, .kicker, .btn, .cat-tab b, .value .v-num, .path-num, .sp-num {
  font-family: Sora, var(--font);
}
.main-nav, .lang-switch, .form-field label { color: var(--blue-700); }
.btn, .cd-ic, .sol-icon, .cat-tab .ct-ic { border-radius: var(--radius); }
.btn-primary, .btn-warm { box-shadow: var(--shadow-sm); }
.btn-warm:hover { color: var(--navy-950); box-shadow: var(--shadow-md); }
.site-header.scrolled, body.home .site-header.scrolled {
  background: rgb(255 255 255 / 96%);
  border-bottom-color: var(--line);
}
.cd-ic img { object-fit: contain; }
.site-footer { border-top: 3px solid var(--blue-500); }
.site-footer h5, .value .v-num { color: white; }
.value .v-num { background: none; }
.value::before { width: 46px; height: 4px; left: 30px; }

/* Fondos y terminaciones tomados de las plantillas del diseñador. */
.values, .home-cta, .inti-card, .pd-demo-sec {
  background: var(--panel-marca);
}
.values::before, .values::after, .home-cta::before { display: none; }
.sec-hero {
  background: linear-gradient(120deg, white 56%, #f2f8fb 56%, #e6f3fa 88%, #d5ecf6 88%);
}
.sec-hero .sec-glow {
  top: auto;
  right: 0;
  bottom: 12px;
  width: min(43%, 680px);
  height: 64px;
  transform: none;
  border-radius: 0;
  background: url("assets/marca/trazo.webp") right bottom / contain no-repeat;
}
.sec-hero .hero-grid { opacity: .25; }
.about-top h2, .clientes h2, .contacto h2, .sol-card h3, .pd-h2,
.service-points h4, .pd-hero h1, .prod h4 { color: var(--blue-700); }
.sol-card, .contact-form { border-top: 3px solid var(--blue-700); }
.path-visual.warm { background: var(--panel-marca); }
.path-ic { border-radius: var(--radius); }
.hero-arc-c { border-color: rgb(5 55 113 / 8%); }
.hero-photo::after {
  background: linear-gradient(to right, white, rgb(255 255 255 / 90%) 25%, transparent 72%);
}

/* Catálogos y fichas: el naranja identifica acciones y fabricación propia. */
.prod.is-propio, .prod-featured.is-propio {
  border-color: var(--blue-150);
  border-top: 3px solid var(--warm-2);
  box-shadow: var(--shadow-sm);
}
.prod.is-propio:hover, .prod-featured.is-propio:hover {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-md);
}
.prod-shot:not(.flat), .pg-main:not(.is-empty) {
  background: linear-gradient(135deg, white 28%, #eef6fa);
}
.pd-hero { background: linear-gradient(155deg, white 52%, var(--blue-50)); }
.pd-specs, .pg-main { border-color: var(--blue-150); }
.pd-feats li::before { width: 8px; height: 3px; top: .65em; border-radius: 0; }
@media (max-width: 980px) {
  .hero-photo::after { background: rgb(255 255 255 / 84%); }
}
@media (max-width: 640px) {
  .sec-hero .sec-glow { width: 36%; height: 26px; }
}
