/* =========================================================
   Carrillo & Asociados — Abogados
   Paleta tomada del logo: azul índigo + plata
   ========================================================= */
:root {
  --brand: #262a80;
  --brand-600: #1f2370;
  --brand-400: #4349b8;
  --brand-100: #e8e9f7;
  --navy: #0d0f2e;
  --navy-2: #161a4a;
  --silver: #8a8d99;
  --silver-200: #d9dbe3;
  --ink: #171a2b;
  --muted: #5b5f72;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --line: #e4e6ef;
  --gold: #5fd4ff;
  --wa: #25d366;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(18, 21, 63, .25);
  --shadow-sm: 0 6px 20px -8px rgba(18, 21, 63, .18);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-400); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: radial-gradient(1200px 600px at 80% -10%, #2a2f8f 0%, transparent 60%), var(--navy); color: #d8daf0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brand-400); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.section--dark .lead { color: #b9bcdc; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: #fff; padding: 8px 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px;
  border-radius: 999px; font-weight: 600; font-size: .98rem; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; font-family: var(--sans);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #06331a; box-shadow: 0 12px 30px -10px rgba(37, 211, 102, .7); }
.btn--wa:hover { color: #06331a; background: #2ee475; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 12px 30px -12px rgba(38, 42, 128, .8); }
.btn--primary:hover { background: var(--brand-400); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.topbar { background: var(--navy); color: #b9bcdc; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #e6e7f7; }
.topbar__info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__info span { display: inline-flex; gap: 8px; align-items: center; }
.topbar svg { width: 15px; height: 15px; }
.social-mini { display: flex; gap: 14px; }
.social-mini a { opacity: .85; display: inline-flex; }
.social-mini a:hover { opacity: 1; color: #fff; }

.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(18, 21, 63, .35); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--serif); font-size: 1.25rem; color: var(--brand); font-weight: 600; }
.brand__text small { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--silver); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); font-weight: 500; font-size: .95rem; padding: 10px 14px; border-radius: 10px; white-space: nowrap; }
@media (max-width: 1240px) { .header .brand__text { display: none; } .nav a { padding: 10px 10px; } }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--brand-100); }
.nav .btn { margin-left: 10px; padding: 11px 20px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1080px) {
  .topbar__info span.hide-sm { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; background: #fff;
    padding: 16px 20px 28px; gap: 2px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .35s ease, visibility 0s .35s; max-height: calc(100vh - 84px); overflow: auto; visibility: hidden;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; transition: transform .35s ease; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav .btn { margin: 12px 0 0; }
  .brand__text { display: none; }
}
@media (max-width: 640px) { .topbar { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: clamp(80px, 12vw, 150px) 0 clamp(90px, 12vw, 140px);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(67, 73, 184, .55), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(38, 42, 128, .7), transparent 60%),
    linear-gradient(160deg, #0b0d29 0%, #151a52 55%, #1f2370 100%);
}
.hero__waves { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.hero__waves path { fill: none; stroke: rgba(217, 219, 227, .35); stroke-width: 1.2; }
.hero__waves path:nth-child(2) { stroke: rgba(201, 169, 97, .35); }
.hero__waves path { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 4s ease forwards; }
.hero__waves path:nth-child(2) { animation-delay: .4s; }
.hero__waves path:nth-child(3) { animation-delay: .8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .container { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 60px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero p.lead { color: #c9cbe8; font-size: 1.2rem; margin-bottom: 34px; }
.motto { font-family: var(--serif); font-style: italic; color: var(--silver-200); letter-spacing: .08em; margin-bottom: 18px; font-size: 1.1rem; }
.trust { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 40px; color: #b9bcdc; font-size: .92rem; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--gold); }

.hero-card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px;
  padding: 32px; backdrop-filter: blur(14px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6);
}
.hero-card h2 { font-size: 1.7rem; color: #fff; margin-bottom: 6px; }
.hero-card p { color: #b9bcdc; font-size: .95rem; }
.hero-card .form-grid label { color: #d8daf0; }
.hero-card input, .hero-card select, .hero-card textarea {
  background: rgba(255, 255, 255, .95);
}
@media (max-width: 960px) { .hero .container { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- Formularios ---------- */
.form-grid { display: grid; gap: 14px; }
.form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-grid .two { grid-template-columns: 1fr; } }
.form-grid label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; font-size: .98rem; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(67, 73, 184, .15); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.form-actions .btn { flex: 1 1 200px; }
.form-note { font-size: .78rem; color: var(--silver); margin-top: 10px; }
.hero-card .form-note { color: #9ea1c6; }
.form-note a { color: inherit; text-decoration: underline; }

/* ---------- Áreas ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--4 { grid-template-columns: 1fr; } }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 48px; }
.head-row h2 { margin: 0; max-width: 640px; }

.area-card {
  position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); color: var(--ink); transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden;
}
.area-card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-400), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.area-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.area-card:hover::after { transform: scaleX(1); }
.icon-box {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--brand-100), #fff); color: var(--brand); border: 1px solid var(--brand-100);
}
.icon-box svg { width: 28px; height: 28px; }
.area-card h3 { margin-bottom: 8px; }
.area-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.area-card ul { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.area-card li { font-size: .75rem; background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; color: var(--muted); }
.more { font-weight: 600; color: var(--brand); display: inline-flex; gap: 8px; align-items: center; font-size: .92rem; }
.more svg { width: 16px; height: 16px; transition: transform .2s; }
.area-card:hover .more svg, a:hover > .more svg { transform: translateX(4px); }

/* ---------- Por qué ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.features { display: grid; gap: 22px; }
.feature { display: flex; gap: 18px; }
.feature .icon-box { flex: none; margin: 0; }
.feature h3 { font-size: 1.3rem; margin-bottom: 4px; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }
.emblem {
  position: relative; border-radius: 28px; padding: 50px 40px; text-align: center; color: #fff;
  background: linear-gradient(160deg, #0b0d29, #1f2370); box-shadow: var(--shadow); overflow: hidden;
}
.emblem svg.logo-big { width: 100%; max-width: 360px; margin: 0 auto 26px; }
.emblem blockquote { font-family: var(--serif); font-size: 1.6rem; font-style: italic; margin: 0 0 8px; color: #fff; }
.emblem cite { color: var(--gold); font-style: normal; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
.emblem::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; top: -200px; right: -160px;
  background: radial-gradient(circle, rgba(67, 73, 184, .6), transparent 70%);
}

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; margin-top: 50px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; padding: 30px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
}
.step::before {
  counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 3rem; line-height: 1;
  color: var(--gold); display: block; margin-bottom: 16px; opacity: .9;
}
.step h3 { font-size: 1.35rem; }
.step p { font-size: .95rem; color: #b9bcdc; margin: 0; }
.section:not(.section--dark) .step { background: #fff; border-color: var(--line); }
.section:not(.section--dark) .step p { color: var(--muted); }

/* ---------- Casos ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--muted); padding: 9px 16px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .88rem; font-weight: 500; transition: all .2s;
}
.chip:hover { border-color: var(--brand-400); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.case {
  display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case__top { padding: 26px 26px 0; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); background: var(--brand-100); padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.case h3 { font-size: 1.45rem; }
.case__body { padding: 0 26px 22px; color: var(--muted); font-size: .94rem; flex: 1; }
.case__body dt { font-weight: 700; color: var(--ink); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-top: 12px; }
.case__body dd { margin: 4px 0 0; }
.case__result { margin: 0 26px 26px; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, #0b0d29, #1f2370); color: #fff; display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; }
.case__result svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }
.case[hidden] { display: none; }
.disclaimer { font-size: .84rem; color: var(--silver); margin-top: 30px; text-align: center; }
.demo-band { background: #fff7e0; border: 1px dashed #d4a72c; color: #6b5310; padding: 12px 16px; border-radius: 12px; font-size: .88rem; margin-bottom: 26px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 20px 4px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.6rem; color: var(--brand); transition: transform .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 4px 18px; margin: 0; }

/* ---------- Social ---------- */
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 1100px) { .social-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .social-grid { grid-template-columns: 1fr; } }
.social-card {
  display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: var(--radius); color: #fff;
  transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.social-card:hover { transform: translateY(-5px); color: #fff; box-shadow: var(--shadow); }
.social-card svg { width: 40px; height: 40px; flex: none; }
.social-card strong { display: block; font-size: 1.1rem; }
.social-card span { font-size: .88rem; opacity: .85; }
.social-card--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-card--fb { background: #1877f2; }
.social-card--tt { background: #111; box-shadow: inset 3px 0 0 #25f4ee, inset -3px 0 0 #fe2c55; }
.social-card--wa { background: #128c4b; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 28px; padding: clamp(40px, 6vw, 70px); color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 90% 0%, rgba(201, 169, 97, .35), transparent 60%), linear-gradient(135deg, #12153f, #262a80);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #c9cbe8; margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Page hero (interiores) ---------- */
.page-hero {
  color: #fff; padding: clamp(60px, 9vw, 110px) 0 clamp(50px, 7vw, 80px); position: relative; overflow: hidden;
  background: radial-gradient(800px 400px at 90% 0%, rgba(67, 73, 184, .5), transparent 60%), linear-gradient(160deg, #0b0d29, #1f2370);
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 900px; }
.page-hero .lead { color: #c9cbe8; }
.crumbs { font-size: .85rem; color: #9ea1c6; margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: #d8daf0; }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Contenido de área / artículo ---------- */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 60px; align-items: start; }
@media (max-width: 980px) { .content-layout { grid-template-columns: 1fr; } }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #343850; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose blockquote { border-left: 3px solid var(--gold); margin: 1.5em 0; padding: 4px 0 4px 20px; font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--brand); }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; padding: 0; list-style: none; }
@media (max-width: 640px) { .service-list { grid-template-columns: 1fr; } }
.service-list li { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin: 0; }
.service-list strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin-bottom: 4px; }
.service-list span { font-size: .92rem; color: var(--muted); }
.sidebar { position: sticky; top: 110px; display: grid; gap: 20px; }
.side-card { border-radius: var(--radius); padding: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.side-card--dark { background: linear-gradient(160deg, #0b0d29, #1f2370); color: #c9cbe8; border: 0; }
.side-card--dark h3 { color: #fff; }
.side-card h3 { font-size: 1.4rem; }
.side-card .btn { width: 100%; margin-top: 10px; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .95rem; }
.side-links a:hover { color: var(--brand); }
.side-links a[aria-current="page"] { color: var(--brand); font-weight: 600; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; color: var(--ink); transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink); }
.post-card__cover { aspect-ratio: 16/8; display: grid; place-items: center; background: linear-gradient(135deg, #12153f, #3b40a8); color: rgba(255, 255, 255, .9); }
.post-card__cover svg { width: 56px; height: 56px; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__body h3 { font-size: 1.4rem; }
.post-card__body p { color: var(--muted); font-size: .94rem; flex: 1; }
.meta { font-size: .8rem; color: var(--silver); margin-bottom: 10px; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon-box { margin: 0; flex: none; width: 48px; height: 48px; }
.contact-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--silver); }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 500; font-size: 1.05rem; }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); filter: grayscale(.3); }
.form-card { padding: 36px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #9ea1c6; padding: 80px 0 30px; font-size: .94rem; }
.footer a { color: #c9cbe8; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer .social-mini { margin-top: 20px; gap: 12px; }
.footer .social-mini a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); }
.footer .social-mini a:hover { background: var(--brand-400); }
.footer .social-mini svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 60px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .84rem; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .8);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 2.2s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-bubble {
  position: fixed; right: 96px; bottom: 34px; z-index: 60; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 14px;
  box-shadow: var(--shadow); font-size: .9rem; font-weight: 500; opacity: 0; transform: translateX(10px); transition: all .4s; pointer-events: none;
}
.wa-bubble.is-visible { opacity: 1; transform: none; }
@media (max-width: 560px) { .wa-bubble { display: none; } }

/* ---------- Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__waves path { stroke-dashoffset: 0; }
}

/* =========================================================
   Secciones tipo directorio (buscador, perfil, diccionario, Q&A)
   ========================================================= */
.brand svg.logo { height: 50px; width: auto; }
.footer .brand svg.logo { height: 56px; }
@media (max-width: 1240px) { .nav a { padding: 10px 9px; font-size: .9rem; } }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; background: #fff;
    padding: 16px 20px 28px; gap: 2px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .35s ease, visibility 0s .35s; max-height: calc(100vh - 84px); overflow: auto; visibility: hidden;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; transition: transform .35s ease; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav .btn { margin: 12px 0 0; }
}
@media (max-width: 420px) { .brand svg.logo { height: 42px; } }

.btn--sm { padding: 10px 18px; font-size: .9rem; }
.check { display: flex !important; gap: 10px; align-items: center; font-weight: 500 !important; font-size: .85rem !important; }
.check input { width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.hero-card .check, .hero-card .check a { color: #c9cbe8 !important; }

/* Buscador */
.section--finder { padding-top: 0; margin-top: -60px; position: relative; z-index: 2; }
.finder-wrap { background: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.finder-wrap h2 { margin-bottom: 8px; }
.finder { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 14px; align-items: end; margin-top: 26px; }
.finder label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.finder .btn { height: 50px; }
@media (max-width: 860px) { .finder { grid-template-columns: 1fr; } }
.zona-banner { margin-top: 18px; display: inline-flex; padding: 10px 16px; border-radius: 12px; background: rgba(95,212,255,.18); color: #f3e7c6; font-size: .95rem; }

/* Pasos */
.steps--1 { grid-template-columns: 1fr; margin-top: 0; }
.steps--2 { grid-template-columns: 1fr 1fr; margin-top: 24px; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .steps--2, .steps--3 { grid-template-columns: 1fr; } }

/* Tarjeta de abogado */
.lawyer-card { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: center; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lawyer-card img { width: 160px; height: 160px; object-fit: cover; object-position: top; border-radius: 20px; }
.lawyer-card h3 { font-size: 1.8rem; margin: 6px 0 4px; }
.lawyer-card__meta { color: var(--muted); font-size: .92rem; margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.lawyer-card__meta svg { width: 16px; height: 16px; color: var(--brand); }
.lawyer-card .btn-row { margin-top: 14px; }
.lawyer-card--compact { grid-template-columns: 110px 1fr; padding: 22px; gap: 20px; margin: 20px 0; }
.lawyer-card--compact img { width: 110px; height: 110px; border-radius: 16px; }
.lawyer-card--compact h3 { font-size: 1.45rem; }
@media (max-width: 560px) { .lawyer-card, .lawyer-card--compact { grid-template-columns: 1fr; } }
.prose .lawyer-card p { color: var(--muted); }
.tags { list-style: none; padding: 0 !important; margin: 10px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { margin: 0 !important; font-size: .8rem; background: var(--brand-100); color: var(--brand); padding: 5px 12px; border-radius: 999px; font-weight: 500; }
.tags--lg li a { color: var(--brand); }
.tags--lg li { font-size: .9rem; padding: 7px 14px; }
.expert-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 22px; padding: 26px; margin-bottom: 30px; }
.expert-box h2 { margin-top: 0 !important; font-size: 1.5rem !important; }
.expert-box .lawyer-card { margin: 0; }

/* Perfil */
.profile-head { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.profile-head img { width: 220px; height: 220px; object-fit: cover; object-position: top; border-radius: 28px; border: 4px solid rgba(255,255,255,.15); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.profile-head h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.profile-meta { color: #c9cbe8; display: flex; flex-wrap: wrap; gap: 18px; font-size: .95rem; }
.profile-meta span { display: inline-flex; align-items: center; gap: 6px; }
.profile-meta svg { width: 18px; height: 18px; color: var(--gold); }
@media (max-width: 760px) { .profile-head { grid-template-columns: 1fr; } .profile-head img { width: 160px; height: 160px; } }
.cred-list { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.cred-list li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; margin: 0 !important; }
.cred-list strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.cred-list span { font-size: .9rem; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; font-size: .92rem; color: var(--muted); }
.checklist li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 8px; }
.side-card h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--silver); margin: 18px 0 0; font-family: var(--sans); }
.side-note { font-size: .84rem; color: var(--silver); margin-top: 12px; }
.side-card--dark .side-note { color: #9ea1c6; }

/* Herramientas de búsqueda / filtros */
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin: 0 0 20px; }
.search-input { position: relative; flex: 1 1 320px; max-width: 520px; }
.search-input svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--silver); }
.search-input input { padding-left: 46px; border-radius: 999px; height: 52px; }
.toolbar .filters { margin: 0; }
.empty { text-align: center; color: var(--muted); padding: 30px 0; }
[data-search-item][hidden], .letter-group[hidden] { display: none !important; }

/* Diccionario */
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 30px; }
.az a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; color: var(--brand); }
.az a:hover { background: var(--brand); color: #fff; }
.letter-group { margin-bottom: 36px; scroll-margin-top: 110px; }
.letter { font-size: 2.6rem; color: var(--brand); border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 20px; }
.term-card { display: block; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.term-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.term-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.term-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.grid--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .grid--2 { grid-template-columns: 1fr; } }

/* Q&A */
.faq--qa { margin-top: 10px; }
.faq--qa summary { font-size: 1.2rem; flex-wrap: wrap; justify-content: flex-start; }
.faq--qa summary .tag { margin: 0 6px 0 0; }
.faq--qa summary::after { margin-left: auto; }
.answer-by { font-size: .85rem !important; color: var(--silver) !important; padding-top: 0 !important; }

/* Zonas */
.mini-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
@media (max-width: 640px) { .mini-areas { grid-template-columns: 1fr; } }
.mini-area { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.mini-area:hover { border-color: var(--brand-400); box-shadow: var(--shadow-sm); color: var(--ink); }
.mini-area .icon-box { width: 44px; height: 44px; margin: 0; flex: none; }
.mini-area .icon-box svg { width: 22px; height: 22px; }
.mini-area strong { display: block; font-family: var(--serif); font-size: 1.15rem; }
.mini-area small { color: var(--muted); font-size: .84rem; line-height: 1.45; display: block; }

/* Artículos */
.byline { display: flex; gap: 14px; align-items: center; margin-top: 22px; }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; }
.byline strong a { color: #fff; }
.byline span { display: block; font-size: .85rem; color: #b9bcdc; }
.share { display: flex; align-items: center; gap: 10px; margin: 30px 0 10px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.share span { display: inline-flex; gap: 8px; align-items: center; }
.share svg { width: 18px; height: 18px; }
.share a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--brand); }
.share a:hover { background: var(--brand); color: #fff; }
.legal-note { font-size: .88rem; color: var(--silver) !important; }

/* Guía / ética */
.tips { counter-reset: tip; list-style: none; padding: 0; display: grid; gap: 18px; }
.tips li { counter-increment: tip; position: relative; padding: 26px 26px 26px 92px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.tips li::before { content: counter(tip); position: absolute; left: 26px; top: 22px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-family: var(--serif); font-size: 1.5rem; }
.tips h3 { font-size: 1.4rem; margin-bottom: 4px; }
.tips p { margin: 0; color: var(--muted); }

/* Índice */
.hub { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 860px) { .hub { grid-template-columns: 1fr; } }
.hub-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.hub-list > li > a { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.hub-list ul { list-style: none; padding: 4px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .88rem; color: var(--muted); }
.hub-list--cols { grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.hub-list--cols a { font-family: var(--sans) !important; font-size: .95rem !important; font-weight: 500 !important; }

/* =========================================================
   CAPA iOS — diseño moderno (vidrio, degradados, paneles)
   ========================================================= */
:root {
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --radius: 26px;
  --grad-brand: linear-gradient(135deg, #3b40c4 0%, #6a4bd8 50%, #b05bd8 100%);
  --grad-gold: linear-gradient(90deg, #d9f6ff, #5fd4ff 40%, #f0b8d8 100%);
  --glass: rgba(255, 255, 255, .72);
  --glass-dark: rgba(255, 255, 255, .08);
  --ease-ios: cubic-bezier(.32, .72, 0, 1);
}
body { background: #f4f5fb; }
.section--soft { background: linear-gradient(180deg, #eef0fa, #f7f5fc); }

/* Transición entre páginas tipo "push" de iOS (Chrome/Edge/Safari recientes) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .42s var(--ease-ios) both; }
::view-transition-new(root) { animation: vt-in .42s var(--ease-ios) both; }
.header { view-transition-name: header; }
.tabbar { view-transition-name: tabbar; }
@keyframes vt-out { to { transform: translateX(-28%); opacity: .4; filter: brightness(.9); } }
@keyframes vt-in { from { transform: translateX(100%); box-shadow: -20px 0 60px rgba(0, 0, 0, .18); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* Encabezado flotante de vidrio */
.topbar { background: transparent; position: absolute; top: 0; left: 0; right: 0; z-index: 51; }
.header {
  top: 12px; margin: 40px auto 0; width: calc(100% - 24px); max-width: 1260px; border-radius: 22px;
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .6);
  backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
  box-shadow: 0 10px 40px -18px rgba(18, 21, 63, .35);
}
.header .container { height: 70px; }
.header.is-scrolled { box-shadow: 0 14px 44px -16px rgba(18, 21, 63, .4); border-color: rgba(255, 255, 255, .8); }
.nav a { border-radius: 12px; }
.nav a[aria-current="page"], .nav a:hover { background: rgba(38, 42, 128, .08); }
.nav .nav-extra { display: none; }
@media (max-width: 1180px) {
  .nav { inset: 88px 12px auto 12px; border-radius: 24px; border: 1px solid rgba(255,255,255,.7);
         background: rgba(255,255,255,.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
  .nav .nav-extra { display: block; }
}
@media (max-width: 640px) { .header { margin-top: 10px; } }
.hero, .page-hero { margin-top: -110px; padding-top: calc(clamp(80px, 12vw, 150px) + 90px); }
.page-hero { padding-top: calc(clamp(60px, 9vw, 110px) + 100px); }
@media (max-width: 640px) { .hero, .page-hero { margin-top: -80px; } }

/* Fondo degradado animado (malla) */
.hero, .page-hero, .section--dark {
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(106, 75, 216, .55), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(59, 64, 196, .7), transparent 60%),
    radial-gradient(40% 40% at 60% 60%, rgba(201, 169, 97, .16), transparent 60%),
    linear-gradient(160deg, #080a24 0%, #14185a 55%, #24207a 100%);
  background-size: 160% 160%, 160% 160%, 200% 200%, 100% 100%;
  animation: mesh 18s ease-in-out infinite alternate;
}
@keyframes mesh {
  0% { background-position: 0% 0%, 100% 100%, 50% 50%, 0 0; }
  100% { background-position: 60% 40%, 40% 60%, 0% 100%, 0 0; }
}
.hero h1 em, .gradient-text {
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Botones con "tacto" iOS */
.btn { border-radius: 16px; transition: transform .25s var(--ease-ios), box-shadow .25s, background .2s, color .2s; }
.btn:active { transform: scale(.96); }
.btn--primary { background: var(--grad-brand); box-shadow: 0 14px 30px -14px rgba(90, 70, 210, .9); }
.btn--primary:hover { background: var(--grad-brand); filter: brightness(1.08); }
.btn--outline { border-radius: 16px; }
.chip { border-radius: 12px; }

/* Tarjetas */
.area-card, .case, .post-card, .term-card, .side-card, .form-card, .lawyer-card, .finder-wrap, .mini-area, .tips li, .cred-list li {
  border-radius: var(--radius); border-color: rgba(18, 21, 63, .06);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 12px 34px -22px rgba(18, 21, 63, .35);
}
.area-card { background: linear-gradient(180deg, #fff, #fbfbff); }
.area-card .icon-box, .feature .icon-box, .contact-list .icon-box {
  background: var(--grad-brand); color: #fff; border: 0; border-radius: 16px;
  box-shadow: 0 10px 22px -10px rgba(90, 70, 210, .8);
}
.area-card:hover { transform: translateY(-6px) scale(1.01); }
.hero-card, .side-card--dark, .step { border-radius: var(--radius); }
.hero-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.cta-band { border-radius: 32px; background: radial-gradient(60% 80% at 90% 0%, rgba(240, 184, 216, .35), transparent 60%), var(--grad-brand); }
.case__result, .side-card--dark { background: linear-gradient(135deg, #12153f, #3b2f9a); }
.tag { border-radius: 8px; }
.tag--gold { background: rgba(201, 169, 97, .18); color: #8a6a1f; }

/* Control segmentado tipo iOS */
.segmented { display: inline-flex; padding: 4px; gap: 2px; background: rgba(118, 118, 128, .12); border-radius: 14px; }
.segmented .chip { border: 0; background: transparent; border-radius: 10px; padding: 9px 18px; }
.segmented .chip.is-active { background: #fff; color: var(--ink); box-shadow: 0 3px 10px rgba(0, 0, 0, .12); }

/* Carrusel de paneles deslizables */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 23%); gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding: 0 4px; padding: 6px 4px 24px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__btn {
  position: absolute; top: 40%; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .3); font-size: 1.8rem; line-height: 1; color: var(--ink);
}
.carousel__btn--prev { left: -18px; }
.carousel__btn--next { right: -18px; }
.carousel__btn:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 900px) {
  .carousel__track { grid-auto-columns: 72%; }
  .carousel__btn { display: none; }
}

/* Áreas y casos como paneles deslizables en móvil */
@media (max-width: 640px) {
  .grid--4, .grid--3 {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto;
    scroll-snap-type: x mandatory; padding: 4px 4px 20px; margin: 0 -20px; padding-left: 20px; scroll-padding-left: 20px; scrollbar-width: none;
  }
  .grid--4::-webkit-scrollbar, .grid--3::-webkit-scrollbar { display: none; }
  .grid--4 > *, .grid--3 > * { scroll-snap-align: start; }
  .letter-group .grid--3, .video-grid { display: grid; grid-auto-flow: row; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; overflow: visible; }
  .letter-group .grid--3 { grid-template-columns: 1fr; }
}

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.video-grid--sm { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin: 20px 0; }
.video-card { display: flex; flex-direction: column; gap: 12px; }
.video-card[hidden] { display: none; }
.video-card__thumb {
  position: relative; display: block; padding: 0; border: 0; cursor: pointer; aspect-ratio: 9/16; border-radius: 28px; overflow: hidden;
  background: #0b0d29; box-shadow: 0 0 0 6px #111, 0 0 0 7px #333, 0 24px 50px -22px rgba(18, 21, 63, .7); transition: transform .35s var(--ease-ios);
}
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-ios); }
.video-card__thumb:hover { transform: translateY(-6px); }
.video-card__thumb:hover img { transform: scale(1.05); }
.video-card__thumb::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; border-radius: 12px; background: #000; z-index: 2; }
.video-card__play {
  position: absolute; inset: 0; margin: auto; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.4);
}
.video-card__play svg { width: 40px; height: 40px; }
.video-card__dur { position: absolute; right: 14px; bottom: 14px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .78rem; font-weight: 600; padding: 4px 9px; border-radius: 8px; }
.video-card__body h3 { font-size: 1.15rem; margin: 6px 0 2px; font-family: var(--sans); font-weight: 650; line-height: 1.3; }
.video-card__body h3 a { color: var(--ink); }
.video-card__body .meta { margin: 0; }
.carousel .video-card { width: 100%; }
.section--videos { background: linear-gradient(180deg, #f4f5fb, #ecebfa); }

.phone { position: relative; aspect-ratio: 9/16; border-radius: 44px; overflow: hidden; background: #000; box-shadow: 0 0 0 10px #0f0f12, 0 0 0 12px #3a3a40, 0 40px 80px -30px rgba(0, 0, 0, .6); }
.phone video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
/* Pantalla completa: mostrar el video vertical completo, sin recortes */
video:fullscreen { object-fit: contain !important; width: 100% !important; height: 100% !important; transform: none !important; border-radius: 0 !important; background: #000; }
video:-webkit-full-screen { object-fit: contain !important; width: 100% !important; height: 100% !important; transform: none !important; border-radius: 0 !important; background: #000; }
.phone--lg { max-width: 380px; width: 100%; margin: 0 auto; position: sticky; top: 110px; }
.video-layout { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 60px; align-items: start; }
@media (max-width: 900px) { .video-layout { grid-template-columns: 1fr; } .phone--lg { position: relative; top: 0; max-width: 320px; } }
.yt { aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; margin-bottom: 24px; }
.yt iframe { width: 100%; height: 100%; border: 0; }

/* Hoja inferior (bottom sheet) */
.sheet {
  border: 0; padding: 0; margin: auto auto 0; width: min(100%, 980px); max-height: 94vh; border-radius: 30px 30px 0 0;
  background: rgba(250, 250, 255, .96); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); box-shadow: 0 -20px 60px rgba(0, 0, 0, .3);
  transform: translateY(100%); transition: transform .5s var(--ease-ios); overflow: auto;
}
.sheet[open] { transform: translateY(0); }
.sheet.is-closing { transform: translateY(100%); }
@starting-style { .sheet[open] { transform: translateY(100%); } }
.sheet::backdrop { background: rgba(8, 10, 36, .45); backdrop-filter: blur(4px); }
.sheet__grab { width: 44px; height: 5px; border-radius: 3px; background: rgba(0, 0, 0, .2); margin: 10px auto 0; }
.sheet__close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(118, 118, 128, .16); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.sheet__close svg { width: 18px; height: 18px; }
.sheet__body { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 36px; padding: 26px 34px 40px; align-items: center; }
.sheet__body .phone { width: 100%; max-height: 74vh; }
.sheet__info h3 { font-size: 1.8rem; margin: 10px 0 18px; }
.sheet__body--form { display: block; max-width: 720px; margin: 0 auto; }
.sheet__body--form h3 { font-size: 2rem; text-align: center; margin-top: 6px; }
@media (max-width: 700px) {
  .sheet__body { grid-template-columns: 1fr; padding: 18px 18px 30px; gap: 18px; }
  .sheet__body .phone { max-width: 290px; margin: 0 auto; max-height: 64vh; }
}

/* Opiniones */
.reviews__summary {
  display: grid; grid-template-columns: 200px 1fr 1.2fr; gap: 34px; align-items: center; padding: 30px; border-radius: var(--radius);
  background: #fff; box-shadow: 0 12px 34px -22px rgba(18, 21, 63, .35); margin-bottom: 26px;
}
@media (max-width: 900px) { .reviews__summary { grid-template-columns: 1fr; text-align: center; } }
.reviews__score strong { display: block; font-family: var(--serif); font-size: 4.4rem; line-height: 1; color: var(--ink); }
.reviews__score span { font-size: .88rem; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; font-size: 1.3rem; color: #d6d7e0; letter-spacing: 0; }
.stars .on { color: #f5b301; }
.reviews__bars .bar { display: grid; grid-template-columns: 34px 1fr 28px; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); margin: 6px 0; }
.reviews__bars i { height: 8px; border-radius: 4px; background: #eceef5; overflow: hidden; display: block; }
.reviews__bars b { display: block; height: 100%; background: linear-gradient(90deg, #f5b301, #ffd36b); border-radius: 4px; transition: width .8s var(--ease-ios); }
.reviews__cta p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .reviews__cta .btn-row { justify-content: center; } }
.review-card { padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 12px 34px -22px rgba(18, 21, 63, .35); display: flex; flex-direction: column; gap: 10px; min-height: 210px; }
.review-card p { margin: 0; color: #343850; flex: 1; }
.review-card footer { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--muted); }
.review-card .avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: var(--grad-brand); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.reviews__empty { text-align: center; color: var(--muted); padding: 10px 0 0; }
.reviews__empty[hidden] { display: none; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: center; gap: 6px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 3rem; line-height: 1; color: #d6d7e0; cursor: pointer; transition: transform .2s var(--ease-ios), color .2s; margin: 0 !important; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f5b301; }
.star-input label:active { transform: scale(1.3); }
.star-input input:focus-visible + label { outline: 2px solid var(--brand-400); border-radius: 6px; }
.star-hint { text-align: center; color: var(--muted); font-size: .9rem; margin: -4px 0 6px; }
.form-ok { background: #e7f8ee; color: #0d6b35; padding: 14px 16px; border-radius: 14px; text-align: center; font-weight: 600; }

/* Barra de pestañas inferior (móvil) */
.tabbar { display: none; }
@media (max-width: 760px) {
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 70; padding: 8px 6px; border-radius: 24px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .7);
    backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px); box-shadow: 0 16px 40px -14px rgba(18, 21, 63, .45);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .68rem; font-weight: 600; color: #6b6f80; padding: 4px 0; border-radius: 14px; }
  .tabbar a svg { width: 24px; height: 24px; }
  .tabbar a[aria-current="page"] { color: var(--brand); }
  .tabbar .tab-wa { color: #128c4b; }
  .wa-float, .wa-bubble { display: none !important; }
  body { padding-bottom: 96px; }
}
.check { display: block !important; position: relative; padding-left: 30px; line-height: 1.5; }
.check input { position: absolute; left: 0; top: 2px; }

/* Zonas y ramas */
.zone-block { margin: 18px 0 26px; }
.zone-block h3 { font-size: 1.2rem; margin-bottom: 10px; }
.zchips { display: flex; flex-wrap: wrap; gap: 8px; }
.zchip { padding: 8px 14px; border-radius: 12px; background: #fff; border: 1px solid rgba(18,21,63,.08); color: var(--ink); font-size: .9rem; font-weight: 500; box-shadow: 0 4px 14px -10px rgba(18,21,63,.4); transition: transform .2s var(--ease-ios), background .2s; }
.zchip:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.zone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-top: 16px; }
.zone-card { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 12px 30px -22px rgba(18,21,63,.45); border: 1px solid rgba(18,21,63,.05); transition: transform .3s var(--ease-ios); }
.zone-card:hover { transform: translateY(-4px); color: var(--brand); }
.zone-card strong { font-family: var(--serif); font-size: 1.3rem; }
.zone-card small { color: var(--muted); font-size: .82rem; }
.zone-card[hidden] { display: none; }
.az-list { margin-top: 70px; }
.az-list ul { list-style: none; padding: 0; columns: 4 220px; column-gap: 30px; }
.az-list li { padding: 6px 0; break-inside: avoid; }
.note-box { background: var(--brand-100); border-radius: 16px; padding: 16px 18px; color: var(--brand-600) !important; font-size: .95rem; }

/* =========================================================
   MIDNIGHT GLASS — diseño en movimiento (desde el lienzo de Claude Design)
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero--night { background: #070920; animation: none; overflow: hidden; }
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(20px); will-change: transform; }
.aurora .b1 { width: 760px; height: 760px; left: -180px; top: -220px; background: radial-gradient(circle, rgba(76,82,230,.6), transparent 65%); animation: blob1 18s ease-in-out infinite; }
.aurora .b2 { width: 820px; height: 820px; right: -240px; top: 40px; background: radial-gradient(circle, rgba(160,82,220,.5), transparent 65%); animation: blob2 22s ease-in-out infinite; }
.aurora .b3 { width: 520px; height: 520px; left: 40%; top: 55%; background: radial-gradient(circle, rgba(95,212,255,.25), transparent 65%); animation: blob3 16s ease-in-out infinite; }
@keyframes blob1 { 50% { transform: translate(120px, 60px) scale(1.15); } }
@keyframes blob2 { 50% { transform: translate(-140px, 90px) scale(.9); } }
@keyframes blob3 { 50% { transform: translate(60px, -80px); } }
.hero--night .container { grid-template-columns: 1.1fr .9fr; }
.hero--night h1 { font-size: clamp(3rem, 6.2vw, 5.6rem); line-height: 1.02; letter-spacing: -1px; }
.rise { animation: rise 1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
.pill-live { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: .82rem; color: #d9dbf2; margin-bottom: 22px; }
.pill-live span { width: 8px; height: 8px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: pulse 2s infinite; }
.shine { background: linear-gradient(90deg, #d9f6ff, #5fd4ff, #ffffff, #5fd4ff, #d9f6ff); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 200% 50%; } }
.ticker { display: block; height: 1.15em; overflow: hidden; }
.ticker > span { display: block; animation: ticker 10s cubic-bezier(.7,0,.3,1) infinite; }
.ticker em { display: block; height: 1.15em; font-style: italic; font-weight: 500; }
@keyframes ticker { 0%,18% { transform: translateY(0); } 22%,40% { transform: translateY(-1.15em); } 44%,62% { transform: translateY(-2.3em); } 66%,84% { transform: translateY(-3.45em); } 88%,100% { transform: translateY(-4.6em); } }
.btn--pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 100% { box-shadow: 0 0 0 20px rgba(37,211,102,0); } }

.float-stack { position: relative; height: 540px; }
.fcard { position: absolute; border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.65); }
.fcard--lawyer { left: 2%; top: 0; width: 300px; padding: 22px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.fcard__row { display: flex; gap: 14px; align-items: center; }
.fcard__row img { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; object-position: top; }
.fcard__row strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: #fff; }
.fcard__row span { font-size: .82rem; color: #b9bce0; }
.fcard__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.fcard__tags span { font-size: .75rem; padding: 5px 10px; border-radius: 8px; background: rgba(232,209,154,.16); color: #bdeeff; }
.fcard--chat { right: 0; top: 150px; width: 300px; padding: 18px; background: #f4f5fb; color: #14163a; }
.chat__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #e3e5f0; }
.chat__head > span { width: 36px; height: 36px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.chat__head strong { font-size: .85rem; display: block; } .chat__head small { color: #128c4b; font-size: .7rem; }
.bubble { margin: 10px 0 0; padding: 10px 12px; font-size: .82rem; line-height: 1.45; max-width: 86%; opacity: 0; animation: bubble 9s infinite; }
.bubble--in { background: #fff; border-radius: 14px 14px 14px 4px; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.bubble--out { background: #dcf8c6; border-radius: 14px 14px 4px 14px; margin-left: auto; animation-delay: 1.4s; }
.bubble--typing { display: inline-flex; gap: 4px; background: #fff; border-radius: 14px; animation-delay: 2.6s; }
.bubble--typing i { width: 7px; height: 7px; border-radius: 50%; background: #8a8d99; animation: typing 1.2s infinite; }
.bubble--typing i:nth-child(2) { animation-delay: .2s; } .bubble--typing i:nth-child(3) { animation-delay: .4s; }
@keyframes bubble { 0%, 4% { opacity: 0; transform: translateY(10px) scale(.96); } 9%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes typing { 50% { opacity: .25; } }
.fcard--stars { left: 12%; bottom: 0; width: 280px; padding: 20px 22px; background: linear-gradient(135deg, rgba(76,82,230,.55), rgba(160,82,220,.45)); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(20px); }
.big-stars { font-size: 1.7rem; letter-spacing: 3px; color: #8be3ff; }
.fcard--stars p { margin: 8px 0 0; font-size: .88rem; color: #f0f1ff; }
.fl1 { animation: float1 6s ease-in-out infinite; } .fl2 { animation: float2 7s ease-in-out infinite; } .fl3 { animation: float3 8s ease-in-out infinite; }
@keyframes float1 { 50% { transform: translateY(-14px); } }
@keyframes float2 { 0%, 100% { transform: rotate(-4deg); } 50% { transform: translateY(-10px) rotate(-2deg); } }
@keyframes float3 { 0%, 100% { transform: rotate(5deg); } 50% { transform: translateY(-16px) rotate(3deg); } }
@media (max-width: 960px) { .hero--night .container { grid-template-columns: 1fr; } .float-stack { height: 480px; max-width: 420px; margin: 0 auto; width: 100%; } .fcard--chat { right: 0; } }
@media (max-width: 480px) { .fcard--lawyer, .fcard--chat, .fcard--stars { width: 78%; } }

/* Carruseles infinitos */
.section-marquee { background: #070920; padding: 10px 0 70px; overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 14px; }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mchip { white-space: nowrap; padding: 14px 22px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #e9eaf7; font-size: .95rem; font-weight: 500; transition: background .3s, color .3s; }
.mchip:hover { background: #a5e8ff; color: #14163a; }
.section--night { background: #070920; color: #d8daf0; overflow: hidden; }
.section--night h2 { color: #fff; } .section--night .eyebrow { color: var(--gold); }
.stat-row { display: flex; gap: 14px; }
.stat { padding: 18px 22px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.stat strong { display: block; font-family: var(--serif); font-size: 2.5rem; color: #fff; line-height: 1; }
.stat span { font-size: .82rem; color: #b9bce0; }

/* Tarjetas con inclinación 3D */
.tilt-grid { perspective: 1200px; }
.tilt-grid .area-card { transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .4s; }
.tilt-grid .area-card[hidden] { display: none; }

/* Borde giratorio en llamadas a la acción */
.cta-ring { position: relative; border-radius: 34px; padding: 2px; overflow: hidden; isolation: isolate; }
.cta-ring > i { position: absolute; left: 50%; top: 50%; width: 2400px; height: 2400px; margin: -1200px 0 0 -1200px; background: conic-gradient(from 0deg, #4c52e6, #a5e8ff, #a052dc, #4c52e6); animation: spin 6s linear infinite; z-index: -1; }
.cta-ring .cta-band { background: radial-gradient(60% 80% at 90% 0%, rgba(160,82,220,.35), transparent 60%), #0c0f33; border-radius: 32px; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { position: relative; }
@media (prefers-reduced-motion: reduce) { .aurora i, .ticker > span, .marquee__track, .fl1, .fl2, .fl3, .cta-ring > i, .bubble, .shine { animation: none !important; } .bubble { opacity: 1; } }

/* Barra de búsqueda inteligente */
.smart-search { position: relative; margin-top: 26px; }
.ss-box { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border-radius: 22px; background: #fff; border: 2px solid rgba(38,42,128,.12); box-shadow: 0 20px 50px -24px rgba(18,21,63,.45); transition: border-color .2s, box-shadow .2s; }
.ss-box:focus-within { border-color: var(--brand-400); box-shadow: 0 0 0 5px rgba(67,73,184,.15), 0 20px 50px -24px rgba(18,21,63,.45); }
.ss-box > svg { width: 24px; height: 24px; color: var(--brand); flex: none; }
.ss-box input { border: 0; box-shadow: none !important; padding: 14px 4px; font-size: 1.08rem; background: transparent; min-width: 0; flex: 1; }
.ss-box input:focus { outline: none; }
.ss-box .btn { flex: none; padding: 15px 26px; }
.ss-list { position: absolute; left: 0; right: 0; top: calc(100% - 50px); z-index: 30; list-style: none; margin: 8px 0 0; padding: 8px; border-radius: 20px; background: #fff; box-shadow: 0 30px 70px -20px rgba(18,21,63,.45); max-height: 380px; overflow: auto; }
.ss-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; cursor: pointer; color: var(--ink); }
.ss-list li[aria-selected="true"], .ss-list li:hover { background: var(--brand-100); }
.ss-list li small { font-size: .74rem; color: var(--muted); background: var(--bg-soft); padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.ss-list li mark { background: none; color: var(--brand); font-weight: 700; }
.ss-list .ss-empty { cursor: default; color: var(--muted); }
.ss-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; font-size: .88rem; }
.ss-chips span { color: var(--muted); }
.ss-chip { padding: 7px 13px; border-radius: 999px; background: var(--brand-100); color: var(--brand); font-weight: 500; }
.ss-chip:hover { background: var(--brand); color: #fff; }
@media (max-width: 560px) { .ss-box { flex-wrap: wrap; padding: 10px 14px; } .ss-box .btn { width: 100%; } .ss-list { top: calc(100% - 100px); } }
.brand svg.logo { height: 56px; }
.footer .brand svg.logo { height: 64px; }
@media (max-width: 420px) { .brand svg.logo { height: 46px; } }

/* =====================================================================
   BRUTALISMO SOBRE HIELO — tema final
   concreto · hielo · acero · luz ámbar
   ===================================================================== */
:root {
  --night: #0a0e13; --night-2: #10161d; --concrete: #1a1f25; --concrete-2: #23292f; --concrete-3: #2e353c;
  --ice: #cfe0ec; --ice-2: #9fbfd6; --steel: #5b7c99; --amber: #5fd4ff; --amber-2: #a5e8ff;
  --ink-l: #e8ecf0; --muted-l: #9aa6b2; --line-l: rgba(255,255,255,.08);
  --serif: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body { background: var(--night); color: var(--ink-l); }
h1, h2, h3, h4 { color: #f4f1ea; letter-spacing: .01em; }
h1, h2 { font-weight: 600; }
a { color: var(--amber-2); } a:hover { color: #fff; }
.lead { color: var(--muted-l); }
.eyebrow { color: var(--amber) !important; }
.eyebrow::before { background: var(--amber); }
.prose p, .prose li { color: #c6ced6; }
.prose h2, .prose h3 { color: #f4f1ea; }
.prose blockquote { color: var(--ice); border-color: var(--amber); }
.legal-note, .disclaimer, .form-note, .meta, .side-note { color: var(--muted-l) !important; }

/* Concreto */
.concrete, .section--soft, .section, .section--videos { background-color: var(--night-2); }
.concrete { position: relative; background-image: var(--noise), linear-gradient(180deg, #11171e, #0d1218); background-blend-mode: soft-light, normal; }
.concrete--deep { background-image: var(--noise), linear-gradient(180deg, #0b0f14, #0a0e13); }
.section--dark, .section--night { background: var(--night); }

/* Tarjetas de concreto */
.area-card, .case, .post-card, .term-card, .side-card, .form-card, .lawyer-card, .mini-area, .tips li, .cred-list li,
.review-card, .reviews__summary, .zone-card, .service-list li, .finder-wrap, .step, .expert-box, .stat {
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015)), var(--concrete) !important;
  background-image: var(--noise), linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01)) !important;
  background-blend-mode: soft-light, normal;
  border: 1px solid var(--line-l) !important; color: var(--ink-l);
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 30px 60px -35px rgba(0,0,0,.9) !important;
}
.area-card h3, .case h3, .post-card h3, .term-card h3, .lawyer-card h3, .review-card strong, .zone-card strong, .mini-area strong, .service-list strong, .tips h3, .cred-list strong, .step h3 { color: #f4f1ea; }
.area-card p, .case__body, .post-card p, .term-card p, .mini-area small, .service-list span, .tips p, .cred-list span, .review-card p, .step p, .lawyer-card__meta, .zone-card small { color: var(--muted-l) !important; }
.area-card ul li, .tags li { background: rgba(95,212,255,.1) !important; border-color: rgba(95,212,255,.18) !important; color: var(--amber-2) !important; }
.area-card .icon-box, .feature .icon-box, .contact-list .icon-box, .mini-area .icon-box {
  background: linear-gradient(145deg, #3a434c, #1d2329) !important; color: var(--amber-2) !important; border: 1px solid rgba(95,212,255,.25) !important; box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 10px 26px -12px rgba(95,212,255,.55) !important;
}
.area-card::after { background: linear-gradient(90deg, transparent, var(--amber), transparent); }
.area-card:hover { box-shadow: 0 30px 70px -30px rgba(95,212,255,.35), 0 0 0 1px rgba(95,212,255,.25) inset !important; }
.more { color: var(--amber-2); }
.tag { background: rgba(159,191,214,.12) !important; color: var(--ice) !important; }
.tag--gold { background: rgba(95,212,255,.14) !important; color: var(--amber-2) !important; }
.case__result { background: linear-gradient(135deg, #0f2230, #0b1822) !important; border-top: 1px solid rgba(95,212,255,.3); }

/* Botones */
.btn--amber { background: linear-gradient(135deg, #8be3ff, #2fb8ec); color: #04283a; box-shadow: 0 14px 34px -14px rgba(95,212,255,.85); }
.btn--amber:hover { color: #04283a; filter: brightness(1.08); }
.btn--primary { background: linear-gradient(135deg, #8be3ff, #2fb8ec) !important; color: #04283a !important; box-shadow: 0 14px 34px -14px rgba(95,212,255,.85) !important; }
.btn--outline { border-color: rgba(95,212,255,.55); color: var(--amber-2); }
.btn--outline:hover { background: var(--amber); color: #04283a; border-color: var(--amber); }
.btn--ghost { border-color: rgba(255,255,255,.25); }
.chip { background: rgba(255,255,255,.04); border-color: var(--line-l); color: var(--muted-l); }
.chip.is-active { background: var(--amber); border-color: var(--amber); color: #04283a; }
.segmented { background: rgba(255,255,255,.06); }
.segmented .chip.is-active { background: #f4f1ea; color: #12161b; }

/* Formularios */
input, select, textarea { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); color: var(--ink-l); }
input::placeholder, textarea::placeholder { color: #6f7b86; }
input:focus, select:focus, textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(95,212,255,.15); }
select option { background: #1a1f25; color: var(--ink-l); }
.form-grid label { color: var(--muted-l); }
.check, .check a { color: var(--muted-l) !important; }
.ss-box { background: rgba(14,19,25,.72); border-color: rgba(255,255,255,.14); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.ss-box:focus-within { border-color: var(--amber); box-shadow: 0 0 0 5px rgba(95,212,255,.15), 0 20px 50px -24px rgba(0,0,0,.8); }
.ss-box > svg { color: var(--amber); }
.ss-box input { color: #f4f1ea; }
.ss-list { background: #151a20; border: 1px solid var(--line-l); }
.ss-list li { color: var(--ink-l); }
.ss-list li[aria-selected="true"], .ss-list li:hover { background: rgba(95,212,255,.12); }
.ss-list li small { background: rgba(255,255,255,.06); color: var(--muted-l); }
.ss-chip { background: rgba(255,255,255,.08); color: var(--ice); }
.ss-chip:hover { background: var(--amber); color: #04283a; }
.ss-chips span { color: var(--muted-l); }

/* Encabezado, pestañas, hojas */
.header { background: rgba(12,16,21,.62) !important; border-color: rgba(255,255,255,.1) !important; }
.nav a { color: #dfe4e9; }
.nav a[aria-current="page"], .nav a:hover { background: rgba(95,212,255,.14) !important; color: var(--amber-2); }
.nav-toggle { color: #f4f1ea; }
@media (max-width: 1180px) { .nav { background: rgba(14,19,25,.96) !important; border-color: rgba(255,255,255,.1) !important; } }
.tabbar { background: rgba(14,19,25,.82) !important; border-color: rgba(255,255,255,.1) !important; }
.tabbar a { color: #8d99a5 !important; } .tabbar a[aria-current="page"] { color: var(--amber-2) !important; } .tabbar .tab-wa { color: #3ddc84 !important; }
.sheet { background: rgba(20,25,31,.97) !important; color: var(--ink-l); }
.sheet__close { background: rgba(255,255,255,.1); color: #fff; }
.faq details { border-color: var(--line-l); } .faq summary { color: #f4f1ea; } .faq summary::after { color: var(--amber); } .faq details p { color: var(--muted-l); }
.side-links a { color: var(--ink-l); border-color: var(--line-l); } .side-links a[aria-current="page"] { color: var(--amber-2); }
.zchip, .mchip { background: rgba(255,255,255,.04) !important; color: var(--ink-l) !important; border: 1px solid var(--line-l) !important; }
.zchip:hover, .mchip:hover { background: var(--amber) !important; color: #04283a !important; }
.section-marquee { background: var(--night); }
.reviews__score strong { color: #f4f1ea; } .reviews__bars i { background: rgba(255,255,255,.08); }
.demo-band { background: rgba(95,212,255,.1); border-color: rgba(95,212,255,.4); color: var(--amber-2); }
.az a { border-color: var(--line-l); color: var(--amber-2); } .letter { color: var(--amber-2); border-color: var(--line-l); }
.share a { background: rgba(255,255,255,.06); color: var(--amber-2); }
.note-box { background: rgba(159,191,214,.1); color: var(--ice) !important; }
.empty { color: var(--muted-l); }
.footer { background: #070a0e; border-top: 1px solid var(--line-l); }
.cta-ring > i { background: conic-gradient(from 0deg, #5fd4ff, #9fbfd6, #5b7c99, #5fd4ff); }
.cta-ring .cta-band { background: rgba(10,14,19,.86); backdrop-filter: blur(6px); }
.shine { background: linear-gradient(90deg, #d9f6ff, #5fd4ff, #cfe0ec, #5fd4ff, #d9f6ff); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Videos de fondo */
.bgv { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.bgv video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.08); will-change: transform; }

/* Héroe sobre el hielo */
.hero--ice { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: #0b1016 !important; animation: none !important; overflow: hidden; padding-bottom: 120px; }
.hero--ice .hero__shade { position: absolute; inset: 0; z-index: 2; background:
  linear-gradient(90deg, rgba(7,10,14,.92) 0%, rgba(7,10,14,.72) 38%, rgba(7,10,14,.15) 70%, rgba(7,10,14,.35) 100%),
  linear-gradient(180deg, rgba(7,10,14,.55) 0%, transparent 25%, transparent 70%, #0a0e13 100%); }
.hero__content { position: relative; z-index: 3; display: block !important; }
.hero__content > div { max-width: 640px; }
.hero--ice h1 { font-family: var(--serif); font-size: clamp(2.6rem, 5.6vw, 5.2rem); line-height: 1.05; text-shadow: 0 10px 40px rgba(0,0,0,.6); }
.hero--ice .lead { color: #c9d3dc; font-size: 1.15rem; }
.hero__emblem { width: 74px; height: 74px; margin-bottom: 22px; filter: drop-shadow(0 10px 30px rgba(95,212,255,.35)); animation: emblemIn 1.4s cubic-bezier(.2,.8,.2,1) both; }
.hero__emblem svg { width: 100%; height: 100%; }
@keyframes emblemIn { from { opacity: 0; transform: scale(.7) rotate(-30deg); } }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 34px; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255,255,255,.5); border-radius: 16px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--amber); animation: cue 1.8s infinite; }
@keyframes cue { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* El edificio flotante */
.slab-scene { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.slab-wrap { position: absolute; right: -4vw; top: 30%; width: 64vw; max-width: 1100px; transform-origin: 60% 50%; will-change: transform; }
.slab { position: relative; height: clamp(70px, 9vw, 150px); border-radius: 3px; animation: hover 9s ease-in-out infinite;
  background-color: #3c4249; background-image: var(--noise), linear-gradient(180deg, #59616a 0%, #444b53 42%, #2c3238 100%); background-blend-mode: overlay, normal;
  box-shadow: 0 60px 90px -30px rgba(0,0,0,.85), 0 -1px 0 rgba(255,255,255,.15) inset; }
.slab::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 11.8%, rgba(0,0,0,.18) 11.8% 12%); border-radius: inherit; }
.slab__face { position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(180deg, rgba(255,255,255,.12), transparent); }
.slab__glass { position: absolute; left: 3%; right: 3%; bottom: 13%; height: 22%; display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; background: #0d0f12; padding: 2px; }
.slab__glass i { background: linear-gradient(180deg, #d9f6ff, #5fd4ff); opacity: .2; animation: win 7s ease-in-out infinite; animation-delay: var(--d); }
@keyframes win { 0%, 100% { opacity: .25; } 40% { opacity: .95; } 70% { opacity: .55; } }
.slab__light { position: absolute; left: 8%; right: 8%; bottom: -10px; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(165,232,255,.95), rgba(95,212,255,.35), transparent); filter: blur(6px); animation: glow 4s ease-in-out infinite; }
@keyframes glow { 50% { opacity: .65; transform: scaleX(.95); } }
.slab__pylon { position: absolute; left: 46%; width: 4%; top: 100%; height: clamp(40px, 7vw, 120px); background: linear-gradient(180deg, #2f353b, rgba(47,53,59,.1)); }
.slab__reflection { position: absolute; left: 0; right: 0; top: calc(100% + clamp(40px, 7vw, 120px)); height: clamp(70px, 9vw, 150px); transform: scaleY(-1); opacity: .28; filter: blur(5px);
  background: linear-gradient(0deg, #4a5159, transparent 85%); -webkit-mask-image: linear-gradient(0deg, #000, transparent); mask-image: linear-gradient(0deg, #000, transparent); }
.slab__reflection::after { content: ""; position: absolute; left: 10%; right: 10%; top: 10%; height: 14px; background: radial-gradient(closest-side, rgba(165,232,255,.9), transparent); filter: blur(4px); }
@keyframes hover { 50% { transform: translateY(-10px); } }
.fog { position: absolute; left: -20%; right: -20%; height: 40%; background: radial-gradient(60% 50% at 50% 50%, rgba(190,210,225,.22), transparent 70%); filter: blur(30px); animation: drift 26s linear infinite; }
.fog--1 { top: 28%; } .fog--2 { top: 45%; animation-duration: 38s; animation-direction: reverse; opacity: .7; } .fog--3 { top: 60%; animation-duration: 48s; opacity: .5; }
@keyframes drift { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
@media (max-width: 900px) {
  .slab-wrap { right: -30vw; width: 110vw; top: 16%; opacity: .55; }
  .hero--ice .hero__shade { background: linear-gradient(180deg, rgba(7,10,14,.55), rgba(7,10,14,.85) 45%, #0a0e13 100%); }
}

/* Bandas del recorrido */
.tour { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.tour::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,10,14,.9) 0%, rgba(7,10,14,.55) 45%, rgba(7,10,14,.2) 100%), linear-gradient(180deg, #0a0e13 0%, transparent 18%, transparent 82%, #0d1218 100%); }
.tour--right::after { background: linear-gradient(270deg, rgba(7,10,14,.9) 0%, rgba(7,10,14,.55) 45%, rgba(7,10,14,.2) 100%), linear-gradient(180deg, #0a0e13 0%, transparent 18%, transparent 82%, #0d1218 100%); }
.tour__inner { position: relative; z-index: 3; }
.tour__inner > * { max-width: 560px; }
.tour--right .tour__inner { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.tour--right .tour__inner .btn-row { justify-content: flex-end; }
.tour h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.05; text-shadow: 0 10px 30px rgba(0,0,0,.6); }
.tour .lead { color: #c9d3dc; font-size: 1.15rem; margin-bottom: 26px; }
.tour__fog { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(70% 40% at 30% 100%, rgba(190,210,225,.12), transparent 70%); }
.tour__inner::before { content: ""; display: block; width: 90px; height: 2px; margin-bottom: 26px; background: linear-gradient(90deg, var(--amber), transparent); box-shadow: 0 0 18px var(--amber); }
.tour--right .tour__inner::before { background: linear-gradient(270deg, var(--amber), transparent); }
@media (max-width: 760px) { .tour { min-height: 64vh; } .tour--right .tour__inner { align-items: flex-start; text-align: left; } .tour--right .tour__inner .btn-row { justify-content: flex-start; } .tour::after, .tour--right::after { background: linear-gradient(180deg, #0a0e13, rgba(7,10,14,.7) 30%, rgba(7,10,14,.75) 70%, #0d1218); } }

/* Héroes de páginas interiores */
.page-hero { background: #0b1016 !important; animation: none !important; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--ph); background-size: cover; background-position: center; opacity: .45; transform: scale(1.06); filter: saturate(.8); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,10,14,.95), rgba(7,10,14,.6) 60%, rgba(7,10,14,.4)), linear-gradient(180deg, transparent 60%, #0a0e13); }
.page-hero > .container, .page-hero .tour__fog { position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--serif); }
.profile-hero::before { background-image: url("../bg/estructura.jpg"); }

/* Llamada final sobre hielo */
.ice-cta { position: relative; overflow: hidden; }
.ice-cta .bgv video { opacity: .5; }
.ice-cta > .section { position: relative; z-index: 2; background: transparent !important; }
.ice-cta::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #0a0e13, rgba(10,14,19,.4) 40%, rgba(10,14,19,.6) 80%, #070a0e); }
.steps .step::before { color: var(--amber) !important; }
.lawyer-card img { filter: grayscale(.15) contrast(1.05); }
@media (prefers-reduced-motion: reduce) { .slab, .fog, .slab__glass i, .slab__light, .scroll-cue span { animation: none !important; } }
.tour .eyebrow::before { display: none; }
.hero--ice .pill-live { background: rgba(10,14,19,.5); }
.zona-banner[hidden] { display: none !important; }

:root { --gold: #5fd4ff; }
.stars .on { color: #5fd4ff; }
.reviews__bars b { background: linear-gradient(90deg, #2fb8ec, #a5e8ff); }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #5fd4ff; }

/* Fondos fotográficos con zoom de cine */
.bgi { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.bgi img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.12); animation: kenburns 32s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(0,0,0); } to { transform: scale(1.22) translate3d(-2%,-1.5%,0); } }
.hero--ice .bgi img { object-position: 62% 50%; }
.snow { position: absolute; inset: 0; z-index: 2; pointer-events: none; width: 100%; height: 100%; }
.hero--ice .hero__shade { background:
  linear-gradient(90deg, rgba(7,10,14,.92) 0%, rgba(7,10,14,.7) 36%, rgba(7,10,14,.12) 68%, rgba(7,10,14,.3) 100%),
  linear-gradient(180deg, rgba(7,10,14,.5) 0%, transparent 25%, transparent 72%, #0a0e13 100%) !important; }
@media (max-width: 900px) { .hero--ice .bgi img { object-position: 70% 50%; } }

/* Retrato con movimiento */
.portrait { position: relative; width: 100%; max-width: 440px; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; isolation: isolate;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(95,212,255,.18); transform-style: preserve-3d; transition: transform .3s ease-out; }
.portrait__bg { position: absolute; inset: -6%; background-size: cover; background-position: center; filter: blur(2px) brightness(.55) saturate(.7); animation: kenburns 26s ease-in-out infinite alternate; }
.portrait::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(70% 55% at 50% 38%, rgba(95,212,255,.28), transparent 70%), linear-gradient(180deg, transparent 55%, rgba(7,10,14,.95)); }
.portrait__ring { position: absolute; z-index: 1; left: 50%; top: 40%; width: 78%; aspect-ratio: 1; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid rgba(95,212,255,.35); box-shadow: 0 0 60px rgba(95,212,255,.18) inset; animation: ringpulse 6s ease-in-out infinite; }
@keyframes ringpulse { 50% { transform: translate(-50%,-50%) scale(1.06); opacity: .6; } }
.portrait__img { position: absolute; z-index: 2; left: 50%; bottom: 0; width: 96%; height: auto; transform: translateX(-50%); animation: breathe 7s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
@keyframes breathe { 50% { transform: translateX(-50%) translateY(-6px) scale(1.01); } }
.portrait__sweep { position: absolute; z-index: 3; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.16) 48%, rgba(95,212,255,.12) 52%, transparent 60%); background-size: 250% 100%; animation: sweep 6.5s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes sweep { 0% { background-position: 120% 0; } 55%, 100% { background-position: -40% 0; } }
.portrait__badge { position: absolute; z-index: 4; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(10,14,19,.6); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #e8ecf0; font-size: .9rem; font-weight: 500; }
.portrait__badge svg { width: 38px; height: 38px; flex: none; }
.portrait--hero { max-width: 340px; }
.profile-head { grid-template-columns: 340px 1fr !important; }
@media (max-width: 760px) { .profile-head { grid-template-columns: 1fr !important; } .portrait--hero { max-width: 300px; } }
.profile-hero .profile-head img { width: auto; height: auto; border: 0; border-radius: 0; box-shadow: none; }
.profile-hero .portrait__img { width: 96%; }
.lawyer-feature { display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .lawyer-feature { grid-template-columns: 1fr; } .lawyer-feature .portrait { margin: 0 auto; } }
.lawyer-feature h2 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); }
.checklist--lg { font-size: 1rem; gap: 12px; margin: 20px 0 28px; }
.checklist li::before { color: var(--amber) !important; }
.lawyer-card__pic { width: 160px; height: 160px; border-radius: 22px; overflow: hidden; background: radial-gradient(70% 60% at 50% 35%, rgba(95,212,255,.3), transparent 70%), #121820; display: flex; align-items: flex-end; justify-content: center; }
.lawyer-card__pic img { width: 92% !important; height: auto !important; border-radius: 0 !important; object-fit: contain !important; }
.lawyer-card--compact .lawyer-card__pic { width: 110px; height: 110px; border-radius: 16px; }

/* Proceso en línea de tiempo */
.proc { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 20px; counter-reset: none; }
.proc::before { content: ""; position: absolute; left: 34px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, rgba(95,212,255,.15), var(--amber), rgba(255,220,160,.8)); }
.proc__step { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 22px; }
.proc__num { position: relative; z-index: 1; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.6rem; color: #04283a; background: linear-gradient(145deg, #a5e8ff, #2fb8ec); box-shadow: 0 0 0 6px var(--night-2), 0 0 30px rgba(95,212,255,.45); }
.proc__step:last-child .proc__num { background: linear-gradient(145deg, #ffe6b8, #f3c98a); box-shadow: 0 0 0 6px var(--night-2), 0 0 30px rgba(255,220,160,.5); }
.proc__body { padding: 24px 26px; border-radius: 22px; background-image: var(--noise), linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01)); background-color: var(--concrete); background-blend-mode: soft-light, normal; border: 1px solid var(--line-l); }
.proc__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.proc__head h3 { margin: 0; font-size: 1.45rem; }
.proc__when { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--amber-2); background: rgba(95,212,255,.1); padding: 5px 10px; border-radius: 999px; }
.proc__when svg { width: 14px; height: 14px; }
.proc__body p { color: #c6ced6; margin: 10px 0 12px; }
@media (max-width: 560px) { .proc::before { left: 24px; } .proc__step { grid-template-columns: 50px 1fr; gap: 14px; } .proc__num { width: 50px; height: 50px; font-size: 1.2rem; } }

/* Dominios y servicios del perfil */
.dom-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 20px 0; }
.dom { padding: 20px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid var(--line-l); }
.dom h3 { margin: 0 0 10px; font-size: 1.2rem; }
.svc-cloud { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-cloud li { margin: 0 !important; padding: 7px 12px; border-radius: 10px; font-size: .86rem; color: var(--ink-l) !important; background: rgba(255,255,255,.04); border: 1px solid var(--line-l); }
.grid--2 .side-card p { color: var(--muted-l); }
@media (prefers-reduced-motion: reduce) { .bgi img, .portrait__bg, .portrait__img, .portrait__sweep, .portrait__ring { animation: none !important; } }
.checklist { color: #b9c3cc !important; } .checklist li { color: #b9c3cc; }
.portrait--plain { aspect-ratio: 1 / 1; background: #121820; }
.portrait--plain .portrait__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.portrait--plain::before { display: none; }
.profile-hero .portrait--plain .portrait__photo { width: 100%; height: 100%; }
.lawyer-card img { filter: none; }
@media (max-width: 900px) { .hero--ice .bgv video { object-position: 74% 50%; } }

/* Especialidad insignia */
.flagship { margin: 26px 0 10px; padding: 24px; border-radius: 24px; border: 1px solid rgba(95,212,255,.25); background: radial-gradient(80% 120% at 0% 0%, rgba(95,212,255,.12), transparent 60%), rgba(255,255,255,.02); }
.flag-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(95,212,255,.14); color: var(--amber-2); font-weight: 600; font-size: .85rem; letter-spacing: .04em; }
.flag-badge svg { width: 16px; height: 16px; }
.flag-video { max-width: 260px; margin-top: 18px; }
.tema { padding-top: 10px; scroll-margin-top: 110px; border-top: 1px solid var(--line-l); margin-top: 34px; }
.tema h2 { margin-top: 18px !important; }
.tema .lead { color: var(--ice) !important; font-size: 1.08rem; }
