/* Medina Abogados
   Paleta y tipografía según el manual de identidad:
   Oxford blue (8,35,68), Deutsch Gelb (224,161,13), Bright Gray (239,239,239).
   Figtree sustituye a TT Commons (fuente comercial) por ser la más cercana de uso libre. */

:root {
  --oxford: #082344;
  --oxford-deep: #051a33;
  --oxford-soft: #0e2f57;
  --gold: #e0a10d;
  --gold-hover: #f0b429;
  --gray: #efefef;
  --paper: #ffffff;
  --text: #0b2140;
  --muted: #55657c;
  --line: rgba(8, 35, 68, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Figtree", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--oxford); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* Barra dorada del manual: precede a los títulos */
.bar { display: block; width: 64px; height: 5px; background: var(--gold); margin-bottom: 28px; }
/* Guion dorado que cierra el slogan en el manual */
.dash { display: inline-block; width: 0.62em; height: 0.085em; background: var(--gold); margin-left: 0.06em; vertical-align: baseline; }

/* ---------- Pantalla de carga ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--oxford-deep);
  transition: transform 800ms var(--ease-in-out), visibility 0s linear 800ms;
}
.loader-box { width: min(300px, 62vw); display: grid; gap: 30px; transition: opacity 300ms ease, transform 500ms var(--ease-out); }
.loader-box img { animation: loader-in 600ms var(--ease-out) both; }
.loader-line { display: block; height: 2px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.loader-line i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: loader-fill 1100ms var(--ease-in-out) 150ms forwards; }
.loaded .loader { transform: translateY(-100%); visibility: hidden; }
.loaded .loader-box { opacity: 0; transform: translateY(-24px); }
@keyframes loader-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes loader-fill { to { transform: scaleX(1); } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font-weight: 700; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none; border: 0; border-radius: 4px; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold); color: var(--oxford-deep); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4); }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover { background: var(--gold-hover); }
  .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
}

.text-link {
  display: inline-block; font-weight: 700; color: var(--oxford);
  text-decoration: none; padding-bottom: 3px;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 2px no-repeat;
  transition: background-size 260ms var(--ease-out);
}
.text-link.on-dark { color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .text-link:hover { background-size: 100% 100%; color: var(--oxford-deep); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: #fff;
  transition: background-color 240ms ease, color 240ms ease, box-shadow 240ms ease;
}
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; display: block; width: 132px; flex: none; }
.logo { width: 100%; transition: opacity 240ms ease; }
.logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 0.97rem; opacity: 0.86; transition: opacity 160ms ease; }
.nav a:not(.btn):hover { opacity: 1; }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }
.menu-btn { display: none; }

.site-header.scrolled { background: rgba(255, 255, 255, 0.94); color: var(--oxford); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.site-header.scrolled .logo-light { opacity: 0; }
.site-header.scrolled .logo-dark { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; flex-direction: column;
  background: var(--oxford); color: #fff;
  padding-top: var(--header-h);
}
.justice {
  position: absolute; z-index: -1;
  right: -4%; top: 4%; height: 118%; aspect-ratio: 333 / 497;
  background: var(--oxford-soft);
  -webkit-mask: url(assets/justicia.svg) center / contain no-repeat;
  mask: url(assets/justicia.svg) center / contain no-repeat;
  will-change: transform;
}
.hero-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(36px, 7vh, 88px); }
.hero-kicker { font-weight: 600; font-size: 1.02rem; color: rgba(255, 255, 255, 0.72); margin-bottom: clamp(18px, 3vh, 30px); }
.hero-title {
  font-weight: 800;
  font-size: clamp(3.3rem, 10.4vw, 10rem);
  line-height: 0.86; letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.09em; margin-bottom: -0.03em; }
.hero-title .line > span { display: inline-block; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin-top: clamp(30px, 5vh, 56px); }
.hero-lead { max-width: 30em; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(255, 255, 255, 0.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Rotador de casos */
.cases { border-top: 1px solid var(--line-dark); background: rgba(5, 26, 51, 0.55); }
.cases-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 40px; padding-block: 22px 26px; position: relative; }
.cases-quote { font-size: clamp(1.25rem, 2.3vw, 2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; min-height: 2.4em; display: flex; align-items: center; }
.cases-area { text-decoration: none; text-align: right; display: grid; gap: 2px; }
.cases-label { font-size: 0.86rem; color: rgba(255, 255, 255, 0.62); }
.cases-name { font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--gold); }
.cases-quote, .cases-area { transition: opacity 320ms ease, transform 420ms var(--ease-out), filter 320ms ease; }
.cases.swap .cases-quote, .cases.swap .cases-area { opacity: 0; transform: translateY(10px); filter: blur(4px); transition-duration: 180ms; }
.cases-ticks { grid-column: 1 / -1; display: flex; gap: 8px; }
.tick { position: relative; flex: 1; max-width: 72px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.tick::before, .tick::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: rgba(255, 255, 255, 0.22); }
.tick::after { background: var(--gold); transform: scaleX(0); transform-origin: left; }
.tick.done::after { transform: scaleX(1); }
.tick.active::after { animation: tick var(--case-ms, 4800ms) linear forwards; }
.cases.paused .tick.active::after { animation-play-state: paused; }
@keyframes tick { to { transform: scaleX(1); } }

/* Entrada orquestada del hero (una sola vez) */
.js .hero-title .line > span { transform: translateY(108%); }
.js .hero-kicker, .js .hero-foot, .js .cases { opacity: 0; }
.js .justice { opacity: 0; }
.js .hero-title .dash { transform: scaleX(0); transform-origin: left; }
.ready .hero-title .line > span { transform: none; transition: transform 1000ms var(--ease-out); }
.ready .hero-title .line:nth-child(2) > span { transition-delay: 90ms; }
.ready .hero-title .line:nth-child(3) > span { transition-delay: 180ms; }
.ready .hero-title .dash { transform: none; transition: transform 600ms var(--ease-out) 900ms; }
.ready .hero-kicker { opacity: 1; transition: opacity 600ms ease 100ms; }
.ready .hero-foot { opacity: 1; transition: opacity 700ms ease 550ms; }
.ready .cases { opacity: 1; transition: opacity 700ms ease 800ms; }
.ready .justice { opacity: 1; transition: opacity 1600ms ease 200ms; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section-head { max-width: 44rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2, .estudio-text h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.035em;
  text-wrap: balance;
}
.section-head p { margin-top: 20px; font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.section-head.on-dark p { color: rgba(255, 255, 255, 0.72); }

/* ---------- Acordeón (áreas y preguntas) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px 32px;
  padding: clamp(20px, 2.6vw, 34px) 0; background: none; border: 0; text-align: left; cursor: pointer; color: inherit;
}
.acc-title { font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; transition: transform 320ms var(--ease-out), color 200ms ease; }
.area-list .acc-title { font-size: clamp(1.7rem, 4.4vw, 3.6rem); }
.faq-list .acc-title { font-size: clamp(1.15rem, 1.7vw, 1.4rem); letter-spacing: -0.015em; line-height: 1.25; }
.acc-hint { color: var(--muted); font-size: 1rem; text-align: right; transition: opacity 200ms ease; }
.acc-icon { position: relative; width: 22px; height: 22px; flex: none; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: currentColor; transition: transform 320ms var(--ease-out), background-color 200ms ease; }
.acc-icon::after { transform: rotate(90deg); }
.acc-item.open .acc-icon::after { transform: rotate(0deg); }
.acc-item.open .acc-icon::before, .acc-item.open .acc-icon::after { background: var(--gold); }
.acc-item.open .acc-hint { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .area-list .acc-btn:hover .acc-title { transform: translateX(14px); }
}
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease-out); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; visibility: hidden; opacity: 0; transition: opacity 300ms ease, visibility 0s linear 420ms; }
.acc-item.open .acc-inner { visibility: visible; opacity: 1; transition: opacity 400ms ease 80ms, visibility 0s; }
.faq-list .acc-inner p { padding-bottom: 26px; max-width: 38em; color: var(--muted); }

.areas { background: var(--gray); }
.area-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px 56px; padding-bottom: clamp(28px, 3.4vw, 44px); align-items: start; }
.area-text p { font-size: 1.1rem; max-width: 32em; }
.area-text p + p { margin-top: 12px; }
.area-body .text-link { grid-column: 1; justify-self: start; }
.tags { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 14px; background: var(--paper); border-radius: 4px; font-weight: 600; font-size: 0.96rem; }

/* ---------- Estudio ---------- */
.statement {
  font-size: clamp(1.8rem, 4.3vw, 3.7rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em;
  max-width: 21em; margin-bottom: clamp(56px, 8vw, 112px);
}
.statement .w { opacity: 0.16; transition: opacity 240ms ease; }
.statement .w.on { opacity: 1; }
.estudio-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.estudio-photos { position: relative; padding-bottom: 22%; padding-right: 16%; }
.photo { border-radius: 6px; object-fit: cover; }
.photo-a { width: 100%; aspect-ratio: 4 / 3; }
.photo-b { position: absolute; right: 0; bottom: 0; width: 58%; aspect-ratio: 3 / 2; box-shadow: 0 0 0 8px var(--paper); will-change: transform; }
.estudio-text h2 { margin-bottom: 24px; }
.estudio-text p + p { margin-top: 16px; }
.estudio-text > p { color: var(--muted); font-size: 1.1rem; max-width: 34em; }
.facts { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-top: 1px solid var(--line); }
.facts > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.9rem; color: var(--muted); }
.facts dd { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.mv { margin-top: clamp(56px, 8vw, 104px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); border-top: 1px solid var(--line); padding-top: clamp(28px, 4vw, 48px); }
.mv h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.mv p { color: var(--muted); max-width: 32em; }

/* ---------- Equipo ---------- */
.lead { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.lead-photo { aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--oxford); position: sticky; top: calc(var(--header-h) + 28px); }
.lead-photo img { width: 100%; height: 100%; object-fit: cover; }
.lead-text h3 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; }
.lead-role { margin: 12px 0 28px; font-weight: 700; font-size: 1.15rem; color: #9a6c00; }
.lead-text > p:not(.lead-role) { color: var(--muted); font-size: 1.1rem; max-width: 34em; }
.lead-text > p:not(.lead-role) + p { margin-top: 14px; }
.lead-contact { margin-top: 34px; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.lead-contact > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.lead-contact dt { font-size: 0.9rem; color: var(--muted); }
.lead-contact dd { font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.lead-contact a { text-decoration: none; }
.lead-contact a:hover { color: #9a6c00; }

/* ---------- Proceso ---------- */
.proceso { background: var(--oxford); color: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); counter-reset: s; }
.steps li { border-top: 1px solid var(--line-dark); padding-top: 22px; position: relative; }
.steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease-out); }
.steps.seen li::before { transform: scaleX(1); }
.steps.seen li:nth-child(2)::before { transition-delay: 140ms; }
.steps.seen li:nth-child(3)::before { transition-delay: 280ms; }
.steps.seen li:nth-child(4)::before { transition-delay: 420ms; }
.step-n { display: block; font-size: clamp(3rem, 5vw, 4.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--gold); margin-bottom: 18px; }
.steps h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 10px; }
.steps p { color: rgba(255, 255, 255, 0.72); }

/* ---------- Preguntas ---------- */
.preguntas-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.preguntas .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.preguntas .section-head .text-link { margin-top: 26px; }
.faq-list .acc-btn { grid-template-columns: 1fr auto; padding: 24px 0; }

/* ---------- Contacto ---------- */
.contacto { background: var(--oxford-deep); color: #fff; overflow: hidden; isolation: isolate; }
.justice-contact { left: -6%; right: auto; top: 8%; height: 100%; background: #0a2748; }
.contacto-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contacto-title { font-size: clamp(3rem, 8vw, 7.2rem); font-weight: 800; line-height: 0.88; letter-spacing: -0.04em; }
.contacto-lead { margin-top: 26px; font-size: 1.2rem; color: rgba(255, 255, 255, 0.78); max-width: 26em; }
.contact-data { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--line-dark); }
.contact-data > div { padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.contact-data dt { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 4px; }
.contact-data dd { font-weight: 600; font-size: 1.1rem; line-height: 1.5; }
.contact-data a:not(.text-link) { text-decoration: none; }
.contact-data a:not(.text-link):hover { color: var(--gold); }
.contact-data .text-link { margin-top: 8px; font-size: 0.98rem; }

.form { background: var(--paper); color: var(--text); padding: clamp(24px, 3.4vw, 44px); border-radius: 6px; display: grid; gap: 18px; }
.form label { display: grid; gap: 7px; font-weight: 700; font-size: 0.98rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 15px; font-weight: 500; font-size: 1.02rem;
  background: var(--gray); border: 1.5px solid transparent; border-radius: 4px;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--oxford); background: #fff; }
.form-error { color: #a11a1a; font-weight: 600; font-size: 0.96rem; }
.form-note { font-size: 0.9rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--oxford-deep); color: rgba(255, 255, 255, 0.72); border-top: 1px solid var(--line-dark); padding-block: 36px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.footer-logo { width: 120px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.footer nav a:hover { color: #fff; }
.footer-legal { font-size: 0.9rem; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--oxford-deep);
  box-shadow: 0 10px 28px rgba(5, 26, 51, 0.32);
  opacity: 0; transform: translateY(14px) scale(0.94); pointer-events: none;
  transition: opacity 220ms ease, transform 280ms var(--ease-out);
}
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:active { transform: scale(0.95); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .brand { width: 112px; }
  .menu-btn {
    display: grid; gap: 7px; width: 48px; height: 48px; place-content: center;
    background: none; border: 0; cursor: pointer; color: inherit; margin-right: -10px; z-index: 2;
  }
  .menu-btn span { display: block; width: 26px; height: 2px; background: currentColor; transition: transform 260ms var(--ease-out); }
  .nav-open .menu-btn span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-open .menu-btn span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px;
    padding: var(--header-h) var(--gutter) 40px;
    background: var(--oxford); color: #fff;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 220ms ease, transform 280ms var(--ease-out), visibility 0s linear 280ms;
  }
  .nav a:not(.btn) { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; opacity: 1; }
  .nav-cta { margin-top: 14px; min-height: 54px; font-size: 1.05rem; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity 220ms ease, transform 280ms var(--ease-out), visibility 0s; }
  .nav-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav-open .site-header .logo-light { opacity: 1; }
  .nav-open .site-header .logo-dark { opacity: 0; }
  .brand { z-index: 2; }

  .justice { right: -38%; top: 10%; height: 96%; opacity: 0.8; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .cases-row { grid-template-columns: 1fr; }
  .cases-area { text-align: left; }
  .cases-quote { min-height: 3.6em; }

  .acc-hint { display: none; }
  .acc-btn { grid-template-columns: 1fr auto; }
  .area-body { grid-template-columns: 1fr; }
  .tags, .area-body .text-link { grid-column: 1; grid-row: auto; }

  .estudio-grid, .mv, .preguntas-grid, .contacto-grid { grid-template-columns: 1fr; }
  .preguntas .section-head { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .lead { grid-template-columns: 1fr; }
  .lead-photo { position: static; max-width: 420px; }
  .justice-contact { left: auto; right: -40%; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .contact-data, .lead-contact { grid-template-columns: 1fr; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-title .line > span, .js .hero-title .dash { transform: none; }
  .ready .hero-title .line > span { transition: none; }
  .cases.swap .cases-quote, .cases.swap .cases-area { transform: none; filter: none; }
  .acc-panel, .acc-title, .steps li::before { transition: none; }
  .js .loader { transition: opacity 200ms ease, visibility 0s linear 200ms; }
  .loaded .loader { transform: none; opacity: 0; }
  .loader-line i, .loader-box img { animation: none; transform: none; }
  .statement .w { opacity: 1; }
}
