:root {
  --navy-1000: #03101e;
  --navy-950: #061728;
  --navy-900: #071d35;
  --navy-800: #0b2a49;
  --navy-700: #123b63;
  --gold-700: #9d6616;
  --gold-600: #b67a1e;
  --gold-500: #ce9530;
  --gold-400: #e3b562;
  --gold-300: #f0cf8f;
  --ink: #14263a;
  --muted: #667587;
  --paper: #fffdfa;
  --soft: #f6f2ea;
  --line: #e8e0d2;
  --white: #ffffff;
  --green: #19a866;
  --container: 1180px;
  --shadow: 0 24px 70px rgba(4, 23, 40, .12);
  --shadow-soft: 0 14px 40px rgba(4, 23, 40, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }

.container { width: min(var(--container), calc(100% - 42px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; background: white; color: var(--navy-900); padding: 11px 15px; border-radius: 8px; box-shadow: var(--shadow-soft); }
.skip-link:focus { top: 14px; }

.topbar { background: var(--navy-1000); color: #d7e2ec; font-size: .82rem; }
.topbar-inner { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.topbar-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-contact a { transition: color .2s ease; }
.topbar-contact a:hover { color: var(--gold-300); }
.topbar-status { display: inline-flex; gap: 8px; align-items: center; }
.topbar-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(227,181,98,.11); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(20,38,58,.08); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 62px; height: 62px; flex: 0 0 62px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 24px rgba(7,29,53,.12); }
.brand-copy { display: grid; line-height: 1.08; text-transform: uppercase; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; color: var(--navy-900); font-size: .96rem; letter-spacing: .02em; }
.brand-copy small { color: var(--gold-700); font-weight: 850; font-size: .66rem; letter-spacing: .14em; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 27px; font-size: .9rem; font-weight: 750; }
.main-nav > a:not(.nav-cta) { padding-block: 29px 24px; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.main-nav > a:not(.nav-cta):hover { color: var(--gold-700); border-color: var(--gold-500); }
.nav-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 8px; background: var(--navy-900); color: white; transition: transform .2s ease, background .2s ease; }
.nav-cta:hover { background: var(--navy-800); transform: translateY(-1px); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 8px; padding: 10px 9px; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px auto; background: var(--navy-900); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; overflow: hidden; color: white; background: linear-gradient(118deg, #031321 0%, #08243d 58%, #0c3151 100%); }
.hero::after { content: ""; position: absolute; inset: auto -8% -45% 45%; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(227,181,98,.16), rgba(227,181,98,0) 68%); pointer-events: none; }
.hero-pattern { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent 2%, #000 48%, #000 80%, transparent); }
.hero-grid { position: relative; z-index: 2; min-height: 690px; padding-block: 82px 96px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-700); text-transform: uppercase; font-size: .74rem; letter-spacing: .18em; font-weight: 900; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-300); }
.hero h1, .section h2, .principles h2, .lawyer-copy h2, .faq-copy h2, .contact-copy h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.035em; }
.hero h1 { max-width: 780px; margin: 16px 0 22px; font-size: clamp(3.2rem, 5.8vw, 5.55rem); line-height: .98; }
.hero h1 em { color: var(--gold-300); font-style: normal; }
.hero-lead { max-width: 690px; margin: 0; color: #d8e4ed; font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 21px; border: 1px solid transparent; border-radius: 8px; font-weight: 850; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: #1e2430; background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); box-shadow: 0 12px 30px rgba(182,122,30,.24); }
.btn-gold:hover { box-shadow: 0 16px 38px rgba(182,122,30,.32); }
.btn-ghost { color: white; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.035); }
.btn-ghost:hover { background: rgba(255,255,255,.09); }
.btn-navy { background: var(--navy-900); color: white; }
.btn-full { width: 100%; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 34px; color: #c3d2de; font-size: .86rem; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points span::before { content: "✓"; color: var(--gold-300); font-weight: 900; }

.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.hero-watermark { position: relative; width: min(470px, 91%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: url("assets/logo-azul.png") center/cover no-repeat; box-shadow: 0 38px 90px rgba(0,0,0,.32), 0 0 0 1px rgba(240,207,143,.18); isolation: isolate; opacity: .88; }
.hero-watermark::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(3,16,30,.18) 0%, rgba(3,16,30,.07) 35%, rgba(3,16,30,.22) 100%); }
.hero-watermark::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(227,181,98,.20), rgba(227,181,98,0) 67%); filter: blur(38px); opacity: .9; }
.hero-badge { position: absolute; z-index: 3; min-width: 98px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(4,20,35,.88); box-shadow: 0 14px 32px rgba(0,0,0,.23); backdrop-filter: blur(8px); }
.hero-badge strong { display: block; color: var(--gold-300); font-family: Georgia, serif; font-size: 1.5rem; line-height: 1; }
.hero-badge span { display: block; margin-top: 5px; color: #c8d5df; font-size: .72rem; text-transform: uppercase; letter-spacing: .11em; }
.badge-one { left: 0; bottom: 120px; }
.badge-two { right: 0; top: 112px; }

.quick-contact { position: relative; z-index: 4; margin-top: -42px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.quick-item { min-width: 0; display: flex; align-items: center; gap: 16px; padding: 24px 26px; transition: background .2s ease; }
.quick-item + .quick-item { border-left: 1px solid var(--line); }
.quick-item:hover { background: #fffcf7; }
.quick-icon { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(182,122,30,.28); border-radius: 50%; color: var(--gold-700); font-family: Georgia, serif; font-weight: 700; font-size: .8rem; }
.quick-item > span:last-child { min-width: 0; display: grid; }
.quick-item small { color: var(--muted); text-transform: uppercase; letter-spacing: .09em; font-size: .68rem; font-weight: 800; }
.quick-item strong { color: var(--navy-900); margin-top: 4px; font-size: .9rem; overflow-wrap: anywhere; }

.section { padding: 104px 0; }
.section-heading { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2, .principles h2, .lawyer-copy h2, .faq-copy h2, .contact-copy h2 { margin: 12px 0 18px; color: var(--navy-900); font-size: clamp(2.35rem, 4.2vw, 3.75rem); line-height: 1.05; }
.section-heading p, .lawyer-copy p, .faq-copy p { color: var(--muted); font-size: 1.02rem; }
.practice-section { background: var(--paper); }
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.practice-card { min-height: 280px; display: flex; flex-direction: column; padding: 28px; background: white; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(4,23,40,.045); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.practice-card:hover { transform: translateY(-7px); border-color: rgba(182,122,30,.38); box-shadow: var(--shadow-soft); }
.practice-top { display: flex; justify-content: space-between; align-items: center; color: var(--gold-700); }
.practice-top span { font-family: Georgia, serif; font-size: 1rem; }
.practice-top b { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .9rem; transition: border-color .2s ease, background .2s ease; }
.practice-card:hover .practice-top b { border-color: var(--gold-400); background: #fff8ec; }
.practice-card h3 { color: var(--navy-900); font-size: 1.28rem; margin: 34px 0 10px; }
.practice-card p { color: var(--muted); margin: 0 0 24px; }
.practice-card a { margin-top: auto; color: var(--gold-700); font-weight: 850; font-size: .88rem; }

.principles { background: linear-gradient(128deg, var(--navy-1000), var(--navy-800)); color: white; }
.principles-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 90px; align-items: center; }
.principles-copy h2 { color: white; }
.principles-copy p { color: #c9d6e1; }
.inline-link { display: inline-flex; align-items: center; gap: 9px; color: var(--gold-700); font-weight: 850; transition: gap .2s ease; }
.inline-link:hover { gap: 13px; }
.light-link { color: var(--gold-300); }
.principles-list { border-top: 1px solid rgba(255,255,255,.12); }
.principles-list article { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.principles-list article > span { color: var(--gold-300); font-family: Georgia, serif; }
.principles-list h3 { margin: 0 0 6px; color: white; font-size: 1.08rem; }
.principles-list p { margin: 0; color: #b9c9d6; font-size: .93rem; }

.lawyer-section { background: var(--soft); }
.lawyer-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 78px; align-items: center; }
.lawyer-portrait { position: relative; min-height: 500px; padding: 18px; background: var(--navy-900); box-shadow: var(--shadow); }
.portrait-frame { min-height: 464px; display: grid; place-items: center; align-content: center; border: 1px solid rgba(240,207,143,.30); background: radial-gradient(circle at 50% 32%, rgba(227,181,98,.24), transparent 29%), linear-gradient(150deg, #0e3558, #041524 78%); }
.portrait-initials { font-family: Georgia, serif; color: var(--gold-300); font-size: 7rem; line-height: 1; }
.portrait-frame small { color: #bbc9d5; margin-top: 16px; text-transform: uppercase; letter-spacing: .17em; font-size: .68rem; }
.portrait-note { position: absolute; left: 38px; right: 38px; bottom: 36px; color: #afbfcc; text-align: center; font-size: .72rem; }
.lawyer-lead { color: var(--ink) !important; font-size: 1.2rem !important; max-width: 690px; }
.lawyer-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lawyer-facts div { padding: 18px 18px 18px 0; }
.lawyer-facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.lawyer-facts span { display: block; color: var(--muted); text-transform: uppercase; font-size: .67rem; letter-spacing: .09em; font-weight: 800; }
.lawyer-facts strong { display: block; color: var(--navy-900); margin-top: 6px; font-size: .9rem; line-height: 1.4; }
.lawyer-note { font-size: .87rem !important; }
.lawyer-actions { display: flex; align-items: center; gap: 22px; margin-top: 26px; }

.locations { background: white; }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.location-card { position: relative; overflow: hidden; min-height: 280px; padding: 34px; border: 1px solid var(--line); background: linear-gradient(145deg, #fff, #fbf7ef); box-shadow: 0 10px 28px rgba(4,23,40,.045); }
.location-card::after { content: ""; position: absolute; width: 240px; height: 240px; right: -100px; top: -100px; border: 42px solid rgba(206,149,48,.08); border-radius: 50%; }
.location-city { color: var(--gold-700); text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 900; }
.location-card h3 { position: relative; z-index: 1; color: var(--navy-900); margin: 22px 0 4px; font-family: Georgia, serif; font-size: 1.75rem; font-weight: 500; }
.location-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); }
.location-bottom { position: absolute; z-index: 1; left: 34px; right: 34px; bottom: 28px; display: flex; justify-content: space-between; gap: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.location-bottom a { color: var(--gold-700); font-weight: 850; }

.faq-section { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; align-items: start; }
.faq-copy h2 { margin-top: 12px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; position: relative; cursor: pointer; padding: 22px 50px 22px 0; color: var(--navy-900); font-weight: 850; font-size: 1.04rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 0; top: 17px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--gold-500); border-radius: 50%; color: var(--gold-700); font-size: 1.2rem; font-weight: 500; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { margin: -4px 50px 24px 0; color: var(--muted); }

.contact-section { padding: 0 0 104px; background: var(--paper); }
.contact-shell { display: grid; grid-template-columns: .92fr 1.08fr; overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow); }
.contact-copy { padding: 54px 48px; background: linear-gradient(145deg, var(--navy-1000), var(--navy-800)); color: white; }
.contact-copy h2 { color: white; }
.contact-copy > p { color: #c8d5df; }
.contact-details { display: grid; margin-top: 34px; }
.contact-details a, .contact-detail-static { display: grid; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.contact-details span { color: #9fb2c3; text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 800; }
.contact-details strong { margin-top: 4px; color: white; overflow-wrap: anywhere; }
.contact-action { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 46px 54px; background: linear-gradient(145deg, #fff, #fbf7ef); }
.contact-logo { width: 116px; height: 116px; border-radius: 50%; object-fit: cover; box-shadow: 0 14px 34px rgba(7,29,53,.12); margin-bottom: 22px; }
.contact-kicker { color: var(--gold-700); text-transform: uppercase; letter-spacing: .15em; font-size: .7rem; font-weight: 900; }
.contact-action h3 { margin: 10px 0 12px; color: var(--navy-900); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3vw, 2.85rem); line-height: 1.05; font-weight: 500; }
.contact-action > p:not(.contact-note) { max-width: 600px; margin: 0 0 24px; color: var(--muted); }
.btn-whatsapp-direct { min-width: 250px; background: var(--green); color: white; box-shadow: 0 12px 30px rgba(22,162,94,.24); }
.btn-whatsapp-direct:hover { box-shadow: 0 16px 38px rgba(22,162,94,.30); }
.contact-secondary { margin-top: 14px; color: var(--navy-900); font-weight: 850; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(182,122,30,.45); }
.contact-note { max-width: 610px; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; line-height: 1.55; }

.footer { padding: 58px 0 24px; background: var(--navy-1000); color: #c8d4de; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 64px; }
.footer-brand > p { max-width: 470px; margin: 20px 0 0; color: #9fb2c3; font-size: .9rem; }
.brand-logo-footer { width: 68px; height: 68px; flex-basis: 68px; box-shadow: 0 10px 28px rgba(0,0,0,.24); }
.brand-footer .brand-copy strong { color: white; }
.brand-footer .brand-copy small { color: var(--gold-300); }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-column h2 { margin: 0 0 10px; color: var(--gold-300); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; }
.footer-column a:hover { color: var(--gold-300); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.11); color: #869dad; font-size: .74rem; }

.floating-whatsapp { position: fixed; z-index: 90; left: 20px; right: auto; bottom: 20px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; border: 3px solid white; box-shadow: 0 16px 38px rgba(0,0,0,.24); transition: transform .2s ease, box-shadow .2s ease; }
.floating-whatsapp img { width: 30px; height: 30px; object-fit: contain; display: block; }
.floating-whatsapp:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 4px; }
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 42px rgba(0,0,0,.28); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

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

@media (max-width: 1020px) {
  .topbar-status { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 82px); overflow-y: auto; padding: 12px 22px 24px; background: white; border-top: 1px solid var(--line); box-shadow: 0 20px 42px rgba(4,23,40,.13); flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.nav-cta) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { justify-content: center; margin-top: 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; padding-block: 74px 104px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { min-height: 430px; }
  .hero-watermark { width: min(420px, 78vw); }
  .badge-one { left: 12%; }
  .badge-two { right: 12%; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-item + .quick-item { border-left: 0; border-top: 1px solid var(--line); }
  .practice-grid { grid-template-columns: 1fr 1fr; }
  .principles-grid, .lawyer-grid, .faq-grid, .contact-shell { grid-template-columns: 1fr; gap: 48px; }
  .principles-grid { gap: 54px; }
  .lawyer-grid { gap: 50px; }
  .contact-shell { gap: 0; }
  .lawyer-portrait { max-width: 620px; width: 100%; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--container)); }
  .topbar-inner { min-height: 44px; padding-block: 6px; }
  .topbar-contact { width: 100%; justify-content: center; gap: 4px 14px; font-size: .74rem; }
  .nav-wrap { min-height: 72px; }
  .brand-logo { width: 52px; height: 52px; flex-basis: 52px; }
  .brand-copy strong { font-size: .82rem; }
  .brand-copy small { font-size: .57rem; }
  .main-nav { max-height: calc(100vh - 72px); }
  .hero-grid { padding-top: 58px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.1rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-points { font-size: .78rem; }
  .hero-visual { min-height: 390px; }
  .hero-watermark { width: min(360px, 92vw); }
  .hero-badge { display: none; }
  .quick-contact { margin-top: -32px; }
  .quick-item { padding: 20px; }
  .section { padding: 78px 0; }
  .section-heading { text-align: left; }
  .section-heading .eyebrow { justify-content: flex-start; }
  .section-heading h2, .principles h2, .lawyer-copy h2, .faq-copy h2, .contact-copy h2 { font-size: clamp(2.15rem, 10vw, 3.1rem); }
  .practice-grid, .location-grid, .footer-grid { grid-template-columns: 1fr; }
  .practice-card { min-height: 250px; }
  .principles-grid { gap: 42px; }
  .lawyer-portrait { min-height: 390px; padding: 13px; }
  .portrait-frame { min-height: 364px; }
  .portrait-initials { font-size: 5.8rem; }
  .portrait-note { left: 26px; right: 26px; bottom: 25px; }
  .lawyer-facts { grid-template-columns: 1fr; }
  .lawyer-facts div { padding: 16px 0; }
  .lawyer-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .lawyer-actions { flex-direction: column; align-items: stretch; }
  .lawyer-actions .btn { width: 100%; }
  .location-card { min-height: 300px; padding: 28px; }
  .location-bottom { left: 28px; right: 28px; flex-direction: column; gap: 6px; }
  .faq-grid { gap: 30px; }
  .contact-copy { padding: 38px 24px; }
  .contact-action { padding: 38px 24px; }
  .contact-logo { width: 96px; height: 96px; }
  .btn-whatsapp-direct { width: 100%; min-width: 0; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .floating-whatsapp { width: 54px; height: 54px; left: 14px; right: auto; bottom: 14px; }
  .floating-whatsapp img { width: 28px; height: 28px; }
}

@media (max-width: 420px) {
  .brand-copy { display: none; }
  .topbar-contact a:last-child { display: none; }
  .hero h1 { font-size: 2.75rem; }
  .hero-watermark { width: 100%; }
}

/* ===== Correcciones solicitadas ===== */

/* Séptima área: mantener la última tarjeta centrada en escritorio */
.practice-grid .practice-card:nth-child(7) {
  grid-column: 2;
}

/* Nuestros principios: composición editorial con imagen lateral */
.principles-editorial {
  padding: 0;
  background: var(--paper);
  color: var(--ink);
}
.principles-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(4,23,40,.06);
}
.principles-media {
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 24%, rgba(227,181,98,.16), transparent 28%),
    linear-gradient(145deg, var(--navy-1000), var(--navy-800));
}
.principles-media img {
  width: min(62%, 320px);
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.24));
}
.principles-editorial-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 56px;
}
.principles-editorial-copy .eyebrow {
  color: var(--gold-700);
}
.principles-editorial-copy h2 {
  color: var(--navy-900);
  margin: 18px 0 28px;
}
.principles-editorial-copy p {
  color: var(--ink);
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.8;
}
.principles-values {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 8px 0 26px;
}
.principles-values span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--navy-900);
  font-size: .76rem;
  font-weight: 800;
}

/* Fotografía real del abogado */
.lawyer-portrait-photo {
  padding: 0;
  overflow: hidden;
  background: var(--navy-900);
}
.lawyer-portrait-photo .portrait-photo {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center 18%;
}

/* Reseñas de Google */
.reviews-section {
  background: #f4f4f2;
}
.reviews-section .section-heading {
  margin-bottom: 24px;
}
.reviews-overview {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 32px;
  padding: 12px 20px;
  border: 1px solid #dedbd4;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  text-align: center;
}
.reviews-overview > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.reviews-overview strong {
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}
.overview-stars,
.review-stars {
  color: #e38a16;
  letter-spacing: .08em;
}
.reviews-overview p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 750;
}
.review-carousel {
  position: relative;
  min-height: 390px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  border-top: 1px solid #dedede;
  border-bottom: 1px solid #e7e7e7;
  background: rgba(255,255,255,.26);
}
.review-stage {
  min-width: 0;
  padding: 46px 36px 52px;
}
.review-slide {
  display: none;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}
.review-slide.is-active {
  display: block;
}
.review-text {
  max-width: 1040px;
  margin: 0 auto 22px;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  line-height: 1.45;
}
.review-stars {
  margin-bottom: 13px;
  font-size: 1rem;
}
.review-author {
  display: block;
  color: var(--navy-900);
  font-size: 1rem;
}
.review-slide time {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .85rem;
}
.review-source {
  display: block;
  margin-top: 16px;
  color: #7d8791;
  font-size: .72rem;
}
.review-google-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--gold-700);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(182,122,30,.35);
}
.review-arrow {
  width: 44px;
  height: 44px;
  margin: auto;
  display: grid;
  place-items: center;
  border: 1px solid #d7d7d3;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  color: var(--navy-900);
  font-size: 2rem;
  line-height: 1;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.review-arrow:hover:not(:disabled) {
  background: white;
  transform: translateY(-2px);
}
.review-arrow:disabled {
  opacity: .3;
  cursor: default;
}
.reviews-note {
  max-width: 700px;
  margin: 18px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: .72rem;
}

@media (max-width: 1020px) {
  .practice-grid .practice-card:nth-child(7) {
    grid-column: 1 / -1;
    width: calc(50% - 9px);
    justify-self: center;
  }
  .principles-editorial-grid {
    grid-template-columns: 1fr;
  }
  .principles-media {
    min-height: 420px;
    padding: 36px;
  }
  .principles-media img {
    width: min(58%, 280px);
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .practice-grid .practice-card:nth-child(7) {
    grid-column: auto;
    width: 100%;
  }
  .principles-editorial-grid {
    border-left: 0;
    border-right: 0;
  }
  .principles-media {
    min-height: 300px;
    padding: 28px;
  }
  .principles-media img {
    width: min(52%, 220px);
    min-height: 0;
  }
  .principles-editorial-copy {
    padding: 40px 24px 46px;
  }
  .lawyer-portrait-photo .portrait-photo {
    min-height: 420px;
    object-position: center 12%;
  }
  .review-carousel {
    min-height: 420px;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }
  .review-stage {
    padding: 36px 8px 42px;
  }
  .review-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.65rem;
  }
  .review-text {
    font-size: 1.2rem;
  }
}
