/* internal.css — styles for the internal service pages.
 * Layered on top of colors_and_type.css + portal.css (we reuse Header + ThemisX modal).
 *
 * Aesthetic direction: editorial-professional. Strong vertical rhythm,
 * generous whitespace, asymmetric hero with the real photography front-and-center
 * (no blur — the portal page is the moody bifurcation, this is the working showcase),
 * brand-color section accents, big numbered methodology.
 */

body.hl.internal { background: var(--hl-bg); }

/* ---------- Shared container ---------- */
.int-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Breadcrumb (sits under the sticky header) ---------- */
.int-breadcrumb {
  padding: 18px 0 0;
  font-family: var(--hl-font-ui);
  font-size: 13px;
  color: var(--hl-fg-3);
}
.int-breadcrumb a { color: var(--hl-fg-3); text-decoration: none; transition: color 140ms; }
.int-breadcrumb a:hover { color: var(--hl-teal-600); }
.int-breadcrumb .sep { margin: 0 8px; opacity: 0.6; }
.int-breadcrumb .current { color: var(--hl-navy-700); font-weight: 600; }

/* ---------- Service-page hero ---------- */
.int-hero {
  padding: 36px 0 80px;
  position: relative;
}
.int-hero .grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
.int-hero .eyebrow {
  font-family: var(--hl-font-ui);
  font-weight: 600;
  font-size: 12px;
  color: var(--hl-teal-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.int-hero .eyebrow .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--hl-blue-500); }
.int-hero.tecnico .eyebrow { color: var(--hl-green-600); }
.int-hero.tecnico .eyebrow .dot { background: var(--hl-green-600); }

.int-hero h1 {
  font-family: var(--hl-font-display);
  font-weight: 700;
  font-size: clamp(40px, 4.8vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--hl-navy-700);
  margin: 0 0 20px;
  text-wrap: balance;
}
.int-hero h1 .accent { color: var(--hl-blue-500); font-style: normal; }
.int-hero.tecnico h1 .accent { color: var(--hl-green-600); }

.int-hero .lede {
  font-family: var(--hl-font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--hl-fg-2);
  margin: 0 0 28px;
  max-width: 520px;
  text-wrap: pretty;
}

.int-hero .actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.int-hero .actions .btn-primary,
.int-hero .actions .btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--hl-font-ui);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms var(--hl-ease-out);
}
.int-hero .actions .btn-primary { background: var(--hl-blue-500); color: white; box-shadow: var(--hl-shadow-teal); }
.int-hero .actions .btn-primary:hover { background: var(--hl-teal-600); transform: translateY(-1px); }
.int-hero.tecnico .actions .btn-primary { background: var(--hl-green-600); box-shadow: 0 14px 30px -10px rgba(13, 92, 83, 0.4); }
.int-hero.tecnico .actions .btn-primary:hover { background: var(--hl-green-700); }
.int-hero .actions .btn-secondary { background: white; color: var(--hl-navy-700); border: 1.5px solid var(--hl-navy-700); }
.int-hero .actions .btn-secondary:hover { background: var(--hl-navy-50); }
.int-hero .actions svg { width: 16px; height: 16px; stroke-width: 2; }

/* Hero photo composition: photo as the focal element + brand geometry */
.int-hero .photo-stack {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 460px;
  margin-left: auto;
  width: 100%;
}
.int-hero .photo-stack .photo {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(15,23,42,0.28);
  background-size: cover;
  background-position: center;
  z-index: 2;
}
.int-hero.legal .photo-stack .photo { background-image: url('../assets/Balanza final.png'); background-position: 25% center; background-size: cover; }
.int-hero.tecnico .photo-stack .photo { background-image: url('../assets/FINAL 4.0 fondo servicios tecnicos.png'); background-position: 55% center; background-size: cover; }
.int-hero.nosotros .photo-stack .photo {
  background-image: url('../assets/photo-nosotros.png');
  background-position: center center;
  background-size: cover;
  filter: saturate(0.9) contrast(1.05);
}

.int-hero .photo-stack .shape { position: absolute; pointer-events: none; }
.int-hero .photo-stack .shape-1 { width: 130px; height: 130px; border-radius: 999px; background: var(--hl-blue-500); bottom: -28px; right: -28px; z-index: 1; }
.int-hero.tecnico .photo-stack .shape-1 { background: var(--hl-green-500); }
.int-hero .photo-stack .shape-2 { width: 56px; height: 56px; border-radius: 999px; background: var(--hl-blue-200); top: 30px; left: -22px; z-index: 3; }
.int-hero.tecnico .photo-stack .shape-2 { background: var(--hl-blue-200); }
.int-hero .photo-stack .shape-3 {
  width: 80px; height: 160px;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  background: var(--hl-navy-700);
  top: 50%;
  left: -56px;
  transform: translateY(-50%);
  opacity: 0.08;
  z-index: 0;
}
.int-hero.tecnico .photo-stack .shape-3 { background: var(--hl-teal-700); }

/* Photo entrance animation on page load */
.int-hero .photo-stack .photo { animation: photoIn 800ms var(--hl-ease-out) both; }
.int-hero .photo-stack .shape-1 { animation: shapeIn 900ms var(--hl-ease-out) both 100ms; }
.int-hero .photo-stack .shape-2 { animation: shapeIn 900ms var(--hl-ease-out) both 220ms; }
@keyframes photoIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@keyframes shapeIn {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: none; }
}
.int-hero.tecnico .photo-stack .shape-3 { animation: none; }

/* ---------- Section base ---------- */
.int-section { padding: 88px 0; }
.int-section.tint { background: var(--hl-bg-soft); }
.int-section-head {
  max-width: 720px;
  margin: 0 0 48px;
}
.int-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.int-section-head .eyebrow {
  font-family: var(--hl-font-ui);
  font-weight: 600;
  font-size: 12px;
  color: var(--hl-teal-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.int-section-head .eyebrow .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--hl-blue-500); }
.int-section-head.navy .eyebrow { color: var(--hl-navy-700); }
.int-section-head.navy .eyebrow .dot { background: var(--hl-navy-700); }
.int-section-head h2 {
  font-family: var(--hl-font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--hl-navy-700);
  margin: 0 0 14px;
  text-wrap: balance;
}
.int-section-head p {
  font-family: var(--hl-font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--hl-fg-2);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Tres Caminos ---------- */
.tres-caminos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tres-caminos.legal,
.tres-caminos.tecnico { grid-template-columns: repeat(2, 1fr); }
.tres-caminos .path {
  background: white;
  border-radius: 28px;
  padding: 32px 28px 28px;
  border: 1px solid var(--hl-border);
  cursor: pointer;
  transition: all 240ms var(--hl-ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.tres-caminos .path::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--hl-blue-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--hl-ease-out);
}
.tres-caminos .path:hover {
  transform: translateY(-4px);
  box-shadow: var(--hl-shadow-3);
  border-color: transparent;
}
.tres-caminos .path:hover::after { transform: scaleX(1); }
.tres-caminos .path .icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--hl-teal-50);
  color: var(--hl-teal-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: all 240ms var(--hl-ease-out);
}
.tres-caminos .path:hover .icon { background: var(--hl-blue-500); color: white; }
.tres-caminos .path .icon svg { width: 24px; height: 24px; stroke-width: 1.75; }
.tres-caminos .path .icon .star { font-size: 24px; line-height: 1; }
.tres-caminos.tecnico .path .icon { background: var(--hl-green-50); color: var(--hl-green-600); }
.tres-caminos.tecnico .path:hover .icon { background: var(--hl-green-600); color: white; }
.tres-caminos.tecnico .path::after { background: var(--hl-green-600); }
.tres-caminos .path h3 {
  font-family: var(--hl-font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--hl-navy-700);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.tres-caminos .path p {
  font-family: var(--hl-font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--hl-fg-2);
  margin: 0 0 22px;
  flex: 1;
}
.tres-caminos .path .more {
  font-family: var(--hl-font-ui);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--hl-teal-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.tres-caminos.tecnico .path .more { color: var(--hl-green-600); }
.tres-caminos .path .more svg { width: 14px; height: 14px; stroke-width: 2; transition: transform 200ms; }
.tres-caminos .path:hover .more svg { transform: translateX(4px); }

/* ============================================================
 * ThemisX card — protagonist treatment.
 * Deep-navy background with an animated aurora gradient,
 * a subtle grid pattern, drifting "starfield" particles,
 * a pulsing IA badge, and a glowing ✦ icon.
 * ============================================================ */
.tres-caminos .path.themisx-card {
  background: #0A1228;
  border-color: transparent;
  color: white;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 40px -20px rgba(10, 18, 40, 0.6);
}
.tres-caminos .path.themisx-card::after { display: none; } /* top accent line not needed */

/* Layer 0 — animated aurora gradient */
.tres-caminos .path.themisx-card .aurora {
  position: absolute;
  inset: -40%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 28%, rgba(20, 184, 166, 0.55) 0%, transparent 38%),
    radial-gradient(circle at 78% 18%, rgba(94, 232, 219, 0.32) 0%, transparent 42%),
    radial-gradient(circle at 48% 82%, rgba(46, 79, 163, 0.55) 0%, transparent 48%),
    radial-gradient(circle at 90% 70%, rgba(20, 184, 166, 0.30) 0%, transparent 40%);
  animation: themisx-aurora 18s ease-in-out infinite alternate;
  filter: blur(8px);
}
@keyframes themisx-aurora {
  0%   { transform: translate(0%, 0%) rotate(0deg) scale(1); }
  33%  { transform: translate(6%, -4%) rotate(2deg) scale(1.05); }
  66%  { transform: translate(-5%, 6%) rotate(-2deg) scale(1.02); }
  100% { transform: translate(4%, 3%) rotate(1deg) scale(1.06); }
}

/* Layer 1 — fine grid lines for an "AI/tech" feel */
.tres-caminos .path.themisx-card .grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(94, 232, 219, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 232, 219, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.35) 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.35) 60%, transparent 100%);
}

/* Layer 2 — drifting starfield */
.tres-caminos .path.themisx-card .particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.tres-caminos .path.themisx-card .particles > span {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.6),
    0 0 14px rgba(94, 232, 219, 0.55);
  animation: themisx-float ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes themisx-float {
  0%   { transform: translate(0, 0) scale(1);   opacity: 0.25; }
  50%  { transform: translate(6px, -22px) scale(1.25); opacity: 1; }
  100% { transform: translate(0, 0) scale(1);   opacity: 0.25; }
}

/* IA badge — pill in the top-right, with a tiny live-dot */
.tres-caminos .path.themisx-card .badge-ia {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.18);
  border: 1px solid rgba(94, 232, 219, 0.35);
  color: var(--hl-teal-300);
  font-family: var(--hl-font-ui);
  font-weight: 600;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tres-caminos .path.themisx-card .badge-ia .pulse {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--hl-teal-300);
  box-shadow: 0 0 0 0 rgba(94, 232, 219, 0.8);
  animation: themisx-pulse 1.8s ease-out infinite;
}
@keyframes themisx-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(94, 232, 219, 0.8); }
  70%  { box-shadow: 0 0 0 8px rgba(94, 232, 219, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 232, 219, 0); }
}

/* Icon — glowing star with concentric rings on hover */
.tres-caminos .path.themisx-card .icon {
  background: linear-gradient(135deg, var(--hl-blue-500), var(--hl-teal-700));
  color: white;
  box-shadow:
    0 12px 30px -8px rgba(20, 184, 166, 0.55),
    0 0 0 1px rgba(94, 232, 219, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
}
.tres-caminos .path.themisx-card .icon .star {
  display: inline-block;
  animation: themisx-spin 14s linear infinite;
  font-size: 26px;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.5));
}
@keyframes themisx-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.tres-caminos .path.themisx-card .icon::before,
.tres-caminos .path.themisx-card .icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 1px solid rgba(94, 232, 219, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms;
}
.tres-caminos .path.themisx-card .icon::after {
  inset: -12px;
  border-radius: 26px;
  border-color: rgba(94, 232, 219, 0.18);
}
.tres-caminos .path.themisx-card:hover .icon::before,
.tres-caminos .path.themisx-card:hover .icon::after { opacity: 1; }
.tres-caminos .path.themisx-card:hover .icon { transform: scale(1.04); transition: transform 280ms var(--hl-ease-out); }

/* Text colors — inverse on dark card */
.tres-caminos .path.themisx-card h3 {
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.tres-caminos .path.themisx-card p {
  color: rgba(255, 255, 255, 0.78);
}
.tres-caminos .path.themisx-card .more {
  color: var(--hl-teal-300);
  font-weight: 700;
}

/* Hover lift — gentler than light cards since this one is already loud */
.tres-caminos .path.themisx-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 24px 50px -18px rgba(10, 18, 40, 0.7),
    0 0 0 1px rgba(94, 232, 219, 0.25);
  border-color: transparent;
}

/* ---------- Áreas grid — image-left editorial cards ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
/* Cuando el último item queda solo en su fila (número impar de tarjetas),
 * lo centramos haciendo que ocupe las dos columnas. */
.areas-grid .area:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 12px);
  margin: 0 auto;
}

.areas-grid .area {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--hl-border);
  transition: transform 320ms var(--hl-ease-out), box-shadow 320ms var(--hl-ease-out), border-color 320ms;
  box-shadow:
    0 1px 0 rgba(11, 30, 64, 0.02),
    0 10px 28px -20px rgba(11, 30, 64, 0.18);
  cursor: pointer;
  isolation: isolate;
}
.areas-grid.tint .area { background: var(--hl-bg); }
.areas-grid .area:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow:
    0 4px 0 rgba(11, 30, 64, 0.02),
    0 30px 60px -24px rgba(11, 30, 64, 0.30);
}

/* Slim accent stripe at the top of the BODY side, slides in on hover */
.areas-grid .area::after {
  content: "";
  position: absolute;
  top: 0;
  left: 240px; right: 0;
  height: 3px;
  background: var(--hl-blue-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 360ms var(--hl-ease-out);
  z-index: 4;
}
body.tecnico-page .areas-grid .area::after,
.areas-grid.tecnico .area::after { background: var(--hl-green-500); }
.areas-grid .area:hover::after { transform: scaleX(1); }

/* ============ Image / icon panel (left) ============ */
.areas-grid .area .area-img {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 220px;
}

/* When no photo is set, each card cycles a different blue gradient so the
 * grid reads as a coherent mosaic. Legal = 6 blues; Técnico overrides to greens. */
.areas-grid .area:nth-child(6n+1) .area-img { background-image: linear-gradient(135deg, #2F7AC5 0%, #0B3D74 100%); }
.areas-grid .area:nth-child(6n+2) .area-img { background-image: linear-gradient(135deg, #5E9BD9 0%, #1462AE 100%); }
.areas-grid .area:nth-child(6n+3) .area-img { background-image: linear-gradient(135deg, #0F4F92 0%, #091A36 100%); }
.areas-grid .area:nth-child(6n+4) .area-img { background-image: linear-gradient(135deg, #1462AE 0%, #0F4F92 100%); }
.areas-grid .area:nth-child(6n+5) .area-img { background-image: linear-gradient(135deg, #2F7AC5 0%, #1462AE 100%); }
.areas-grid .area:nth-child(6n+6) .area-img { background-image: linear-gradient(135deg, #5E9BD9 0%, #0B3D74 100%); }

body.tecnico-page .areas-grid .area:nth-child(4n+1) .area-img { background-image: linear-gradient(135deg, #5CCB89 0%, #167A48 100%); }
body.tecnico-page .areas-grid .area:nth-child(4n+2) .area-img { background-image: linear-gradient(135deg, #1F9E5F 0%, #0F5B36 100%); }
body.tecnico-page .areas-grid .area:nth-child(4n+3) .area-img { background-image: linear-gradient(135deg, #167A48 0%, #091A36 100%); }
body.tecnico-page .areas-grid .area:nth-child(4n+4) .area-img { background-image: linear-gradient(135deg, #5CCB89 0%, #0F5B36 100%); }

/* When a real photo is present (.has-photo), use a very subtle bottom-vignette
 * only — just enough to keep the number badge legible. No heavy overlay. */
.areas-grid .area .area-img.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.0)  40%,
    rgba(0, 0, 0, 0.0)  100%
  );
  z-index: 1;
}
/* Scale-up on hover for photo panels — gives a subtle zoom effect */
.areas-grid .area .area-img.has-photo {
  transition: transform 400ms var(--hl-ease-out);
}
.areas-grid .area:hover .area-img.has-photo {
  transform: scale(1.03);
}

/* Decorative dot-pattern texture overlay on the gradient panels for depth */
.areas-grid .area .area-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 14px 14px;
  z-index: 1;
  mix-blend-mode: soft-light;
  opacity: 0.7;
  transition: opacity 320ms;
}
.areas-grid .area:hover .area-img::after { opacity: 1; }

/* The icon — large, centered on the panel */
.areas-grid .area .area-img .ic {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2;
}
.areas-grid .area .area-img .ic svg {
  width: 60px;
  height: 60px;
  stroke-width: 1.25;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
  transition: transform 380ms var(--hl-ease-out);
}
.areas-grid .area:hover .area-img .ic svg {
  transform: scale(1.12) rotate(-4deg);
}

/* Number badge in the upper-left corner of the image panel */
.areas-grid .area .num-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--hl-font-mono, ui-monospace, monospace);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: white;
  background: rgba(0, 0, 0, 0.28);
  padding: 5px 10px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Diagonal corner decoration — a soft outlined arc that adds depth */
.areas-grid .area .area-img .ic::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  bottom: -70px;
  right: -70px;
  z-index: -1;
}

/* ============ Body (right) ============ */
.areas-grid .area .area-body {
  padding: 26px 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.areas-grid .area h3 {
  font-family: var(--hl-font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--hl-navy-700);
  margin: 0 0 8px;
  letter-spacing: -0.015em;
  line-height: 1.18;
  text-wrap: balance;
}
.areas-grid .area p {
  font-family: var(--hl-font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--hl-fg-2);
  margin: 0 0 16px;
  text-wrap: pretty;
}

.areas-grid .area ul {
  list-style: none;
  padding: 14px 0 0;
  margin: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px dashed var(--hl-border);
}
.areas-grid .area ul li {
  font-family: var(--hl-font-ui);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--hl-fg-2);
  padding: 4px 10px;
  background: var(--hl-bg-soft);
  border-radius: 999px;
  white-space: nowrap;
  transition: all 200ms;
}
.areas-grid .area:hover ul li {
  background: white;
  border: 1px solid var(--hl-border);
  padding: 3px 9px;
}
.areas-grid.tint .area ul li { background: white; }
.areas-grid.tint .area:hover ul li {
  background: var(--hl-bg-soft);
  border-color: transparent;
  padding: 4px 10px;
}

/* Mobile: stack image on top */
@media (max-width: 720px) {
  .areas-grid { grid-template-columns: 1fr; gap: 18px; }
  .areas-grid .area {
    grid-template-columns: 1fr;
  }
  .areas-grid .area::after { left: 0; }
  .areas-grid .area .area-img { min-height: 160px; }
  .areas-grid .area .area-img .ic svg { width: 48px; height: 48px; }
  .areas-grid .area .area-body { padding: 20px 22px 22px; }
}

/* ---------- Methodology (BIG, per brief) ---------- */
.methodology {
  background: white;
  border-radius: 40px;
  padding: 64px 56px;
  border: 1px solid var(--hl-border);
}
.methodology .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.methodology .head h2 {
  font-family: var(--hl-font-display);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--hl-navy-700);
  margin: 8px 0 0;
  max-width: 720px;
  text-wrap: balance;
}
.methodology .head .eyebrow {
  font-family: var(--hl-font-ui);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hl-teal-700);
}
.methodology.tecnico .head .eyebrow { color: var(--hl-green-600); }

.methodology .steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.methodology .steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 64px;
  right: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--hl-border), transparent);
  z-index: 0;
}
.methodology .step { position: relative; z-index: 1; }
.methodology .step .num {
  width: 64px; height: 64px;
  border-radius: 999px;
  background: var(--hl-blue-500);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--hl-font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  box-shadow: var(--hl-shadow-teal);
  position: relative;
}
.methodology.tecnico .step .num { background: var(--hl-green-600); box-shadow: 0 14px 30px -10px rgba(13, 92, 83, 0.35); }
.methodology .step:nth-child(1) .num { background: var(--hl-blue-300); box-shadow: 0 14px 30px -10px rgba(94, 155, 217, 0.45); }
.methodology .step:nth-child(2) .num { background: var(--hl-blue-500); box-shadow: var(--hl-shadow-blue); }
.methodology .step:nth-child(3) .num { background: var(--hl-blue-600); box-shadow: 0 14px 30px -10px rgba(15, 79, 146, 0.45); }
.methodology .step:nth-child(4) .num { background: var(--hl-blue-700); box-shadow: 0 14px 30px -10px rgba(11, 61, 116, 0.45); }
/* Eliminada regla errónea que forzaba azul en step-1 de la variante técnico */

.methodology .step h3 {
  font-family: var(--hl-font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--hl-navy-700);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.methodology .step p {
  font-family: var(--hl-font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--hl-fg-2);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Methodology CTA button ---------- */
.methodology-cta {
  display: flex;
  justify-content: center;
  padding-top: 32px;
}
.meth-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: var(--hl-font-body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 180ms var(--hl-ease-out), box-shadow 180ms var(--hl-ease-out);
}
.meth-cta-btn svg { width: 20px; height: 20px; transition: transform 200ms var(--hl-ease-out); }
.meth-cta-btn:hover { transform: translateY(-2px); }
.meth-cta-btn:hover svg { transform: translateY(3px); }
.meth-cta-btn.legal {
  background: var(--hl-blue-500);
  color: white;
  box-shadow: 0 8px 28px -6px rgba(20, 98, 174, 0.45);
}
.meth-cta-btn.legal:hover { box-shadow: 0 14px 36px -6px rgba(20, 98, 174, 0.55); }
.meth-cta-btn.tecnico {
  background: var(--hl-green-500);
  color: white;
  box-shadow: 0 8px 28px -6px rgba(13, 92, 83, 0.45);
}
.meth-cta-btn.tecnico:hover { box-shadow: 0 14px 36px -6px rgba(13, 92, 83, 0.55); }

/* ---------- Why us / trust strip ---------- */
.int-why {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.int-why .copy h2 {
  font-family: var(--hl-font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 38px);
  letter-spacing: -0.02em;
  color: var(--hl-navy-700);
  line-height: 1.1;
  margin: 0 0 18px;
  text-wrap: balance;
}
.int-why .copy p {
  font-family: var(--hl-font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--hl-fg-2);
  margin: 0 0 24px;
}
.int-why .copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.int-why .copy ul li {
  display: flex; gap: 12px;
  font-family: var(--hl-font-body);
  font-size: 16px;
  color: var(--hl-fg-1);
}
.int-why .copy ul li svg { width: 22px; height: 22px; color: var(--hl-blue-500); flex-shrink: 0; margin-top: 1px; stroke-width: 1.75; }
.int-why.tecnico .copy ul li svg { color: var(--hl-green-600); }
.int-why .stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.int-why .stat {
  background: var(--hl-bg-soft);
  border-radius: 24px;
  padding: 28px 24px;
  border: 1px solid var(--hl-border);
}
.int-why.tecnico .stat { background: white; }
.int-why .stat .num {
  font-family: var(--hl-font-display);
  font-weight: 700;
  font-size: 40px;
  color: var(--hl-blue-500);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.int-why.tecnico .stat .num { color: var(--hl-green-600); }
.int-why .stat .lbl {
  font-family: var(--hl-font-body);
  font-size: 14px;
  color: var(--hl-fg-2);
  line-height: 1.4;
}

/* ---------- Contact CTA (WhatsApp + Email) ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 32px 32px 30px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--hl-border);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: all 240ms var(--hl-ease-out);
  isolation: isolate;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 100% 0%, currentColor 0%, transparent 50%);
  opacity: 0;
  transition: opacity 280ms;
  pointer-events: none;
}
.contact-card > * { position: relative; z-index: 1; }
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hl-shadow-3);
  border-color: transparent;
}
.contact-card.whatsapp:hover { color: #25D366; }
.contact-card.email:hover { color: var(--hl-teal-600); }
.contact-grid.tecnico .contact-card.email:hover { color: var(--hl-green-600); }
.contact-card:hover::before { opacity: 0.06; }

.contact-card .ic {
  width: 64px; height: 64px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 240ms var(--hl-ease-out);
}
.contact-card.whatsapp .ic { background: #25D366; color: white; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.45); }
.contact-card.email .ic { background: var(--hl-blue-500); color: white; box-shadow: var(--hl-shadow-teal); }
.contact-grid.tecnico .contact-card.email .ic { background: var(--hl-green-600); box-shadow: 0 14px 30px -10px rgba(13, 92, 83, 0.4); }
.contact-card .ic svg { width: 32px; height: 32px; stroke-width: 1.75; }
.contact-card:hover .ic { transform: rotate(-4deg) scale(1.05); }

.contact-card .body { flex: 1; min-width: 0; }
.contact-card .label {
  font-family: var(--hl-font-ui);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hl-fg-3);
  margin-bottom: 6px;
}
.contact-card .value {
  font-family: var(--hl-font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--hl-navy-700);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  word-break: break-word;
}
.contact-card .hint {
  font-family: var(--hl-font-body);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--hl-fg-2);
  margin: 0;
}
.contact-card .arrow {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--hl-bg-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 240ms var(--hl-ease-out);
  color: var(--hl-fg-2);
}
.contact-card .arrow svg { width: 18px; height: 18px; stroke-width: 2; transition: transform 240ms; }
.contact-card:hover .arrow {
  background: currentColor;
  color: white;
}
.contact-card:hover .arrow svg { transform: translate(2px, -2px); color: white; }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 14px; }
  .contact-card { padding: 26px 24px; gap: 16px; }
  .contact-card .ic { width: 52px; height: 52px; border-radius: 16px; }
  .contact-card .ic svg { width: 26px; height: 26px; }
  .contact-card .value { font-size: 18px; }
}
.int-cta {
  background: linear-gradient(135deg, var(--hl-blue-500), var(--hl-teal-700));
  border-radius: 40px;
  padding: 56px 64px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.int-cta.tecnico { background: linear-gradient(135deg, var(--hl-green-600), var(--hl-green-700)); }
.int-cta.no-headline { justify-content: center; }
.int-cta .deco {
  position: absolute; pointer-events: none;
  border-radius: 999px;
}
.int-cta .deco-1 { right: -50px; top: -50px; width: 220px; height: 220px; background: rgba(255,255,255,0.12); }
.int-cta .deco-2 { right: 240px; bottom: -70px; width: 150px; height: 150px; background: rgba(255,255,255,0.08); }
.int-cta h2 {
  font-family: var(--hl-font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: white;
  margin: 0;
  max-width: 640px;
  text-wrap: balance;
  position: relative;
}
.int-cta .actions { display: flex; gap: 12px; flex-shrink: 0; position: relative; }
.int-cta .btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--hl-font-ui);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 200ms var(--hl-ease-out);
  white-space: nowrap;
}
.int-cta .btn-fill { background: white; color: var(--hl-teal-700); }
.int-cta.tecnico .btn-fill { color: var(--hl-green-700); }
.int-cta .btn-fill:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -10px rgba(0,0,0,0.25); }
.int-cta .btn-ghost { background: rgba(255,255,255,0.12); color: white; border: 1px solid rgba(255,255,255,0.3); }
.int-cta .btn-ghost:hover { background: rgba(255,255,255,0.18); }
.int-cta .btn svg { width: 16px; height: 16px; stroke-width: 2; }

/* ---------- Footer (full) ---------- */
.int-footer {
  background: linear-gradient(135deg, var(--hl-navy-700) 0%, var(--hl-blue-600) 100%);
  color: white;
  padding: 64px 0 24px;
  margin-top: 88px;
}
.int-footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.int-footer .mark { height: 38px; margin-bottom: 16px; }
.int-footer .blurb { font-size: 14px; opacity: 0.92; line-height: 1.6; max-width: 280px; margin: 0; }
.int-footer .col-title {
  font-family: var(--hl-font-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0 0 16px;
}
.int-footer .links { display: flex; flex-direction: column; gap: 10px; }
.int-footer .links a {
  color: white;
  opacity: 0.92;
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  transition: opacity 140ms;
}
.int-footer .links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.int-footer .contact-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px;
  opacity: 0.95;
  margin-bottom: 10px;
}
.int-footer .contact-row svg { width: 18px; height: 18px; stroke-width: 1.75; flex-shrink: 0; }
.int-footer .socials { display: flex; gap: 10px; margin-top: 18px; }
.int-footer .pill {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 140ms;
}
.int-footer .pill:hover { background: rgba(255,255,255,0.30); }
.int-footer .pill svg { width: 18px; height: 18px; color: white; stroke-width: 1.75; }
.int-footer .legal-band {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
}
.int-footer .legal-band p {
  font-family: var(--hl-font-ui);
  font-size: 11px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0 auto;
  max-width: 820px;
}
.int-footer .legal-band .small-row {
  margin-top: 14px;
  display: flex; justify-content: space-between;
  font-size: 12px;
  opacity: 0.7;
}

/* ============================================================
 * TECNICO PAGE — global green overrides
 * The base styles use blue (Legal). For the Técnico page we paint
 * everything that defaults to blue with green so the whole surface
 * speaks the green half of the palette.
 * ============================================================ */
body.tecnico-page .int-hero .eyebrow .dot { background: var(--hl-green-500); }
body.tecnico-page .int-hero .eyebrow { color: var(--hl-green-600); }
body.tecnico-page .int-hero h1 .accent { color: var(--hl-green-600); }
body.tecnico-page .int-hero .actions .btn-primary { background: var(--hl-green-500); box-shadow: var(--hl-shadow-green); }
body.tecnico-page .int-hero .actions .btn-primary:hover { background: var(--hl-green-600); }
body.tecnico-page .int-hero .photo-stack .shape-1 { background: var(--hl-green-500); }
body.tecnico-page .int-hero .photo-stack .shape-2 { background: var(--hl-green-300); }
body.tecnico-page .int-hero .photo-stack .shape-3 { background: var(--hl-green-700); }
body.tecnico-page .int-breadcrumb a:hover { color: var(--hl-green-600); }

body.tecnico-page .int-section-head .eyebrow { color: var(--hl-green-600); }
body.tecnico-page .int-section-head .eyebrow .dot { background: var(--hl-green-500); }

body.tecnico-page .tres-caminos .path::after { background: var(--hl-green-500); }
body.tecnico-page .tres-caminos .path .icon { background: var(--hl-green-50); color: var(--hl-green-700); }
body.tecnico-page .tres-caminos .path:hover .icon { background: var(--hl-green-500); color: white; }
body.tecnico-page .tres-caminos .path .more { color: var(--hl-green-700); }
body.tecnico-page .tres-caminos .path.themisx-card .icon {
  background: linear-gradient(135deg, var(--hl-green-500), var(--hl-green-700));
}

body.tecnico-page .areas-grid .area::after { background: var(--hl-green-500); }
body.tecnico-page .areas-grid .area:hover .ic {
  background: var(--hl-green-500);
  border-color: var(--hl-green-500);
  box-shadow: var(--hl-shadow-green);
}

body.tecnico-page .methodology .step:nth-child(1) .num { background: var(--hl-green-300); box-shadow: 0 14px 30px -10px rgba(61, 171, 158, 0.45); }
body.tecnico-page .methodology .step:nth-child(2) .num { background: var(--hl-green-500); box-shadow: var(--hl-shadow-green); }
body.tecnico-page .methodology .step:nth-child(3) .num { background: var(--hl-green-600); box-shadow: 0 14px 30px -10px rgba(13, 92, 83, 0.45); }
body.tecnico-page .methodology .step:nth-child(4) .num { background: var(--hl-green-700); box-shadow: 0 14px 30px -10px rgba(15, 91, 54, 0.45); }
body.tecnico-page .methodology .head .eyebrow { color: var(--hl-green-600); }

body.tecnico-page .int-why .copy ul li svg { color: var(--hl-green-500); }
body.tecnico-page .int-why .stat .num { color: var(--hl-green-500); }

body.tecnico-page .contact-card.email .ic { background: var(--hl-green-500); box-shadow: var(--hl-shadow-green); }
body.tecnico-page .contact-card.email:hover { color: var(--hl-green-700); }

body.tecnico-page .int-cta {
  background: linear-gradient(135deg, var(--hl-green-600), var(--hl-green-700));
}
body.tecnico-page .int-cta .btn-fill { color: var(--hl-green-700); }

body.tecnico-page .int-footer {
  background: linear-gradient(135deg, var(--hl-green-600) 0%, var(--hl-green-500) 100%);
}

/* ---------- Tablet (881–1100px) ---------- */
@media (max-width: 1100px) and (min-width: 881px) {
  .int-container { padding: 0 28px; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .tres-caminos { grid-template-columns: 1fr 1fr; }
}

/* ---------- Mobile ---------- */
@media (max-width: 880px) {
  .int-container { padding: 0 20px; }
  .int-hero { padding: 24px 0 56px; }
  .int-hero h1 { font-size: clamp(32px, 7vw, 44px); }
  .int-hero .grid { grid-template-columns: 1fr; gap: 36px; }
  .int-hero .photo-stack { max-width: 380px; margin: 0 auto; }
  .int-section { padding: 56px 0; }
  .int-section-head h2 { font-size: clamp(26px, 6vw, 36px); }
  .tres-caminos, .areas-grid { grid-template-columns: 1fr; gap: 14px; }
  .tres-caminos.legal { grid-template-columns: 1fr; }
  .methodology { grid-template-columns: 1fr; gap: 32px; }
  .methodology .steps { grid-template-columns: 1fr; }
  .int-cta { padding: 40px 24px; }
  .int-cta .actions { flex-direction: column; align-items: stretch; }
  .int-cta .actions .btn { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .int-footer .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .methodology { padding: 36px 28px; border-radius: 32px; }
  .methodology .steps::before { display: none; }
  .int-why { grid-template-columns: 1fr; gap: 36px; }
  .int-why .stats { grid-template-columns: 1fr 1fr; }
  .int-cta { flex-direction: column; align-items: flex-start; padding: 36px 30px; border-radius: 32px; }
  .int-footer .grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ═══════════════════════════════════════════════════════════════════
 * SOBRE NOSOTROS — diseño editorial sin tarjetas
 * Tipografía Lora protagonista, hairlines como separadores, números
 * grandes como anclas visuales. Reutiliza .int-section / .int-container.
 * ═══════════════════════════════════════════════════════════════════ */

.sn-italic-accent {
  font-family: var(--hl-font-display);
  font-style: italic;
  color: var(--hl-blue-500);
  font-weight: 700;
}

/* ── Misión / Visión: editorial split con quote y divisor ─────────── */
.sn-mv-section { padding-top: 96px; padding-bottom: 96px; }

.sn-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 64px;
  align-items: start;
}

.sn-mv-divider {
  display: block;
  width: 1px;
  height: 100%;
  min-height: 320px;
  background: linear-gradient(180deg, transparent, var(--hl-border) 20%, var(--hl-border) 80%, transparent);
  align-self: stretch;
}

.sn-mv { position: relative; }

.sn-mv-num {
  font-family: var(--hl-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(64px, 7vw, 88px);
  line-height: 1;
  color: var(--hl-blue-100);
  display: block;
  margin-bottom: -28px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 0;
}

.sn-mv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hl-font-ui);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hl-blue-600);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.sn-mv-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--hl-blue-500);
}

.sn-mv-quote {
  font-family: var(--hl-font-display);
  font-weight: 700;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.022em;
  color: var(--hl-navy-700);
  margin: 0 0 32px;
  text-wrap: balance;
}
.sn-mv-quote em {
  font-style: italic;
  font-weight: 700;
  color: var(--hl-blue-500);
}

.sn-mv-text {
  font-family: var(--hl-font-body);
  font-size: 19px;
  line-height: 1.7;
  color: var(--hl-fg-1);
  margin: 0;
  max-width: 540px;
}

/* ── Principios — Tarjetas claras compactas con animacion ───────── */
.sn-principios-section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.sn-principios-section .int-section-head { margin-bottom: 16px; }
.sn-principios-section .int-section-head p { max-width: 620px; }

.sn-principios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.sn-principio {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: flex-start;
  padding: 24px 26px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--hl-border);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 600ms var(--hl-ease-out),
    transform 600ms var(--hl-ease-out),
    background 280ms ease,
    border-color 280ms ease,
    box-shadow 320ms ease;
  transition-delay: var(--delay, 0ms);
}
.sn-principio.is-visible { opacity: 1; transform: none; }

.sn-principio:hover {
  background: linear-gradient(135deg, white, var(--hl-blue-50));
  border-color: var(--hl-blue-200);
  box-shadow: 0 10px 30px -14px rgba(20, 98, 174, 0.22);
}

/* Ícono compacto izquierda */
.sn-principio-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--hl-blue-50);
  border: 1px solid var(--hl-blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hl-blue-500);
  transition: transform 380ms var(--hl-ease-out), background 280ms, color 280ms, border-color 280ms;
  flex-shrink: 0;
}
.sn-principio:hover .sn-principio-icon {
  transform: rotate(-4deg);
  background: var(--hl-blue-500);
  border-color: var(--hl-blue-500);
  color: white;
}
.sn-principio-icon i, .sn-principio-icon svg { width: 22px; height: 22px; stroke-width: 1.7; }

.sn-principio-body { padding-top: 4px; }

.sn-principio-title {
  font-family: var(--hl-font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--hl-navy-700);
  margin: 0 0 6px;
}

.sn-principio-desc {
  font-family: var(--hl-font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--hl-fg-2);
  margin: 0;
}

/* Accent inferior animado */
.sn-principio-rule {
  position: absolute;
  left: 26px;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--hl-blue-500), var(--hl-blue-300));
  border-radius: 2px;
  transition: width 420ms var(--hl-ease-out);
}
.sn-principio:hover .sn-principio-rule { width: 48px; }

@media (prefers-reduced-motion: reduce) {
  .sn-principio {
    opacity: 1 !important;
    transform: none !important;
    transition: background 200ms, border-color 200ms, box-shadow 200ms;
  }
  .sn-principio-icon, .sn-principio-rule { transition: none; }
}

/* ── Por qué HONDULegal: editorial card-less con número masivo ───── */
.sn-diff-section { padding-top: 96px; padding-bottom: 96px; }

.sn-diff-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
  margin-top: 56px;
  position: relative;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.sn-diff-list::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--hl-border) 15%, var(--hl-border) 85%, transparent);
}

.sn-diff {
  padding: 0 24px;
  position: relative;
}

.sn-diff-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--hl-navy-700);
  color: white;
  margin-bottom: 22px;
  box-shadow: 0 14px 30px -10px rgba(14, 36, 71, 0.35);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.sn-diff:hover .sn-diff-icon {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -10px rgba(20, 98, 174, 0.45);
  background: var(--hl-blue-500);
}
.sn-diff-icon i, .sn-diff-icon svg { width: 22px; height: 22px; stroke-width: 1.6; }

.sn-diff-body h3 {
  font-family: var(--hl-font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--hl-blue-500);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.sn-diff-body p {
  font-family: var(--hl-font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--hl-fg-2);
  margin: 0;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .sn-mv-section, .sn-principios-section, .sn-diff-section { padding-top: 64px; padding-bottom: 64px; }

  .sn-mv-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .sn-mv-divider {
    width: 100%;
    height: 1px;
    min-height: 0;
    background: linear-gradient(90deg, transparent, var(--hl-border), transparent);
  }

  .sn-principios-grid { margin-top: 40px; gap: 14px; grid-template-columns: 1fr; }
  .sn-principio { padding: 22px 22px; gap: 18px; grid-template-columns: 48px 1fr; }
  .sn-principio-icon { width: 48px; height: 48px; }
  .sn-principio-icon i, .sn-principio-icon svg { width: 20px; height: 20px; }
  .sn-principio-title { font-size: 17.5px; }
  .sn-principio-desc { font-size: 14px; }

  .sn-diff-list {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sn-diff-list::before { display: none; }
  .sn-diff { padding: 0; border-bottom: 1px solid var(--hl-border); padding-bottom: 32px; }
  .sn-diff:last-child { border-bottom: none; padding-bottom: 0; }
}

@media (max-width: 560px) {
  .sn-principios-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
 * EQUIPO — Página de equipo
 * Hero atmosférico navy + perfiles editoriales alternados.
 * Animaciones: reveal on scroll, hover en fotos y nombres.
 * ═══════════════════════════════════════════════════════════════════ */

/* ── Reveal animation ─────────────────────────────────────────────── */
.eq-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--hl-ease-out), transform 700ms var(--hl-ease-out);
  will-change: opacity, transform;
}
.eq-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .eq-reveal { opacity: 1; transform: none; transition: none; }
}

/* ── HERO ─────────────────────────────────────────────────────────── */

/* ── Sections ─────────────────────────────────────────────────────── */
.eq-section { padding-top: 72px; padding-bottom: 72px; }
.eq-section:first-of-type { padding-top: 48px; }

.eq-profiles {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 48px;
}

/* ── Profile card ─────────────────────────────────────────────────── */
.eq-profile {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.eq-profile.is-flipped {
  grid-template-columns: 1.15fr 0.85fr;
}
.eq-profile.is-flipped .eq-photo-wrap { order: 2; }
.eq-profile.is-flipped .eq-body       { order: 1; }

/* Photo with brand geometry */
.eq-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
}

.eq-photo {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background-size: cover;
  background-position: center top;
  box-shadow: 0 22px 50px -18px rgba(11, 30, 64, 0.35);
  z-index: 2;
  transition: transform 600ms var(--hl-ease-out), box-shadow 500ms var(--hl-ease-out), filter 500ms;
  filter: saturate(0.95);
}

.eq-profile:hover .eq-photo {
  transform: translateY(-5px);
  box-shadow: 0 30px 70px -18px rgba(20, 98, 174, 0.45);
  filter: saturate(1.05);
}

.eq-shape {
  position: absolute;
  pointer-events: none;
}
.eq-shape-1 {
  width: 100px; height: 100px;
  border-radius: 999px;
  background: var(--hl-blue-500);
  bottom: -22px; right: -22px;
  z-index: 1;
  transition: transform 600ms var(--hl-ease-out);
}
.eq-profile.is-flipped .eq-shape-1 { right: auto; left: -22px; }
.eq-profile:hover .eq-shape-1 { transform: scale(1.08); }

.eq-shape-2 {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--hl-blue-200);
  top: 22px; left: -18px;
  z-index: 3;
  transition: transform 600ms var(--hl-ease-out);
}
.eq-profile.is-flipped .eq-shape-2 { left: auto; right: -18px; }
.eq-profile:hover .eq-shape-2 { transform: translateY(-6px); }

.eq-shape-3 {
  width: 64px; height: 130px;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  background: var(--hl-navy-700);
  top: 50%;
  left: -48px;
  transform: translateY(-50%);
  opacity: 0.1;
  z-index: 0;
}
.eq-profile.is-flipped .eq-shape-3 {
  left: auto; right: -48px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
}

/* Big italic index number floating over the photo */
.eq-index {
  position: absolute;
  bottom: -28px;
  left: -12px;
  font-family: var(--hl-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 92px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--hl-blue-300);
  z-index: 4;
  pointer-events: none;
  letter-spacing: -0.04em;
}
.eq-profile.is-flipped .eq-index { left: auto; right: -12px; }

/* ── Body / Bio ───────────────────────────────────────────────────── */
.eq-body { max-width: 540px; }

.eq-role {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-family: var(--hl-font-ui);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hl-blue-600);
  margin: 0 0 12px;
}
.eq-role-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--hl-blue-500);
}

.eq-name {
  font-family: var(--hl-font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--hl-navy-700);
  margin: 0 0 10px;
  position: relative;
  display: inline-block;
}

.eq-name::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--hl-blue-500), var(--hl-blue-300));
  border-radius: 2px;
  transition: width 700ms var(--hl-ease-out);
}
.eq-profile.is-visible .eq-name::after { width: 48px; }
.eq-profile:hover .eq-name::after { width: 96px; }

.eq-tag {
  font-family: var(--hl-font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--hl-blue-500);
  margin: 14px 0 0;
  letter-spacing: 0.01em;
}

.eq-divider {
  width: 100%;
  height: 1px;
  background: var(--hl-border);
  margin: 20px 0;
}

.eq-bio {
  font-family: var(--hl-font-body);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--hl-fg-2);
  margin: 0 0 22px;
}

.eq-stats {
  display: flex;
  gap: 24px;
  padding-top: 4px;
}

.eq-stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-right: 24px;
  border-right: 1px solid var(--hl-border);
}
.eq-stat:last-child { border-right: none; padding-right: 0; }

.eq-stat-val {
  font-family: var(--hl-font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 600;
  color: var(--hl-blue-500);
  line-height: 1;
}

.eq-stat-label {
  font-family: var(--hl-font-ui);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--hl-fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .eq-section { padding-top: 56px; padding-bottom: 64px; }
  .eq-profiles { gap: 80px; margin-top: 48px; }

  .eq-profile,
  .eq-profile.is-flipped {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .eq-profile.is-flipped .eq-photo-wrap { order: 0; }
  .eq-profile.is-flipped .eq-body       { order: 0; }

  .eq-photo-wrap { max-width: 360px; }
  .eq-index { font-size: 96px; bottom: -24px; }
  .eq-name { font-size: clamp(22px, 6vw, 30px); }
  .eq-bio { font-size: 15px; }
  .eq-stats { gap: 20px; flex-wrap: wrap; }
  .eq-stat { padding-right: 20px; }
}

/* ═══════════════════════════════════════════════════════════════════
 * SOBRE NOSOTROS HERO — Centrado, sin imagen
 * ═══════════════════════════════════════════════════════════════════ */
.int-hero.sn-hero-centered { padding: 36px 0 96px; }

.sn-centered-body {
  text-align: center;
  max-width: 880px;
  margin: 40px auto 0;
}

.sn-centered-body h1 {
  font-family: var(--hl-font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--hl-navy-700);
  margin: 0 0 28px;
  text-wrap: balance;
}
.sn-centered-body h1 em {
  font-style: italic;
  color: var(--hl-blue-500);
  font-weight: 600;
}

.sn-centered-body .lede {
  font-family: var(--hl-font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--hl-fg-2);
  max-width: 720px;
  margin: 0 auto 36px;
  text-wrap: pretty;
}

.sn-centered-body .actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .int-hero.sn-hero-centered { padding: 28px 0 72px; }
  .sn-centered-body { margin-top: 28px; }
  .sn-centered-body h1 { font-size: clamp(28px, 8vw, 42px); margin-bottom: 22px; }
  .sn-centered-body h1 br { display: none; }
  .sn-centered-body .lede { font-size: 16px; margin-bottom: 28px; }
}

/* ═══════════════════════════════════════════════════════════════════
 * CONTACTO PAGE — Hero con logo HONDULegal grande
 * ═══════════════════════════════════════════════════════════════════ */
.contacto-hero {
  padding: 32px 0 24px;
  position: relative;
}

.contacto-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
}

.contacto-logo {
  display: block;
  height: 140px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 8px 20px rgba(11, 30, 64, 0.08));
}

@media (max-width: 768px) {
  .contacto-hero { padding: 20px 0 12px; }
  .contacto-logo-wrap { margin-top: 24px; }
  .contacto-logo { height: 96px; }
}

/* ═══════════════════════════════════════════════════════════════════
 * CONTACTO — Redes Sociales (iconos con reveal hover)
 * ═══════════════════════════════════════════════════════════════════ */
.contacto-socials { padding-top: 0; }

.socials-grid {
  display: flex;
  justify-content: center;
  gap: 36px;
}

.social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  cursor: pointer;
}

.social-icon {
  width: 72px; height: 72px;
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  transition: transform 340ms cubic-bezier(.34,1.56,.64,1),
              box-shadow 300ms ease;
}
.social-icon svg { width: 36px; height: 36px; stroke-width: 1.75; }

.social-instagram .social-icon { background: linear-gradient(135deg, #833AB4, #E1306C, #F77737); box-shadow: 0 8px 24px -8px rgba(225,48,108,0.4); }
.social-facebook .social-icon  { background: #1877F2; box-shadow: 0 8px 24px -8px rgba(24,119,242,0.4); }
.social-tiktok .social-icon    { background: #010101; box-shadow: 0 8px 24px -8px rgba(0,0,0,0.3); }
.social-linkedin .social-icon  { background: #0A66C2; box-shadow: 0 8px 24px -8px rgba(10,102,194,0.4); }

.social-btn:hover .social-icon {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 16px 36px -8px rgba(0,0,0,0.3);
}

.social-label {
  display: block;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-family: var(--hl-font-ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--hl-fg-2);
  white-space: nowrap;
  transition: max-height 350ms cubic-bezier(.34,1.56,.64,1),
              opacity 280ms ease,
              margin-top 350ms cubic-bezier(.34,1.56,.64,1);
}

.social-btn:hover .social-label {
  max-height: 30px;
  opacity: 1;
  margin-top: 12px;
}
.social-instagram:hover .social-label { color: #E1306C; }
.social-facebook:hover .social-label  { color: #1877F2; }
.social-tiktok:hover .social-label    { color: #010101; }
.social-linkedin:hover .social-label  { color: #0A66C2; }

@media (max-width: 520px) {
  .socials-grid { gap: 24px; }
  .social-icon { width: 60px; height: 60px; border-radius: 18px; }
  .social-icon svg { width: 30px; height: 30px; }
  .social-label { font-size: 12px; }
}

