:root {
  --ink: #0d1522;
  --navy: #293a54;
  --slate: #657082;
  --mist: #d9d9d9;
  --warm: #f3f1eb;
  --white: #ffffff;
  --black: #000000;
  --line-dark: rgba(255, 255, 255, 0.15);
  --line-light: rgba(13, 21, 34, 0.16);
  --shell: min(1180px, calc(100vw - 48px));
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--warm); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; padding: 10px 14px; color: var(--ink); background: var(--white); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--white); border-bottom: 1px solid var(--line-dark); }
.site-header.scrolled { position: fixed; background: rgba(13,21,34,.96); backdrop-filter: blur(18px); animation: slideDown .35s ease; }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-logo { width: 215px; height: 64px; object-fit: cover; object-position: center; }
.brand-mark { width: 46px; height: 46px; border: 1px solid currentColor; display: grid; place-items: center; font-family: var(--serif); font-size: 1.05rem; letter-spacing: -.12em; padding-right: .12em; }
.brand-name { display: grid; line-height: 1.15; text-transform: uppercase; }
.brand-name strong { font-size: .89rem; letter-spacing: .22em; font-weight: 500; }
.brand-name small { margin-top: 5px; font-size: .58rem; letter-spacing: .38em; opacity: .68; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: .78rem; letter-spacing: .08em; }
.main-nav a { position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: currentColor; transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.nav-cta { padding: 12px 18px; border: 1px solid rgba(255,255,255,.65); }
.nav-cta:hover, .nav-cta:focus-visible { background: var(--white); color: var(--ink); }
.menu-button { display: none; background: none; border: 0; padding: 12px; color: var(--white); }
.menu-button span:not(.sr-only) { display: block; width: 25px; height: 1px; margin: 6px 0; background: currentColor; transition: transform .25s; }

.hero { min-height: 850px; position: relative; display: grid; grid-template-columns: 52% 48%; background: var(--ink); color: var(--white); overflow: hidden; }
.hero-copy { width: auto; margin-left: max(24px, calc((100vw - min(1180px, calc(100vw - 48px))) / 2)); padding: 190px 6vw 58px 0; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.hero-content { max-width: 670px; }
.eyebrow { margin: 0 0 24px; color: rgba(255,255,255,.68); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.dark { color: var(--slate); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { max-width: 720px; font-size: clamp(3.5rem, 6.2vw, 6.8rem); line-height: .94; }
.hero-lead { max-width: 580px; margin: 38px 0 0; color: rgba(255,255,255,.72); font-size: 1.1rem; line-height: 1.75; }
.hero-actions { margin-top: 44px; display: flex; align-items: center; gap: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border: 1px solid currentColor; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: background .25s, color .25s, transform .25s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.button-light:hover, .button-light:focus-visible { background: transparent; color: var(--white); }
.text-link { padding-block: 12px; border-bottom: 1px solid rgba(255,255,255,.4); font-size: .78rem; letter-spacing: .06em; }
.text-link span { margin-left: 14px; }
.hero-note { display: flex; gap: 28px; color: rgba(255,255,255,.58); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.hero-image-wrap { position: relative; min-width: 0; overflow: hidden; }
.hero-image-wrap img { height: 100%; object-fit: cover; object-position: center 35%; }
.hero-image-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,21,34,.35), transparent 30%), linear-gradient(0deg, rgba(13,21,34,.23), transparent 38%); }

.trust-strip { background: var(--white); border-bottom: 1px solid var(--line-light); }
.trust-grid { min-height: 140px; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { padding: 28px 34px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line-light); }
.trust-grid > div:last-child { border-right: 1px solid var(--line-light); }
.trust-grid strong { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; }
.trust-grid span { color: var(--slate); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }

.section { padding: 130px 0; }
.section-intro h2, .section-heading h2, .principles-copy h2, .partners-heading h2, .contact h2, .team-content h2 { font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: 1.02; }
.about { background: var(--warm); }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px 80px; }
.section-intro { align-self: start; }
.about-copy { padding-top: 50px; max-width: 560px; }
.about-copy .lead { color: var(--navy); font-family: var(--serif); font-size: 1.75rem; line-height: 1.35; }
.about-copy p:not(.lead) { color: #4f5969; }
.signature-line { margin-top: 36px; display: flex; align-items: center; gap: 16px; color: var(--slate); text-transform: uppercase; letter-spacing: .14em; }
.signature-line span { width: 64px; height: 1px; background: var(--slate); }
.signature-line small { font-size: .65rem; }
.about-image { grid-column: 1 / -1; margin: 54px 0 0; height: min(60vw, 650px); overflow: hidden; }
.about-image img { height: 100%; object-fit: cover; }

.practice { background: var(--ink); color: var(--white); }
.section-heading { margin-bottom: 70px; display: grid; grid-template-columns: 1.15fr .55fr; align-items: end; gap: 80px; }
.section-heading > p { margin: 0 0 8px; color: rgba(255,255,255,.62); }
.practice-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.practice-card { min-height: 570px; padding: 42px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); transition: background .35s ease; }
.practice-card:hover { background: var(--navy); }
.card-number { color: rgba(255,255,255,.38); font-family: var(--serif); font-size: 1.2rem; }
.practice-card h3 { margin-bottom: 25px; font-size: clamp(2.4rem, 4vw, 4rem); }
.practice-card p { max-width: 480px; color: rgba(255,255,255,.68); }
.practice-card ul { margin: 28px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.88); }
.practice-card li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.practice-card a { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.practice-disclaimer { max-width: 760px; margin: 30px 0 0 auto; color: rgba(255,255,255,.48); font-size: .75rem; }

.principles { background: var(--white); }
.principles-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.principles-visual { position: relative; }
.principles-visual img { height: 760px; object-fit: cover; }
.visual-caption { position: absolute; left: -28px; bottom: 42px; padding: 18px 24px; background: var(--ink); color: var(--white); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.visual-caption span { margin-right: 30px; color: rgba(255,255,255,.45); font-family: var(--serif); font-size: 1rem; }
.principles-copy h2 { max-width: 680px; }
.principle-list { margin-top: 58px; }
.principle-list article { display: grid; grid-template-columns: 54px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line-light); }
.principle-list article:last-child { border-bottom: 1px solid var(--line-light); }
.principle-list > article > span { color: var(--slate); font-family: var(--serif); }
.principle-list h3 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.principle-list p { margin: 8px 0 0; color: var(--slate); }

.partners { background: var(--navy); color: var(--white); }
.partners-heading { max-width: 820px; margin-bottom: 64px; }
.partners-heading > p:last-child { max-width: 650px; color: rgba(255,255,255,.65); }
.partners-layout { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 0; }
.partners-photo { margin: 0; height: 720px; overflow: hidden; }
.partners-photo img { height: 100%; object-fit: cover; object-position: center 28%; }
.partner-names { border-top: 1px solid var(--line-dark); }
.partner-names article { min-height: 190px; padding: 34px; display: grid; grid-template-columns: 38px 1fr; gap: 22px; border-bottom: 1px solid var(--line-dark); }
.partner-names article > span { color: rgba(255,255,255,.42); font-family: var(--serif); }
.partner-names h3 { font-size: 2rem; line-height: 1.12; }
.partner-names p { color: rgba(255,255,255,.6); font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; }

.structure { background: var(--warm); }
.structure-heading > p { color: var(--slate); }
.gallery { display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: repeat(2, 340px); gap: 18px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; background: var(--mist); }
.gallery-wide { grid-row: 1 / 3; }
.gallery img { height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.025); }
.gallery figcaption { position: absolute; left: 18px; bottom: 18px; padding: 9px 12px; background: rgba(13,21,34,.88); color: var(--white); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }

.team-banner { min-height: 730px; position: relative; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); color: var(--white); }
.team-banner > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.team-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,21,34,.9) 0%, rgba(13,21,34,.2) 70%); }
.team-content { position: relative; padding-bottom: 80px; }
.team-content h2 { max-width: 970px; font-size: clamp(2.6rem, 4.7vw, 4.8rem); }

.reviews { background: var(--white); }
.reviews-heading { margin-bottom: 66px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.reviews-heading h2 { max-width: 780px; font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: 1.02; }
.reviews-source-note { max-width: 590px; margin: 26px 0 0; color: var(--slate); }
.google-score { justify-self: end; min-width: 315px; padding: 25px 0; display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.google-score strong { font-family: var(--serif); font-size: 4.6rem; font-weight: 400; line-height: 1; }
.google-score p { margin: 5px 0 0; color: var(--slate); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.stars { color: #b58b48; letter-spacing: .12em; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { min-height: 350px; margin: 0; padding: 28px; display: flex; flex-direction: column; border: 1px solid #dadce0; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(60,64,67,.12); font-family: Arial, Helvetica, sans-serif; }
.review-author { display: grid; grid-template-columns: 46px 1fr auto; gap: 13px; align-items: center; }
.review-avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 1.12rem; font-weight: 600; }
.avatar-blue { background: #4285f4; }
.avatar-violet { background: #7e57c2; }
.avatar-teal { background: #00897b; }
.review-author strong { display: block; color: #202124; font-size: .95rem; line-height: 1.35; }
.review-author small { display: block; margin-top: 2px; color: #5f6368; font-size: .76rem; line-height: 1.35; }
.google-g { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0); color: #fff; font-size: 0; }
.google-g i { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #4285f4; font-size: .8rem; font-style: normal; font-weight: 700; }
.review-rating { margin-top: 22px; display: flex; align-items: center; gap: 10px; }
.review-rating span { color: #fbbc04; font-size: 1.05rem; letter-spacing: .04em; }
.review-rating small { color: #70757a; font-size: .76rem; }
.review-card p { margin: 20px 0 28px; color: #3c4043; font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.58; }
.review-card footer { margin-top: auto; color: #70757a; font-size: .72rem; }
.reviews-action { padding-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.reviews-action p { max-width: 590px; margin: 0; color: var(--slate); }
.button-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.button-dark span { margin-left: 12px; }
.button-dark:hover, .button-dark:focus-visible { background: transparent; color: var(--ink); }

.contact { padding: 130px 0; background: var(--ink); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 110px; }
.contact-main > p:not(.eyebrow) { max-width: 680px; color: rgba(255,255,255,.65); }
.contact-main .button { margin-top: 34px; }
.contact-details { border-top: 1px solid var(--line-dark); }
.contact-details > div { padding: 26px 0; display: grid; grid-template-columns: 115px 1fr; gap: 22px; border-bottom: 1px solid var(--line-dark); }
.contact-details span { color: rgba(255,255,255,.45); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-details p, .contact-details a { margin: 0; color: rgba(255,255,255,.85); }

.site-footer { background: #080d15; color: var(--white); }
.footer-top { min-height: 180px; display: flex; align-items: center; gap: 40px; border-bottom: 1px solid var(--line-dark); }
.footer-brand { margin-right: auto; }
.footer-top > p { color: rgba(255,255,255,.52); }
.back-top { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-bottom { min-height: 150px; padding-block: 28px; display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 45px; align-items: center; color: rgba(255,255,255,.48); font-size: .72rem; }

.whatsapp-float { position: fixed; z-index: 30; right: 24px; bottom: 24px; min-height: 58px; padding: 0 19px 0 15px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: #1f8f58; color: var(--white); box-shadow: 0 14px 38px rgba(13,21,34,.28); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: transform .25s ease, background .25s ease; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { transform: translateY(-3px); background: #177a49; }
.whatsapp-float svg { width: 27px; height: 27px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .site-header { position: absolute; }
  .header-inner { min-height: 78px; }
  .menu-button { display: block; z-index: 3; }
  .main-nav { position: fixed; inset: 0; z-index: 2; padding: 130px 28px 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; background: var(--ink); font-family: var(--serif); font-size: 2rem; transform: translateX(100%); transition: transform .35s ease; }
  .main-nav.open { transform: none; }
  .main-nav .nav-cta { margin-top: 20px; font-family: var(--sans); font-size: .75rem; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: 720px; width: var(--shell); margin-inline: auto; padding: 145px 0 42px; }
  .hero-image-wrap { height: 72vh; min-height: 580px; }
  .hero-note { flex-direction: column; gap: 4px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(3), .trust-grid > div:nth-child(4) { border-top: 1px solid var(--line-light); }
  .section { padding: 92px 0; }
  .about-grid, .principles-grid, .partners-layout, .contact-grid, .reviews-heading { grid-template-columns: 1fr; }
  .about-copy { padding-top: 0; }
  .about-image { margin-top: 20px; height: 520px; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { min-height: 540px; }
  .principles-grid { gap: 68px; }
  .principles-visual img { height: 600px; }
  .partners-photo { height: 660px; }
  .partner-names { display: grid; grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 500px 280px; }
  .gallery-wide { grid-column: 1 / -1; grid-row: auto; }
  .team-banner { min-height: 600px; }
  .google-score { justify-self: start; }
  .review-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 300px; }
  .contact-grid { gap: 70px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 32px); }
  .brand-name { display: none; }
  .brand-logo { width: 160px; height: 48px; }
  .brand-mark { width: 42px; height: 42px; }
  h1 { font-size: clamp(3.1rem, 15vw, 4.3rem); }
  .hero-copy { min-height: 680px; padding-top: 130px; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-image-wrap { height: 600px; min-height: 0; }
  .hero-image-wrap img { object-position: 54% center; }
  .trust-grid > div { min-height: 112px; padding: 20px 16px; }
  .trust-grid strong { font-size: 1.45rem; }
  .section { padding: 74px 0; }
  .section-intro h2, .section-heading h2, .principles-copy h2, .partners-heading h2, .contact h2 { font-size: 2.65rem; }
  .about-image { height: 350px; }
  .practice-card { min-height: 520px; padding: 28px 22px; }
  .practice-card h3 { font-size: 2.65rem; }
  .principles-visual img { height: 460px; }
  .visual-caption { left: 14px; bottom: 14px; }
  .partner-names { grid-template-columns: 1fr; }
  .partners-photo { height: 560px; }
  .gallery { display: block; }
  .gallery figure { height: 320px; margin-bottom: 14px; }
  .team-banner { min-height: 520px; }
  .team-content h2 { font-size: 2.45rem; }
  .contact { padding: 80px 0; }
  .contact-details > div { grid-template-columns: 1fr; gap: 6px; }
  .reviews-heading { margin-bottom: 46px; gap: 38px; }
  .google-score { width: 100%; min-width: 0; }
  .review-card { min-height: 290px; padding: 24px; }
  .review-card p { margin-top: 18px; font-size: 1rem; }
  .reviews-action { align-items: flex-start; flex-direction: column; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 58px; padding: 0; justify-content: center; }
  .whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .footer-top { padding-block: 45px; align-items: flex-start; flex-direction: column; gap: 18px; }
  .footer-top > p { margin: 0; }
  .footer-brand .brand-name { display: grid; }
}

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