:root {
  --navy: #0b2f5c;
  --blue: #1a5aa6;
  --blue-soft: #e8f0fa;
  --red: #9e1b2a;
  --red-deep: #6f1220;
  --red-soft: #fbecee;
  --ink: #142033;
  --muted: #5b6678;
  --line: #dde3ec;
  --white: #ffffff;
  --paper: #f6f8fb;
  --glow: #ffd98a;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; }
svg { display: block; }
img { max-width: 100%; display: block; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #f2b705; outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 48px);
  color: var(--white);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  color: var(--navy);
  padding-top: 12px; padding-bottom: 12px;
  box-shadow: 0 6px 24px rgba(11, 47, 92, .08);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 15px; letter-spacing: .5px;
  border: 1.5px solid currentColor;
}
.brand-name { font-family: var(--serif); font-size: 20px; letter-spacing: .3px; }
.menu { display: flex; gap: 28px; align-items: center; }
.menu a { text-decoration: none; font-size: 15px; letter-spacing: .3px; position: relative; padding: 4px 0; }
.menu a:not(.menu-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.menu a:not(.menu-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.menu-cta { border: 1.5px solid currentColor; border-radius: 999px; padding: 7px 18px !important; transition: background .3s, color .3s; }
.menu-cta:hover { background: var(--white); color: var(--navy); }
.nav.scrolled .menu-cta:hover { background: var(--navy); color: var(--white); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; }
.menu-btn span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s var(--ease), opacity .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1fr;
  transition: grid-template-columns .8s var(--ease);
  overflow: hidden;
  background: var(--navy);
}
.hero:has(.half-blue:hover) { grid-template-columns: 1.16fr 1fr; }
.hero:has(.half-red:hover) { grid-template-columns: 1fr 1.16fr; }

.half {
  position: relative; display: flex; align-items: flex-end;
  color: var(--white); text-decoration: none;
  padding: 120px clamp(24px, 4vw, 64px) clamp(44px, 8vh, 90px);
  overflow: hidden; isolation: isolate;
}
/* Fotografía de fondo con zoom lento */
.half::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-repeat: no-repeat;
  filter: saturate(.85) contrast(1.05);
  animation: kenburns 24s ease-in-out infinite alternate;
}
.half-blue::before { background-image: url("casa.jpg"); background-position: 40% 30%; transform-origin: 30% 40%; }
.half-red::before { background-image: url("justicia.jpg"); background-position: 62% 40%; transform-origin: 70% 35%; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16); } }

/* Velo de color: deja ver la foto arriba y oscurece abajo para el texto */
.half::after { content: ""; position: absolute; inset: 0; z-index: -1; transition: opacity .8s var(--ease); }
.half-blue::after {
  background:
    linear-gradient(180deg, rgba(11,47,92,.55) 0%, rgba(11,47,92,.35) 35%, rgba(8,32,66,.92) 78%, #071f3d 100%),
    linear-gradient(90deg, rgba(26,90,166,.35), transparent 70%);
}
.half-red::after {
  background:
    linear-gradient(180deg, rgba(111,18,32,.6) 0%, rgba(111,18,32,.35) 35%, rgba(84,12,24,.93) 78%, #4a0b15 100%),
    linear-gradient(270deg, rgba(158,27,42,.4), transparent 70%);
}
.half:hover::after { opacity: .85; }
.half-red { justify-content: flex-end; text-align: right; }

/* Marco clásico de filete fino */
.half-inner::before {
  content: ""; display: block; width: 54px; height: 2px; margin-bottom: 22px;
  background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.2));
  transition: width .6s var(--ease);
}
.half-red .half-inner::before { margin-left: auto; background: linear-gradient(270deg, rgba(255,255,255,.9), rgba(255,255,255,.2)); }
.half:hover .half-inner::before { width: 110px; }
.half h2 { text-shadow: 0 4px 24px rgba(0,0,0,.35); }

/* luz que sigue al cursor */
.spot {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(380px circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,.14), transparent 70%);
  transition: opacity .5s;
}
.half:hover .spot { opacity: 1; }

.half-inner { max-width: 330px; position: relative; z-index: 1; }
.half-red .half-inner { margin-left: auto; }
.half h2 { font-size: clamp(30px, 3.4vw, 48px); margin: 6px 0 14px; }
.half-text { opacity: .88; font-size: 16px; }
.half-link {
  display: inline-flex; gap: 8px; margin-top: 22px; font-size: 15px; letter-spacing: .4px;
  border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 4px;
}
.half-link span { transition: transform .35s var(--ease); }
.half:hover .half-link span { transform: translateX(6px); }

.eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: 12px; font-weight: 600; opacity: .85; display: flex; align-items: center; gap: 12px; }
.half-red .eyebrow { justify-content: flex-end; }
.eyebrow .line { width: 30px; height: 1.5px; background: currentColor; }

/* Centro: foto + nombre */
.center {
  position: absolute; left: 50%; top: calc(50% + 34px);
  transform: translate(-50%, -50%);
  width: min(340px, 86vw);
  display: flex; flex-direction: column; align-items: center;
  z-index: 3;
  animation: centerIn 1.1s .35s var(--ease) both;
}
@keyframes centerIn { from { opacity: 0; transform: translate(-50%, -44%); } }

.photo-frame {
  position: relative;
  width: min(250px, 19vw, 31vh);
  min-width: 170px;
  padding: 6px;
  border-radius: 999px 999px 22px 22px;
  background: linear-gradient(115deg, #fff 0%, #cfe0f5 30%, var(--blue) 49.5%, var(--red) 50.5%, #f3c6cc 70%, #fff 100%);
  background-size: 200% 200%;
  box-shadow: 0 30px 70px rgba(6, 20, 45, .45);
  animation: frameShine 8s ease-in-out infinite;
}
.photo-frame::before { /* arco decorativo exterior */
  content: ""; position: absolute; inset: -14px; z-index: -1;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px 999px 30px 30px;
  animation: breathe 5s ease-in-out infinite;
}
@keyframes frameShine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.03); opacity: .3; } }

.photo {
  border-radius: 999px 999px 17px 17px; overflow: hidden;
  background: linear-gradient(180deg, #f4f6f9, #e9edf2);
  aspect-ratio: 382 / 512;
}
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; animation: photoIn 1.6s .4s var(--ease) both; }
@keyframes photoIn { from { transform: scale(1.12); filter: saturate(.6); } }

.badge {
  position: absolute; bottom: 18px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--white);
  border: 3px solid var(--white); box-shadow: 0 8px 18px rgba(0,0,0,.25);
  animation: bob 4s ease-in-out infinite;
}
.badge svg { width: 22px; height: 22px; }
.badge-blue { left: -18px; background: var(--blue); }
.badge-red { right: -18px; background: var(--red); animation-delay: -2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.plate {
  position: relative; margin-top: -28px; width: 100%;
  background: rgba(255,255,255,.97); color: var(--ink);
  border-radius: 18px; padding: 40px 22px 22px; text-align: center;
  box-shadow: 0 24px 60px rgba(6, 20, 45, .35);
}
.plate::before { /* filete bicolor superior */
  content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--blue) 50%, var(--red) 50%);
}
.plate h1 { font-size: clamp(26px, 2.4vw, 32px); color: var(--navy); }
.role { margin-top: 6px; font-size: 13.5px; font-weight: 600; letter-spacing: .4px; }
.t-blue { color: var(--blue); }
.t-red { color: var(--red); }
.dot { color: #b9c2cf; font-size: 9px; margin: 0 6px; vertical-align: 2px; }
.place { color: var(--muted); font-size: 13.5px; margin: 4px 0 16px; }
.plate .btn { padding: 11px 22px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px;
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@media (max-height: 820px) { .scroll-hint { display: none; } }

/* Entrada del hero */
.half-blue { animation: inLeft 1.1s var(--ease) both; }
.half-red { animation: inRight 1.1s var(--ease) both; }
@keyframes inLeft { from { transform: translateX(-8%); opacity: 0; } }
@keyframes inRight { from { transform: translateX(8%); opacity: 0; } }

/* ---------- Cinta ---------- */
.ribbon { background: var(--navy); color: var(--white); overflow: hidden; padding: 16px 0; border-top: 3px solid var(--red); scroll-margin-top: 60px; }
.ribbon-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.ribbon span { font-family: var(--serif); font-style: italic; font-size: 20px; white-space: nowrap; }
.ribbon span.r { color: #f5b9c1; }
.ribbon i { width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 15px; letter-spacing: .3px;
  border: 1.5px solid transparent; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
}
.btn svg { width: 17px; height: 17px; }
.btn::after { /* brillo al pasar */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { box-shadow: 0 10px 24px rgba(11, 47, 92, .3); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--navy); box-shadow: 0 10px 24px rgba(26, 90, 166, .3); }
.btn-ghost-blue { border-color: var(--blue); color: var(--blue); }
.btn-ghost-blue:hover { background: var(--blue-soft); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); box-shadow: 0 10px 24px rgba(158, 27, 42, .3); }
.btn-ghost-red { border-color: var(--red); color: var(--red); }
.btn-ghost-red:hover { background: var(--red-soft); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }

/* ---------- Secciones ---------- */
.section { position: relative; overflow: hidden; padding: clamp(72px, 11vw, 130px) 0; scroll-margin-top: 60px; }
.wrap { position: relative; width: min(1120px, 100% - 32px); margin: 0 auto; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); margin: 12px 0 16px; }
.lead { color: var(--muted); font-size: 17px; }
.bg-mark { position: absolute; width: clamp(260px, 38vw, 520px); top: 40px; opacity: .05; pointer-events: none; }

.section-blue { background: linear-gradient(180deg, var(--white), var(--paper)); }
.section-blue .eyebrow { color: var(--blue); }
.section-blue h2 { color: var(--navy); }
.section-blue .bg-mark { right: -60px; color: var(--blue); }
.section-red { background: var(--white); }
.section-red .section-head { margin-left: auto; text-align: right; }
.section-red .eyebrow { color: var(--red); justify-content: flex-end; }
.section-red h2 { color: var(--red-deep); }
.section-red .bg-mark { left: -60px; color: var(--red); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(11, 47, 92, .12); border-color: transparent; }
.card-img {
  height: 170px; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(26,90,166,.07) 14px 15px), linear-gradient(160deg, var(--blue-soft), #d7e5f6);
  color: var(--blue);
}
.card-img svg { width: 60px; height: 60px; transition: transform .6s var(--ease); }
.card:hover .card-img svg { transform: scale(1.14) translateY(-4px); }
.card-body { padding: 22px 22px 26px; }
.card-body h3 { font-size: 22px; margin: 10px 0 6px; color: var(--navy); }
.card-body p { color: var(--muted); font-size: 15px; }
.tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue);
}

/* Servicios legales */
.svc { padding: 30px 24px 28px; }
.svc::before { /* filete rojo que crece */
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--red), #d0475a);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.svc:hover::before { transform: scaleX(1); }
.svc:hover { box-shadow: 0 26px 50px rgba(158, 27, 42, .12); }
.num { position: absolute; right: 18px; top: 12px; font-family: var(--serif); font-size: 46px; color: var(--red); opacity: .1; transition: opacity .4s; }
.svc:hover .num { opacity: .22; }
.svc-icon {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin-bottom: 20px;
  transition: background .4s, color .4s, transform .5s var(--ease);
}
.svc-icon svg { width: 30px; height: 30px; }
.svc:hover .svc-icon { background: var(--red); color: var(--white); transform: rotate(-8deg) scale(1.06); }
.svc h3 { font-size: 21px; color: var(--red-deep); margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: 15px; }

.cta {
  margin-top: 48px; padding: 30px clamp(20px, 4vw, 40px); border-radius: 18px;
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(11, 47, 92, .06);
}
.cta p { font-family: var(--serif); font-size: 24px; color: var(--navy); }
.section-red .cta p { color: var(--red-deep); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-btns.centered { justify-content: center; }

/* Puente entre ambos perfiles */
.bridge { background: var(--paper); padding: clamp(64px, 9vw, 110px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bridge-inner { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.bridge-photo { position: relative; width: 260px; margin: 0 auto; }
.bridge-photo::before, .bridge-photo::after { content: ""; position: absolute; border-radius: 999px 999px 18px 18px; z-index: 0; }
.bridge-photo::before { inset: 18px -18px -18px 18px; background: var(--red); }
.bridge-photo::after { inset: -14px 14px 14px -14px; border: 1.5px solid var(--blue); }
.bridge-photo img { position: relative; z-index: 1; border-radius: 999px 999px 18px 18px; background: #eef1f5; aspect-ratio: 382 / 512; object-fit: cover; box-shadow: 0 24px 50px rgba(11,47,92,.2); }
.bridge-text .eyebrow { color: var(--navy); }
.bridge-text h2 { font-size: clamp(30px, 4vw, 46px); color: var(--navy); margin: 12px 0 16px; }
.bridge-text em { font-style: italic; color: var(--red); }
.pills { display: flex; gap: 10px; margin-top: 24px; }
.pill { padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--white); }
.pill-blue { background: var(--blue); }
.pill-red { background: var(--red); }

/* Contacto */
.contact { background: radial-gradient(90% 120% at 50% 0%, var(--blue) 0%, var(--navy) 65%); color: var(--white); text-align: center; }
.contact::before { content: ""; position: absolute; inset: 0; opacity: .06; background-image: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 22px); }
.contact-inner { max-width: 640px; }
.contact .eyebrow { justify-content: center; }
.contact h2 { font-size: clamp(36px, 5vw, 58px); margin: 10px 0 12px; }
.contact .lead { color: rgba(255,255,255,.8); }
.phone {
  display: inline-block; margin: 28px 0 30px; text-decoration: none;
  font-family: var(--serif); font-size: clamp(30px, 5vw, 48px); letter-spacing: 1px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .5s var(--ease);
}
.phone:hover { background-size: 100% 1.5px; }

.footer { background: #071f3d; color: rgba(255,255,255,.7); text-align: center; padding: 22px 16px; font-size: 13px; }
.footer p { border-top: 2px solid var(--red); display: inline-block; padding-top: 10px; }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: var(--white); box-shadow: 0 12px 28px rgba(0,0,0,.25);
  transition: transform .3s var(--ease);
  animation: popIn .6s 1.6s var(--ease) both;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s 2.2s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes popIn { from { transform: scale(0); } }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

/* Revelado al hacer scroll (solo si hay JS) */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .grid .reveal:nth-child(2) { transition-delay: .1s; }
.js .grid .reveal:nth-child(3) { transition-delay: .2s; }
.js .grid .reveal:nth-child(4) { transition-delay: .3s; }
.js .card.reveal.in:hover { transform: translateY(-8px); transition-delay: 0s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .half-inner { max-width: 260px; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .menu {
    position: fixed; inset: 0 0 auto 0; padding: 86px 24px 28px;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--white); color: var(--navy);
    box-shadow: 0 20px 40px rgba(11, 47, 92, .15);
    transform: translateY(calc(-100% - 80px)); visibility: hidden;
    transition: transform .45s var(--ease), visibility 0s .45s;
    z-index: -1;
  }
  .menu.open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .menu a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .menu-cta { text-align: center; margin-top: 12px; }
  .nav:has(.menu.open) { color: var(--navy); }
  .nav:not(.scrolled) { color: var(--navy); }

  .hero { grid-template-columns: 1fr; min-height: 0; background: var(--white); }
  .hero:has(.half-blue:hover), .hero:has(.half-red:hover) { grid-template-columns: 1fr; }
  .center {
    position: relative; left: auto; top: auto; transform: none; grid-row: 1;
    width: 100%; padding: 104px 16px 44px;
    background: radial-gradient(120% 70% at 50% 0%, var(--blue-soft), var(--white) 70%);
  }
  @keyframes centerIn { from { opacity: 0; transform: translateY(16px); } }
  .photo-frame { width: min(230px, 60vw); }
  .photo-frame::before { border-color: rgba(26,90,166,.25); }
  .plate { max-width: 360px; box-shadow: 0 18px 40px rgba(11, 47, 92, .15); }
  .half { padding: 56px 24px; min-height: 420px; }
  .half-red { justify-content: flex-start; text-align: left; }
  .half-red .half-inner { margin-left: 0; }
  .half-red .eyebrow { justify-content: flex-start; }
  .half-red .half-inner::before { margin-left: 0; }
  .grid, .grid-4 { grid-template-columns: 1fr; }
  .section-red .section-head { text-align: left; margin-left: 0; }
  .section-red .eyebrow { justify-content: flex-start; }
  .cta { flex-direction: column; align-items: flex-start; }
  .bridge-inner { grid-template-columns: 1fr; text-align: center; }
  .bridge-photo { width: 220px; }
  .bridge-text .eyebrow, .pills { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
