:root {
  --navy: #0D1E3A;
  --navy-soft: #1A2D4C;
  --blue: #56657B;
  --gold: #BDBCBC;
  --paper: #F3F2F0;
  --paper-deep: #E6E4E1;
  --white: #FFFFFF;
  --ink: #0D1E3A;
  --muted: #626975;
  --line: rgba(13,30,58,.14);
  --shadow: 0 28px 90px rgba(13,30,58,.12);
  --shadow-soft: 0 18px 55px rgba(13,30,58,.07);
  --radius: 28px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(13,30,58,.72); outline-offset: 4px; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(850px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--navy); text-transform: uppercase;
  font-size: .75rem; font-weight: 800; letter-spacing: .18em;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 500; margin: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.5rem); line-height: .94; letter-spacing: -.055em; }
h2 { font-size: clamp(2.25rem, 5vw, 4.65rem); line-height: 1; letter-spacing: -.04em; }
h3 { font-size: 1.72rem; line-height: 1.15; }
h4 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0; }
.muted { color: var(--muted); }
.text-link {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 20px; color: var(--navy); font-weight: 800; font-size: .9rem;
}
.text-link svg { width: 20px; }
.skip-link {
  position: fixed; left: 18px; top: -80px; z-index: 100;
  background: var(--white); color: var(--navy); padding: 12px 16px;
  border-radius: 10px; box-shadow: var(--shadow-soft);
}
.skip-link:focus { top: 18px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,242,240,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(13,30,58,.06); }
.nav { min-height: 104px; display: flex; align-items: center; justify-content: flex-start; gap: 30px; }






.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}
.brand-logo {
  display: block;
  width: 126px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  overflow: visible;
}
.footer-brand .brand-logo {
  width: 150px;
}

.nav-links { display: flex; align-items: center; gap: 25px; color: #4F5868; font-size: .88rem; font-weight: 700; margin-left: auto; }
.nav-links > a:not(.button) { position: relative; padding: 10px 0; }
.nav-links > a:not(.button)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 5px;
  height: 1px; background: var(--gold); transition: right .2s ease;
}
.nav-links > a:hover::after,
.nav-links > a[aria-current="page"]::after { right: 0; }
.nav-links > a[aria-current="page"] { color: var(--navy); }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--navy);
  cursor: pointer; align-items: center; justify-content: center; position: relative;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: ""; width: 18px; height: 1.5px; background: currentColor;
  position: absolute; transition: .2s ease;
}
.menu-toggle::before { transform: translateY(-6px); }
.menu-toggle::after { transform: translateY(6px); }
.menu-toggle.active span { opacity: 0; }
.menu-toggle.active::before { transform: rotate(45deg); }
.menu-toggle.active::after { transform: rotate(-45deg); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 21px; border-radius: 999px;
  background: var(--navy); color: var(--white);
  border: 1px solid var(--navy); font-weight: 750; font-size: .9rem;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 14px 35px rgba(13,30,58,.17);
}
.button:hover { transform: translateY(-2px); background: var(--navy-soft); box-shadow: 0 18px 42px rgba(13,30,58,.22); }
.button.ghost { background: transparent; color: var(--navy); box-shadow: none; }
.button.ghost:hover { background: rgba(255,255,255,.62); }
.button.light { background: var(--white); color: var(--navy); border-color: var(--white); }
.button.light-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.3); box-shadow: none; }

.hero {
  position: relative; overflow: hidden; min-height: calc(100vh - 86px);
  display: grid; align-items: center; padding: 72px 0 88px;
}
.hero::before {
  content: ""; position: absolute; width: 650px; height: 650px;
  border: 1px solid rgba(13,30,58,.07); border-radius: 50%;
  right: -250px; top: -220px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 85% 25%, rgba(189,188,188,.30), transparent 29rem),
              linear-gradient(180deg, rgba(255,255,255,.7), transparent 65%);
}
.hero-grid {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: 1.07fr .93fr; gap: 58px; align-items: center;
}
.hero-copy { padding: 20px 0; }
.hero-copy .eyebrow { margin-bottom: 25px; }
.hero-copy h1 span { display: block; color: var(--navy); opacity: .72; font-style: italic; }
.hero-copy > p { max-width: 640px; margin-top: 29px; color: var(--muted); font-size: clamp(1.03rem,2vw,1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 28px; color: #626975; font-size: .86rem; }
.hero-note svg { width: 18px; color: var(--gold); }
.hero-card {
  min-height: 570px; position: relative; overflow: hidden;
  border-radius: 40px; background: var(--navy); color: var(--white);
  box-shadow: var(--shadow); padding: 42px;
}
.hero-card::before {
  content: ""; position: absolute; width: 430px; height: 430px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 50%;
  right: -145px; top: -110px;
}
.hero-card::after {
  content: ""; position: absolute; width: 280px; height: 280px;
  border: 1px solid rgba(189,188,188,.38); border-radius: 50%;
  right: -40px; top: -5px;
}
.hero-emblem { width: 118px; height: 124px; object-fit: contain; position: relative; z-index: 2; }
.hero-card-copy { position: absolute; left: 42px; right: 42px; bottom: 42px; z-index: 2; }
.hero-card-copy small { display: block; color: var(--gold); font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 800; margin-bottom: 13px; }
.hero-card-copy blockquote { margin: 0; max-width: 430px; font-family: var(--serif); font-size: clamp(1.7rem,3.1vw,2.65rem); line-height: 1.12; }
.hero-card-copy p { margin-top: 24px; color: rgba(255,255,255,.65); font-size: .9rem; }
.wave-lines { position: absolute; left: -8%; right: -8%; top: 38%; opacity: .12; transform: rotate(-6deg); color: var(--white); }

.page-hero { position: relative; overflow: hidden; padding: 88px 0 78px; border-bottom: 1px solid var(--line); background: rgba(189,188,188,.12); }
.page-hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px;
  border-radius: 50%; border: 1px solid rgba(13,30,58,.08);
  box-shadow: 0 0 0 60px rgba(13,30,58,.018), 0 0 0 120px rgba(13,30,58,.014);
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .78rem; font-weight: 700; margin-bottom: 30px; }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs span::before { content: "/"; margin-right: 8px; color: var(--gold); }
.page-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.18fr .62fr; gap: 60px; align-items: end; }
.page-hero h1 { max-width: 820px; }
.page-hero h1 em { color: var(--navy); opacity: .72; font-weight: 500; }
.page-lead { color: var(--muted); font-size: clamp(1.04rem,2vw,1.22rem); max-width: 700px; margin-top: 25px; }
.page-aside { border-left: 1px solid var(--line); padding-left: 30px; color: var(--muted); }
.page-aside strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--navy); font-weight: 500; margin-bottom: 8px; }

section { scroll-margin-top: 105px; }
.section { padding: 104px 0; }
.section.compact { padding: 76px 0; }
.section.alt { background: rgba(189,188,188,.14); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1.05fr .75fr; gap: 50px; align-items: end; margin-bottom: 46px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }
.center-head { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.center-head .eyebrow { margin-bottom: 18px; }
.center-head p { color: var(--muted); margin-top: 21px; font-size: 1.02rem; }

.practice-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.practice {
  min-height: 330px; background: rgba(255,255,255,.76);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-soft); transition: transform .22s ease, box-shadow .22s ease;
}
.practice:hover { transform: translateY(-5px); box-shadow: 0 26px 70px rgba(13,30,58,.10); }
.practice-number { color: var(--navy); font-weight: 800; letter-spacing: .15em; font-size: .75rem; }
.practice h3 { margin-top: 42px; }
.practice p { margin-top: 15px; color: var(--muted); font-size: .94rem; }
.practice .text-link { margin-top: auto; padding-top: 28px; }
.arrow { width: 23px; }

.detail-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.detail-card {
  padding: 30px; border: 1px solid var(--line); border-radius: 24px;
  background: rgba(255,255,255,.7); box-shadow: var(--shadow-soft);
}
.detail-card .icon-circle {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--navy); margin-bottom: 26px;
}
.detail-card .icon-circle svg { width: 22px; }
.detail-card p { color: var(--muted); margin-top: 12px; }
.detail-card ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); }
.detail-card li + li { margin-top: 6px; }

.method-wrap {
  background: var(--white); border: 1px solid var(--line); border-radius: 38px;
  padding: 26px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px;
}
.method-intro {
  min-height: 530px; border-radius: 28px; background: var(--navy); color: var(--white);
  padding: 42px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.method-intro h2 { color: var(--white); max-width: 520px; }
.method-intro p { color: rgba(255,255,255,.68); margin-top: 22px; max-width: 430px; }
.method-intro .emblem-bg { position: absolute; width: 330px; height: 347px; object-fit: contain; right: -72px; bottom: -74px; opacity: .055; }
.method-list { display: grid; align-content: center; }
.method-item { padding: 30px 22px; display: grid; grid-template-columns: 52px 1fr; gap: 22px; border-bottom: 1px solid var(--line); }
.method-item:last-child { border-bottom: 0; }
.method-index {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--navy); font-weight: 800; font-size: .82rem;
}
.method-item p { color: var(--muted); margin-top: 6px; font-size: .94rem; }

.content-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 70px; align-items: start; }
.prose h2 { font-size: clamp(2rem,4vw,3.3rem); margin-top: 60px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 34px; font-size: 1.55rem; }
.prose p { color: var(--muted); margin-top: 18px; }
.prose ul, .prose ol { color: var(--muted); padding-left: 24px; margin: 18px 0 0; }
.prose li + li { margin-top: 8px; }
.prose .highlight {
  margin-top: 32px; padding: 27px 28px; border-left: 3px solid var(--gold);
  background: rgba(255,255,255,.72); border-radius: 0 20px 20px 0;
}
.prose .highlight strong { color: var(--navy); }
.side-card {
  position: sticky; top: 115px; padding: 28px; border-radius: 26px;
  background: var(--navy); color: var(--white); box-shadow: var(--shadow);
}
.side-card h3 { color: var(--white); }
.side-card p { color: rgba(255,255,255,.68); margin-top: 13px; font-size: .93rem; }
.side-card .button { margin-top: 24px; width: 100%; background: var(--white); color: var(--navy); border-color: var(--white); }
.side-list { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.13); }
.side-list li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.13); font-size: .85rem; color: rgba(255,255,255,.78); }

.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: 58px 1fr; gap: 20px;
  padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.7);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  color: var(--navy); border: 1px solid var(--gold); font-weight: 800; font-size: .82rem;
}
.step p { color: var(--muted); margin-top: 7px; }

.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.72); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 22px 26px; display: flex; justify-content: space-between; gap: 18px;
  color: var(--navy); font-family: var(--serif); font-size: 1.28rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--navy); font-family: var(--sans); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--muted); padding: 0 26px 24px; }

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.portrait-placeholder {
  min-height: 560px; border-radius: 38px; position: relative; overflow: hidden;
  background: linear-gradient(145deg, rgba(13,30,58,.96), rgba(26,45,76,.88)),
              radial-gradient(circle at 30% 20%, rgba(189,188,188,.35), transparent 22rem);
  box-shadow: var(--shadow);
}
.portrait-placeholder::before {
  content: "N"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: 22rem; color: rgba(255,255,255,.055);
}
.portrait-caption {
  position: absolute; left: 34px; right: 34px; bottom: 34px;
  color: var(--white); border-top: 1px solid rgba(255,255,255,.22); padding-top: 22px;
}
.portrait-caption strong { display: block; font-family: var(--serif); font-size: 1.65rem; font-weight: 500; }
.portrait-caption span { color: rgba(255,255,255,.65); font-size: .84rem; }
.about-copy .eyebrow { margin-bottom: 18px; }
.about-copy > p { color: var(--muted); font-size: 1.03rem; margin-top: 24px; }
.facts { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 32px; }
.fact { padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.62); }
.fact strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.fact span { color: var(--muted); font-size: .82rem; }

.contact-section { padding: 40px 0 100px; }
.contact-card {
  background: var(--navy); color: var(--white); border-radius: 40px;
  padding: 58px; display: grid; grid-template-columns: 1fr .82fr;
  gap: 62px; position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.contact-card::after {
  content: ""; position: absolute; width: 420px; height: 420px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.1);
  right: -170px; bottom: -230px;
}
.contact-card h2 { color: var(--white); }
.contact-card .eyebrow { margin-bottom: 19px; }
.contact-card p { color: rgba(255,255,255,.68); margin-top: 22px; max-width: 580px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.contact-data { position: relative; z-index: 2; display: grid; align-content: center; gap: 12px; }
.contact-line {
  padding: 19px 20px; border-radius: 18px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.055);
}
.contact-line small { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: .15em; font-size: .66rem; font-weight: 800; }
.contact-line strong { display: block; margin-top: 5px; font-weight: 650; overflow-wrap: anywhere; }

.contact-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.contact-option {
  padding: 30px; border: 1px solid var(--line); border-radius: 24px;
  background: rgba(255,255,255,.72); box-shadow: var(--shadow-soft);
}
.contact-option small { display: block; color: var(--navy); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 800; }
.contact-option h3 { margin-top: 18px; }
.contact-option p { color: var(--muted); margin-top: 12px; }
.contact-option .text-link { overflow-wrap: anywhere; }

.legal-banner {
  padding: 16px 18px; margin-bottom: 34px; border-radius: 16px;
  border: 1px solid var(--gold); background: rgba(189,188,188,.24); color: var(--navy);
}
.legal-banner strong { color: #0D1E3A; }

.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.related-card {
  padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.7);
}
.related-card p { color: var(--muted); margin-top: 10px; font-size: .9rem; }

footer { padding: 44px 0 34px; border-top: 1px solid var(--line); background: rgba(189,188,188,.16); }
.footer-top { display: grid; grid-template-columns: 1.1fr .6fr .6fr; gap: 55px; padding-bottom: 38px; }
.footer-brand p { color: var(--muted); max-width: 470px; margin-top: 17px; font-size: .9rem; }
.footer-column strong { display: block; color: var(--navy); margin-bottom: 14px; }
.footer-column a { display: block; color: var(--muted); padding: 4px 0; font-size: .86rem; }
.footer-column a:hover { color: var(--navy); }
.footer-bottom { display: flex; justify-content: space-between; gap: 22px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.demo-note { color: #626975; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.open {
    display: flex; position: fixed; inset: 86px 0 0 0; z-index: 49;
    background: var(--paper); padding: 36px 20px 50px;
    flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto;
  }
  .nav-links.open > a { padding: 18px; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav-links.open > a::after { display: none; }
  .nav-links.open .button { margin-top: 22px; border-bottom: 0; }
  .hero { min-height: auto; }
  .hero-grid, .page-hero-grid, .section-head, .method-wrap, .about, .contact-card, .content-layout { grid-template-columns: 1fr; }
  .page-aside { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .hero-card { min-height: 480px; }
  .practice-grid, .contact-options, .related-grid { grid-template-columns: 1fr; }
  .practice { min-height: 250px; }
  .detail-grid { grid-template-columns: 1fr; }
  .section-head { gap: 22px; }
  .about { gap: 34px; }
  .portrait-placeholder { min-height: 440px; }
  .contact-card { gap: 34px; }
  .side-card { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .brand-logo { width: 103px; }
  .nav { min-height: 90px; }

  .shell, .narrow { width: min(100% - 28px, 1180px); }
  
  
  .hero { padding-top: 42px; }
  .hero-grid { gap: 34px; }
  .hero-card { min-height: 410px; border-radius: 28px; padding: 28px; }
  .hero-card-copy { left: 28px; right: 28px; bottom: 28px; }
  .page-hero { padding: 62px 0 58px; }
  .section { padding: 76px 0; }
  .section.compact { padding: 58px 0; }
  .method-wrap { padding: 12px; border-radius: 28px; }
  .method-intro { min-height: 430px; padding: 28px; }
  .method-item { grid-template-columns: 42px 1fr; padding: 24px 12px; gap: 14px; }
  .facts { grid-template-columns: 1fr; }
  .contact-card { padding: 32px 24px; border-radius: 28px; }
  .step { grid-template-columns: 46px 1fr; padding: 22px 18px; gap: 14px; }
  .step::before { width: 40px; height: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}




.native-form-section {
  padding: 26px 0 104px;
}
.native-form-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.native-form-intro {
  min-height: 100%;
  padding: 38px;
  border-radius: 26px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.native-form-intro h2 {
  color: var(--white);
}
.native-form-intro .eyebrow {
  margin-bottom: 16px;
}
.native-form-intro p {
  margin-top: 20px;
  color: rgba(255,255,255,.68);
}
.native-form-points {
  display: grid;
  gap: 14px;
  margin-top: 42px;
}
.native-form-points div {
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.native-form-points strong,
.native-form-points span {
  display: block;
}
.native-form-points strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
}
.native-form-points span {
  margin-top: 4px;
  color: rgba(255,255,255,.62);
  font-size: .82rem;
}
.native-form {
  padding: 22px 18px 18px;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.form-field label {
  color: var(--navy);
  font-size: .88rem;
  font-weight: 750;
}
.form-field label span,
.field-help {
  color: var(--muted);
  font-weight: 500;
}
.field-help {
  font-size: .75rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 14px 15px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-field input {
  min-height: 50px;
}
.form-field textarea {
  min-height: 180px;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #858A92;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(13,30,58,.12);
  outline: none;
  background: #FFFFFF;
}
.privacy-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin: 5px 0 20px;
}
.privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--navy);
}
.privacy-check label {
  color: var(--muted);
  font-size: .84rem;
}
.privacy-check a {
  color: var(--navy);
  font-weight: 700;
}
.captcha-wrap {
  min-height: 80px;
  margin: 4px 0 20px;
}
.native-submit {
  min-width: 190px;
  cursor: pointer;
}
.native-form-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: .78rem;
}
@media (max-width: 980px) {
  .native-form-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .native-form-section {
    padding-bottom: 76px;
  }
  .native-form-layout {
    padding: 12px;
    border-radius: 26px;
  }
  .native-form-intro {
    padding: 28px 24px;
  }
  .native-form {
    padding: 16px 8px 8px;
  }
  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .native-submit {
    width: 100%;
  }
}


/* =========================================================
   AJUSTE VISUAL: ENCABEZADOS LIMPIOS Y SIN ORNAMENTOS
   ========================================================= */

/* Elimina líneas decorativas junto a los pequeños encabezados */
.eyebrow::before {
  display: none;
}

.eyebrow {
  gap: 0;
  letter-spacing: .15em;
}

/* Elimina círculos y ondas puramente decorativos */
.hero::before,
.hero-card::before,
.hero-card::after,
.page-hero::after,
.contact-card::after {
  display: none;
}

.wave-lines {
  display: none;
}

/* Encabezados interiores más limpios */
.page-hero {
  border-bottom: 0;
  background: rgba(189,188,188,.10);
}

.page-aside {
  border-left: 0;
  padding-left: 0;
}

.section.alt {
  border-block: 0;
}

/* Elimina separadores finos dentro de cuadros */
.method-item {
  border-bottom: 0;
}

.side-list {
  border-top: 0;
}

.side-list li {
  border-bottom: 0;
}

.portrait-caption {
  border-top: 0;
  padding-top: 0;
}

/* Sustituye los círculos de iconos y pasos por formas discretas */
.detail-card .icon-circle,
.method-index,
.step::before {
  border-radius: 10px;
  border: 0;
  background: rgba(189,188,188,.28);
}

/* Evita líneas finas internas en los cuadros oscuros de contacto */
.contact-line {
  border: 0;
  background: rgba(255,255,255,.08);
}

/* Mantiene los cuadros definidos sin exceso de líneas */
.practice,
.detail-card,
.step,
.faq-item,
.contact-option,
.related-card,
.fact {
  border-color: rgba(13,30,58,.09);
}

/* Encabezados de sección con separación más natural */
.section-head,
.center-head {
  margin-bottom: 40px;
}

.section-head h2,
.center-head h2 {
  max-width: 850px;
}





/* Selector de idioma circular */
.nav {
  position: relative;
}
.language-switcher {
  position: static;
  transform: none;
  z-index: 100;
  margin-left: 12px;
  flex: 0 0 auto;
  align-self: center;
}
.language-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(13,30,58,.18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.language-toggle:hover,
.language-toggle:focus-visible {
  transform: translateY(-1px);
  background: var(--navy-soft);
  box-shadow: 0 13px 28px rgba(13,30,58,.24);
  outline: none;
}
.language-code {
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .04em;
  line-height: 1;
}
.language-chevron {
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .18s ease;
}
.language-switcher.open .language-chevron {
  transform: rotate(225deg) translate(-1px,-1px);
}
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 164px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(243,242,240,.98);
  box-shadow: 0 20px 55px rgba(13,30,58,.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.98);
  transform-origin: top right;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.language-switcher.open .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.language-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 720;
}
.language-menu a:hover,
.language-menu a:focus-visible,
.language-menu a.active {
  background: rgba(189,188,188,.26);
  outline: none;
}
.language-option-code {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .03em;
}
@media (max-width: 980px) {
  .menu-toggle { margin-left: auto; }
}
@media (max-width: 860px) {
  .language-switcher {
    position: absolute;
    top: 50%;
    right: 58px;
    transform: translateY(-50%);
    margin-left: 0;
  }
  .language-toggle {
    width: 39px;
    height: 39px;
  }
  .language-menu {
    right: -2px;
  }
}

.practice-grid.expanded{grid-template-columns:repeat(3,minmax(0,1fr))}.practice-grid.expanded .practice{min-height:310px}.location-grid,.contact-layout,.content-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:clamp(36px,7vw,96px);align-items:start}.contact-form{background:rgba(255,255,255,.78);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(24px,4vw,48px);box-shadow:var(--shadow-soft)}.contact-form label{display:grid;gap:8px;margin-bottom:18px;color:var(--navy);font-weight:750;font-size:.87rem}.contact-form input,.contact-form textarea{width:100%;border:1px solid var(--line);border-radius:14px;background:#fff;padding:14px 15px;font:inherit}.contact-form textarea{min-height:180px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.checkbox-row{grid-template-columns:auto 1fr!important}.checkbox-row input{width:18px}.contact-sidebar{display:grid;gap:16px}.contact-option{border:1px solid var(--line);border-radius:20px;padding:22px;background:rgba(189,188,188,.12)}.content-layout{grid-template-columns:minmax(0,1fr) minmax(270px,.38fr)}.service-list{display:grid;gap:10px;padding:0;list-style:none}.service-list li{padding:13px 16px 13px 42px;border-radius:14px;background:rgba(189,188,188,.14);position:relative}.service-list li:before{content:"✓";position:absolute;left:16px}.sticky-card{position:sticky;top:132px}.faq-list{display:grid;gap:14px}.faq-item{background:rgba(255,255,255,.72);border:1px solid rgba(13,30,58,.09);border-radius:18px;padding:0 20px}.faq-item summary{cursor:pointer;padding:20px 0;font-weight:780}.faq-item p{padding:0 0 20px;margin:0}.center-head{text-align:center}@media(max-width:980px){.practice-grid.expanded{grid-template-columns:1fr 1fr}.location-grid,.contact-layout,.content-layout{grid-template-columns:1fr}.sticky-card{position:static}}@media(max-width:620px){.practice-grid.expanded,.form-grid{grid-template-columns:1fr}}


/* Ajustes finales de composición y llamadas a la acción */
.button.compact {
  min-height: 40px;
  padding: 0 16px;
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .01em;
  box-shadow: 0 8px 22px rgba(13,30,58,.12);
}
.contact-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.contact-actions .button.compact {
  min-width: 0;
}
.service-contact-button {
  margin-top: 20px;
}
.hero-copy h1,
.page-hero h1,
.section-head h2,
.center-head h2,
.contact-card h2,
.rich-content h2 {
  text-wrap: balance;
}
.hero-copy p,
.page-aside p,
.rich-content p,
.contact-card p,
.method-item p,
.location-grid p,
.faq-item p {
  text-align: left;
  text-wrap: pretty;
  hyphens: none;
}
.eyebrow {
  text-transform: none;
}
.contact-card {
  align-items: center;
}
.contact-card > div:first-child {
  max-width: 720px;
}
.method-intro,
.method-list,
.location-grid,
.content-layout,
.contact-layout {
  min-width: 0;
}
@media (max-width: 620px) {
  .button.compact {
    min-height: 38px;
    padding: 0 14px;
    font-size: .76rem;
  }
  .contact-card {
    padding: 26px 22px;
  }
}


/* Revisión final de alineación, márgenes y escala tipográfica */
.hero-card {
  min-height: 540px;
  display: flex;
  flex-direction: column;
  padding: clamp(36px, 4.2vw, 54px);
}
.hero-emblem {
  width: 104px;
  height: auto;
  flex: 0 0 auto;
}
.hero-card-copy {
  position: static;
  margin-top: auto;
}
.hero-card-copy small {
  margin-bottom: 16px;
}
.hero-card-copy blockquote {
  max-width: 100%;
  font-size: clamp(2.05rem, 3.1vw, 3.35rem);
  line-height: 1.07;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero-card-copy p {
  max-width: 620px;
  margin-top: 24px;
  font-size: .94rem;
  line-height: 1.7;
  text-wrap: pretty;
}
.page-hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .72fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
}
.page-hero h1 {
  max-width: 780px;
  font-size: clamp(3.15rem, 5.45vw, 5.9rem);
  text-wrap: balance;
}
.page-aside {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.page-aside p {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.72;
  text-wrap: pretty;
}
.page-aside .button {
  margin: 0;
}
.location-grid {
  grid-template-columns: minmax(0, 1.38fr) minmax(290px, .62fr);
  gap: clamp(48px, 7vw, 94px);
  align-items: center;
}
.location-grid h2 {
  max-width: 900px;
  font-size: clamp(3rem, 5.2vw, 5.35rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.location-grid > div > p {
  max-width: 900px;
  margin-top: 26px;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.75;
  text-wrap: pretty;
}
.location-grid .side-card {
  width: 100%;
}
.contact-card {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(44px, 7vw, 94px);
  align-items: end;
  padding: clamp(46px, 5vw, 70px);
}
.contact-card > div:first-child {
  max-width: 760px;
}
.contact-card h2 {
  max-width: 760px;
  font-size: clamp(3rem, 5vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.contact-card p {
  max-width: 690px;
  margin-top: 24px;
  font-size: clamp(.98rem, 1.2vw, 1.08rem);
  line-height: 1.75;
  text-wrap: pretty;
}
.contact-actions {
  align-self: end;
  justify-content: flex-end;
  margin-top: 0;
  padding-bottom: 4px;
}
.button.compact {
  min-height: 38px;
  padding-inline: 15px;
  font-size: .76rem;
  box-shadow: 0 8px 20px rgba(13,30,58,.1);
}
.rich-content,
.page-aside,
.contact-card,
.location-grid,
.hero-card-copy {
  text-align: left;
}

@media (max-width: 980px) {
  .page-hero-grid,
  .location-grid,
  .contact-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .page-aside {
    max-width: 720px;
    justify-self: start;
  }
  .contact-actions {
    justify-content: flex-start;
    padding-bottom: 0;
  }
  .location-grid h2 {
    max-width: 760px;
  }
}
@media (max-width: 620px) {
  .hero-card {
    min-height: 460px;
    padding: 30px;
  }
  .hero-card-copy blockquote {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }
  .page-hero h1,
  .location-grid h2,
  .contact-card h2 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }
  .contact-card {
    padding: 30px 24px;
  }
}


/* Página Sobre mí ampliada */
.about-hero {
  padding: clamp(72px, 9vw, 126px) 0;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}
.about-hero-copy h1 {
  max-width: 820px;
  margin: 16px 0 28px;
  text-wrap: balance;
}
.about-hero-copy p {
  max-width: 720px;
  color: var(--muted);
  text-wrap: pretty;
}
.about-hero-copy p + p {
  margin-top: 16px;
}
.about-photo {
  min-height: 590px;
  border-radius: 34px;
}
.about-story .narrow {
  max-width: 880px;
}
.about-story h2 {
  max-width: 820px;
  margin: 16px 0 30px;
  text-wrap: balance;
}
.about-story p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}
.about-story p + p {
  margin-top: 18px;
}
.about-direct-grid,
.about-practice-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}
.about-direct-grid h2,
.about-practice-grid h2 {
  margin: 16px 0 22px;
  text-wrap: balance;
}
.about-direct-grid p,
.about-long-copy p,
.about-section-copy p {
  color: var(--muted);
  text-wrap: pretty;
}
.about-quote {
  margin: 0;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 30px;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.18;
  text-wrap: balance;
}
.about-section-head {
  align-items: start;
}
.about-section-copy p + p,
.about-long-copy p + p {
  margin-top: 16px;
}
.about-three-grid,
.about-four-grid,
.about-expect-grid {
  display: grid;
  gap: 18px;
}
.about-three-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.about-four-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.about-expect-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.about-info-card,
.about-client-card,
.about-expect-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  background: rgba(255,255,255,.68);
  min-width: 0;
}
.about-info-card h3,
.about-client-card h3,
.about-expect-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
  text-wrap: balance;
}
.about-info-card p,
.about-client-card p,
.about-expect-card p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
  text-wrap: pretty;
}
.about-practice {
  background: var(--navy);
  color: var(--paper);
}
.about-practice .eyebrow,
.about-practice h2 {
  color: var(--paper);
}
.about-practice .eyebrow::before {
  background: var(--paper);
}
.about-practice .about-long-copy p {
  color: rgba(243,242,240,.78);
}
.about-centered-head {
  max-width: 820px;
  margin: 0 auto 42px;
}
.about-final-quote {
  padding: clamp(76px, 10vw, 132px) 0;
  background: var(--navy);
}
.about-final-quote blockquote {
  margin: 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.12;
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 1080px) {
  .about-four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-expect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .about-hero-grid,
  .about-direct-grid,
  .about-practice-grid {
    grid-template-columns: 1fr;
  }
  .about-photo {
    min-height: 500px;
  }
  .about-three-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .about-hero {
    padding: 54px 0 70px;
  }
  .about-photo {
    min-height: 420px;
  }
  .about-four-grid,
  .about-expect-grid {
    grid-template-columns: 1fr;
  }
  .about-info-card,
  .about-client-card,
  .about-expect-card {
    padding: 22px;
  }
  .about-quote {
    padding: 28px;
  }
}


/* Retrato profesional definitivo */
.about-photo {
  background: #0D1E3A;
  aspect-ratio: 9 / 16;
  min-height: 0;
  height: auto;
  width: min(100%, 520px);
  justify-self: end;
}
.about-photo::before {
  content: none;
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 52% 0 0;
  z-index: 1;
  background: linear-gradient(to bottom, transparent, rgba(13,30,58,.14) 28%, rgba(13,30,58,.82));
  pointer-events: none;
}
.about-photo-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
}
.about-photo .portrait-caption {
  z-index: 2;
  text-shadow: 0 1px 18px rgba(0,0,0,.35);
}
.about-portrait {
  display: flex;
  justify-content: flex-end;
}

/* =========================================================
   SISTEMA TIPOGRÁFICO DEFINITIVO
   Legibilidad, justificación y ritmo visual
   ========================================================= */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
blockquote {
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 {
  font-size: clamp(3.1rem, 6.1vw, 5.9rem);
  line-height: 1.015;
  letter-spacing: -.025em;
}

h2 {
  font-size: clamp(2.3rem, 4.45vw, 4.25rem);
  line-height: 1.065;
  letter-spacing: -.018em;
}

h3 {
  line-height: 1.22;
  letter-spacing: -.008em;
}

/* Los bloques de lectura continua se alinean a la izquierda para evitar
   separaciones excesivas entre palabras y mantener una lectura más natural. */
.hero-copy > p,
.hero-card-copy p,
.page-lead,
.page-aside p,
.section-head > p,
.section-head > div > p,
.method-intro p,
.method-item p,
.prose p,
.rich-content > p,
.side-card p,
.step p,
.faq-item p,
.about-copy > p,
.contact-card p,
.contact-option p,
.related-card p,
.native-form-intro p,
.about-hero-copy p,
.about-story p,
.about-direct-grid > div > p,
.about-section-copy p,
.about-long-copy p,
.location-grid > div > p {
  text-align: left;
  text-wrap: pretty;
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: break-word;
}

/* Titulares principales: escala contenida y aire suficiente entre líneas. */
.hero-copy h1 {
  max-width: 760px;
}

.hero-card-copy blockquote {
  font-size: clamp(1.95rem, 2.75vw, 3rem);
  line-height: 1.15;
  letter-spacing: -.012em;
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(3.15rem, 5.15vw, 5.35rem);
  line-height: 1.025;
  letter-spacing: -.022em;
}

.location-grid h2 {
  max-width: 860px;
  font-size: clamp(2.85rem, 4.7vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -.019em;
}

.contact-card h2 {
  max-width: 720px;
  font-size: clamp(2.8rem, 4.55vw, 4.7rem);
  line-height: 1.065;
  letter-spacing: -.019em;
}

.about-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3.15rem, 5.25vw, 5.35rem);
  line-height: 1.025;
  letter-spacing: -.022em;
}

.about-quote {
  line-height: 1.22;
  letter-spacing: -.008em;
}

.about-final-quote blockquote {
  max-width: 840px;
  margin-inline: auto;
  font-size: clamp(2.05rem, 3.55vw, 3.6rem);
  line-height: 1.19;
  letter-spacing: -.01em;
}

/* Ritmo vertical en páginas de servicio y textos jurídicos. */
.rich-content h2 {
  margin: 0 0 26px;
  font-size: clamp(2.45rem, 4.15vw, 4.05rem);
  line-height: 1.075;
  letter-spacing: -.017em;
  text-wrap: balance;
}

.rich-content h2:not(:first-child) {
  margin-top: 68px;
}

.rich-content h2 + p,
.rich-content > p:first-child {
  margin-top: 0;
}

.rich-content .service-list {
  margin: 0;
}

.rich-content h2 + .service-list {
  margin-top: 0;
}

.service-list + h2 {
  margin-top: 68px;
}

/* Evita que las líneas de los títulos queden excesivamente próximas a los
   textos que los siguen. */
.about-story h2,
.about-direct-grid h2,
.about-practice-grid h2,
.about-section-head h2,
.about-centered-head h2 {
  line-height: 1.075;
  letter-spacing: -.017em;
}

.about-story h2 {
  margin-bottom: 34px;
}

.about-direct-grid h2,
.about-practice-grid h2 {
  margin-bottom: 26px;
}

/* Medidas de seguridad para palabras largas en gallego y portugués. */
.about-info-card,
.about-client-card,
.about-expect-card,
.practice,
.detail-card,
.contact-option,
.related-card,
.side-card,
.contact-line {
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width: 980px) {
  h1 {
    font-size: clamp(3rem, 8vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.35rem, 6.5vw, 3.8rem);
  }

  .page-hero h1,
  .about-hero-copy h1 {
    font-size: clamp(3rem, 7.8vw, 4.75rem);
  }
}

@media (max-width: 620px) {
  h1,
  .page-hero h1,
  .about-hero-copy h1 {
    font-size: clamp(2.78rem, 12.4vw, 3.45rem);
    line-height: 1.045;
    letter-spacing: -.017em;
  }

  h2,
  .rich-content h2,
  .location-grid h2,
  .contact-card h2 {
    font-size: clamp(2.12rem, 10.2vw, 3rem);
    line-height: 1.09;
    letter-spacing: -.012em;
  }

  h3 {
    line-height: 1.24;
  }

  .hero-card-copy blockquote {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
    line-height: 1.17;
    letter-spacing: -.008em;
  }

  .about-quote {
    line-height: 1.24;
  }

  .about-final-quote blockquote {
    font-size: clamp(2rem, 9.5vw, 2.75rem);
    line-height: 1.22;
  }

  .rich-content h2:not(:first-child),
  .service-list + h2 {
    margin-top: 54px;
  }
}

@media (max-width: 980px) {
  .about-portrait {
    justify-content: flex-start;
  }
  .about-photo {
    width: min(100%, 480px);
  }
}

@media (max-width: 700px) {
  .about-photo {
    width: 100%;
  }
}


/* =========================================================
   INFORMACIÓN LEGAL Y CONTACTO DEFINITIVOS
   ========================================================= */
.legal-hero .page-aside { max-width: 560px; }
.legal-section { padding-top: clamp(58px, 7vw, 92px); }
.legal-content { max-width: 1040px; }
.legal-content > p,
.legal-content > ul,
.legal-content > ol { max-width: 870px; }
.legal-content h2 {
  max-width: 900px;
  margin: 68px 0 22px;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -.014em;
  text-wrap: balance;
}
.legal-content h2:first-of-type { margin-top: 58px; }
.legal-content p,
.legal-content li,
.legal-table td,
.legal-table th {
  text-align: left;
  hyphens: none;
  word-spacing: normal;
  overflow-wrap: break-word;
}
.legal-content p {
  color: var(--muted);
  line-height: 1.82;
  text-wrap: pretty;
}
.legal-content p + p { margin-top: 18px; }
.legal-content ul:not(.legal-data-list),
.legal-content ol {
  margin: 22px 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}
.legal-content li { line-height: 1.72; }
.legal-content li + li { margin-top: 10px; }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; }
.legal-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--line);
}
.legal-summary > div {
  min-width: 0;
  padding: 26px 24px;
  background: rgba(255,255,255,.74);
}
.legal-summary span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.legal-summary strong {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: break-word;
}
.legal-summary a { text-decoration: none; }
.legal-data-list {
  max-width: 900px !important;
  margin: 28px 0 30px !important;
  padding: 0 !important;
  list-style: none;
  border-top: 1px solid var(--line);
}
.legal-data-list li {
  display: grid;
  grid-template-columns: minmax(210px,.68fr) minmax(0,1.32fr);
  gap: 28px;
  margin: 0 !important;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.legal-data-list strong { color: var(--navy); }
.legal-data-list span { color: var(--muted); }
.legal-table-wrap {
  width: 100%;
  margin: 30px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.68);
  -webkit-overflow-scrolling: touch;
}
.legal-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}
.legal-table th,
.legal-table td {
  padding: 18px 20px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.58;
}
.legal-table th {
  color: var(--navy);
  background: rgba(13,30,58,.055);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.legal-table td { color: var(--muted); font-size: .91rem; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table code { color: var(--navy); font-size: .9em; }
.legal-updated {
  margin-top: 64px !important;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--navy) !important;
  font-size: .86rem;
  font-weight: 700;
}
.privacy-layer {
  margin-top: 4px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,255,255,.62);
}
.privacy-layer > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
}
.privacy-layer p {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.62;
  text-align: left;
}
.privacy-layer a,
.hcaptcha-note a { text-decoration: underline; text-underline-offset: 2px; }
.form-privacy-warning {
  margin: 0 0 6px;
  padding: 16px 18px;
  border-left: 3px solid var(--navy);
  color: var(--muted);
  background: rgba(13,30,58,.045);
  font-size: .82rem;
  line-height: 1.6;
  text-align: left;
}
.hcaptcha-note {
  margin: -4px 0 2px;
  color: var(--muted);
  font-size: .73rem;
  line-height: 1.55;
  text-align: left;
}
.botcheck {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.contact-option p { margin-top: 10px; }
.footer-contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin-top: 18px;
  color: var(--muted);
  font-size: .82rem;
}
.footer-contact-links a { transition: color .2s ease; }
.footer-contact-links a:hover { color: var(--navy); }
.professional-note { text-align: right; }

@media (max-width: 980px) {
  .legal-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .legal-content h2 { margin-top: 52px; }
  .legal-summary { grid-template-columns: 1fr; }
  .legal-summary > div { padding: 21px 20px; }
  .legal-data-list li { grid-template-columns: 1fr; gap: 5px; }
  .legal-table { min-width: 620px; }
  .professional-note { text-align: left; }
  .footer-bottom { align-items: flex-start; }
}


/* Canal alternativo de contacto por WhatsApp */
.whatsapp-option a {
  display: inline-block;
  margin-top: 6px;
}
.whatsapp-option p {
  margin-top: 12px;
}


/* =========================================================
   ACTUALIDAD — PORTADA Y ARTÍCULO
   Diseño aprobado: fondos planos, título horizontal e imagen propia.
   ========================================================= */
.news-hero,
.article-hero-flat { background: var(--paper); }
.news-hero { padding: 52px 0 88px; }
.news-hero .breadcrumbs { margin-bottom: clamp(70px,9vw,128px); }
.news-hero-copy { text-align: center; }
.news-hero-copy .eyebrow { justify-content: center; }
.news-hero-copy .eyebrow::before { display: none; }
.news-hero-copy h1 {
  width: 100%;
  max-width: none;
  margin: 32px auto 0;
  font-size: clamp(3.05rem,6.2vw,5.8rem);
  line-height: 1.03;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.news-hero-copy p {
  max-width: 960px;
  margin: 34px auto 0;
  color: var(--muted);
  font-size: clamp(1.08rem,2vw,1.35rem);
  line-height: 1.65;
  text-align: center;
  text-wrap: balance;
}
.news-section { padding: 54px 0 112px; background: var(--paper); }
.news-heading { margin-bottom: 30px; }
.news-heading .eyebrow { margin-bottom: 20px; }
.news-heading h2 { font-size: clamp(2.6rem,5.2vw,4.7rem); }
.featured-article {
  display: grid;
  grid-template-columns: minmax(340px,.82fr) minmax(0,1.18fr);
  width: min(1080px,100%);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
}
.featured-image {
  position: relative;
  min-height: 405px;
  overflow: hidden;
  background: #0D1E3A;
}
.featured-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.featured-logo {
  position: absolute;
  left: 28px;
  top: 26px;
  width: 58px;
  transform: none;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.22));
}
.featured-content {
  min-width: 0;
  padding: 38px 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-meta,
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.news-meta > * + *::before,
.article-meta > * + *::before { content: "·"; margin-right: 20px; color: var(--gold); }
.featured-content h2 { margin-top: 22px; font-size: clamp(2.05rem,3vw,2.8rem); line-height: 1.08; letter-spacing: -.026em; }
.featured-content p { margin-top: 18px; color: var(--muted); font-size: .96rem; line-height: 1.68; }
.featured-content .text-link { margin-top: 24px; }

.article-hero-flat { padding: 52px 0 76px; }
.article-hero-flat .breadcrumbs { margin-bottom: clamp(54px,7vw,92px); }
.article-hero-flat > .shell > .eyebrow::before { display: none; }
.article-hero-flat h1 {
  max-width: 1120px;
  margin-top: 26px;
  font-size: clamp(3rem,6vw,6rem);
  line-height: 1.02;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.article-deck { max-width: 970px; margin-top: 32px; color: var(--muted); font-size: clamp(1.08rem,2vw,1.32rem); line-height: 1.7; }
.article-meta { margin-top: 30px; }
.article-cover {
  position: relative;
  height: clamp(360px,52vw,670px);
  margin: 58px 0 0;
  overflow: hidden;
  border-radius: 28px;
  background: #151d2b;
  box-shadow: var(--shadow-soft);
}
.article-cover > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.article-cover-logo {
  position: absolute;
  left: clamp(38px,7vw,100px);
  top: 50%;
  width: clamp(155px,20vw,250px);
  transform: translateY(-50%);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.25));
}
.article-wrap { padding: 88px 0 112px; background: #fff; }
.article-layout { display: grid; grid-template-columns: minmax(0,760px) minmax(260px,330px); gap: clamp(50px,8vw,100px); align-items: start; justify-content: space-between; }
.article-body { min-width: 0; }
.article-intro { margin-bottom: 58px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.article-intro p { color: var(--navy); font-family: var(--serif); font-size: clamp(1.35rem,2.1vw,1.75rem); line-height: 1.55; }
.article-intro p + p { margin-top: 24px; }
.article-section { padding-top: 26px; }
.article-section + .article-section { margin-top: 58px; }
.article-section h2 { font-size: clamp(2.15rem,3.9vw,3.45rem); line-height: 1.08; letter-spacing: -.026em; text-wrap: balance; }
.article-section p { margin-top: 20px; color: var(--muted); font-size: 1.02rem; line-height: 1.88; text-align: left; text-wrap: pretty; }
.article-emphasis { padding: 22px 24px; background: var(--paper); color: var(--navy) !important; font-family: var(--serif); font-size: 1.25rem !important; }
.article-editorial { margin-top: 72px; padding: 28px; background: var(--paper); }
.article-editorial strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.article-editorial p { margin-top: 10px; color: var(--muted); line-height: 1.7; }
.article-back { display: inline-flex; margin-top: 38px; color: var(--navy); font-weight: 800; }
.article-sidebar { display: grid; gap: 18px; position: sticky; top: 126px; }
.article-side-card { padding: 28px; border: 1px solid var(--line); background: var(--paper); }
.article-side-card .eyebrow::before { display: none; }
.article-toc { margin: 22px 0 0; padding: 0; list-style: none; }
.article-toc li + li { border-top: 1px solid var(--line); }
.article-toc a { display: block; padding: 12px 0; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.article-toc a:hover { color: var(--navy); }
.article-side-card.navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.article-side-card.navy h3 { color: var(--white); }
.article-points { margin: 20px 0 0; padding-left: 20px; color: rgba(255,255,255,.76); }
.article-points li + li { margin-top: 12px; }
.article-side-card.navy .button { width: 100%; margin-top: 26px; background: var(--white); color: var(--navy); border-color: var(--white); }

@media (max-width: 1140px) and (min-width: 981px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.open {
    display: flex; position: fixed; inset: 104px 0 0 0; z-index: 49;
    background: var(--paper); padding: 36px 20px 50px;
    flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto;
  }
  .nav-links.open > a { padding: 18px; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav-links.open > a::after { display: none; }
  .nav-links.open .button { margin-top: 22px; border-bottom: 0; }
}
@media (max-width: 980px) {
  .featured-article { grid-template-columns: 1fr; }
  .featured-image { min-height: 390px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-side-card:first-child { display: none; }
}
@media (max-width: 620px) {
  .news-hero { padding: 36px 0 60px; }
  .news-hero .breadcrumbs { margin-bottom: 58px; }
  .news-hero-copy h1 { margin-top: 24px; font-size: clamp(2.85rem,14vw,4.25rem); line-height: 1.08; }
  .news-hero-copy p { margin-top: 24px; font-size: 1rem; text-align: left; }
  .news-section { padding: 40px 0 76px; }
  .news-heading { margin-bottom: 24px; }
  .featured-article { border-radius: 22px; }
  .featured-image { min-height: 300px; }
  .featured-logo { left: 20px; top: 20px; width: 48px; }
  .featured-content { padding: 28px 24px 32px; }
  .featured-content h2 { font-size: 2.05rem; }
  .news-meta > * + *::before,
  .article-meta > * + *::before { display: none; }
  .article-hero-flat { padding: 36px 0 54px; }
  .article-hero-flat .breadcrumbs { margin-bottom: 52px; }
  .article-hero-flat h1 { font-size: clamp(2.65rem,13vw,4.3rem); line-height: 1.08; }
  .article-deck { font-size: 1rem; }
  .article-meta { flex-direction: column; gap: 7px; }
  .article-cover { height: 310px; margin-top: 38px; border-radius: 20px; }
  .article-cover-logo { left: 26px; width: 128px; }
  .article-wrap { padding: 60px 0 78px; }
  .article-intro { margin-bottom: 42px; padding-bottom: 32px; }
  .article-intro p { font-size: 1.25rem; }
  .article-section + .article-section { margin-top: 45px; }
  .article-section h2 { font-size: 2.2rem; }
  .article-section p { font-size: .98rem; line-height: 1.78; }
  .article-side-card { padding: 24px; }
}


/* Ajustes 21-07-2026: menú móvil completo y entradilla de Actualidad más contenida */
.article-intro p {
  font-size: clamp(1.12rem, 1.45vw, 1.35rem);
  line-height: 1.66;
}

@media (max-width: 1140px) {
  body.menu-open .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header .nav { position: static; }
  .nav-links.open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: calc(100vh - 104px);
    height: calc(100dvh - 104px);
    max-height: calc(100vh - 104px);
    max-height: calc(100dvh - 104px);
    padding: 24px max(20px, env(safe-area-inset-right)) calc(34px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open .button { flex: 0 0 auto; }
}

@media (max-width: 620px) {
  .nav-links.open {
    height: calc(100vh - 90px);
    height: calc(100dvh - 90px);
    max-height: calc(100vh - 90px);
    max-height: calc(100dvh - 90px);
    padding-top: 14px;
  }
  .nav-links.open > a { padding: 15px 16px; }
  .nav-links.open .button { margin-top: 14px; margin-bottom: 8px; }
  .article-intro p { font-size: 1.08rem; line-height: 1.68; }
}


/* Páginas interiores de servicios con opciones en tarjetas */
.area-intro{display:grid;grid-template-columns:minmax(270px,.55fr) minmax(0,1.45fr);gap:clamp(42px,7vw,92px);align-items:start}.area-intro-copy{position:sticky;top:136px}.area-intro-copy .eyebrow{margin-bottom:20px}.area-intro-copy h2{font-size:clamp(2.25rem,4.8vw,4.35rem)}.area-intro-copy p{margin-top:22px;color:var(--muted);font-size:1.02rem}.area-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.area-card{min-height:300px;padding:29px;border:1px solid var(--line);border-radius:26px;background:rgba(255,255,255,.78);box-shadow:var(--shadow-soft);display:flex;flex-direction:column;transition:transform .22s ease,box-shadow .22s ease}.area-card:hover{transform:translateY(-5px);box-shadow:0 26px 70px rgba(13,30,58,.1)}.area-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.area-number{font-size:.72rem;font-weight:850;letter-spacing:.16em;color:var(--navy)}.area-tag{border:1px solid var(--line);border-radius:999px;padding:6px 10px;color:var(--muted);font-size:.67rem;font-weight:800}.area-card h3{margin-top:37px;font-size:clamp(1.45rem,2.2vw,1.85rem)}.area-card p{margin-top:14px;color:var(--muted);font-size:.9rem}.area-card .mini-link{margin-top:auto;padding-top:22px;font-size:.74rem;color:var(--navy);font-weight:800}.approach-section{padding:0 0 104px}.approach-panel{position:relative;overflow:hidden;border-radius:38px;background:var(--navy);color:var(--white);padding:clamp(32px,5vw,58px);box-shadow:var(--shadow)}.approach-panel:after{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(255,255,255,.09);border-radius:50%;right:-160px;top:-220px}.approach-panel .eyebrow{color:var(--white)}.approach-panel h2{color:var(--white);max-width:760px;margin-top:18px}.approach-panel>p{color:rgba(255,255,255,.67);max-width:760px;margin-top:20px}.approach-grid{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:40px}.approach-card{padding:25px;border:1px solid rgba(255,255,255,.14);border-radius:22px;background:rgba(255,255,255,.055)}.approach-card small{color:var(--gold);font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;font-weight:850}.approach-card h3{color:var(--white);margin-top:12px}.approach-card p{color:rgba(255,255,255,.65);margin-top:10px;font-size:.88rem}@media(max-width:980px){.area-intro{grid-template-columns:1fr}.area-intro-copy{position:static}.approach-grid{grid-template-columns:1fr}}@media(max-width:620px){.area-grid{grid-template-columns:1fr}.area-card{min-height:0}}

/* Equilibrio visual cuando el catálogo contiene 13 áreas. */
@media (min-width:981px){
  .practice-grid.expanded > .practice:last-child:nth-child(3n + 1){grid-column:2}
}
@media (min-width:621px) and (max-width:980px){
  .practice-grid.expanded > .practice:last-child:nth-child(odd){grid-column:1 / -1;width:calc(50% - 9px);justify-self:center}
}
@media (max-width:620px){
  .practice-grid.expanded > .practice:last-child{grid-column:auto;width:auto}
}


/* Equipo de dos profesionales: fotografías proporcionales y contenido protegido */
.about-team-shell { display: grid; gap: clamp(34px, 5vw, 62px); }
.about-team-heading { width: 100%; max-width: 1180px; }
.about-team-heading h1 { width: 100%; max-width: none; margin-top: 16px; font-size: clamp(2.8rem, 4.2vw, 4.2rem); line-height: 1.03; letter-spacing: -.018em; }
.team-heading-line { display: block; white-space: nowrap; }
.team-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(280px, 420px)); justify-content: center; gap: clamp(24px, 3.2vw, 40px); align-items: start; max-width: 980px; margin-inline: auto; }
.team-member { min-width: 0; width: 100%; max-width: 420px; justify-self: center; }
.team-member-photo { position: relative; overflow: hidden; width: 100%; aspect-ratio: 9 / 16; border-radius: 28px; background: var(--navy); box-shadow: var(--shadow-soft); }
.team-member-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.team-member-photo-placeholder { display: grid; place-items: center; border: 1px solid rgba(13,30,58,.08); background: linear-gradient(150deg, #0D1E3A, #182B4B); }
.team-member-photo-placeholder img { width: min(34%, 170px); height: auto; opacity: .78; }
.team-member-meta { display: grid; gap: 7px; padding: 20px 4px 0; }
.team-member-meta strong { color: var(--navy); font-family: var(--serif); font-size: clamp(1.45rem, 2.1vw, 2rem); font-weight: 500; line-height: 1.12; letter-spacing: -.012em; white-space: nowrap; }
.team-member-meta span { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.about-team-copy { max-width: 850px; margin-inline: auto; color: var(--muted); font-size: 1.02rem; line-height: 1.78; text-align: center; }
.about-team-copy p { text-align: center; }
.about-team-copy p + p { margin-top: 16px; }
@media (max-width: 980px) {
  .team-heading-line { display: inline; white-space: normal; }
  .team-heading-line + .team-heading-line::before { content: " "; }
}
@media (max-width: 760px) {
  .team-heading-line { display: inline; white-space: normal; }
  .team-photo-grid { grid-template-columns: 1fr; max-width: 420px; }
  .team-member-meta strong { white-space: normal; }
}

/* El catálogo contiene 14 servicios: dos tarjetas centradas en la última fila. */
@media (min-width: 981px) {
  .practice-grid.expanded { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .practice-grid.expanded > .practice { grid-column: span 2; }
  .practice-grid.expanded > .practice:nth-last-child(2):nth-child(3n + 1) { grid-column: 2 / span 2; }
}

/* Equipo: titulares principales limitados a dos líneas en escritorio. */
.about-story .narrow {
  max-width: 1180px;
}
.about-story .about-two-line-heading,
.about-centered-head .about-two-line-heading {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  font-size: clamp(2.25rem, 3.25vw, 3.2rem);
  line-height: 1.075;
  letter-spacing: -.017em;
  text-wrap: initial;
}
.about-story .about-two-line-heading {
  margin-inline: 0;
}
.about-heading-line {
  display: block;
  white-space: nowrap;
}
@media (max-width: 860px) {
  .about-heading-line {
    display: inline;
    white-space: normal;
  }
  .about-heading-line + .about-heading-line::before {
    content: " ";
  }
}
.about-story .narrow {
  width: min(1180px, calc(100% - 40px));
}
.about-centered-head {
  width: min(1180px, 100%);
  max-width: 1180px;
}

/* Reserva de consultas integrada */
.booking-section{padding-top:0}.booking-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:28px}.booking-intro h1{max-width:760px;font-size:clamp(2.25rem,5vw,4.65rem);line-height:1;letter-spacing:-.04em}.booking-intro p{max-width:560px;color:var(--muted)}.booking-card{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr);gap:clamp(28px,5vw,70px);padding:clamp(24px,4vw,48px);border:1px solid var(--line);border-radius:var(--radius);background:rgba(255,255,255,.78);box-shadow:var(--shadow-soft)}.booking-step-label{display:flex;align-items:center;gap:10px;margin-bottom:18px;color:var(--navy);font-size:.74rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.booking-step-label span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--navy);color:#fff;letter-spacing:0}.booking-calendar-panel{min-width:0}.booking-calendar-toolbar{display:grid;grid-template-columns:42px 1fr 42px;gap:10px;align-items:center;margin-bottom:14px}.booking-calendar-toolbar button{width:42px;height:42px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--navy);font-size:1.35rem;font-weight:800}.booking-calendar-toolbar button:disabled{opacity:.32;cursor:not-allowed}.booking-month{font-family:var(--serif);font-size:1.45rem;font-weight:500;text-align:center;text-transform:capitalize}.booking-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;min-height:328px}.booking-calendar.loading{opacity:.55}.booking-weekday{display:grid;place-items:center;height:30px;color:var(--muted);font-size:.72rem;font-weight:800;text-transform:uppercase}.booking-day{aspect-ratio:1;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--muted);font-weight:700}.booking-day.outside{opacity:.32}.booking-day.available{border-color:rgba(13,30,58,.13);background:#fff;color:var(--navy);box-shadow:0 5px 14px rgba(13,30,58,.04)}.booking-day.available:hover{border-color:var(--navy);transform:translateY(-1px)}.booking-day.selected{background:var(--navy);color:#fff;border-color:var(--navy)}.booking-day:disabled{cursor:not-allowed}.booking-time-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:25px 0 12px}.booking-time-heading h3{font-size:1.22rem}.booking-time-heading small{color:var(--muted);font-size:.73rem}.booking-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;min-height:48px}.booking-slot{min-height:46px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--navy);font-weight:800}.booking-slot:hover,.booking-slot.selected{background:var(--navy);color:#fff;border-color:var(--navy)}.booking-slots-empty{grid-column:1/-1;padding:13px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:.82rem;text-align:center}.booking-status{min-height:25px;margin-top:13px;color:var(--muted);font-size:.82rem}.booking-status.error{color:#9b3030;font-weight:700}.booking-fields{display:grid;align-content:start}.booking-fields label{display:grid;gap:8px;margin-bottom:17px;color:var(--navy);font-size:.87rem;font-weight:750}.booking-fields input,.booking-fields select,.booking-fields textarea{width:100%;border:1px solid var(--line);border-radius:14px;background:#fff;padding:14px 15px;font:inherit}.booking-fields textarea{min-height:145px;resize:vertical}.booking-fields .form-grid{margin:0}.booking-hidden{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.booking-privacy{margin-top:5px}.booking-submit{margin-top:8px;width:100%}.booking-submit:disabled{opacity:.65;cursor:wait}.booking-note{margin-top:14px;color:var(--muted);font-size:.79rem;line-height:1.6}.booking-confirmation{margin-top:24px;padding:24px;border:1px solid rgba(47,143,78,.28);border-radius:20px;background:rgba(47,143,78,.07)}.booking-confirmation h3{color:var(--navy)}.booking-confirmation p{margin-top:9px;color:#3d4652}.other-contact-heading{margin-bottom:26px}.other-contact-heading p{margin-top:10px;color:var(--muted);max-width:720px}@media(max-width:980px){.booking-card{grid-template-columns:1fr}.booking-intro{align-items:flex-start;flex-direction:column}.booking-calendar{max-width:590px}.booking-slots{max-width:590px}}@media(max-width:620px){.booking-card{padding:22px 16px;border-radius:24px}.booking-calendar{gap:4px;min-height:290px}.booking-day{border-radius:9px;font-size:.84rem}.booking-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.booking-time-heading{align-items:flex-start;flex-direction:column;gap:4px}}
.booking-calendar-panel>label{display:grid;gap:8px;margin-bottom:24px;color:var(--navy);font-size:.87rem;font-weight:750}.booking-calendar-panel select{width:100%;min-height:50px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:13px 42px 13px 15px;font:inherit;color:var(--navy)}.booking-step-label-secondary{margin-top:8px;margin-bottom:12px}

/* Prevent the externally rendered hCaptcha widget from widening narrow screens. */
.contact-layout,
.contact-form,
.booking-fields,
.booking-captcha {
  min-width: 0;
}

.booking-captcha {
  margin: 2px 0 10px;
}

.booking-captcha .hcaptcha-note {
  margin-top: 4px;
}

.h-captcha {
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 389px) {
  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 350px) {
  .contact-form {
    padding: 16px;
  }

  .h-captcha {
    height: 63px;
  }

  .h-captcha iframe {
    transform: scale(.8);
    transform-origin: 0 0;
  }
}

@media (min-width: 351px) and (max-width: 374px) {
  .h-captcha {
    height: 70px;
  }

  .h-captcha iframe {
    transform: scale(.92);
    transform-origin: 0 0;
  }
}

@media (min-width: 375px) and (max-width: 389px) {
  .h-captcha {
    height: 75px;
  }

  .h-captcha iframe {
    transform: scale(.97);
    transform-origin: 0 0;
  }
}

/* Keep the seven-column booking calendar inside 320 px screens. */
.booking-calendar {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.booking-weekday,
.booking-day {
  min-width: 0;
}
.booking-day {
  padding-inline: 0;
}

/* Logo oficial completo: conserva su proporción y nunca se recorta. */
.brand-logo {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.site-header .brand-logo {
  width: 108px;
}

.footer-brand .brand-logo {
  width: 132px;
}

/* Composición solicitada para los tres titulares en pantallas de escritorio. */
.hero-copy .home-hero-title {
  max-width: none;
  line-height: 1.02;
  letter-spacing: -.024em;
}

.hero-copy .home-hero-title-line {
  display: block;
}

.hero-copy .home-hero-title-line-primary {
  color: var(--navy);
  opacity: 1;
  font-style: normal;
}

.hero-copy .home-hero-title-line-secondary {
  color: var(--navy);
  opacity: .72;
  font-style: italic;
}

.home-practice-head {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.home-practice-head > p {
  max-width: 560px;
  justify-self: start;
}

@media (min-width: 981px) {
  .hero-grid {
    width: min(1280px, calc(100% - 40px));
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr);
    gap: clamp(42px, 4vw, 54px);
  }

  .hero-copy .home-hero-title {
    font-size: clamp(3.1rem, 4.6vw, 4.25rem);
  }

  .hero-copy .home-hero-title-line,
  .home-practice-head .home-practice-title,
  .page-hero .faq-page-title {
    white-space: nowrap;
    text-wrap: nowrap;
  }

  .home-practice-head .home-practice-title {
    max-width: none;
    font-size: clamp(2.4rem, 3.75vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: -.018em;
  }

  .page-hero .faq-page-title {
    max-width: none;
    font-size: clamp(3.15rem, 4.55vw, 4.25rem);
  }
}

@media (max-width: 980px) {
  .home-practice-head > p {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header .brand-logo {
    width: 90px;
  }

  .footer-brand .brand-logo {
    width: 116px;
  }

  .hero-copy .home-hero-title-line {
    white-space: normal;
  }
}

/* Ajustes finales de portada y Equipo — 27-07-2026 */
@media (min-width: 981px) {
  .hero {
    min-height: auto;
    align-items: start;
    padding-top: clamp(46px, 4.8vw, 68px);
  }
}

.hero-emblem {
  transform: translateY(-12px);
}

.hero-card-copy blockquote {
  font-size: clamp(1.9rem, 2.65vw, 2.9rem);
  line-height: 1.1;
  text-wrap: initial;
}

.hero-quote-line {
  display: block;
  white-space: nowrap;
}

.about-hero {
  padding: clamp(44px, 5vw, 72px) 0 clamp(72px, 7vw, 104px);
}

.team-photo-grid {
  grid-template-columns: repeat(2, minmax(260px, 390px));
  max-width: 900px;
}

.team-member {
  max-width: 390px;
}

.team-member-photo {
  aspect-ratio: 2 / 3;
}

.team-member-image {
  object-position: center 54%;
}

@media (max-width: 980px) {
  .hero-emblem {
    transform: translateY(-8px);
  }
}

@media (max-width: 760px) {
  .hero-quote-line {
    white-space: normal;
  }
  .team-photo-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 390px;
    gap: 38px;
  }
  .team-member {
    width: 100%;
    max-width: 390px;
  }
  .team-member-photo {
    aspect-ratio: 9 / 16;
  }
  .team-member-image {
    object-fit: contain;
    object-position: center;
  }
  .team-member-meta {
    padding: 16px 2px 0;
  }
}



/* 2026-07-27 quote line adjustment */
.hero-card-copy blockquote {
  max-width: 470px;
  font-size: clamp(1.72rem, 2.38vw, 2.72rem);
  line-height: 1.12;
}

.hero-quote-line {
  display: block;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-card-copy blockquote {
    max-width: 100%;
    font-size: clamp(1.62rem, 5.6vw, 2.35rem);
  }
}

@media (max-width: 760px) {
  .hero-quote-line {
    white-space: normal;
  }
}


/* 2026-07-27 compact quote card composition */
.hero-card-copy {
  margin-top: clamp(18px, 2vw, 28px);
}

@media (max-width: 980px) {
  .hero-card-copy {
    margin-top: 20px;
  }
}

/* 2026-07-27: separación entre selector de idioma y menú móvil */
@media (max-width: 860px) {
  .language-switcher {
    right: 70px;
  }
}

/* Asistencia al detenido 24 h — 24-09-2026 */
.urgent-hero{padding:74px 0 72px;background:linear-gradient(180deg,rgba(189,188,188,.12),rgba(243,242,240,.62));}
.urgent-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.18fr) minmax(300px,.58fr);gap:clamp(34px,6vw,74px);align-items:center;}
.urgent-hero-copy h1{max-width:870px;font-size:clamp(3rem,6.1vw,5.65rem);line-height:.98;letter-spacing:-.035em;}
.urgent-lead{max-width:760px;margin-top:24px;color:var(--muted);font-size:clamp(1rem,1.45vw,1.16rem);line-height:1.7;}
.urgent-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:30px;}
.urgent-call{min-width:190px;justify-content:center;}
.urgent-phone-card{position:relative;overflow:hidden;background:var(--navy);color:var(--white);border-radius:32px;padding:clamp(28px,4vw,42px);box-shadow:var(--shadow);}
.urgent-phone-card:after{content:"";position:absolute;width:250px;height:250px;border:1px solid rgba(255,255,255,.11);border-radius:50%;right:-105px;top:-115px;}
.urgent-phone-card>*{position:relative;z-index:2;}
.urgent-status{display:inline-flex;align-items:center;gap:8px;font-size:.72rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:rgba(255,255,255,.78);}
.urgent-status:before{content:"";width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 0 5px rgba(255,255,255,.1);}
.urgent-phone-card h2{margin-top:25px;color:var(--white);font-size:clamp(1.75rem,3vw,2.7rem);line-height:1.08;}
.urgent-phone-card p{margin-top:18px;color:rgba(255,255,255,.7);}
.urgent-phone-number{display:block;margin-top:26px;color:var(--white);font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.55rem,2.5vw,2.15rem);text-decoration:none;}
.urgent-phone-card .button{margin-top:20px;width:100%;background:var(--white);color:var(--navy);border-color:var(--white);}
.urgent-phone-card small{display:block;margin-top:14px;color:rgba(255,255,255,.55);font-size:.72rem;}
.urgent-home-strip{padding:26px 0 8px;}
.urgent-home-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(430px,.78fr);gap:28px;align-items:center;padding:28px 30px;border:1px solid var(--line);border-radius:28px;background:rgba(255,255,255,.72);box-shadow:var(--shadow-soft);}
.urgent-home-panel h2{font-size:clamp(1.8rem,3.1vw,2.8rem);margin-top:9px;}
.urgent-home-panel p{color:var(--muted);margin-top:12px;max-width:650px;}
.urgent-home-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.urgent-city-quick{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid var(--line);border-radius:20px;text-decoration:none;background:rgba(243,242,240,.72);transition:transform .2s ease,box-shadow .2s ease;}
.urgent-city-quick:hover{transform:translateY(-3px);box-shadow:var(--shadow-soft);}
.urgent-city-quick strong{font-family:Georgia,'Times New Roman',serif;font-size:1.25rem;color:var(--navy);}
.urgent-city-quick span{font-size:.82rem;color:var(--muted);}
.urgent-entry-section{padding:28px 0 0;}
.urgent-entry-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:center;padding:28px 30px;border:1px solid var(--line);border-radius:26px;background:rgba(255,255,255,.82);box-shadow:var(--shadow-soft);}
.urgent-entry-card h2{font-size:clamp(1.85rem,3vw,2.75rem);margin-top:8px;}
.urgent-entry-card p{color:var(--muted);margin-top:10px;}
.urgent-entry-links{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.urgent-entry-links a{display:inline-flex;align-items:center;justify-content:center;padding:12px 15px;border-radius:999px;border:1px solid var(--line);text-decoration:none;font-size:.82rem;font-weight:800;color:var(--navy);background:var(--white);}
.urgent-service-section{padding:82px 0;}
.urgent-service-head{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1fr);gap:clamp(30px,7vw,90px);align-items:start;margin-bottom:34px;}
.urgent-service-head h2{font-size:clamp(2.2rem,4.3vw,4rem);}
.urgent-service-head p{color:var(--muted);font-size:1.02rem;line-height:1.75;padding-top:5px;}
.urgent-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.urgent-step{padding:27px;border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.76);box-shadow:var(--shadow-soft);}
.urgent-step small{font-size:.7rem;font-weight:850;letter-spacing:.14em;color:var(--navy);}
.urgent-step h3{margin-top:24px;font-size:1.45rem;}
.urgent-step p{margin-top:12px;color:var(--muted);font-size:.91rem;}
.urgent-local-section{padding:0 0 88px;}
.urgent-local-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.55fr);gap:clamp(34px,7vw,88px);align-items:start;}
.urgent-local-copy h2{font-size:clamp(2.25rem,4.6vw,4.15rem);}
.urgent-local-copy p{margin-top:21px;color:var(--muted);font-size:1rem;line-height:1.78;}
.urgent-local-card{position:sticky;top:126px;background:var(--navy);color:var(--white);padding:28px;border-radius:25px;box-shadow:var(--shadow);}
.urgent-local-card h3{color:var(--white);font-size:1.55rem;}
.urgent-local-card p{margin-top:13px;color:rgba(255,255,255,.68);font-size:.9rem;}
.urgent-local-card .button{width:100%;margin-top:22px;background:var(--white);color:var(--navy);border-color:var(--white);}
.urgent-local-card .urgent-phone-number{margin-top:18px;font-size:1.45rem;}
.urgent-rights{padding:0 0 88px;}
.urgent-rights .approach-panel>p{max-width:850px;}
.urgent-legal-note{margin-top:28px;padding-top:22px;border-top:1px solid rgba(255,255,255,.14);color:rgba(255,255,255,.58);font-size:.78rem;}
.urgent-legal-note a{color:var(--white);text-decoration:underline;text-underline-offset:3px;}
.urgent-faq{padding:0 0 86px;}
.urgent-faq-head{max-width:760px;margin-bottom:28px;}
.urgent-faq-head h2{font-size:clamp(2.2rem,4.2vw,3.8rem);}
.urgent-faq-head p{margin-top:15px;color:var(--muted);}
.urgent-location-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:32px;}
.urgent-location-card{padding:27px;border:1px solid var(--line);border-radius:25px;background:rgba(255,255,255,.8);box-shadow:var(--shadow-soft);}
.urgent-location-card h2,.urgent-location-card h3{font-size:clamp(1.7rem,3vw,2.5rem);}
.urgent-location-card p{margin-top:13px;color:var(--muted);}
.urgent-location-phone{display:block;margin-top:21px;font-family:Georgia,'Times New Roman',serif;font-size:1.45rem;color:var(--navy);text-decoration:none;}
.urgent-location-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px;}
.urgent-related{padding:0 0 88px;}
.urgent-related-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;padding:30px;border-radius:28px;background:rgba(189,188,188,.14);border:1px solid var(--line);}
.urgent-related-card h2{font-size:clamp(1.9rem,3.6vw,3rem);}
.urgent-related-card p{margin-top:12px;color:var(--muted);max-width:720px;}
.urgent-related-links{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.urgent-mobile-bar{display:none;}
@media(max-width:980px){
  .urgent-hero-grid,.urgent-home-panel,.urgent-entry-card,.urgent-service-head,.urgent-local-grid,.urgent-related-card{grid-template-columns:1fr;}
  .urgent-home-actions,.urgent-location-grid{grid-template-columns:1fr 1fr;}
  .urgent-entry-links,.urgent-related-links{justify-content:flex-start;}
  .urgent-local-card{position:static;}
}
@media(max-width:760px){
  body.has-urgent-mobile-bar{padding-bottom:82px;}
  .urgent-hero{padding:54px 0 48px;}
  .urgent-hero-copy h1{font-size:clamp(2.55rem,12.5vw,4rem);}
  .urgent-phone-card{border-radius:26px;}
  .urgent-home-panel{padding:23px 20px;}
  .urgent-home-actions,.urgent-steps,.urgent-location-grid{grid-template-columns:1fr;}
  .urgent-entry-card{padding:23px 20px;}
  .urgent-service-section{padding:64px 0;}
  .urgent-mobile-bar{position:fixed;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;left:0;right:0;bottom:0;z-index:9999;padding:10px 14px;background:rgba(13,30,58,.97);box-shadow:0 -12px 34px rgba(13,30,58,.18);}
  .urgent-mobile-bar span{color:rgba(255,255,255,.78);font-size:.73rem;line-height:1.25;}
  .urgent-mobile-bar a{display:inline-flex;align-items:center;justify-content:center;background:var(--white);color:var(--navy);border-radius:999px;padding:11px 16px;text-decoration:none;font-size:.82rem;font-weight:850;white-space:nowrap;}
}

/* Ajustes de asistencia 24 h — 24-09-2026 */
.urgent-entry-links a{background:var(--navy);color:var(--white);border-color:var(--navy);}
.urgent-entry-links a:hover{background:#132b50;color:var(--white);border-color:#132b50;}
@media(min-width:981px){
  body.urgent-pontevedra .urgent-phone-card h2.urgent-question{font-size:clamp(1.78rem,2.35vw,2.25rem);line-height:1.08;}
  body.urgent-pontevedra .urgent-question-line{display:block;white-space:nowrap;}
  body.urgent-pontevedra .urgent-local-card h3{font-size:clamp(1.15rem,1.25vw,1.32rem);white-space:nowrap;}
}
@media(max-width:980px){
  body.urgent-pontevedra .urgent-question-line{display:inline;}
}
@media(max-width:760px){
  body.has-urgent-mobile-bar{padding-bottom:96px;}
  .urgent-mobile-bar{align-items:end;}
  .urgent-mobile-copy{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0;}
  .urgent-mobile-bar .urgent-mobile-label{display:block;color:rgba(255,255,255,.78);font-size:.73rem;line-height:1.25;white-space:nowrap;}
  .urgent-mobile-bar a.urgent-mobile-number{padding:10px 15px;font-size:.79rem;line-height:1;}
  .urgent-mobile-bar>a.urgent-mobile-cta{align-self:end;}
}
@media(max-width:380px){
  .urgent-mobile-bar{gap:8px;padding-left:10px;padding-right:10px;}
  .urgent-mobile-bar .urgent-mobile-label{font-size:.67rem;}
  .urgent-mobile-bar a.urgent-mobile-number,.urgent-mobile-bar>a.urgent-mobile-cta{padding-left:12px;padding-right:12px;font-size:.74rem;}
}

/* Ampliación penal 26-09-2026. Reglas limitadas a los bloques nuevos. */
.penal-detail .breadcrumbs { margin-bottom: 36px; flex-wrap: wrap; }
.penal-detail .page-hero h1 { text-align:left; text-wrap:balance; letter-spacing:-.025em; }
.penal-detail .content-layout { grid-template-columns:minmax(0,1fr) minmax(240px,.38fr); }
.penal-copy { min-width:0; }
.penal-section { scroll-margin-top:140px; }
.penal-section + .penal-section { margin-top:42px; padding-top:36px; border-top:1px solid var(--line); }
.penal-section h2 { font-size:clamp(1.9rem,3vw,2.8rem); line-height:1.12; text-wrap:balance; letter-spacing:-.02em; }
.penal-section p,.penal-section li { font-family:var(--sans); color:var(--muted); font-size:1.02rem; line-height:1.8; text-align:left; }
.penal-section p { margin-top:18px; }
.penal-section ul { padding-left:22px; }
.penal-section li + li { margin-top:10px; }
.penal-detail .contact-option h2 { font-size:1.55rem; letter-spacing:-.01em; line-height:1.2; }
.penal-detail .contact-option ul { list-style:none; padding:0; margin:16px 0 0; }
.penal-detail .contact-option li + li { border-top:1px solid var(--line); }
.penal-detail .contact-option li a { display:block; padding:11px 0; font-size:.92rem; line-height:1.5; }
.penal-detail .contact-option a:hover { text-decoration:underline; text-underline-offset:3px; }
.penal-local-links { display:flex; flex-wrap:wrap; gap:16px 36px; }
.penal-sources { padding:0 0 72px; }
.penal-sources ul { padding:0 0 18px 24px; overflow-wrap:anywhere; }
.penal-sources li { margin:10px 0; }
.penal-sources a,.penal-source-note a { text-decoration:underline; text-underline-offset:3px; }
.penal-sources > .shell > p,.penal-source-note { color:var(--muted); font-size:.84rem; margin-top:18px; }
.penal-cluster .area-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.penal-cluster .area-card { min-height:0; }
.penal-cluster .area-card h3 { margin-top:24px; }
.penal-execution { scroll-margin-top:120px; }
.penal-execution-copy { max-width:860px; }
.penal-entry-link { display:block; margin-top:12px; font-size:.85rem; }
@media(max-width:980px) {
 .penal-detail .content-layout { grid-template-columns:1fr; }
 .penal-detail .contact-sidebar { position:static; }
 .penal-cluster .area-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:620px) {
 .penal-cluster .area-grid { grid-template-columns:1fr; }
 .penal-detail .page-hero h1 { font-size:clamp(2.35rem,10vw,3.65rem); line-height:1.08; }
 .penal-section h2 { font-size:2rem; }
 .penal-sources { padding-bottom:48px; }
}


/* 2026-09-26 visual QA: local service sections, spacing and labour cluster */
.section[data-seo-local="cities"] > .shell > .area-intro-copy{position:static;top:auto;margin-bottom:38px;max-width:1180px}
.section[data-seo-local="cities"] > .shell > .area-intro-copy h2{margin-top:14px;line-height:1.02}
.section[data-seo-local="cities"] > .shell > .area-intro-copy p{margin-top:22px;max-width:1180px}
.section[data-seo-local="cities"] > .shell > .practice-grid{position:relative;z-index:1}
.section[data-seo-local="cities"]{padding-top:86px;padding-bottom:86px}
.section[data-seo-local="cities"] + .approach-section{padding-top:0}
.section[data-seo-local="cities"] .practice{min-height:285px}
.page-hero + .section{padding-top:88px}
.section + .section{padding-top:88px}
.section-head{margin-bottom:38px}
.section-head h2 + p,.area-intro-copy h2 + p{margin-top:20px}
.labor-cluster{padding-top:88px;padding-bottom:88px}
.labor-cluster .area-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.labor-cluster .area-card{min-height:280px}
.labor-detail .page-hero h1{max-width:900px;text-wrap:balance;letter-spacing:-.03em}
.labor-detail-body{padding-top:82px;padding-bottom:88px}
.labor-copy{display:grid;gap:0}
.labor-section{padding:0 0 46px;margin:0 0 46px;border-bottom:1px solid var(--line)}
.labor-section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.labor-section h2{font-size:clamp(2rem,3.7vw,3.35rem);line-height:1.04;margin-bottom:24px}
.labor-section p{color:var(--muted);font-size:1rem;line-height:1.78;margin-top:0}
.labor-section p + p{margin-top:18px}
.labor-sources .labor-source-links{display:grid;gap:11px;margin-top:24px}
.labor-side h3{margin-top:14px}
.labor-side p{margin-top:14px;color:var(--muted)}
.labor-side .button{margin-top:22px}
.labor-local{padding-top:86px;padding-bottom:86px}
.labor-entry-link{display:block;margin-top:10px}
@media(min-width:1180px){
  .section[data-seo-local="cities"] .area-intro-copy h2{font-size:clamp(2.6rem,4.15vw,4.1rem)}
  body.family-service .section[data-seo-local="cities"] .area-intro-copy h2{font-size:clamp(2.5rem,3.55vw,3.72rem);white-space:nowrap}
}
@media(max-width:1080px){.labor-cluster .area-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){
 .section[data-seo-local="cities"]{padding-top:72px;padding-bottom:72px}
 .section[data-seo-local="cities"] > .shell > .area-intro-copy{margin-bottom:30px}
 .page-hero + .section,.section + .section{padding-top:72px}
 .labor-detail-body,.labor-cluster,.labor-local{padding-top:72px;padding-bottom:72px}
}
@media(max-width:620px){
 .section[data-seo-local="cities"]{padding-top:60px;padding-bottom:60px}
 .section[data-seo-local="cities"] > .shell > .area-intro-copy h2{font-size:clamp(2.15rem,10vw,3rem);line-height:1.05}
 .labor-cluster .area-grid{grid-template-columns:1fr}
 .labor-section{padding-bottom:36px;margin-bottom:36px}
 .labor-detail-body,.labor-cluster,.labor-local{padding-top:60px;padding-bottom:60px}
}

/* Especialización Nereus · octubre 2026. Mantener tarjeta azul, tridente y cita originales. */
@media (min-width: 981px) {
  .hero-copy .home-hero-title{font-size:clamp(2.45rem,3.7vw,3.55rem);line-height:1.1;letter-spacing:-.035em}
  .hero-copy .home-hero-title-line{white-space:nowrap;text-wrap:nowrap}
  .nav-links{gap:clamp(10px,1.4vw,20px);font-size:.79rem}
}
@media (min-width: 981px) and (max-width: 1180px){.nav-links{display:none}}
@media (min-width: 981px) and (max-width: 1180px){.menu-toggle{display:flex}}
@media (min-width: 981px) and (max-width: 1180px){.nav-links.open{display:flex;position:absolute;top:100%;left:0;right:0;flex-direction:column;background:var(--paper);padding:24px;box-shadow:var(--shadow);z-index:99}}
@media (max-width: 980px){.hero-copy .home-hero-title-line{white-space:normal;text-wrap:balance}}
.hero-copy .home-hero-title-line{overflow-wrap:normal}
.specialty-links{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:12px}
.specialty-links a{display:block;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff;color:var(--navy);font-size:.9rem;font-weight:700;text-decoration:none}
.specialty-links a:hover,.specialty-links a:focus-visible{border-color:var(--navy);text-decoration:underline}
.specialty-cluster .practice{min-height:240px}
.footer-brand .opening-hours{margin-top:16px;font-size:.78rem}
@media(max-width:620px){.hero-copy .home-hero-title{font-size:clamp(2.1rem,9vw,3rem);text-wrap:balance}.specialty-cluster .practice{min-height:0}}

/* NEREUS REFORMA 2026-10 - tipografía, espacios y tarjetas */
.specialty-cluster .practice-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));align-items:stretch}
.specialty-cluster .practice{min-width:0;min-height:275px}
.specialty-cluster .practice h3{overflow-wrap:normal;hyphens:none;font-size:clamp(1.55rem,2.3vw,2.2rem);line-height:1.2}
.specialty-cluster .section-head{margin-bottom:34px}
.urgent-home-panel{max-width:1120px;margin-inline:auto;grid-template-columns:minmax(0,1fr) minmax(200px,auto);gap:clamp(24px,4vw,72px);padding:clamp(25px,3vw,42px)}
.urgent-home-actions{display:flex;justify-content:flex-end;align-items:center}
.urgent-city-quick{min-width:225px;text-align:center}
.section{padding-block:clamp(58px,6.2vw,90px)}
.section-head{gap:clamp(20px,3.6vw,48px);margin-bottom:clamp(28px,3.4vw,43px)}
.practice-grid{gap:clamp(14px,1.5vw,22px)}
.practice{min-width:0}
@media(min-width:1050px){.ns-single-line{max-width:none!important;white-space:nowrap}}
@media(max-width:760px){.urgent-home-panel{grid-template-columns:minmax(0,1fr);gap:20px}.urgent-home-actions{justify-content:stretch}.urgent-city-quick{width:100%}.section-head{gap:14px}.ns-single-line{white-space:normal}}
/* PORTADA NEREUS - único logotipo que viaja hacia el encabezado */
:root{--ns-navy:#0c1e3d;--ns-muted:#586374;--ns-fondo:linear-gradient(90deg,#c5c0bb 0%,#c1bbb5 48%,#bbb5af 100%);--ns-header-height:104px}
.ns-home .site-header{position:sticky;top:0;z-index:70;background:var(--ns-fondo)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:0!important;box-shadow:none!important;isolation:isolate}
.ns-home .site-header:before{content:"";position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none;transition:opacity .38s ease;z-index:0}
.ns-home .site-header.ns-white:before{opacity:1}
.ns-home .site-header.ns-white.scrolled{border-bottom:1px solid rgba(12,30,61,.08)!important;box-shadow:0 8px 25px rgba(12,30,61,.04)!important}
.ns-home .site-header .nav{position:relative;z-index:1}
.ns-home .ns-story{height:200svh;position:relative;background:var(--ns-fondo)}
.ns-home .ns-stage{position:sticky;top:var(--ns-header-height);height:calc(100svh - var(--ns-header-height));min-height:620px;overflow:hidden;background:var(--ns-fondo);isolation:isolate}
.ns-home .ns-inner{position:relative;z-index:4;height:100%;display:flex;align-items:center}
.ns-home .ns-copy{width:min(57%,670px);position:relative;will-change:transform;min-width:0}
.ns-home .ns-brand-slot{width:256px;height:177px;pointer-events:none}
.ns-flying-logo{display:none;position:fixed;z-index:100;top:0;left:0;width:256px;transform-origin:top left;line-height:0;will-change:transform;pointer-events:auto}
.ns-flying-logo img{width:100%;height:auto;display:block}
.ns-home.ns-ready .ns-flying-logo{display:block}
.ns-home.ns-ready .site-header .brand{visibility:hidden}
.ns-home .ns-copy h1{font-family:Georgia,'Iowan Old Style',Baskerville,'Times New Roman',serif;font-size:clamp(39px,4.35vw,65px);font-weight:400;line-height:1.12;letter-spacing:-.041em;margin:15px 0 26px;max-width:none;text-wrap:initial}
.ns-home .ns-headline-line{display:block;white-space:nowrap;color:var(--ns-navy)}
.ns-home .ns-headline-italic{font-style:italic;color:#526074}
.ns-home .ns-lead{color:#4e5a6b;line-height:1.72;font-size:clamp(15px,1.25vw,18px);max-width:540px;margin:0 0 29px}
.ns-home .ns-actions{display:flex;flex-wrap:wrap;gap:11px;margin-bottom:26px}
.ns-home .ns-hours{max-width:670px;color:#536071;font-size:12px;line-height:1.7;margin:0}
.ns-home .ns-hours span{display:block;white-space:nowrap}
/* PNG recortado a 785px: tamaño visual corresponde exactamente al HTML aprobado */
.ns-home .ns-photo{position:absolute;right:max(-2.5vw,-36px);top:14.0%;z-index:1;height:104.8%;width:auto;max-width:none;display:block;pointer-events:none;will-change:transform;object-fit:contain;object-position:bottom right}
.ns-home .ns-scroll-note{position:absolute;z-index:6;left:40%;bottom:12px;transform:translateX(-50%);font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:750;color:rgba(12,30,61,.68);white-space:nowrap}
/* Ocultar el aviso inmediatamente al comenzar a desplazarse. */
.ns-home.ns-has-scrolled .ns-scroll-note{display:none!important}
.ns-home .ns-practice{position:relative;z-index:5;background:#f7f6f4;border-radius:24px 24px 0 0;scroll-margin-top:var(--ns-header-height);margin-top:-14px}
.ns-home .ns-practice .home-practice-head{display:block}
.ns-home .ns-practice .home-practice-head h2{font-size:clamp(2.15rem,4.2vw,3.8rem);white-space:normal;text-wrap:balance}
.ns-home .ns-practice .home-practice-head p{max-width:none}
.ns-home .ns-practice .practice{min-height:270px}
.ns-home .ns-practice .practice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.ns-home .urgent-home-strip{padding:clamp(55px,6vw,90px) 0;background:#f0efed}
.ns-home .section.alt{padding-block:clamp(55px,6vw,85px)}
@media(max-width:1140px){:root{--ns-header-height:var(--header-height,88px)}.ns-home .ns-copy{width:62%}.ns-home .ns-copy h1{font-size:clamp(36px,4.1vw,55px)}.ns-home .ns-photo{right:-75px}}
@media (min-width:941px) and (max-width:1180px){.ns-home .site-header .language-switcher{margin-left:auto}.ns-home .site-header .menu-toggle{margin-left:10px}.ns-home .ns-copy{width:53%}.ns-home .ns-lead{max-width:430px}}
@media(max-width:980px){.ns-home .ns-copy{width:65%}.ns-home .ns-copy h1{font-size:clamp(33px,4.3vw,48px)}.ns-home .ns-lead{font-size:14px;max-width:400px}.ns-home .ns-photo{right:-115px}.ns-home .ns-hours span{white-space:normal}.ns-home .ns-practice .practice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:940px){
  :root{--ns-header-height:74px}
  .ns-home .site-header .nav{min-height:var(--ns-header-height)}
  .ns-home .ns-story{height:auto;min-height:0}
  .ns-home .ns-stage{position:relative;top:auto;height:auto;min-height:0;overflow:hidden;padding:24px 0 0;display:flex;flex-direction:column}
  .ns-home .ns-inner{display:block;height:auto;order:1}
  .ns-home .ns-copy{width:100%;margin:0;transform:none!important;will-change:auto}
  .ns-home .ns-brand-slot{height:114px;width:166px}
  .ns-home .ns-copy h1{font-size:clamp(30px,7.8vw,41px);margin:10px 0 13px;line-height:1.13;letter-spacing:-.044em}
  .ns-home .ns-headline-line{white-space:normal;text-wrap:balance}
  .ns-home .ns-lead{font-size:13.5px;line-height:1.58;max-width:440px;margin:0 0 17px}
  .ns-home .ns-actions{gap:8px;margin-bottom:13px}
  .ns-home .ns-actions .button{font-size:12px;padding:11px 14px;min-height:40px}
  .ns-home .ns-hours{font-size:11.3px;line-height:1.55;max-width:100%;margin:0 0 10px}
  .ns-home .ns-hours span{display:block;white-space:normal}
  /* Foto situada EN FLUJO después del contenido, nunca sobre la tipografía. */
  .ns-home .ns-photo{position:relative;order:2;top:auto!important;right:auto!important;bottom:auto!important;height:auto;width:min(99%,460px);align-self:flex-end;margin:0 -12px 0 auto;transform:none!important;max-width:100%;object-fit:contain}
  .ns-home .ns-scroll-note{order:3;position:relative;left:auto;bottom:auto;transform:none;text-align:center;margin:10px auto 18px;font-size:9px}
  .ns-home .ns-practice{margin-top:0;border-radius:17px 17px 0 0}
  .ns-home .ns-practice .practice-grid{grid-template-columns:1fr}
  .ns-home .ns-practice .practice{min-height:0}
}
@media(max-width:380px){.ns-home .ns-copy h1{font-size:29px}.ns-home .ns-actions .button{font-size:11px;padding-inline:10px}}
@media(prefers-reduced-motion:reduce){.ns-home.ns-ready .ns-flying-logo{display:none!important}.ns-home.ns-ready .site-header .brand{visibility:visible!important}.ns-home .ns-photo,.ns-home .ns-copy,.ns-flying-logo{will-change:auto!important}.ns-home .site-header:before{transition:none}.ns-home .ns-scroll-note{display:none}}


/* ==============================
   Nereus · Ajustes finales 2026-10-13
   ============================== */

/* Home · sección unificada de asistencia y horario */
.ns-home .ns-summary-section{padding:clamp(54px,6vw,88px) 0;background:#f0efed}
.ns-home .ns-summary-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:22px;align-items:stretch}
.ns-home .ns-summary-card{min-width:0;min-height:248px;padding:24px 28px;border-radius:28px;display:flex;flex-direction:column;box-shadow:0 22px 55px rgba(12,30,61,.06)}
.ns-home .ns-summary-emergency{background:rgba(255,255,255,.92);border:1px solid rgba(12,30,61,.075)}
.ns-home .ns-summary-schedule{background:#0c1e3d;color:#f7f6f4;justify-content:flex-start}
.ns-home .ns-summary-emergency h2,.ns-home .ns-summary-schedule h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(26px,2.45vw,38px);line-height:1.12;font-weight:400;letter-spacing:-.032em;margin:12px 0 14px}
.ns-home .ns-summary-emergency p,.ns-home .ns-summary-schedule p{font-size:14px;line-height:1.6;margin:0}
.ns-home .ns-summary-emergency p{color:var(--muted,#586374);max-width:610px}
.ns-home .ns-summary-schedule .eyebrow{color:#d3deeb}
.ns-home .ns-summary-schedule h2{color:#fff}
.ns-home .ns-summary-schedule p{color:#d9e0e9}
.ns-home .ns-summary-schedule .eyebrow,.ns-home .ns-summary-schedule h2,.ns-home .ns-summary-schedule p{width:min(100%,360px);text-align:left;margin-left:auto;margin-right:auto}
.ns-home .ns-summary-schedule p+p{margin-top:14px}
.ns-home .ns-summary-emergency-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:16px;margin-top:auto}
.ns-home .ns-summary-phone{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-width:198px;padding:11px 18px;gap:4px;background:#f3f2f0;color:#0c1e3d;border:1px solid rgba(12,30,61,.12);border-radius:18px;text-decoration:none;transition:box-shadow .2s,transform .2s;flex:0 0 auto}
.ns-home .ns-summary-phone:hover{box-shadow:0 10px 24px rgba(12,30,61,.10);transform:translateY(-2px)}
.ns-home .ns-summary-phone strong{font-family:Georgia,'Times New Roman',serif;font-size:19px;font-weight:600;line-height:1.25}
.ns-home .ns-summary-phone span{font-size:12.5px;color:#586374}
.ns-home .ns-summary-details{justify-self:auto;align-self:center;margin-left:auto;white-space:nowrap;font-size:12.5px;font-weight:700;text-decoration:none;color:#0c1e3d}
.ns-home .ns-summary-details:hover{text-decoration:underline;text-underline-offset:4px}
@media (max-width:1100px){.ns-home .ns-summary-card{padding:22px 24px}}
@media (max-width:850px){.ns-home .ns-summary-grid{grid-template-columns:1fr;gap:16px}.ns-home .ns-summary-card{min-height:0;padding:24px 22px;border-radius:24px}.ns-home .ns-summary-emergency h2,.ns-home .ns-summary-schedule h2{font-size:clamp(28px,6vw,38px)}.ns-home .ns-summary-emergency-actions{display:grid;grid-template-columns:1fr;justify-items:center;gap:12px}.ns-home .ns-summary-details{margin-left:0;white-space:normal;justify-self:start;align-self:end}.ns-home .ns-summary-schedule .eyebrow,.ns-home .ns-summary-schedule h2,.ns-home .ns-summary-schedule p{width:100%;margin-left:0;margin-right:0;text-align:left}}
@media (max-width:440px){.ns-home .ns-summary-phone{width:100%}}

/* Equipo · hero simplificado y versión móvil aprobada */
:root{--eq-wall:linear-gradient(90deg,#c5c0bb 0%,#c1bbb5 48%,#bbb5af 100%)}
body.equipo-preview .site-header{background:var(--eq-wall)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:0!important;box-shadow:none!important;position:sticky;isolation:isolate;overflow:visible}
body.equipo-preview .site-header.scrolled{border:0!important;box-shadow:none!important}
body.equipo-preview .site-header::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:#f7f6f4;opacity:0;transition:opacity .25s ease}
body.equipo-preview .site-header.eq-header-white::before{opacity:1}
body.equipo-preview .site-header .nav{position:relative;z-index:1}
body.equipo-preview .site-header.eq-header-white{box-shadow:inset 0 -1px 0 rgba(12,30,61,.09)!important}
body.equipo-preview .eq-hero,body.equipo-preview .eq-hero-stage{background:var(--eq-wall)}
body.equipo-preview .eq-hero{overflow:hidden}
body.equipo-preview .eq-hero-stage{height:max(600px,calc(100svh - var(--eq-header-h,104px)));position:relative;isolation:isolate;overflow:hidden}
body.equipo-preview .eq-photo{position:absolute;bottom:0;width:min(33vw,488px);height:auto;max-width:none;z-index:1;pointer-events:none;user-select:none;object-fit:contain;object-position:bottom;transform:translate3d(0,var(--eq-photo-offset,0px),0);will-change:transform}
body.equipo-preview .eq-photo-nerea{left:0}
body.equipo-preview .eq-photo-eric{right:0}
body.equipo-preview .eq-hero-content{position:absolute;left:min(32vw,480px);right:min(32vw,480px);top:46%;transform:translateY(-50%);z-index:2;display:flex;align-items:center;flex-direction:column;text-align:center;min-width:0}
body.equipo-preview .eq-overline{font:800 12px/1.35 var(--sans);letter-spacing:.22em;text-transform:uppercase;white-space:nowrap;margin:0 0 56px;color:#122846}
body.equipo-preview .eq-overline:after{display:block;content:"";width:38px;height:1px;background:rgba(18,40,70,.38);margin:19px auto 0}
body.equipo-preview .eq-identities{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:0;align-items:start}
body.equipo-preview .eq-identity{min-width:0;padding:0 7px}
body.equipo-preview .eq-identity+.eq-identity{border-left:1px solid rgba(18,40,70,.16)}
body.equipo-preview .eq-identity h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(16px,1.52vw,25px);letter-spacing:-.038em;line-height:1.18;white-space:nowrap;color:#0d1e3a;margin:0 0 13px}
body.equipo-preview .eq-identity p{font-size:clamp(10px,.86vw,12px);font-weight:600;letter-spacing:.025em;line-height:1.4;color:#3c4b61;margin:0;white-space:nowrap}
body.equipo-preview .team-intro-renewed{position:relative;z-index:3;margin-top:-14px;border-radius:24px 24px 0 0;background:#f7f6f4;padding:clamp(52px,6vw,78px) 0}
body.equipo-preview .team-intro-inner{max-width:1120px}
body.equipo-preview .team-intro-inner h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.03em;color:#0d1f3d;line-height:1.08;font-size:clamp(34px,4.4vw,58px);max-width:1000px;margin:12px 0 24px}
body.equipo-preview .team-intro-brief{display:block;max-width:920px;font-size:clamp(16px,1.32vw,18px);line-height:1.75;color:#5d6879}
body.equipo-preview .team-intro-brief p+ p{margin-top:18px}
body.equipo-preview .team-intro-brief strong{color:#172d4d;font-weight:700}
@media(max-width:1190px){body.equipo-preview .eq-photo{width:32vw}body.equipo-preview .eq-hero-content{left:31vw;right:31vw}body.equipo-preview .eq-identity h2{font-size:clamp(13px,1.45vw,18px)}body.equipo-preview .eq-identity p{font-size:10px;letter-spacing:0}body.equipo-preview .eq-overline{margin-bottom:36px}}
@media(max-width:760px){body.equipo-preview .eq-hero-stage{height:max(570px,calc(100svh - var(--eq-header-h,90px)))}body.equipo-preview .eq-photo{width:50%;max-width:none;bottom:0}body.equipo-preview .eq-photo-nerea{left:-1.5%}body.equipo-preview .eq-photo-eric{right:-1.5%}body.equipo-preview .eq-hero-content{top:65px;left:12px;right:12px;transform:none}body.equipo-preview .eq-overline{font-size:10px;margin-bottom:25px;letter-spacing:.17em}body.equipo-preview .eq-overline:after{margin-top:12px}body.equipo-preview .eq-identities{gap:6px}body.equipo-preview .eq-identity{padding:0 2px}body.equipo-preview .eq-identity h2{font-size:clamp(11px,3.15vw,15px);margin-bottom:7px;letter-spacing:-.04em}body.equipo-preview .eq-identity p{font-size:clamp(9px,2.35vw,11px);letter-spacing:0}body.equipo-preview .team-intro-renewed{padding:46px 0 52px}body.equipo-preview .team-intro-inner h2{font-size:clamp(32px,8vw,42px);margin-bottom:20px}body.equipo-preview .team-intro-brief{font-size:16px}body.equipo-preview .team-intro-brief p+p{margin-top:17px}}
@media(max-width:395px){body.equipo-preview .eq-hero-stage{height:max(570px,calc(100svh - var(--eq-header-h,90px)))}body.equipo-preview .eq-identity h2{font-size:11.35px}body.equipo-preview .eq-identity p{font-size:9px}}
@media(prefers-reduced-motion:reduce){body.equipo-preview .site-header::before{transition:none}body.equipo-preview .eq-photo{transform:none!important;will-change:auto}}

/* Refuerzo de contraste en CTA de contacto */
.contact-card .button.light,.contact-actions .button.light{border:1px solid rgba(12,30,61,.12);box-shadow:0 12px 28px rgba(12,30,61,.12);font-weight:700}
.contact-card .button.light:hover,.contact-actions .button.light:hover{box-shadow:0 16px 34px rgba(12,30,61,.16)}


/* AJUSTES APROBADOS · Equipo transparente, acceso y menú móvil */
/* Height > viewport-header keeps section below the fold even in Safari with dynamic chrome. */
body.equipo-preview .eq-hero-stage{height:auto!important;min-height:max(670px,calc(100vh - var(--eq-header-h,104px) + 82px));min-height:max(670px,calc(100dvh - var(--eq-header-h,104px) + 82px))!important}
/* Stick to natural preview scale for both transparent portraits; preserve their alignment. */
body.equipo-preview .eq-photo{background:transparent!important}
body.equipo-preview .team-intro-renewed{border-radius:24px 24px 0 0!important;margin-top:-14px!important}
@media(max-width:760px){body.equipo-preview .eq-hero-stage{min-height:max(605px,calc(100dvh - var(--eq-header-h,90px) + 82px))!important}}
@media(max-width:395px){body.equipo-preview .eq-hero-stage{min-height:max(605px,calc(100dvh - var(--eq-header-h,90px) + 82px))!important}}
/* Floating hero logo must disappear while mobile menu is displayed; reveal regular header logo. */
body.ns-home.menu-open .ns-flying-logo{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
body.ns-home.menu-open .site-header .brand{visibility:visible!important;opacity:1!important}
body.ns-home.menu-open .site-header{z-index:220!important}
@media(max-width:1180px){body.ns-home.menu-open .nav-links.open{z-index:210!important}}
/* Header CTA must stay white over its dark background when it represents current Contact page. */
.site-header .nav-links > a.button[aria-current="page"],
.site-header .nav-links > a.button[aria-current="page"]:hover,
.site-header .nav-links > a.button[aria-current="page"]:focus-visible{color:#fff!important;background:#0D1E3A!important;border-color:#0D1E3A!important}
@media(prefers-reduced-motion:reduce){body.equipo-preview .eq-photo{transform:none!important}}
/* Preserve the exact approved portrait placement while extending the background below the fold. */
body.equipo-preview .eq-photo {bottom:82px!important}
/* Mobile flyout must cover the full space below the actual home header (74px). */
@media(max-width:940px){
 body.ns-home.menu-open .nav-links.open{
   height:calc(100dvh - var(--ns-header-height,74px))!important;
   max-height:calc(100dvh - var(--ns-header-height,74px))!important;
 }
}


/* NEREUS · AJUSTES DE CONTINUIDAD VISUAL · v2 2026-10-13
 * Se parte íntegramente de los estilos finales aprobados de Inicio y Equipo.
 * Cambios acotados a las portadas y a los paneles de navegación responsivos.
 */
/* En la transición de portada se conserva el título y la fotografía; 
   las líneas de apoyo se vuelven a mostrar al regresar al inicio. */
.ns-home .ns-lead,
.ns-home .ns-actions,
.ns-home .ns-hours { transition: opacity .22s ease, visibility .22s ease; }
.ns-home.ns-hero-focus .ns-lead,
.ns-home.ns-hero-focus .ns-actions,
.ns-home.ns-hero-focus .ns-hours { opacity:0; visibility:hidden; pointer-events:none; }
/* El aviso no permanece visible tras el primer píxel de desplazamiento. */
.ns-home.ns-has-scrolled .ns-scroll-note {display:none!important;}
/* Mantener el borde de tarjetas y separadores visuales aprobado. */
.ns-home .ns-practice {border-radius:24px 24px 0 0;}
body.equipo-preview .team-intro-renewed { border-radius:24px 24px 0 0!important; }
/* Menú desplegable con esquinas redondeadas y un margen que permite verlas. */
@media(max-width:1140px){
  .site-header .nav-links.open {
     left:12px!important; right:12px!important; width:calc(100% - 24px)!important;
     border-radius:24px 24px 0 0!important;
     box-shadow:0 18px 44px rgba(12,30,61,.16)!important;
  }
}
@media(max-width:940px){
  /* Retrato en su ubicación móvil aprobada, con movimiento vertical sutil.
     La variable se actualiza solo cuando el usuario desplaza la portada. */
  .ns-home .ns-photo {transform:translate3d(0,var(--ns-photo-shift,0px),0)!important;}
  .ns-home .ns-practice {border-radius:18px 18px 0 0;}
}
@media(prefers-reduced-motion:reduce){
  .ns-home .ns-lead,.ns-home .ns-actions,.ns-home .ns-hours {transition:none!important;}
  .ns-home .ns-photo {transform:none!important;}
}


/* ====================================================================
   NEREUS · Corrección visual solicitada · 13 octubre 2026
   Mantiene el contenido original, todas las páginas SEO y el diseño aprobado.
   ==================================================================== */

/* Nunca ocultar ni atenuar la entradilla, botones o información de horarios
   por desplazamiento de la portada. */
body.ns-home.ns-hero-focus .ns-lead,
body.ns-home.ns-hero-focus .ns-actions,
body.ns-home.ns-hero-focus .ns-hours {
  opacity: 1!important;
  visibility: visible!important;
  pointer-events: auto!important;
}

/* El menú termina debajo de Contactar, con cuatro esquinas redondeadas.
   En pantallas pequeñas mantiene scroll interno si es necesario. */
@media (max-width: 1140px) {
  .site-header .nav-links.open,
  body.ns-home.menu-open .nav-links.open {
    height: auto!important;
    min-height: 0!important;
    max-height: calc(100dvh - var(--ns-header-height, 90px) - 14px)!important;
    bottom: auto!important;
    overflow-y: auto;
    border-radius: 26px!important;
    padding-bottom: 22px!important;
  }
}

/* El bloque Equipo termina justo donde comienzan las esquinas redondeadas
   de la sección blanca: sin franja entre retratos y siguiente sección. */
body.equipo-preview .eq-hero-stage {
  min-height: max(590px, calc(100dvh - var(--eq-header-h, 104px)))!important;
}
body.equipo-preview .eq-photo { bottom: 0!important; }
@media (max-width: 760px) {
  body.equipo-preview .eq-hero-stage {
    min-height: max(510px, min(690px, calc(70vw + 240px)))!important;
  }
  body.equipo-preview .eq-hero-content { top: 42px; }
}

/* El H1 de portada conserva su tamaño y texto, pero acompaña al scroll
   desplazándose suavemente hacia el área de la fotografía. */
@media (max-width: 940px) {
  body.ns-home .ns-copy { z-index: 7; }
  body.ns-home .ns-lead,
  body.ns-home .ns-actions,
  body.ns-home .ns-hours {
    opacity: var(--ns-mobile-support-opacity,1)!important;
    transition: none!important;
  }
  body.ns-home.ns-mobile-title-active .ns-actions {pointer-events:none!important;}
  body.ns-home .ns-copy h1 {
    position: relative;
    z-index: 8;
    transform: translate3d(0,var(--ns-heading-drop,0px),0);
    will-change: transform;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.ns-home .ns-copy h1 { transform: none!important;will-change:auto!important; }
}

/* Nereus · correcciones EXCLUSIVAS de la presentación móvil (14/10/2026).
   Escritorio y las demás páginas conservan sus estilos originales. */
@media (max-width: 940px) {
  /* El aviso no reserva 43px en el flujo ni altera la altura al hacer scroll. */
  body.ns-home .ns-scroll-note {
    position: absolute;
    left: 50%;
    bottom: 9px;
    margin: 0;
    padding: 4px 9px;
    transform: translateX(-50%);
    background: rgba(247,246,244,.88);
    border-radius: 999px;
    pointer-events: none;
  }
  /* Las esquinas se solapan sobre la foto; al subir 30px no queda franja gris. */
  body.ns-home .ns-practice {
    margin-top: calc(-14px + var(--ns-photo-shift, 0px));
    border-radius: 24px 24px 0 0;
  }
}
@media (max-width: 760px) {
  /* Reducir la franja entre los nombres y el comienzo visible de los retratos
     conservando los tamaños y las posiciones laterales originales. */
  body.equipo-preview .eq-hero-stage {
    min-height: max(380px, calc(71vw + 151px)) !important;
  }
}
@media (max-width: 940px) and (prefers-reduced-motion: reduce) {
  /* El logo existente (enlace accesible) queda estático y centrado sobre H1. */
  body.ns-home .ns-brand-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  body.ns-home.ns-ready .ns-brand-slot .ns-flying-logo {
    position: static !important;
    top: auto !important;
    left: auto !important;
    display: block !important;
    width: 100% !important;
    transform: none !important;
    will-change: auto !important;
  }
  body.ns-home.ns-ready:not(.menu-open) .site-header .brand {
    visibility: hidden !important;
  }
}


/* ==========================================================
   NEREUS · Ajustes de previsualización 14/10/2026 (revisión 2)
   - Inicio: logo estático alineado con H1 en móvil con reducción de movimiento.
   - Inicio y Equipo: prolongación de su propio fondo gris tras las esquinas
     redondeadas, sin mover la sección blanca ni recortar las imágenes.
   - Equipo: corrección lateral sutil del retrato de Eric solo en móvil.
   ========================================================== */

/* La curva blanca tiene 24px de radio y solo 14px de solape.
   En los 10px restantes debe seguir existiendo el fondo gris, no el fondo
   blanco de la página. Extendemos por debajo su mismo degradado de fondo. */
body.ns-home .ns-story::after,
body.equipo-preview .eq-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 18px;
  background: linear-gradient(90deg,#c5c0bb 0%,#c1bbb5 48%,#bbb5af 100%);
  z-index: 0;
  pointer-events: none;
}
/* El recorte de los retratos de Equipo ya lo hace .eq-hero-stage.
   Permitir que solo el gris del escenario continúe bajo la curva. */
body.equipo-preview .eq-hero {
  position: relative;
  overflow: visible;
}

@media (max-width: 760px) {
  /* Reubicar Eric ~4% de ancho hacia el centro, sin variar escala ni altura. */
  body.equipo-preview .eq-photo-eric { right: 2.5%; }
}

@media (max-width: 940px) and (prefers-reduced-motion: reduce) {
  /* El logotipo integrado en el flujo queda alineado con el titular. */
  body.ns-home .ns-brand-slot {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }
}
