:root {
  --ink: #101112;
  --paper: #f4f3ef;
  --white: #fff;
  --fog: #e7e5df;
  --muted: #62635f;
  --line: rgba(16, 17, 18, .17);
  --max: 1320px;
  --pad: clamp(22px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { width: 100%; scroll-behavior: smooth; }
body { position: relative; width: 100%; margin: 0; overflow-x: hidden; background: radial-gradient(circle at 18% 22%, rgba(154,123,79,.1), transparent 27%), radial-gradient(circle at 82% 64%, rgba(84,91,87,.09), transparent 24%), var(--paper); color: var(--ink); font-family: "Manrope", sans-serif; }
body > :not(.site-motion) { position: relative; z-index: 1; }
main, section, header, footer, div, article, aside, nav { min-width: 0; }
a { color: inherit; text-decoration: none; }
p { margin: 0; color: var(--muted); line-height: 1.75; }
h1, h2, h3 { margin: 0; font-family: "Cormorant Garamond", serif; font-weight: 600; line-height: .96; text-wrap: balance; }
h1, h2, h3, p, a { overflow-wrap: break-word; }
h1 { font-size: clamp(4rem, 8.4vw, 9rem); }
h2 { font-size: clamp(3rem, 5.5vw, 6rem); }
h3 { font-size: clamp(2rem, 3vw, 3.4rem); }
.shell { width: min(var(--max), calc(100% - 40px)); max-width: 100%; margin-inline: auto; }
.sr-only, .skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; z-index: 20; padding: 10px; background: var(--white); }
.kicker { color: var(--muted); font-size: .69rem; font-weight: 700; letter-spacing: .22em; line-height: 1.4; }
.site-motion { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .92; }
.site-motion canvas { mix-blend-mode: multiply; }

.site-header { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; min-height: 78px; padding: 0 max(20px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid var(--line); background: rgba(244, 243, 239, .93); backdrop-filter: blur(16px); }
.brand { display: inline-flex; gap: 12px; align-items: center; flex-shrink: 0; }
.brand-mark { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: "Cormorant Garamond", serif; font-weight: 700; letter-spacing: .08em; }
.brand-copy { display: flex; flex-direction: column; font-size: .66rem; font-weight: 700; letter-spacing: .24em; }
.site-nav { display: flex; align-items: center; gap: clamp(15px, 2vw, 29px); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.site-nav a { color: var(--muted); transition: color .2s ease; }
.site-nav a:hover, .site-nav .active { color: var(--ink); }
.language-select { min-width: 52px; height: 36px; border: 1px solid var(--line); background: rgba(244, 243, 239, .9); padding: 0 7px; color: var(--ink); font: inherit; font-size: .72rem; }
.language-control-mobile { display: none; margin-left: auto; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px 0; }
.menu-toggle span { display: block; width: 25px; height: 1px; margin: 5px 0; background: var(--ink); }

.hero { position: relative; isolation: isolate; display: grid; height: calc(100svh - 78px); min-height: 680px; max-height: 860px; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); border-inline: 1px solid var(--line); overflow: hidden; background: var(--paper); }
.hero::before { position: absolute; inset: 0; z-index: -1; content: ""; background: radial-gradient(circle at 18% 20%, rgba(255,255,255,.96), transparent 24%), radial-gradient(circle at 42% 74%, rgba(200,195,186,.2), transparent 30%), linear-gradient(135deg, rgba(255,255,255,.65), transparent 46%); }
.hero-copy { position: relative; z-index: 1; display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(32px, 4.7vw, 70px); transform: translateY(-2vh); }
.hero-copy h1 { max-width: 16ch; margin-top: 19px; font-size: clamp(2.8rem, 4vw, 4.5rem); }
.hero-lead { max-width: 610px; margin-top: 24px; font-size: clamp(1rem, 1.25vw, 1.18rem); }
.hero-tagline { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 500; font-style: italic; letter-spacing: 0.01em; opacity: 0.72; margin-top: 8px; margin-bottom: 0; line-height: 1.3; }
.action-row { display: flex; align-items: center; gap: 24px; margin-top: 27px; }
.button { display: inline-flex; min-height: 50px; align-items: center; padding: 0 20px; border: 1px solid var(--ink); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-dark { background: var(--ink); color: var(--white); }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hero-visual { position: relative; z-index: 1; display: grid; min-height: 0; grid-template-rows: 1fr auto; background: var(--ink); color: var(--white); overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .94; filter: saturate(.68) contrast(1.04); animation: float 14s ease-in-out infinite; }
.visual-caption { display: grid; grid-template-columns: 75px 1fr; gap: 18px; padding: 22px; border-top: 1px solid rgba(255,255,255,.2); }
.visual-caption span { font-size: .68rem; letter-spacing: .16em; color: #ccc; }
.visual-caption p { color: #e9e9e6; font-size: .85rem; line-height: 1.6; }

.statement, .practice-section, .method, .contact, .page-hero, .service-family { padding: clamp(54px, 8vw, 116px) var(--pad); border: 1px solid var(--line); border-top: 0; background: rgba(255, 255, 255, .62); }
.statement h2 { max-width: 13ch; margin: 20px 0 28px; }
.statement > p:last-child { max-width: 730px; font-size: 1.04rem; }
.statement-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.statement-left { display: flex; min-width: 0; flex-direction: column; justify-content: center; }
.statement-right { display: grid; min-width: 0; grid-template-columns: 1fr; border: 1px solid var(--line); background: rgba(244, 243, 239, .74); }
.stat-block { display: grid; grid-template-columns: 86px 1fr; gap: 18px; align-items: center; min-height: 132px; padding: 22px; }
.stat-block + .stat-block { border-top: 1px solid var(--line); }
.stat-number { font-family: "Cormorant Garamond", serif; font-size: clamp(3rem, 5vw, 5.6rem); line-height: .8; }
.stat-label { font-size: .92rem; line-height: 1.55; }
.section-intro h2 { max-width: 11ch; margin-top: 18px; }
.featured-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 52px; border: 1px solid var(--line); }
.featured-card { position: relative; display: flex; min-height: 420px; flex-direction: column; justify-content: space-between; padding: 26px; background: rgba(231, 229, 223, .8); transition: transform .25s ease, box-shadow .25s ease; }
.featured-card + .featured-card { border-left: 1px solid var(--line); }
.featured-card:hover { z-index: 2; transform: translateY(-8px); box-shadow: 0 20px 36px rgba(0,0,0,.13); }
.featured-card h3 { max-width: 10ch; margin: 14px 0 18px; }
.featured-card p:last-child { max-width: 500px; }
.featured-card-dark { background: var(--ink); color: var(--white); }
.featured-card-dark p, .featured-card-dark .kicker, .featured-card-dark .card-index { color: #c6c5c1; }
.card-index { color: var(--muted); font-size: .68rem; letter-spacing: .18em; }
.card-arrow { position: absolute; right: 26px; top: 22px; font-size: 1.5rem; }
body[data-page="legal-hub"] .featured-card h3 { max-width: 12ch; }
body[data-page="legal-hub"] .featured-card p:last-child { max-width: 560px; }
.lc-highlight { border-inline: 1px solid var(--line); background: var(--ink); color: var(--white); }
.lc-highlight-inner { padding: clamp(52px, 7vw, 98px) var(--pad); }
.lc-highlight-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; }
.lc-highlight h2 { max-width: 12ch; margin-top: 16px; color: var(--white); }
.lc-highlight .button { color: var(--white); border-color: rgba(255,255,255,.42); }
.lc-lead { max-width: 780px; margin-top: 22px; color: #d5d2c9; font-size: 1.02rem; }
.lc-pillars { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 42px; border: 1px solid rgba(255,255,255,.22); }
.lc-pillar { min-width: 0; padding: 24px; background: #151617; }
.lc-pillar + .lc-pillar { border-left: 1px solid rgba(255,255,255,.22); }
.lc-pillar-num { color: #c9a96e; font-size: .68rem; font-weight: 700; letter-spacing: .16em; }
.lc-pillar h3 { margin: 28px 0 14px; color: var(--white); font-size: clamp(1.7rem, 2.4vw, 2.5rem); }
.lc-pillar p { color: #c9c8c2; font-size: .9rem; line-height: 1.65; }
.lc-pillar-list { display: grid; gap: 9px; margin: 22px 0 0; padding: 0; list-style: none; }
.lc-pillar-list li { color: #ebe9e2; font-size: .78rem; line-height: 1.45; }
.lc-pillar-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border: 1px solid #c9a96e; border-radius: 50%; }
.lc-pillar-link { margin-top: 24px; color: #fff; font-size: .7rem; }
.method { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; background: rgba(244, 243, 239, .72); }
.method h2 { max-width: 8ch; margin-top: 18px; }
.method-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.method-list li { display: grid; grid-template-columns: 62px 1fr; gap: 15px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.method-list span { color: var(--muted); font-size: .69rem; letter-spacing: .18em; }
.method-list h3 { margin-bottom: 8px; font-size: 2rem; }
.contact { background: var(--ink); color: var(--white); }
.contact .kicker, .contact p { color: #c3c3bf; }
.contact h2 { max-width: 12ch; margin: 18px 0 30px; }
.contact-mail { border-bottom: 1px solid #888; font-size: clamp(1.2rem, 2vw, 1.8rem); }
.footer { display: block; padding-block: 42px 34px; }
.footer p, .footer a { font-size: .76rem; line-height: 1.7; }
.footer address { color: var(--muted); font-size: .76rem; font-style: normal; line-height: 1.75; }
.footer-top { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(360px, 2.1fr) minmax(140px, .8fr) minmax(140px, .8fr); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-label { margin-bottom: 8px; color: var(--ink); font-size: .66rem !important; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.footer-offices-wrap { min-width: 0; }
.footer-offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.footer-offices address { min-width: 0; padding: 12px 14px; line-height: 1.45; }
.footer-offices address + address { border-left: 1px solid var(--line); }
.footer-offices span { display: block; color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.footer-offices small { display: block; margin-top: 4px; color: var(--muted); font-size: .68rem; line-height: 1.45; }
.footer-socials { display: grid; gap: 3px; }
.footer-socials span { color: var(--ink); }
.footer-whatsapp { display: inline-flex; gap: 7px; align-items: center; border-bottom: 1px solid var(--line); color: var(--ink); }
.footer-legal { display: grid; gap: 12px; padding-top: 24px; }
.footer-legal p { max-width: 1160px; font-size: .7rem; line-height: 1.65; }
.footer-notice { color: var(--ink); font-weight: 700; letter-spacing: .04em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 22px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-bottom p:first-child { color: var(--ink); font-weight: 700; letter-spacing: .04em; }
.footer-policy-link { border-bottom: 1px solid var(--line); color: var(--ink); }

.page-hero { display: grid; grid-template-columns: 1fr .68fr; gap: 55px; min-height: 560px; align-items: end; }
.page-hero h1 { max-width: 13ch; margin-top: 20px; font-size: clamp(3.9rem, 5.7vw, 6.5rem); overflow-wrap: normal; word-break: normal; }
.page-hero p:last-child { max-width: 580px; font-size: 1.08rem; }
.page-hero-dark { background: var(--ink); color: var(--white); }
.page-hero-dark p { color: #c3c3bf; }
.service-family h2 { max-width: 12ch; margin: 16px 0 34px; }
.family-intro { max-width: 720px; margin: -12px 0 34px; }
.practice-stack { display: grid; gap: 12px; }
.practice-group { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(241,240,235,.9)); }
.practice-group summary { display: grid; grid-template-columns: 62px 1fr auto; gap: 16px; align-items: center; padding: 20px; cursor: pointer; list-style: none; }
.practice-group summary::-webkit-details-marker { display: none; }
.practice-group summary span { color: var(--muted); font-size: .68rem; letter-spacing: .16em; }
.practice-group summary h3 { font-size: clamp(1.85rem, 3vw, 2.7rem); }
.practice-group summary::after { content: "+"; color: var(--muted); font-size: 1.5rem; font-weight: 400; }
.practice-group[open] summary::after { content: "−"; }
.practice-group .service-grid { border-left: 0; }
.practice-group .service-card { min-height: 180px; }
.practice-group .service-card h3 { margin-top: 28px; font-size: 1.8rem; }
.service-family-dark .practice-group { border-color: rgba(255,255,255,.24); background: #151617; }
.service-family-dark .practice-group summary span { color: #c2c2be; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 220px; padding: 21px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(244,243,239,.88)); transition: background .2s ease; }
.service-card:hover { background: var(--fog); }
.service-card span { color: var(--muted); font-size: .68rem; letter-spacing: .16em; }
.service-card h3 { margin: 42px 0 12px; font-size: 2rem; }
.service-card p { font-size: .89rem; }
.service-family-dark { background: var(--ink); color: var(--white); }
.service-family-dark .service-grid { border-color: rgba(255,255,255,.25); }
.service-family-dark .service-card { border-color: rgba(255,255,255,.25); background: #151617; }
.service-family-dark .service-card:hover { background: #202122; }
.service-family-dark p, .service-family-dark .service-card span { color: #c2c2be; }
.disclaimer { padding: 18px var(--pad); border-inline: 1px solid var(--line); background: var(--fog); }
.disclaimer p { font-size: .76rem; line-height: 1.6; }
.privacy-document { display: grid; grid-template-columns: minmax(230px, .34fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 72px); padding: clamp(46px, 7vw, 96px) var(--pad); border: 1px solid var(--line); border-top: 0; background: rgba(255, 255, 255, .68); }
.privacy-summary { position: sticky; top: 104px; align-self: start; display: grid; gap: 16px; padding: 22px; border: 1px solid var(--line); background: rgba(244, 243, 239, .82); }
.privacy-summary p { font-size: .9rem; }
.privacy-summary .kicker { margin-top: 8px; color: var(--ink); }
.privacy-content { display: grid; gap: 28px; }
.privacy-content article { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.privacy-content h2 { margin-bottom: 12px; font-size: clamp(2rem, 3vw, 3.1rem); }
.privacy-content p + p { margin-top: 12px; }
.reveal { animation: rise .7s ease both; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 50% { transform: scale(1.04) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .site-motion { opacity: .78; }
}

@media (max-width: 900px) {
  .site-header { min-height: 68px; }
  .menu-toggle { display: block; }
  .language-control-mobile { display: block; }
  .language-control-mobile .language-select { min-width: 46px; height: 32px; padding: 0 5px; border-color: rgba(16,17,18,.22); font-size: .66rem; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 10px 20px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .language-control { display: none; }
  .hero, .page-hero, .method, .statement-split, .privacy-document { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero { height: auto; max-height: none; }
  .hero-copy { min-height: 0; transform: none; }
  .hero-visual { min-height: 420px; }
  .page-hero { min-height: 0; align-items: start; }
  .page-hero h1 { font-size: clamp(3.2rem, 9vw, 4.9rem); }
  .lc-highlight-header, .lc-pillars { grid-template-columns: 1fr; }
  .lc-pillar + .lc-pillar { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-offices-wrap { grid-column: 1 / -1; }
  .privacy-summary { position: static; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 20px, var(--max)); }
  .site-header { min-height: 62px; padding-inline: 14px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy { font-size: .6rem; letter-spacing: .2em; }
  .site-nav { top: 62px; }
  h1 { font-size: clamp(2.7rem, 11.5vw, 3.65rem); }
  .hero-copy h1 { max-width: 12ch; white-space: normal; text-wrap: wrap; font-size: clamp(2.35rem, 9.2vw, 3rem); line-height: 1.06; }
  h1, h2, h3 { white-space: normal; text-wrap: wrap; }
  h2 { font-size: clamp(2.25rem, 9.8vw, 3.05rem); }
  h3 { font-size: clamp(1.65rem, 8vw, 2.35rem); }
  .statement, .practice-section, .method, .contact, .page-hero, .service-family, .privacy-document { padding: 42px 18px; }
  .hero-copy { padding: 44px 22px 38px; }
  .action-row { align-items: flex-start; flex-direction: column; gap: 18px; }
  .action-row .text-link { width: 100%; min-height: 46px; justify-content: center; border: 1px solid var(--line); background: rgba(255,255,255,.5); }
  .button { width: 100%; justify-content: center; min-height: 48px; padding-inline: 16px; text-align: center; }
  .hero-visual { min-height: 300px; }
  .visual-caption { grid-template-columns: 1fr; gap: 8px; padding: 16px; }
  .featured-grid, .service-grid { grid-template-columns: 1fr; }
  .featured-card { min-height: 300px; padding: 22px; }
  .featured-card h3 { max-width: none; }
  .featured-card + .featured-card { border-left: 0; border-top: 1px solid var(--line); }
  .page-hero { width: 100%; gap: 20px; overflow: hidden; }
  .hero-lead, .page-hero p:last-child, .family-intro, .lc-lead { max-width: 32ch; font-size: .96rem; line-height: 1.65; }
  .page-hero p, .family-intro, .hero-lead, .lc-lead { width: 100%; max-width: 32ch; }
  .service-card { min-height: 190px; }
  .practice-group summary { grid-template-columns: 34px 1fr auto; gap: 10px; padding: 16px; }
  .practice-group summary h3 { font-size: clamp(1.45rem, 7.4vw, 1.95rem); }
  .page-hero h1 { max-width: 13ch; white-space: normal; overflow-wrap: normal; word-break: normal; text-wrap: wrap; font-size: clamp(1.95rem, 7.8vw, 2.35rem); line-height: 1.08; }
  body[data-page="legal"] .page-hero h1, body[data-page="transformation"] .page-hero h1 { max-width: 13ch; font-size: clamp(1.9rem, 7.5vw, 2.28rem); }
  .service-family h2, .section-intro h2, .statement h2, .contact h2 { max-width: none; }
  .stat-block { grid-template-columns: 58px 1fr; min-height: 0; padding: 18px; }
  .lc-highlight-inner { padding: 42px 18px; }
  .lc-highlight-header { gap: 22px; }
  .lc-highlight-header .button { justify-self: stretch; }
  .lc-pillars { margin-top: 30px; }
  .lc-pillar { padding: 20px; }
  .lc-pillar h3 { margin-top: 18px; }
  .contact-mail { font-size: clamp(1.02rem, 5.7vw, 1.35rem); }
  body[data-page="legal-hub"] .page-hero,
  body[data-page="transfer-pricing"] .page-hero,
  body[data-page="employment-compliance"] .page-hero { padding-block: 34px 28px; gap: 14px; }
  body[data-page="transfer-pricing"] .service-family,
  body[data-page="employment-compliance"] .service-family { padding-block: 30px; }
  body[data-page="legal-hub"] .featured-card { min-height: 0; justify-content: start; gap: 28px; }
  body[data-page="legal-hub"] .featured-card h3 { margin-top: 18px; }
  body[data-page="transfer-pricing"] .family-intro,
  body[data-page="employment-compliance"] .family-intro { margin: -6px 0 22px; }
  body[data-page="employment-compliance"] .service-family h2 { max-width: 15ch; overflow-wrap: normal; word-break: normal; font-size: clamp(1.8rem, 7.4vw, 2.25rem); line-height: 1.08; }
  body[data-page="transfer-pricing"] .practice-stack,
  body[data-page="employment-compliance"] .practice-stack { gap: 8px; }
  body[data-page="transfer-pricing"] .practice-group .service-card,
  body[data-page="employment-compliance"] .practice-group .service-card { min-height: 0; padding: 16px; }
  body[data-page="transfer-pricing"] .practice-group .service-card h3,
  body[data-page="employment-compliance"] .practice-group .service-card h3 { margin-top: 18px; font-size: 1.55rem; }
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .footer-offices { grid-template-columns: 1fr; }
  .footer-offices address + address { border-left: 0; border-top: 1px solid var(--line); }
  .footer-bottom { flex-direction: column; }
}
