@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
    --black: #050505;
    --black-soft: #0b0b0d;
    --charcoal: #141418;
    --ivory: #f6f0e6;
    --ivory-2: #fbf7ef;
    --white: #ffffff;
    --gold: #b58a4a;
    --gold-light: #e3c58d;
    --bronze: #765533;
    --text: #131313;
    --muted: #6e6a63;
    --border: rgba(19, 19, 19, 0.12);
    --border-light: rgba(255, 255, 255, 0.12);
    --shadow: 0 34px 90px rgba(0, 0, 0, 0.18);
    --shadow-dark: 0 38px 110px rgba(0, 0, 0, 0.42);
    --radius: 34px;
    --container: 1220px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(181, 138, 74, 0.12), transparent 28%),
        linear-gradient(180deg, var(--ivory), var(--ivory-2) 42%, #ffffff);
    font-family: "Inter", system-ui, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(19, 19, 19, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(19, 19, 19, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

textarea {
    resize: vertical;
}

/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 92px;
    padding: 0 clamp(20px, 5vw, 82px);
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(246, 240, 230, 0.88);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

.brand {
    min-width: max-content;
    display: grid;
    line-height: 0.95;
    text-transform: uppercase;
}

.brand span {
    color: var(--black);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.brand small {
    margin-top: 5px;
    color: var(--gold);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.28em;
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 30px);
}

.main-nav a {
    position: relative;
    color: rgba(19, 19, 19, 0.68);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--black);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -11px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.25s ease;
}

.main-nav a.active::after,
.main-nav a:hover::after {
    width: 100%;
}

.header-link {
    min-height: 46px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(19, 19, 19, 0.18);
    border-radius: 999px;
    color: var(--ivory);
    background: var(--black);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    min-width: max-content;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    margin-left: auto;
    border-radius: 999px;
    background: rgba(19, 19, 19, 0.07);
    position: relative;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
    content: "";
    position: absolute;
    left: 14px;
    width: 20px;
    height: 2px;
    background: var(--black);
    border-radius: 99px;
    transition: 0.25s ease;
}

.menu-toggle span {
    top: 23px;
}

.menu-toggle::before {
    top: 16px;
}

.menu-toggle::after {
    top: 30px;
}

.menu-toggle.active span {
    opacity: 0;
}

.menu-toggle.active::before {
    top: 23px;
    transform: rotate(45deg);
}

.menu-toggle.active::after {
    top: 23px;
    transform: rotate(-45deg);
}

/* =========================
   TYPO / BUTTONS
========================= */

.eyebrow {
    width: fit-content;
    margin-bottom: 24px;
    padding: 8px 15px;
    border: 1px solid rgba(181, 138, 74, 0.42);
    border-radius: 999px;
    color: var(--gold-light);
    background: rgba(181, 138, 74, 0.08);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: var(--gold);
    background: rgba(181, 138, 74, 0.1);
}

h1,
h2,
h3 {
    font-family: "Cormorant Garamond", serif;
}

.btn {
    min-height: 56px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-gold {
    color: var(--black);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 20px 48px rgba(181, 138, 74, 0.22);
}

.btn-ghost {
    color: var(--ivory);
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.06);
}

/* =========================
   HERO
========================= */

.hero {
    min-height: calc(100vh - 92px);
    padding: clamp(76px, 8vw, 132px) clamp(20px, 6vw, 92px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
    align-items: center;
    gap: clamp(50px, 7vw, 112px);
    color: var(--ivory);
    background:
        linear-gradient(110deg, rgba(5, 5, 5, 0.98), rgba(20, 20, 24, 0.86)),
        radial-gradient(circle at 78% 20%, rgba(181, 138, 74, 0.28), transparent 31%),
        var(--black);
}

.hero h1 {
    max-width: 880px;
    margin-bottom: 28px;
    font-size: clamp(4rem, 7.6vw, 8.2rem);
    line-height: 0.9;
    letter-spacing: -0.055em;
}

.hero-text {
    max-width: 720px;
    margin-bottom: 36px;
    color: rgba(246, 240, 230, 0.73);
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.hero-metrics div {
    padding: 18px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.055);
}

.hero-metrics strong {
    display: block;
    color: var(--gold-light);
    font-size: 1.55rem;
}

.hero-metrics span {
    color: rgba(246, 240, 230, 0.66);
    font-size: 0.88rem;
}

.signature-panel {
    min-height: 560px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-light);
    border-radius: 42px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035)),
        linear-gradient(180deg, rgba(181, 138, 74, 0.12), transparent);
    box-shadow: var(--shadow-dark);
    backdrop-filter: blur(18px);
}

.panel-lines {
    position: absolute;
    inset: 28px 28px auto 28px;
    display: flex;
    gap: 8px;
}

.panel-lines span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
}

.law-symbol {
    position: absolute;
    inset: 90px 50px 210px 50px;
    display: grid;
    place-items: end center;
}

.pillar {
    position: absolute;
    bottom: 34px;
    width: 54px;
    height: 220px;
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
    border-radius: 999px 999px 0 0;
}

.p1 {
    left: 18%;
}

.p2 {
    left: calc(50% - 27px);
}

.p3 {
    right: 18%;
}

.base {
    position: absolute;
    bottom: 0;
    width: 78%;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.signature-content {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
    padding: 28px;
    border: 1px solid var(--border-light);
    border-radius: 28px;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(16px);
}

.signature-content small {
    color: var(--gold-light);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.signature-content h2 {
    margin: 12px 0;
    font-size: clamp(2.1rem, 3vw, 3rem);
    line-height: 1;
}

.signature-content p {
    color: rgba(246, 240, 230, 0.68);
}

/* =========================
   PAGE HERO
========================= */

.page-hero {
    padding: clamp(92px, 10vw, 160px) clamp(20px, 6vw, 92px);
    color: var(--ivory);
    background:
        linear-gradient(110deg, rgba(5, 5, 5, 0.98), rgba(20, 20, 24, 0.88)),
        radial-gradient(circle at 78% 20%, rgba(181, 138, 74, 0.24), transparent 30%),
        var(--black);
}

.page-hero-inner {
    max-width: 980px;
}

.page-hero h1 {
    max-width: 1040px;
    margin-bottom: 26px;
    font-size: clamp(3.5rem, 6.8vw, 7rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 760px;
    color: rgba(246, 240, 230, 0.72);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

/* =========================
   SECTIONS
========================= */

.prestige-strip {
    padding: 30px clamp(20px, 6vw, 92px);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(22px, 4vw, 66px);
    color: rgba(19, 19, 19, 0.48);
    background: var(--ivory-2);
    border-bottom: 1px solid var(--border);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
}

.section,
.cta-section,
.contact-section {
    padding: clamp(82px, 8vw, 128px) clamp(20px, 6vw, 92px);
}

.section-head {
    max-width: 860px;
    margin: 0 auto 58px;
    text-align: center;
}

.section-head h2,
.editorial-title h2,
.proof-card h2,
.cta-card h2,
.contact-card h2,
.practice-intro h2 {
    margin-bottom: 18px;
    color: var(--black);
    font-size: clamp(2.9rem, 5.5vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.section-head p {
    color: var(--muted);
    font-size: 1.06rem;
}

.editorial-grid {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(38px, 7vw, 92px);
    align-items: start;
}

.editorial-text {
    display: grid;
    gap: 20px;
}

.editorial-text p {
    color: var(--muted);
    font-size: 1.12rem;
}

/* =========================
   DARK / EXPERTISE
========================= */

.dark-block {
    color: var(--ivory);
    background: var(--black);
}

.dark-block .section-head h2 {
    color: var(--ivory);
}

.dark-block .section-head p {
    color: rgba(246, 240, 230, 0.68);
}

.expertise-showcase {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.expertise-tile {
    min-height: 365px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        var(--charcoal);
    box-shadow: var(--shadow-dark);
}

.expertise-tile small {
    color: var(--gold-light);
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.expertise-tile h3 {
    margin: 24px 0 16px;
    color: var(--ivory);
    font-size: 2rem;
    line-height: 1;
}

.expertise-tile p {
    color: rgba(246, 240, 230, 0.68);
}

.expertise-tile span {
    margin-top: auto;
    color: var(--gold-light);
    font-weight: 900;
}

/* =========================
   PROCESS / PROOF
========================= */

.process-section {
    background: var(--ivory);
}

.process-list {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.process-item {
    padding: 28px;
    display: grid;
    grid-template-columns: 90px 0.7fr 1fr;
    gap: 26px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: var(--ivory-2);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

.process-item span {
    color: var(--gold);
    font-weight: 900;
    letter-spacing: 0.16em;
}

.process-item h3 {
    color: var(--black);
    font-size: 2rem;
}

.process-item p {
    color: var(--muted);
}

.proof-section {
    background: var(--ivory-2);
}

.proof-card {
    width: min(var(--container), 100%);
    margin: 0 auto;
    padding: clamp(36px, 5vw, 66px);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 42px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.quote-block {
    padding: clamp(28px, 4vw, 42px);
    border-radius: 30px;
    color: var(--ivory);
    background: var(--black);
}

.quote-block p {
    margin-bottom: 26px;
    color: rgba(246, 240, 230, 0.8);
    font-size: 1.16rem;
}

.quote-block strong {
    display: block;
    color: var(--gold-light);
}

.quote-block span {
    color: rgba(246, 240, 230, 0.58);
}

/* =========================
   VALUES / TEAM / LISTS
========================= */

.values-grid,
.team-grid,
.practice-cards,
.pricing-grid,
.articles-grid {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.values-grid {
    grid-template-columns: repeat(4, 1fr);
}

.value-card,
.practice-card,
.pricing-card,
.article-card,
.team-card,
.timeline-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.dark-block .value-card {
    border-color: var(--border-light);
    color: var(--ivory);
    background: rgba(255, 255, 255, 0.055);
}

.value-card span,
.practice-card span,
.timeline-card span,
.pricing-card > span,
.article-card > span {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.value-card h3,
.practice-card h3,
.timeline-card h3 {
    margin: 18px 0 12px;
    color: var(--black);
    font-size: 2rem;
    line-height: 1;
}

.dark-block .value-card h3 {
    color: var(--ivory);
}

.value-card p,
.practice-card p,
.timeline-card p,
.pricing-card p,
.article-card p {
    color: var(--muted);
}

.dark-block .value-card p {
    color: rgba(246, 240, 230, 0.68);
}

.timeline {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.team-grid {
    grid-template-columns: repeat(3, 1fr);
}

.team-card {
    padding: 0;
    overflow: hidden;
}

.portrait {
    min-height: 320px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 30%, rgba(181, 138, 74, 0.35), transparent 34%),
        linear-gradient(145deg, var(--black), var(--charcoal));
}

.portrait span {
    width: 140px;
    height: 140px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(227, 197, 141, 0.38);
    border-radius: 50%;
    color: var(--gold-light);
    font-family: "Cormorant Garamond", serif;
    font-size: 4rem;
}

.team-content {
    padding: 30px;
}

.team-content small {
    color: var(--gold);
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.team-content h2 {
    margin: 12px 0;
    color: var(--black);
    font-size: 2.4rem;
    line-height: 1;
}

.team-content p {
    color: var(--muted);
}

.expertise-list {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.expertise-row {
    padding: 30px;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 26px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.expertise-row > span {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: var(--black);
    background: rgba(181, 138, 74, 0.15);
    font-weight: 900;
}

.expertise-row h2 {
    color: var(--black);
    font-size: 2.4rem;
    line-height: 1;
}

.expertise-row p {
    color: var(--muted);
}

.expertise-row strong {
    color: var(--gold);
}

/* =========================
   PRACTICE PAGES
========================= */

.practice-layout {
    width: min(var(--container), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(38px, 6vw, 76px);
    align-items: start;
}

.practice-cards {
    grid-template-columns: repeat(2, 1fr);
}

.practice-intro h2 {
    color: var(--black);
}

.practice-intro p {
    color: var(--muted);
}

/* =========================
   PRICING / PUBLICATIONS
========================= */

.pricing-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pricing-card h2,
.article-card h2 {
    margin: 16px 0;
    color: var(--black);
    font-size: 2.5rem;
    line-height: 1;
}

.pricing-card ul {
    margin-top: 24px;
    display: grid;
    gap: 10px;
    list-style: none;
}

.pricing-card li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
}

.pricing-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gold);
}

.pricing-card.featured {
    color: var(--ivory);
    background: var(--black);
}

.pricing-card.featured h2,
.pricing-card.featured p,
.pricing-card.featured li {
    color: var(--ivory);
}

.articles-grid {
    grid-template-columns: repeat(3, 1fr);
}

.article-card a {
    display: inline-block;
    margin-top: 24px;
    color: var(--gold);
    font-weight: 900;
}

/* =========================
   CTA / CONTACT
========================= */

.cta-section {
    color: var(--ivory);
    background: var(--black);
}

.cta-card {
    width: min(940px, 100%);
    margin: 0 auto;
    padding: clamp(36px, 5vw, 68px);
    border: 1px solid var(--border-light);
    border-radius: 42px;
    background:
        radial-gradient(circle at top right, rgba(181, 138, 74, 0.18), transparent 32%),
        rgba(255, 255, 255, 0.055);
    text-align: center;
    box-shadow: var(--shadow-dark);
}

.cta-card h2 {
    color: var(--ivory);
}

.cta-card p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: rgba(246, 240, 230, 0.72);
}

.contact-section {
    color: var(--ivory);
    background: var(--black);
}

.contact-section.standalone {
    padding-top: clamp(82px, 8vw, 128px);
}

.contact-card {
    width: min(var(--container), 100%);
    margin: 0 auto;
    padding: clamp(36px, 5vw, 68px);
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(34px, 6vw, 78px);
    border: 1px solid var(--border-light);
    border-radius: 42px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow: var(--shadow-dark);
}

.contact-card h2 {
    margin-bottom: 18px;
    color: var(--ivory);
    font-size: clamp(2.7rem, 5vw, 5.2rem);
    line-height: 0.95;
}

.contact-content p {
    color: rgba(246, 240, 230, 0.72);
}

.contact-details {
    margin-top: 34px;
    display: grid;
    gap: 12px;
}

.contact-details a,
.contact-details span {
    color: var(--gold-light);
    font-weight: 800;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

label {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

input,
select,
textarea {
    width: 100%;
    min-height: 58px;
    padding: 0 18px;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    color: var(--ivory);
    background: rgba(255, 255, 255, 0.075);
    outline: none;
}

textarea {
    min-height: 150px;
    padding-top: 18px;
}

input::placeholder,
textarea::placeholder {
    color: rgba(246, 240, 230, 0.48);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(227, 197, 141, 0.6);
    box-shadow: 0 0 0 3px rgba(181, 138, 74, 0.12);
}

.form-result {
    min-height: 28px;
    margin-top: 16px;
    color: var(--gold-light);
    font-weight: 900;
}

/* =========================
   FOOTER / ANIMATIONS
========================= */

.site-footer {
    padding: 36px clamp(20px, 6vw, 92px);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    color: rgba(246, 240, 230, 0.62);
    background: var(--black);
    border-top: 1px solid var(--border-light);
}

.site-footer strong {
    color: var(--ivory);
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gold-light);
    font-weight: 800;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1180px) {
    .header-link {
        display: none;
    }

    .main-nav {
        gap: 16px;
    }

    .main-nav a {
        font-size: 0.72rem;
    }

    .expertise-showcase,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1020px) {
    .hero,
    .editorial-grid,
    .proof-card,
    .practice-layout,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .hero-right {
        max-width: 620px;
    }

    .process-item {
        grid-template-columns: 1fr;
    }

    .team-grid,
    .pricing-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .site-header {
        min-height: 76px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        padding: 22px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(246, 240, 230, 0.98);
        border-bottom: 1px solid var(--border);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
    }

    .main-nav a::after {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 3.3rem;
    }

    .hero-metrics,
    .expertise-showcase,
    .values-grid,
    .timeline,
    .team-grid,
    .expertise-row,
    .practice-cards,
    .pricing-grid,
    .articles-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .expertise-row {
        align-items: start;
    }
}

@media (max-width: 500px) {
    .hero h1,
    .page-hero h1 {
        font-size: 2.78rem;
    }

    .section-head h2,
    .editorial-title h2,
    .proof-card h2,
    .cta-card h2,
    .contact-card h2,
    .practice-intro h2 {
        font-size: 2.35rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .signature-panel,
    .proof-card,
    .cta-card,
    .contact-card {
        border-radius: 30px;
    }
}
