:root {
  --ink: #111827;
  --muted: #5f6673;
  --cream: #f5efe5;
  --paper: #fbfaf7;
  --gold: #d7a72c;
  --gold-soft: #f1d37e;
  --navy: #061027;
  --navy-soft: #0d1b3d;
  --line: #ddd6ca;
  --shadow: 0 24px 60px rgba(17, 24, 39, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.7 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; margin: 0 0 .65em; }
h1 { font-size: clamp(2.6rem, 6.7vw, 5.65rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.8rem, 3.7vw, 3.15rem); letter-spacing: -.025em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.15em; color: var(--muted); }
a { color: #173b68; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
.wrap { width: min(1200px, calc(100% - 2.4rem)); margin: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; color: #111; padding: .7rem; z-index: 100; }

.site-header { position: sticky; top: 0; background: rgba(7, 9, 14, .96); border-bottom: 1px solid rgba(255, 255, 255, .1); z-index: 30; backdrop-filter: blur(16px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; font-family: Georgia, serif; font-weight: 700; }
.brand img { width: 50px; height: 50px; object-fit: contain; border-radius: 50%; background: #fff; border: 3px solid rgba(255, 255, 255, .9); }
.brand small { display: block; font: 600 .67rem/1.25 ui-sans-serif; color: #aeb7c8; letter-spacing: .04em; }
nav { display: flex; gap: 1.35rem; align-items: center; }
nav a { color: #f4f6fa; text-decoration: none; font-size: .9rem; font-weight: 650; }
nav a:hover { color: var(--gold-soft); }
.nav-cta, .button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .78rem 1.25rem; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; border: 1px solid var(--navy); font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.nav-cta { background: #fff; border-color: #fff; color: #090d16; padding-inline: 1.2rem; }
.button:hover, .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(0, 0, 0, .2); }
.button.alt { background: transparent; color: var(--navy); border-color: rgba(6, 16, 39, .55); }
.menu-button { display: none; }

.hero { position: relative; }
.home-hero { min-height: min(760px, calc(100svh - 82px)); padding: clamp(3.8rem, 7vw, 6rem) 0; display: grid; align-items: center; overflow: hidden; isolation: isolate; color: #fff; background: var(--navy); }
.home-hero-background { position: absolute; z-index: 0; inset: 0 0 0 auto; width: 61%; height: 100%; object-fit: cover; object-position: center 17%; }
.home-hero-overlay { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #061027 0%, #061027 42%, rgba(6, 16, 39, .78) 59%, rgba(6, 16, 39, .14) 100%), linear-gradient(0deg, rgba(2, 6, 16, .44), transparent 50%); }
.home-hero::after { content: ""; position: absolute; z-index: 2; left: -8%; bottom: -40%; width: 48%; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .13); border-radius: 50%; box-shadow: 0 0 0 54px rgba(255, 255, 255, .025), 0 0 0 108px rgba(255, 255, 255, .018); }
.home-hero-inner { position: relative; z-index: 3; }
.home-hero-copy { max-width: 690px; }
.home-hero h1 { max-width: 650px; color: #e5edff; font-size: clamp(2.8rem, 5vw, 4.45rem); text-wrap: balance; }
.home-hero .eyebrow, .page-hero .eyebrow { color: var(--gold-soft); }
.home-hero .lede { max-width: 610px; color: #e2e7f1; font-size: clamp(1.08rem, 1.7vw, 1.28rem); }
.home-hero .button, .page-hero .button { background: #fff; color: #0b1220; border-color: #fff; }
.home-hero .button.alt, .page-hero .button.alt { background: rgba(5, 12, 29, .28); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(8px); }
.home-hero .disclosure { max-width: 640px; margin-top: 1.7rem; color: #e7e9ef; border-color: var(--gold); background: rgba(4, 9, 22, .68); box-shadow: 0 14px 38px rgba(0, 0, 0, .22); backdrop-filter: blur(10px); }

.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 850; color: #8a651d; }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.28rem); max-width: 64ch; }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.55rem 0; }
.disclosure, .notice { padding: 1rem 1.2rem; border-left: 4px solid var(--gold); background: #f3eadb; color: #514537; border-radius: 0 14px 14px 0; }

.page-hero { min-height: clamp(430px, 53vw, 590px); padding: clamp(4.8rem, 10vw, 7.8rem) 0; display: grid; align-items: center; position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--navy); }
.page-hero-background { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.page-hero-portrait .page-hero-background { object-position: 72% 18%; }
.page-hero-overlay { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(4, 10, 25, .97) 0%, rgba(4, 10, 25, .91) 37%, rgba(4, 10, 25, .64) 66%, rgba(4, 10, 25, .3) 100%), linear-gradient(0deg, rgba(3, 8, 20, .62), transparent 55%); }
.page-hero-accent { position: absolute; z-index: 2; right: 5%; bottom: -150px; width: 360px; height: 360px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; box-shadow: 0 0 0 52px rgba(215, 167, 44, .08), 0 0 0 104px rgba(255, 255, 255, .035); }
.page-hero-inner { position: relative; z-index: 3; }
.page-hero-copy { max-width: 820px; }
.page-hero h1 { max-width: 850px; color: #fff; font-size: clamp(2.55rem, 6vw, 5rem); text-wrap: balance; }
.page-hero .lede { max-width: 710px; color: #e2e7f1; }
.page-hero .breadcrumbs, .page-hero .breadcrumbs a { color: #dce3ee; }
.page-hero .article-meta { color: #dce3ee; }
.page-hero-note { display: inline-flex; margin: .4rem 0 0; padding: .45rem .72rem; color: #e8edf6; background: rgba(3, 8, 20, .58); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: .78rem; backdrop-filter: blur(8px); }

.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section.tinted { background: var(--cream); }
.section-head { max-width: 730px; margin-bottom: 2.2rem; }
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 1.45rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 35px rgba(23, 28, 38, .055); }
.card a { font-weight: 800; }
.steps { counter-reset: step; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; color: #9a701c; font-weight: 850; margin-bottom: .55rem; }
.visual-section { padding-top: 0; }
.practice-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.practice-image { margin: 0; overflow: hidden; background: #0b1220; border: 1px solid #222d3e; border-radius: var(--radius); box-shadow: var(--shadow); }
.practice-image img { display: block; width: 100%; height: 250px; object-fit: cover; transition: transform .45s ease; }
.practice-image:hover img { transform: scale(1.035); }
.practice-image figcaption { padding: 1rem 1.1rem; color: #f5ecdf; font-weight: 750; }
.content { max-width: 790px; }
.wide-content { max-width: 940px; }
.content h2 { margin-top: 2rem; font-size: 1.95rem; }
.content h3 { margin-top: 1.5rem; }
.breadcrumbs { font-size: .82rem; margin-bottom: 1rem; }
.price { padding: 1.35rem; border: 1px solid var(--gold); border-radius: var(--radius); background: #fff; }
.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq summary { font-weight: 800; cursor: pointer; }
.cta { padding: clamp(1.7rem, 4vw, 2.4rem); border-radius: var(--radius); background: linear-gradient(135deg, var(--navy), var(--navy-soft)); color: #fff; margin-top: 2rem; box-shadow: var(--shadow); }
.cta h2, .cta p { color: #fff; }
.cta .button { background: #fff; border-color: #fff; color: #0b1220; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.catalog-card { overflow: hidden; padding: 0; transition: transform .25s ease, box-shadow .25s ease; }
.catalog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.catalog-card-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0b1220; }
.catalog-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.catalog-card:hover .catalog-card-image img { transform: scale(1.04); }
.catalog-card-body { padding: 1.2rem; }
.catalog-card h2, .catalog-card h3 { font-size: 1.32rem; margin-bottom: .55rem; }
.catalog-card p { font-size: .93rem; line-height: 1.58; }
.catalog-card a { font-size: .91rem; }
.service-body { max-width: 840px; }
.service-body .grid-3 { margin: 1rem 0 2rem; }
.article-meta { color: var(--muted); font-size: .86rem; }
.article-body { font-size: 1.01rem; }
.article-body h2 { margin-top: 2.35rem; font-size: 1.85rem; }
.article-body li { margin-bottom: .5rem; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.review-card { position: relative; }
.review-card::before { content: "“"; display: block; font: 3rem/1 Georgia, serif; color: var(--gold); height: 1.5rem; }
.review-meta { font-size: .82rem; color: var(--muted); }
.review-carousel-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: -0.5rem 0 1.35rem; }
.review-carousel-controls .button { min-height: 44px; padding: .68rem 1rem; cursor: pointer; }
.review-carousel-status { color: var(--muted); font-size: .88rem; margin-right: auto; }
.home-review-carousel > .disclosure { margin-bottom: .8rem; }
.principle-card strong { display: block; margin-bottom: .35rem; font-family: Georgia, serif; font-size: 1.15rem; }
.review-form { margin-top: 2.2rem; }
.success { padding: 1rem; background: #e6f3e9; border-left: 4px solid #28783d; border-radius: 0 12px 12px 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-weight: 700; }
input, select, textarea { width: 100%; padding: .8rem; border: 1px solid #918779; border-radius: 11px; font: inherit; background: #fff; }
textarea { min-height: 145px; }
.full { grid-column: 1 / -1; }
.check { display: flex; gap: .6rem; align-items: flex-start; }
.check input { width: auto; margin-top: .35rem; }
.errors { border: 2px solid #9f3e32; padding: 1rem; border-radius: 12px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.grid-single { grid-template-columns: minmax(0, 820px); }
.cms-section-block + .cms-section-block { margin-top: 2rem; }
.formatted-content > :first-child { margin-top: 0; }
.formatted-content h3 { margin-top: 1.7rem; }

.ad-landing-section { background: linear-gradient(180deg, #fbfaf7 0%, #f6f0e7 100%); }
.ad-landing-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 350px); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.ad-landing-main { max-width: 820px; margin: 0; }
.ad-landing-main > :first-child, .ad-landing-main .cms-section-block:first-child > :first-child { margin-top: 0; }
.ad-landing-sidebar { position: sticky; top: 108px; }
.ad-landing-card { padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid rgba(215, 167, 44, .55); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.ad-landing-card h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); }
.ad-landing-card .button { width: 100%; margin: .25rem 0 1.1rem; }
.ad-landing-summary { display: grid; gap: .35rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.ad-landing-summary strong { color: var(--ink); font-family: Georgia, "Times New Roman", serif; }
.ad-landing-summary span { color: var(--muted); font-size: .91rem; line-height: 1.55; }
.ad-landing-links { display: grid; gap: .45rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.ad-landing-links a { font-size: .88rem; font-weight: 750; }
.ad-landing-disclosure { margin-top: 2.2rem; }
.service-ad-landing .page-hero, .article-ad-landing .page-hero { min-height: clamp(500px, 58vw, 650px); }
.service-ad-landing .page-hero-copy, .article-ad-landing .page-hero-copy { max-width: 760px; }

.floating-contact { position: fixed; right: 20px; bottom: 22px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: .8rem; }
.floating-contact-button { position: relative; display: grid; place-items: center; width: 58px; height: 58px; min-height: 58px; padding: 0; border-radius: 50%; color: #fff; text-decoration: none; border: 3px solid rgba(255, 255, 255, .92); box-shadow: 0 14px 34px rgba(0, 0, 0, .28); transition: transform .2s ease, box-shadow .2s ease; }
.floating-contact-button:hover, .floating-contact-button:focus-visible { transform: translateY(-3px) scale(1.045); box-shadow: 0 18px 38px rgba(0, 0, 0, .34); }
.floating-contact-button svg { width: 26px; height: 26px; fill: currentColor; }
.floating-contact-button span { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); padding: .48rem .72rem; border-radius: 10px; color: #fff; background: #0b1220; box-shadow: 0 9px 24px rgba(0, 0, 0, .24); font-size: .82rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.floating-contact-button:hover span, .floating-contact-button:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.floating-contact-button.whatsapp { background: #25d366; }
.floating-contact-button.email { background: #2563eb; }

footer { background: #07090e; color: #fff; padding: 4rem 0 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1.3fr; gap: 2rem; }
.footer-grid h2 { font: 750 1rem ui-sans-serif; }
.footer-grid a { display: block; color: #f0e5d2; margin: .4rem 0; }
.footer-grid p { color: #b9bec8; }
.footer-brand { color: #fff; }
.footer-logo-only { width: max-content; }
.footer-social-links { display: flex; align-items: center; gap: .65rem; margin-top: 1rem; }
.footer-grid .footer-social-link { display: grid; place-items: center; width: 46px; height: 46px; margin: 0; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; color: #fff; text-decoration: none; box-shadow: 0 9px 20px rgba(0, 0, 0, .24); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.footer-social-link svg { width: 23px; height: 23px; fill: currentColor; }
.footer-social-link.facebook { background: #1877f2; }
.footer-social-link.instagram { background: radial-gradient(circle at 30% 105%, #fdf497 0 7%, #fd5949 34%, #d6249f 62%, #285aeb 100%); }
.footer-grid .footer-social-link:hover, .footer-grid .footer-social-link:focus-visible { transform: translateY(-2px); border-color: #fff; box-shadow: 0 12px 26px rgba(0, 0, 0, .34); }
.legal { border-top: 1px solid #343945; margin-top: 2rem; padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 2rem; font-size: .78rem; }
:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; }

@media (max-width: 940px) {
  .grid-3, .catalog-grid, .review-grid, .footer-grid, .practice-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero-background { width: 67%; }
  .home-hero-overlay { background: linear-gradient(90deg, #061027 0%, rgba(6, 16, 39, .97) 48%, rgba(6, 16, 39, .62) 78%, rgba(6, 16, 39, .3) 100%); }
  .practice-image:last-child { grid-column: 1 / -1; }
  .practice-image:last-child img { height: 310px; }
  .menu-button { display: block; border: 1px solid rgba(255, 255, 255, .5); color: #fff; background: transparent; border-radius: 999px; padding: .55rem .9rem; font-weight: 750; }
  .ad-landing-layout { grid-template-columns: minmax(0, 1fr); }
  .ad-landing-sidebar { position: static; }
  .ad-landing-card { max-width: 820px; }
  nav { display: none; position: absolute; top: 82px; left: 0; right: 0; padding: 1rem 1.2rem 1.4rem; background: #07090e; flex-direction: column; border-bottom: 1px solid #2a303b; }
  nav.open { display: flex; }
  nav a { width: min(680px, 100%); padding: .35rem; text-align: center; }
  nav .nav-cta { color: #0b1220; padding: .7rem 1rem; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 1.5rem, 1200px); }
  .grid-3, .grid-2, .catalog-grid, .review-grid, .footer-grid, .form-grid, .practice-gallery { grid-template-columns: 1fr; }
  .home-hero { min-height: 720px; padding: 5.5rem 0 4rem; align-items: end; }
  .home-hero-background { inset: 0; width: 100%; object-position: center 12%; }
  .home-hero-overlay { background: linear-gradient(0deg, #061027 7%, rgba(6, 16, 39, .94) 49%, rgba(6, 16, 39, .48) 100%), linear-gradient(90deg, rgba(6, 16, 39, .65), transparent); }
  .home-hero h1 { font-size: clamp(2.65rem, 13vw, 4.15rem); }
  .home-hero .lede { font-size: 1rem; }
  .page-hero { min-height: 440px; padding: 5rem 0 3.6rem; align-items: end; }
  .page-hero-background, .page-hero-portrait .page-hero-background { object-position: center center; }
  .page-hero-overlay { background: linear-gradient(0deg, rgba(4, 10, 25, .98) 5%, rgba(4, 10, 25, .88) 60%, rgba(4, 10, 25, .48) 100%); }
  .page-hero-accent { right: -180px; bottom: -190px; }
  .practice-image:last-child { grid-column: auto; }
  .practice-image img, .practice-image:last-child img { height: 230px; }
  .legal { display: block; }
  .full { grid-column: auto; }
  .actions .button { width: 100%; }
  .floating-contact { right: 13px; bottom: 14px; gap: .6rem; }
  .floating-contact-button { width: 54px; height: 54px; min-height: 54px; }
  .floating-contact-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .brand small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
