/* ══════════════════════════════════════════════
   PROYTOP — Hoja de estilos de producción
   Basada en Brief de Diseño Web v2 y en el mockup
   aprobado mockup_hero_contacto_PROYTOP_v2_9.html
   ══════════════════════════════════════════════ */

:root {
  /* Paleta de marca (Brief v2 §3) */
  --navy:       #1F3864;
  --navy-dark:  #141c2e;
  --navy-light: #253f74;
  --blue-h:     #2E5597;
  --orange:     #C45D2C;
  --orange-h:   #A84D22;
  --wa:         #25D366;
  --wa-h:       #1ebe5c;
  --gray:       #595959;
  --border:     #B5BDC9;
  --warm:       #F5F7FA;
  --white:      #FFFFFF;
  --black-tech: #1A1A1A;
  --error:      #C00000;
  --error-bg:   #FCE4D6;
  --success:    #2E7D32;
  --success-bg: #E2EFD9;
  --chat-bg:    #F8F9FB;

  /* Disclaimers */
  --disc-a-bg:  #FFF2CC;
  --disc-a-bdr: #8B6F00;
  --disc-a-txt: #5a4500;
  --disc-b-bg:  #FFF8E1;
  --disc-c-bg:  #EAEEF7;

  /* Espaciado base 8px (Brief v2 §5.1) */
  --s4:4px; --s8:8px; --s12:12px; --s16:16px; --s20:20px; --s24:24px;
  --s32:32px; --s40:40px; --s48:48px; --s64:64px; --s80:80px; --s96:96px;

  --r4:4px; --r8:8px; --r12:12px; --r20:20px;

  --sh-card: 0 2px 12px rgba(31,56,100,.10);
  --sh-btn:  0 2px 8px rgba(196,93,44,.25);
  --sh-md:   0 4px 20px rgba(31,56,100,.14);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  --container: 1200px;
  --header-h:  64px;
  --sticky-h:  60px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ── Skip link (accesibilidad — Brief v2 §18.2) ── */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--orange); color: var(--white);
  padding: 12px 20px; border-radius: 0 0 var(--r8) 0;
  font-weight: 600; font-size: 14px;
}
.skip-link:focus { left: 0; }

/* Foco visible obligatorio en todo elemento interactivo */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 2px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s24); }
.section    { padding: var(--s96) 0; }
.section-sm { padding: var(--s48) 0; }
@media (max-width: 768px) {
  .section    { padding: var(--s48) 0; }
  .section-sm { padding: var(--s32) 0; }
}
.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;
}

/* ══════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: var(--r8); font-weight: 600; font-size: 15px;
  padding: 12px 24px; line-height: 1; transition: all .18s;
  white-space: nowrap; cursor: pointer; min-height: 44px;
}
.btn-sm  { font-size: 13px; padding: 9px 18px; min-height: 36px; }
.btn-lg  { font-size: 16px; padding: 14px 30px; min-height: 52px; }

.btn-orange {
  background: var(--orange); color: var(--white);
  box-shadow: var(--sh-btn); border: 2px solid var(--orange);
}
.btn-orange:hover { background: var(--orange-h); border-color: var(--orange-h); transform: translateY(-1px); }

.btn-wh {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.65);
}
.btn-wh:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.btn-navy {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-navy:hover { background: var(--navy); color: var(--white); }

.btn-wa {
  background: var(--wa); color: var(--white);
  border: 2px solid var(--wa);
}
.btn-wa:hover { background: var(--wa-h); border-color: var(--wa-h); }

.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ══════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════ */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(31,56,100,.07);
}
.header__wrap {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s24);
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 40px; width: auto; display: block; }

nav.main-nav ul { display: flex; align-items: center; gap: 2px; }
nav.main-nav a {
  font-size: 14px; font-weight: 500; color: var(--gray);
  padding: 8px 13px; border-radius: var(--r4);
  transition: color .15s, background .15s;
  min-height: 44px; display: flex; align-items: center;
}
nav.main-nav a:hover  { color: var(--navy); background: var(--warm); }
nav.main-nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }

.header__cta-desktop { flex-shrink: 0; }

.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: var(--r8);
}
.nav-toggle:hover { background: var(--warm); }

@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .header__cta-desktop { display: none; }
  .nav-toggle { display: flex; }
}

/* Menú móvil desplegable */
.mobile-nav {
  display: none;
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--white); overflow-y: auto;
  padding: var(--s24);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block; padding: 14px 12px; font-size: 17px; font-weight: 600;
  color: var(--navy); border-bottom: 1px solid var(--warm);
}
.mobile-nav .btn { margin-top: var(--s24); width: 100%; }

/* ══════════════════════════════════════════════
   HERO SPLIT — Variante B, 62/38
   ══════════════════════════════════════════════ */
.hero { display: flex; min-height: 450px; position: relative; overflow: hidden; }

.hero__photo {
  flex: 0 0 62%; position: relative; overflow: hidden;
  background-image: url('../img/hero_presa_proytop_1920x1080.jpg');
  background-image: image-set(
    url('../img/hero_presa_proytop_1920x1080.webp') type('image/webp'),
    url('../img/hero_presa_proytop_1920x1080.jpg')  type('image/jpeg')
  );
  background-size: cover; background-position: 38% 45%; background-color: #1a2a3a;
}
.hero__photo::before {
  content:''; position:absolute; inset:0; z-index:1;
  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: 8px 8px;
}
.hero__photo::after {
  content:''; position:absolute; inset:0; z-index:2;
  background: linear-gradient(to bottom, rgba(31,56,100,.56) 0%, rgba(31,56,100,.44) 50%, rgba(31,56,100,.50) 100%);
}
.hero__fade {
  position:absolute; top:0; right:0; bottom:0; width:80px; z-index:3;
  background: linear-gradient(90deg, transparent, rgba(31,56,100,.35));
  pointer-events:none;
}
.hero__divider { position:absolute; right:0; top:0; bottom:0; width:1px; background: rgba(255,255,255,.18); z-index:5; }

.hero__content {
  position:absolute; inset:0; z-index:10;
  display:flex; flex-direction:column; justify-content:center;
  padding: var(--s64) var(--s48); max-width:640px;
}
.hero__kicker {
  font-size:11px; font-weight:700; letter-spacing:.14em;
  color: rgba(255,255,255,.55); text-transform:uppercase;
  margin-bottom: var(--s16); font-family: var(--mono);
}
.hero__h1 { font-size:40px; font-weight:700; color:var(--white); line-height:1.16; letter-spacing:-.6px; margin-bottom: var(--s20); }
.hero__sub { font-size:16px; color: rgba(255,255,255,.82); line-height:1.68; max-width:490px; margin-bottom: var(--s32); }
.hero__ctas { display:flex; gap:14px; flex-wrap:wrap; }
.hero__coords {
  position:absolute; bottom: var(--s16); right: var(--s24); z-index: 4;
  font-family: var(--mono); font-size: 10.5px; color: rgba(255,255,255,.38);
  letter-spacing: .04em;
}

.hero__sap {
  flex: 0 0 38%;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-light) 55%, #1a3060 100%);
  position: relative; display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding: var(--s40) var(--s32); overflow:hidden;
}
.hero__sap::before {
  content:''; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.038) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.038) 1px, transparent 1px);
  background-size: 8px 8px;
}
.hero__sap-inner { position:relative; z-index:1; width:100%; max-width:324px; }
.hero__sap-label { font-family: var(--mono); font-size:7.5px; color: rgba(255,255,255,.42); letter-spacing:.12em; text-transform:uppercase; margin-bottom:9px; }
.hero__sap-frame { width:100%; aspect-ratio: 324/220; border:1px solid rgba(255,255,255,.2); border-radius: var(--r4); overflow:hidden; background:#07090f; }
.hero__sap-tagline { font-family: var(--mono); font-size: 8.5px; color: rgba(255,255,255,.38); margin-top: 10px; }
.hero__sap-chips { display:flex; gap:8px; margin-top:10px; flex-wrap:wrap; }
.sap-chip {
  font-family: var(--mono); font-size:9.5px; color: rgba(255,255,255,.5);
  border:1px solid rgba(255,255,255,.16); border-radius: var(--r20); padding:3px 10px;
  background: rgba(255,255,255,.04);
}

@media (max-width: 1024px) and (min-width: 769px) {
  .hero__photo { flex: 0 0 58%; background-position: 35% 45%;
    background-image: url('../img/hero_presa_proytop_1024x576.webp');
    background-image: image-set(
      url('../img/hero_presa_proytop_1024x576.webp') type('image/webp'),
      url('../img/hero_presa_proytop_1920x1080.jpg') type('image/jpeg')
    );
  }
  .hero__sap { flex: 0 0 42%; padding: var(--s32) var(--s20); }
  .hero__sap-label, .hero__sap-chips, .hero__sap-tagline { display:none; }
  .hero__h1 { font-size:32px; }
  .hero__content { padding: var(--s48) var(--s32); }
  .hero__sap-inner { max-width:100%; }
  .hero__coords { display:none; }
}
@media (max-width: 768px) {
  .hero { flex-direction:column; min-height:auto; }
  .hero__photo {
    flex:none; width:100%; height:300px; background-position:45% 40%;
    background-image: url('../img/hero_presa_proytop_768x960.jpg');
    background-image: image-set(
      url('../img/hero_presa_proytop_768x960.webp') type('image/webp'),
      url('../img/hero_presa_proytop_768x960.jpg')  type('image/jpeg')
    );
  }
  .hero__content { position:absolute; inset:0; padding: var(--s32) var(--s20); max-width:100%; justify-content:flex-end; padding-bottom: var(--s32); }
  .hero__h1 { font-size:26px; margin-bottom: var(--s12); }
  .hero__sub { font-size:14px; max-width:100%; margin-bottom: var(--s20); }
  .hero__ctas .btn-wh { display:none; }
  .hero__sap { flex:none; width:100%; padding: var(--s24) var(--s20); min-height:auto; }
  .hero__sap-label, .hero__sap-chips, .hero__sap-tagline { display:block; font-size:8px; }
  .hero__sap-chips { display:flex; }
  .hero__sap-frame { aspect-ratio: 16/7; }
  .hero__sap-inner { max-width:100%; }
  .hero__divider, .hero__fade, .hero__coords { display:none; }
}

/* ══════════════════════════════════════════════
   MOBILE STICKY BAR
   ══════════════════════════════════════════════ */
.sticky-mobile {
  display:none; position:fixed; bottom:0; left:0; right:0; z-index:500;
  height: var(--sticky-h); background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 -4px 16px rgba(0,0,0,.3);
  padding: 0 var(--s16); gap: var(--s8); align-items:center;
}
.sticky-mobile .btn { flex:1; font-size:13px; padding:10px 12px; }
.sticky-mobile .btn-wa { flex: 0 0 auto; padding:10px 16px; }
@media (max-width: 768px) {
  .sticky-mobile { display:flex; }
  body { padding-bottom: var(--sticky-h); }
}

/* ══════════════════════════════════════════════
   SECTION TYPOGRAPHY
   ══════════════════════════════════════════════ */
.eyebrow { font-size:11px; font-weight:700; letter-spacing:.14em; color: var(--orange); text-transform:uppercase; margin-bottom:10px; }
.eyebrow.center { text-align:center; }
h1, h2, h3, h4 { color: var(--navy); font-weight:700; }
.sec-h2 { font-size:28px; font-weight:700; color:var(--navy); line-height:1.22; letter-spacing:-.3px; }
.sec-h2.center { text-align:center; margin: 0 auto; }
.sec-lead { font-size:15px; color:var(--gray); margin-top:10px; max-width:640px; }
.sec-lead.center { margin-left:auto; margin-right:auto; text-align:center; }
.accent-bar { width:40px; height:3px; background: var(--orange); border-radius:2px; margin-top:14px; }
.accent-bar.center { margin-left:auto; margin-right:auto; }
.section-head { margin-bottom: var(--s40); }
.reading { max-width: 720px; }
.reading p + p { margin-top: var(--s16); }

/* ══════════════════════════════════════════════
   PAGE BAND (hero simple de página interior)
   ══════════════════════════════════════════════ */
.page-band {
  background: var(--navy); padding: 52px 0 44px; position:relative; overflow:hidden;
}
.page-band::before {
  content:''; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 8px 8px;
}
.page-band__inner { position:relative; z-index:1; }
.breadcrumb { font-size:12px; color: rgba(255,255,255,.45); letter-spacing:.04em; margin-bottom:10px; }
.breadcrumb span { color: rgba(255,255,255,.75); }
.page-band h1 { font-size:34px; font-weight:700; color:var(--white); letter-spacing:-.4px; }
.page-band p.page-band__sub { color: rgba(255,255,255,.78); font-size:15px; max-width:640px; margin-top:12px; }

/* ══════════════════════════════════════════════
   HERO FOTOGRÁFICO DE PÁGINA (servicios)
   ══════════════════════════════════════════════ */
.photo-hero {
  position:relative; min-height:420px; display:flex; align-items:center; overflow:hidden;
  background-image: url('../img/hero_presa_proytop_1920x1080.jpg');
  background-image: image-set(
    url('../img/hero_presa_proytop_1920x1080.webp') type('image/webp'),
    url('../img/hero_presa_proytop_1920x1080.jpg')  type('image/jpeg')
  );
  background-size: cover; background-position: 50% 45%;
}
.photo-hero::before {
  content:''; position:absolute; inset:0; z-index:1;
  background: linear-gradient(100deg, rgba(20,28,46,.88) 0%, rgba(31,56,100,.72) 55%, rgba(31,56,100,.45) 100%);
}
.photo-hero::after {
  content:''; position:absolute; inset:0; z-index:1;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 8px 8px;
}
.photo-hero__inner { position:relative; z-index:2; padding: var(--s80) 0; max-width: 680px; }
.photo-hero .breadcrumb { color: rgba(255,255,255,.55); }
.photo-hero .breadcrumb span { color: rgba(255,255,255,.85); }
.photo-hero h1 { font-size:38px; color:var(--white); letter-spacing:-.4px; line-height:1.18; margin-bottom: var(--s16); }
.photo-hero p { font-size:16px; color: rgba(255,255,255,.85); line-height:1.68; margin-bottom: var(--s32); max-width: 560px; }
.photo-hero__ctas { display:flex; gap:14px; flex-wrap:wrap; }
@media (max-width:768px) {
  .photo-hero h1 { font-size:28px; }
  .photo-hero__inner { padding: var(--s48) 0; }
}

/* ══════════════════════════════════════════════
   FRANJA DE POSICIONAMIENTO
   ══════════════════════════════════════════════ */
.franja-pos { background: var(--navy); padding: var(--s40) 0; text-align:center; position:relative; overflow:hidden; }
.franja-pos::before {
  content:''; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 8px 8px;
}
.franja-pos__inner { position:relative; z-index:1; }
.franja-pos h2 { color:var(--white); font-size:22px; font-weight:700; letter-spacing:-.2px; }
.franja-pos p { color: rgba(255,255,255,.72); font-size:14px; margin-top:8px; max-width:640px; margin-left:auto; margin-right:auto; }

/* ══════════════════════════════════════════════
   DIVISIONES (4 tarjetas)
   ══════════════════════════════════════════════ */
.divs-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: var(--s16); }
@media (max-width:1024px) { .divs-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px)  { .divs-grid { grid-template-columns: 1fr; } }
.div-card {
  background: var(--white); border:1px solid var(--border); border-top: 4px solid var(--navy);
  border-radius: var(--r8); padding: var(--s32); box-shadow: var(--sh-card);
  transition: box-shadow .18s, transform .18s;
}
.div-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.div-card__code { font-size:44px; font-weight:700; color:var(--navy); line-height:1; }
.div-card h3 { font-size:18px; margin-top:10px; margin-bottom:8px; }
.div-card p { font-size:13.5px; color:var(--gray); line-height:1.55; }
.div-card__count { display:block; margin-top:14px; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color: var(--blue-h); }

/* ══════════════════════════════════════════════
   GRID DE 15 TARJETAS DE SERVICIO
   ══════════════════════════════════════════════ */
.services-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: var(--s20); }
@media (max-width:1024px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:640px)  { .services-grid { grid-template-columns: 1fr; } }

.svc-card {
  background:var(--white); border:1px solid var(--border); border-radius: var(--r8);
  padding: var(--s32); display:flex; flex-direction:column; gap:10px;
  transition: box-shadow .18s, transform .18s, border-color .18s; position:relative;
}
.svc-card:hover { border-color: var(--blue-h); box-shadow: var(--sh-md); transform: translateY(-2px); }
.svc-card__top { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.svc-pill {
  display:inline-block; background: var(--disc-c-bg); color:var(--navy);
  font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  padding:4px 10px; border-radius: var(--r20);
}
.svc-pill--soon { background: var(--disc-a-bg); color: var(--disc-a-bdr); }
.svc-card__num { font-size:40px; font-weight:700; color: var(--navy); line-height:1; opacity:.85; }
.svc-card h4 { font-size:18px; line-height:1.3; }
.svc-card__desc { font-size:13.5px; color:var(--gray); line-height:1.55; }
.svc-card__phrase { font-size:13px; font-style:italic; color: var(--blue-h); margin-top:4px; }
.svc-card__cta { font-size:12.5px; font-weight:600; color: var(--navy); margin-top:auto; padding-top:6px; display:inline-flex; align-items:center; gap:4px; }
.svc-card:hover .svc-card__cta { color: var(--orange); }

/* ══════════════════════════════════════════════
   DESTACADOS
   ══════════════════════════════════════════════ */
.feat-grid { display:grid; grid-template-columns: 1.4fr 1fr; gap: var(--s24); }
@media (max-width: 960px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-card {
  position:relative; border-radius: var(--r12); overflow:hidden; color:var(--white);
  display:flex; flex-direction:column; justify-content:flex-end; padding: var(--s40);
  min-height: 360px; box-shadow: var(--sh-card);
  background: linear-gradient(165deg, var(--navy) 0%, #16294d 100%);
}
.feat-card--photo {
  background-image: linear-gradient(180deg, rgba(20,28,46,.25) 0%, rgba(20,28,46,.86) 88%),
    url('../img/hero_presa_proytop_1920x1080.jpg');
  background-image: linear-gradient(180deg, rgba(20,28,46,.25) 0%, rgba(20,28,46,.86) 88%),
    image-set(url('../img/hero_presa_proytop_1920x1080.webp') type('image/webp'), url('../img/hero_presa_proytop_1920x1080.jpg') type('image/jpeg'));
  background-size: cover; background-position: 50% 40%;
}
.feat-card::before {
  content:''; position:absolute; inset:0; z-index:0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 10px 10px;
}
.feat-card > * { position:relative; z-index:1; }
.feat-card__tag { font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color: rgba(255,255,255,.6); margin-bottom:10px; }
.feat-card h3 { color:var(--white); font-size:24px; margin-bottom:10px; }
.feat-card p { color: rgba(255,255,255,.82); font-size:14px; line-height:1.6; margin-bottom: var(--s20); max-width: 460px; }

.feat-side { display:grid; grid-template-columns: 1fr 1fr; gap: var(--s16); }
@media (max-width:560px) { .feat-side { grid-template-columns: 1fr; } }
.feat-mini {
  background:var(--white); border:1px solid var(--border); border-radius: var(--r8);
  padding: var(--s20); display:flex; flex-direction:column; gap:8px;
  transition: box-shadow .18s, transform .18s;
}
.feat-mini:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.feat-mini__tag { font-size:10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--orange); }
.feat-mini h4 { font-size:15px; line-height:1.3; }
.feat-mini p { font-size:12.5px; color:var(--gray); line-height:1.5; }

/* ══════════════════════════════════════════════
   SECTORES ESTRATÉGICOS
   ══════════════════════════════════════════════ */
.sectors-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--border); border:1px solid var(--border); border-radius: var(--r8); overflow:hidden; }
@media (max-width:720px) { .sectors-grid { grid-template-columns: 1fr; } }
.sector-item { background: var(--white); padding: var(--s28,28px) var(--s24); display:flex; gap: var(--s16); align-items:flex-start; }
.sector-item:nth-child(even) { background: var(--warm); }
.sector-item__icon { width:40px; height:40px; flex-shrink:0; border-radius: var(--r8); background: var(--disc-c-bg); display:flex; align-items:center; justify-content:center; }
.sector-item h3 { font-size:15.5px; margin-bottom:6px; }
.sector-item p { font-size:13px; color:var(--gray); line-height:1.55; }

/* ══════════════════════════════════════════════
   POR QUÉ PROYTOP
   ══════════════════════════════════════════════ */
.why-section { background: var(--warm); position:relative; overflow:hidden; }
.why-section::before {
  content:''; position:absolute; inset:0;
  background-image: linear-gradient(rgba(31,56,100,.05) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(31,56,100,.05) 1px, transparent 1px);
  background-size: 8px 8px;
}
.why-section .container { position:relative; z-index:1; }
.why-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: var(--s24); }
@media (max-width:1024px) { .why-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:560px)  { .why-grid { grid-template-columns: 1fr; } }
.why-item { display:flex; flex-direction:column; gap:10px; }
.why-item__icon { width:40px; height:40px; border-radius: var(--r8); background: var(--white); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; }
.why-item h3 { font-size:15px; }
.why-item p { font-size:13px; color:var(--gray); line-height:1.55; }

/* ══════════════════════════════════════════════
   PROCESO (timeline)
   ══════════════════════════════════════════════ */
.process-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: var(--s24); position:relative; }
@media (max-width:860px) { .process-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:480px) { .process-grid { grid-template-columns: 1fr; } }
.process-item { position:relative; padding-top: var(--s16); border-top: 3px solid var(--orange); }
.process-item__num { font-size:34px; font-weight:700; color: var(--navy); opacity:.35; line-height:1; }
.process-item h3 { font-size:15.5px; margin-top:8px; margin-bottom:6px; }
.process-item p { font-size:13px; color:var(--gray); line-height:1.55; }

/* ══════════════════════════════════════════════
   CTA FINAL
   ══════════════════════════════════════════════ */
.cta-band { background: var(--navy); padding: var(--s96) 0; text-align:center; position:relative; overflow:hidden; }
.cta-band::before {
  content:''; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 8px 8px;
}
.cta-band__inner { position:relative; z-index:1; }
.cta-band h2 { font-size:30px; color:var(--white); letter-spacing:-.3px; margin-bottom:12px; }
.cta-band p { font-size:15px; color: rgba(255,255,255,.7); max-width:460px; margin:0 auto 32px; line-height:1.65; }
.cta-actions { display:flex; justify-content:center; gap:14px; flex-wrap:wrap; }
.cta-band__bar { margin-top: var(--s24); font-size:13px; color: rgba(255,255,255,.55); }
.cta-band__bar a { text-decoration: underline; }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
footer { background: var(--navy); padding: var(--s64) 0 var(--s24); }
.ft-top { display:grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap:56px; padding-bottom: var(--s48); border-bottom:1px solid rgba(255,255,255,.07); }
@media (max-width:1024px) { .ft-top { grid-template-columns: 1fr 1fr; gap: var(--s32); } }
@media (max-width:640px)  { .ft-top { grid-template-columns: 1fr; gap: var(--s24); } }
.ft-logo { display:flex; align-items:center; margin-bottom:14px; }
.ft-logo img { height:34px; width:auto; display:block; }
.ft-brand p { font-size:13px; color: rgba(255,255,255,.45); line-height:1.6; }
.ft-col h4 { font-size:10.5px; font-weight:700; letter-spacing:.12em; color: rgba(255,255,255,.35); text-transform:uppercase; margin-bottom:14px; }
.ft-col ul { display:flex; flex-direction:column; gap:8px; }
.ft-col ul a { font-size:13px; color: rgba(255,255,255,.55); transition: color .15s; }
.ft-col ul a:hover { color: var(--white); }
.ft-bottom { padding-top: var(--s24); display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap: var(--s12); }
.ft-legal { font-size:11.5px; color: rgba(255,255,255,.4); line-height:1.6; }
.ft-legal strong { color: rgba(255,255,255,.6); }
.ft-legal a { color: rgba(255,255,255,.55); text-decoration: underline; }
.ft-vertex { font-family: var(--mono); font-size:10px; color: rgba(255,255,255,.22); }

/* ══════════════════════════════════════════════
   UTILS
   ══════════════════════════════════════════════ */
.sep { border:none; border-top:1px solid var(--border); }
.mt-16 { margin-top: var(--s16); }
.mt-24 { margin-top: var(--s24); }
.mt-32 { margin-top: var(--s32); }
.mt-40 { margin-top: var(--s40); }
.text-center { text-align:center; }

/* ══════════════════════════════════════════════
   PÁGINAS LEGALES
   ══════════════════════════════════════════════ */
.legal-page { max-width: 780px; margin: 0 auto; padding: var(--s64) var(--s24); }
.legal-page h1 { font-size:30px; margin-bottom: var(--s16); }
.legal-page h2 { font-size:19px; margin-top: var(--s32); margin-bottom: var(--s12); }
.legal-page p { font-size:14.5px; line-height:1.75; color: var(--gray); margin-bottom: var(--s16); }
.legal-page ul { list-style:disc; padding-left:22px; margin:0 0 var(--s20); color:var(--gray); }
.legal-page li { font-size:14.5px; line-height:1.7; margin-bottom:7px; }
.legal-page .notice {
  background: var(--disc-c-bg); border-left:4px solid var(--navy); border-radius: var(--r4);
  padding: var(--s20); font-size:13.5px; color: var(--navy); margin-bottom: var(--s32);
}

/* ══════════════════════════════════════════════
   /CONTACTO — tarjetas, formulario, sidebar,
   asistente técnico, modales (contenido aprobado
   en mockup_hero_contacto_PROYTOP_v2_9.html)
   ══════════════════════════════════════════════ */
.cards4 { display:grid; grid-template-columns: repeat(4,1fr); gap: var(--s16); }
@media (max-width:1024px) { .cards4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width:480px)  { .cards4 { grid-template-columns: 1fr; } }
.ccard {
  background:var(--white); border:1px solid var(--border); border-radius: var(--r12);
  padding: var(--s24) var(--s20); box-shadow: var(--sh-card);
  display:flex; flex-direction:column; gap:10px; transition: box-shadow .18s, transform .18s;
}
.ccard:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.ccard__icon { width:44px; height:44px; border-radius: var(--r8); background:var(--warm); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.ccard__label { font-size:10.5px; font-weight:700; letter-spacing:.1em; color: var(--border); text-transform:uppercase; }
.ccard__value { font-size:15px; font-weight:600; color:var(--navy); line-height:1.3; }
.ccard__sub { font-size:12px; color:#666; line-height:1.4; }
.ccard__action {
  font-size:12px; font-weight:600; color:var(--orange); margin-top:auto;
  background:none; border:none; cursor:pointer; padding:0; font-family:inherit; text-align:left;
  min-height: auto;
}

.form-layout { display:grid; grid-template-columns: 60fr 40fr; gap:40px; align-items:start; }
@media (max-width:1024px) { .form-layout { grid-template-columns: 1fr; } }

.fcard { background:var(--white); border:1px solid var(--border); border-radius: var(--r12); padding: var(--s32); box-shadow: var(--sh-card); }
.fcard__title { font-size:20px; font-weight:700; color:var(--navy); }
.fcard__sub { font-size:13px; color:var(--gray); margin-top:5px; margin-bottom: var(--s24); }

.frow { display:grid; grid-template-columns: 1fr 1fr; gap: var(--s16); margin-bottom: var(--s16); }
.frow-1 { grid-template-columns: 1fr; }
@media (max-width:640px) { .frow { grid-template-columns: 1fr; } }

.fg { display:flex; flex-direction:column; gap:6px; }
.flabel { font-size:13px; font-weight:600; color:var(--navy); }
.flabel sup { color:var(--error); font-size:11px; margin-left:2px; }
.finput, .fselect, .ftextarea {
  width:100%; border:1px solid var(--border); border-radius: var(--r8); padding:11px 14px;
  font-family:var(--font); font-size:14px; color:var(--gray); background:var(--white);
  transition: border-color .15s, box-shadow .15s; outline:none;
}
.finput:focus, .fselect:focus, .ftextarea:focus { border-color:var(--navy); box-shadow: 0 0 0 3px rgba(31,56,100,.09); }
.ftextarea { resize:vertical; min-height:108px; }
.fselect {
  appearance:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position: right 14px center; padding-right:38px;
}
.fhint { font-size:11px; color:#999; }
.fcheck { display:flex; align-items:flex-start; gap:10px; font-size:13px; color:var(--gray); line-height:1.5; }
.fcheck input { margin-top:3px; width:18px; height:18px; flex-shrink:0; }
.fcheck a { color:var(--navy); text-decoration:underline; }

.fattach { border:1.5px dashed var(--border); border-radius: var(--r8); padding: var(--s16); text-align:center; background:var(--warm); cursor:pointer; transition: border-color .15s; }
.fattach:hover { border-color: var(--blue-h); }
.fattach p { font-size:13px; color:#999; margin-top:6px; }

.disc-a { background: var(--disc-a-bg); border-left:3px solid var(--disc-a-bdr); border-radius: var(--r4); padding:13px 16px; font-size:12px; color: var(--disc-a-txt); line-height:1.55; margin-top: var(--s16); }
.disc-a strong { color:#3a2c00; font-weight:700; }

.fsubmit { margin-top: var(--s24); display:flex; align-items:center; gap: var(--s16); flex-wrap:wrap; }
.fnote { font-size:11.5px; color:#999; }
.fsuccess { background: var(--success-bg); border:1px solid #86efac; border-radius: var(--r12); padding: var(--s32); text-align:center; display:none; }
.fsuccess.show { display:block; }
.fsuccess h3 { color: var(--success); font-size:18px; margin-bottom:8px; }
.fsuccess p { font-size:14px; color:var(--gray); }

.sidebar { display:flex; flex-direction:column; gap: var(--s16); }
.scard { background:var(--white); border:1px solid var(--border); border-radius: var(--r12); padding: var(--s24) var(--s20); box-shadow: var(--sh-card); }
.scard--wa { border-top:3px solid var(--wa); }
.scard--email { border-top:3px solid var(--blue-h); }
.scard--phone { border-top:3px solid var(--navy); }
.scard--hours { border-left:3px solid var(--navy); }
.scard__title { font-size:15px; font-weight:700; color:var(--navy); margin-bottom:4px; }
.scard__body { font-size:13px; color:var(--gray); line-height:1.55; }
.hours-grid { display:grid; grid-template-columns:auto 1fr; gap:4px 12px; font-size:13px; margin-top:8px; }
.hours-grid dt { font-weight:600; color:var(--navy); }
.hours-grid dd { color:var(--gray); }

/* Asistente Técnico PROYTOP */
.assistant-card { background:var(--chat-bg); border:1px solid var(--border); border-radius: var(--r12); overflow:hidden; box-shadow: var(--sh-card); }
.asst-trigger { padding: var(--s20); display:flex; flex-direction:column; gap: var(--s12); }
.asst-header { display:flex; align-items:center; gap:12px; }
.asst-avatar { width:44px; height:44px; border-radius:50%; background:var(--navy); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.asst-info strong { font-size:14px; font-weight:700; color:var(--navy); display:block; }
.asst-info span { font-size:12px; color:#888; }
.asst-online { width:10px; height:10px; background:#22c55e; border-radius:50%; margin-left:auto; flex-shrink:0; box-shadow: 0 0 0 2px rgba(34,197,94,.25); }
.asst-open-btn { width:100%; background:var(--navy); color:var(--white); border-radius: var(--r8); padding:11px 16px; font-size:13px; font-weight:600; display:flex; align-items:center; justify-content:center; gap:8px; transition: background .18s; min-height:44px; }
.asst-open-btn:hover { background:var(--blue-h); }
.asst-disclaimer { font-size:10.5px; color:#aaa; text-align:center; line-height:1.5; margin-top:4px; }

.asst-chat { display:none; flex-direction:column; height:600px; max-height:78vh; min-height:520px; }
@media (max-width:768px) { .asst-chat { height:72dvh; max-height:680px; min-height:480px; } }
.asst-chat.open { display:flex; }
.chat-topbar { background:var(--navy); padding:12px 16px; display:flex; align-items:center; gap:10px; }
.chat-topbar-info strong { font-size:13px; color:var(--white); font-weight:700; display:block; }
.chat-topbar-info span { font-size:10.5px; color: rgba(255,255,255,.55); }
.chat-close { margin-left:auto; color: rgba(255,255,255,.55); font-size:18px; padding:4px 8px; border-radius: var(--r4); transition: color .15s; min-height:auto; }
.chat-close:hover { color:var(--white); }
.chat-notice { background:#FFF8E1; border-bottom:1px solid #E8C97C; color:#6b5200; padding:8px 14px; font-size:11.5px; line-height:1.45; flex-shrink:0; }
.chat-notice summary { cursor:pointer; font-weight:700; color:#5a4500; list-style-position:inside; }
.chat-notice p { margin:7px 0 2px; }
.chat-notice a { color:var(--navy); text-decoration:underline; }
.chat-messages { flex:1 1 auto; min-height:190px; overflow-y:auto; padding: var(--s16); display:flex; flex-direction:column; gap:12px; background:var(--chat-bg); scroll-behavior:smooth; }
.chat-sys { text-align:center; font-size:10.5px; color:#bbb; font-family:var(--mono); background: rgba(0,0,0,.04); border-radius: var(--r20); padding:4px 12px; align-self:center; }
.cmsg { display:flex; gap:8px; align-items:flex-end; }
.cmsg--user { flex-direction:row-reverse; }
.cmsg > div:last-child { min-width:0; max-width:calc(100% - 36px); }
.cmsg__bubble { max-width:100%; padding:10px 13px; border-radius:12px; font-size:13px; line-height:1.55; white-space:pre-wrap; overflow-wrap:anywhere; }
.cmsg--bot .cmsg__bubble { background:var(--white); color:var(--gray); border:1px solid var(--border); border-bottom-left-radius:3px; }
.cmsg--user .cmsg__bubble { background:var(--navy); color:var(--white); border-bottom-right-radius:3px; }
.cmsg__av { width:28px; height:28px; border-radius:50%; background:var(--navy); flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.cmsg--user .cmsg__av { background:var(--border); }
.chat-time { font-size:10px; color:#ccc; align-self:flex-end; margin:0 4px; }
.chat-input-row { padding:10px 12px; border-top:1px solid var(--border); display:flex; gap:8px; align-items:center; background:var(--white); }
.chat-input { flex:1; border:1px solid var(--border); border-radius:20px; padding:8px 14px; font-size:13px; font-family:var(--font); outline:none; color:var(--gray); resize:none; height:36px; overflow:hidden; }
.chat-input:focus { border-color:var(--navy); }
.chat-send { width:36px; height:36px; border-radius:50%; background:var(--navy); color:var(--white); display:flex; align-items:center; justify-content:center; transition: background .15s; flex-shrink:0; min-height:auto; }
.chat-send:hover { background:var(--blue-h); }
.chat-send:disabled, .chat-input:disabled { opacity:.58; cursor:not-allowed; }
.cmsg--status .cmsg__bubble { color:#777; font-style:italic; }
.chat-footnote { font-size:10px; color:#ccc; text-align:center; padding:5px 12px 8px; background:var(--chat-bg); border-top:1px solid var(--border); font-family:var(--mono); }
.chat-chips { padding:8px 12px 4px; display:flex; flex-wrap:wrap; gap:6px; background:var(--chat-bg); border-top:1px solid var(--border); }
.chat-chip { font-size:12px; padding:5px 11px; border-radius:14px; border:1px solid var(--navy); color:var(--navy); background:var(--white); cursor:pointer; transition: background .15s, color .15s; white-space:nowrap; font-family:var(--font); min-height:auto; }
.chat-chip:hover { background:var(--navy); color:var(--white); }
.chat-connect-bar { padding:8px 12px; background:var(--white); border-top:1px solid var(--border); display:flex; }
.chat-connect-btn { width:100%; font-size:12.5px; font-weight:700; font-family:var(--font); padding:8px 16px; border-radius: var(--r8); background:var(--orange); color:var(--white); display:flex; align-items:center; justify-content:center; gap:7px; transition: background .15s; }
.chat-connect-btn:hover { background:#a8491f; }

.channels3 { display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
@media (max-width:900px) { .channels3 { grid-template-columns: 1fr 1fr; } }
@media (max-width:540px) { .channels3 { grid-template-columns: 1fr; } }
.ch-block { border-radius: var(--r12); padding: var(--s24) var(--s20); }
.ch-block--phone { background:#f0f4fa; border:1px solid #c7d4e8; }
.ch-block--wa    { background:#f0fdf4; border:1px solid #86efac; }
.ch-block--email { background:#eff6ff; border:1px solid #93c5fd; }
.ch-icon { width:48px; height:48px; border-radius: var(--r8); display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.ch-block--phone .ch-icon { background:#dce6f7; }
.ch-block--wa    .ch-icon { background:#dcfce7; }
.ch-block--email .ch-icon { background:#dbeafe; }
.ch-title { font-size:15px; font-weight:700; color:var(--navy); margin-bottom:3px; }
.ch-note  { font-size:12px; color:#888; line-height:1.5; margin-bottom: var(--s12); }

.franja-c { background: var(--disc-c-bg); padding: var(--s32) 0; }
.franja-c__inner { display:flex; align-items:flex-start; gap: var(--s20); }
.franja-c__ico { width:40px; height:40px; flex-shrink:0; border-radius:50%; background: rgba(31,56,100,.12); display:flex; align-items:center; justify-content:center; }
.franja-c__text strong { display:block; font-size:14px; font-weight:700; color:var(--navy); margin-bottom:6px; }
.franja-c__text p { font-size:13px; color:var(--gray); line-height:1.65; }

.franja-d { background: var(--disc-b-bg); border-top:1px solid #e0d8b0; border-bottom:1px solid #e0d8b0; padding: var(--s32) 0; }
.franja-d__inner { display:flex; align-items:flex-start; gap: var(--s20); }
.franja-d__text { font-size:12px; color: var(--disc-a-txt); line-height:1.65; }
.franja-d__text strong { color:#3a2c00; font-weight:700; }
.franja-d__text a { color:var(--navy); text-decoration:underline; }

/* Modales (WhatsApp / Llamada / Correo) */
.modal-overlay { display:none; position:fixed; inset:0; background: rgba(0,0,0,.55); z-index:900; align-items:center; justify-content:center; padding: var(--s16); }
.modal-overlay.open { display:flex; }
.modal-box { background:#fff; border-radius:14px; padding:32px 28px; max-width:440px; width:100%; position:relative; box-shadow: 0 12px 48px rgba(0,0,0,.28); max-height:90vh; overflow-y:auto; }
.modal-close { position:absolute; top:12px; right:16px; background:none; border:none; font-size:22px; cursor:pointer; color:#999; line-height:1; min-height:auto; }
.modal-close:hover { color:#333; }
.modal-title { font-size:17px; font-weight:700; color:var(--navy); margin:0 0 6px; }
.modal-lead { font-size:13px; color:#666; margin:0 0 20px; line-height:1.5; }
.modal-label { display:block; font-size:13px; font-weight:600; color:var(--navy); margin-bottom:7px; }
.modal-select, .modal-input { width:100%; padding:10px 12px; border:1px solid #ddd; border-radius:8px; font-size:14px; background:#f9fafc; font-family:inherit; box-sizing:border-box; }
.modal-select { margin-bottom:18px; }
.modal-frow { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:14px; }
.modal-horario-row { display:flex; gap:8px; margin-bottom:16px; flex-wrap:wrap; }
.modal-horario-btn { padding:8px 14px; border:1.5px solid #ddd; border-radius:7px; font-size:13px; cursor:pointer; background:#f9fafc; font-family:inherit; transition:all .15s; min-height:auto; }
.modal-horario-btn.active, .modal-horario-btn:hover { border-color:var(--navy); background:var(--navy); color:#fff; }
.modal-captcha-row { display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.modal-captcha-q { font-size:15px; background:#f0f4fa; padding:9px 16px; border-radius:8px; font-weight:700; color:var(--navy); white-space:nowrap; }
.modal-captcha-input { width:80px; flex:0 0 auto; text-align:center; }
.modal-error { color:#c0392b; font-size:12px; margin-bottom:12px; display:none; }
.modal-submit { width:100%; padding:13px; background:var(--wa); color:#fff; border:none; border-radius:9px; font-size:15px; font-weight:700; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:9px; font-family:inherit; min-height:48px; }
.modal-submit:hover { background: var(--wa-h); }
.modal-submit--navy { background: var(--navy); }
.modal-submit--navy:hover { background: var(--navy-dark); }
.modal-footnote { text-align:center; font-size:11px; color:#aaa; margin-top:10px; margin-bottom:0; }

/* Form captcha row */
.fcaptcha-row { display:flex; align-items:center; gap:14px; background:#f0f4fa; border-radius:8px; padding:12px 16px; margin-bottom:16px; flex-wrap:wrap; }
.fcaptcha-q { font-size:14px; font-weight:700; color:var(--navy); white-space:nowrap; }
.fcaptcha-input { width:74px; padding:8px 10px; border:1px solid #ddd; border-radius:7px; font-size:14px; text-align:center; font-family:inherit; }
.fcaptcha-label { font-size:12px; color:#666; }

/* Centro de recursos */
.resources-lead { max-width:760px; font-size:16px; line-height:1.75; color:var(--gray); }
.resource-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:var(--s20); }
.resource-card { background:var(--white); border:1px solid var(--border); border-radius:var(--r12); padding:var(--s32); display:flex; flex-direction:column; min-height:290px; transition:border-color .18s, box-shadow .18s, transform .18s; }
.resource-card:hover { border-color:var(--blue-h); box-shadow:var(--sh-md); transform:translateY(-2px); }
.resource-card__top { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:var(--s24); }
.resource-card__code { font-family:var(--mono); font-size:12px; letter-spacing:.1em; color:var(--orange); font-weight:700; }
.resource-card__status { display:inline-flex; align-items:center; border:1px solid #c7d4e8; background:#f0f4fa; color:var(--navy); border-radius:999px; padding:5px 10px; font-size:10px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.resource-card h2 { font-size:22px; color:var(--navy); margin-bottom:10px; }
.resource-card > p { font-size:14px; color:var(--gray); line-height:1.65; margin-bottom:var(--s20); }
.resource-list { list-style:none; display:grid; gap:9px; margin:0 0 var(--s24); }
.resource-list li { position:relative; padding-left:17px; font-size:13px; color:var(--gray); line-height:1.5; }
.resource-list li::before { content:""; position:absolute; left:0; top:.62em; width:6px; height:6px; background:var(--orange); border-radius:50%; }
.resource-card__link { margin-top:auto; font-size:13px; font-weight:700; color:var(--navy); }
.resource-card__link:hover { color:var(--orange); }
.resource-principles { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s20); margin-top:var(--s32); }
.resource-principle { border-top:3px solid var(--orange); background:var(--warm); padding:var(--s24); }
.resource-principle span { display:block; font-family:var(--mono); font-size:11px; color:var(--blue-h); margin-bottom:10px; }
.resource-principle h3 { font-size:16px; color:var(--navy); margin-bottom:8px; }
.resource-principle p { font-size:13px; color:var(--gray); line-height:1.6; }
.resource-callout { border:1px solid #c7d4e8; background:#f0f4fa; border-radius:var(--r12); padding:var(--s32); display:flex; align-items:center; justify-content:space-between; gap:var(--s24); }
.resource-callout__copy { max-width:650px; }
.resource-callout h2 { font-size:24px; color:var(--navy); margin-bottom:8px; }
.resource-callout p { font-size:14px; color:var(--gray); line-height:1.65; }
@media (max-width:760px) {
  .resource-grid { grid-template-columns:1fr; }
  .resource-principles { grid-template-columns:1fr; }
  .resource-callout { align-items:flex-start; flex-direction:column; }
}

/* Casos técnicos publicados */
.case-stories { display:grid; gap:var(--s32); }
.case-story { background:var(--white); border:1px solid var(--border); border-radius:var(--r12); padding:var(--s32); box-shadow:var(--sh-sm); }
.case-story__lead { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:var(--s32); align-items:start; }
.case-story__cover { margin:0; overflow:hidden; border-radius:var(--r8); background:#e8edf5; }
.case-story__cover img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; }
.case-story figure figcaption { font-size:11px; color:#777; line-height:1.45; padding:9px 10px; background:#f7f8fa; }
.case-story__meta { font-family:var(--mono); font-size:11px; letter-spacing:.06em; color:var(--orange); text-transform:uppercase; margin-bottom:10px; }
.case-story__copy h2 { font-size:27px; line-height:1.2; color:var(--navy); margin-bottom:var(--s16); }
.case-story__copy > p:not(.case-story__meta) { font-size:14px; line-height:1.7; color:var(--gray); margin-bottom:12px; }
.case-story__copy blockquote { border-left:3px solid var(--orange); padding:12px 16px; margin:var(--s20) 0 0; background:var(--warm); color:var(--navy); font-size:14px; font-weight:600; line-height:1.65; }
.case-facts { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s16); margin-top:var(--s32); }
.case-facts > div { background:#f0f4fa; border-top:3px solid var(--blue-h); padding:var(--s20); }
.case-facts span { display:block; font-family:var(--mono); font-size:10px; color:var(--orange); margin-bottom:8px; }
.case-facts h3 { font-size:15px; color:var(--navy); margin-bottom:7px; }
.case-facts p { font-size:12.5px; color:var(--gray); line-height:1.6; }
.case-story__lesson { margin-top:var(--s24); font-size:14px; color:var(--gray); line-height:1.7; }
.case-story__lesson strong { color:var(--navy); }
.case-gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s16); margin-top:var(--s24); }
.case-gallery figure { margin:0; overflow:hidden; border:1px solid var(--border); border-radius:var(--r8); background:var(--white); }
.case-gallery img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; }
.resource-grid--three { grid-template-columns:repeat(3,1fr); }
.resource-card--construction { min-height:190px; justify-content:flex-start; }
.resource-card--construction:hover { border-color:var(--border); box-shadow:none; transform:none; }
.resource-card__empty { margin-top:auto; font-family:var(--mono); font-size:12px!important; color:#777!important; text-transform:uppercase; letter-spacing:.08em; }
@media (max-width:900px) {
  .case-story__lead { grid-template-columns:1fr; }
  .resource-grid--three { grid-template-columns:1fr; }
}
@media (max-width:700px) {
  .case-story { padding:var(--s20); }
  .case-facts, .case-gallery { grid-template-columns:1fr; }
  .case-story__copy h2 { font-size:23px; }
}
