/* ============================================================
   Mark Smith Law Firm — Stylesheet
   Palette: Navy, Gold, Ivory
   ============================================================ */

:root {
    --navy-900: #081628;
    --navy-800: #0B1F3A;
    --navy-700: #12294a;
    --navy-600: #1a355c;
    --navy-500: #2a4a78;

    --gold-500: #C6A15B;
    --gold-400: #d4b578;
    --gold-600: #a8863f;

    --ivory: #F7F3EC;
    --ivory-dark: #efe8db;
    --white: #ffffff;

    --ink: #1c2430;
    --ink-soft: #5a6472;

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', 'Segoe UI', Arial, sans-serif;

    --shadow-sm: 0 2px 10px rgba(8, 22, 40, 0.06);
    --shadow-md: 0 12px 30px rgba(8, 22, 40, 0.12);
    --shadow-lg: 0 24px 60px rgba(8, 22, 40, 0.18);

    --radius: 4px;
    --container: 1180px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; color: var(--navy-800); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 96px 0; }
.section--ivory { background: var(--ivory); }
.section--navy { background: var(--navy-800); color: #dfe6f0; }
.section--navy h2, .section--navy h3 { color: var(--white); }

/* ---------- Section headings ---------- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold-600);
    margin-bottom: 18px;
}
.section-label::before {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--gold-500);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.9rem);
    margin-bottom: 20px;
}

.section-lead {
    color: var(--ink-soft);
    max-width: 640px;
    font-size: 1.05rem;
}

.section--navy .section-label { color: var(--gold-400); }
.section--navy .section-lead { color: #b8c4d4; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all 0.25s ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn--gold {
    background: var(--gold-500);
    color: var(--navy-900);
}
.btn--gold:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(198, 161, 91, 0.35);
}
.btn--outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}
.btn--outline:hover { border-color: var(--gold-500); color: var(--gold-400); }
.btn--navy {
    background: var(--navy-800);
    color: var(--white);
}
.btn--navy:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 17px 38px; font-size: 0.95rem; }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--navy-900);
    color: #9fb0c6;
    font-size: 0.8rem;
    padding: 8px 0;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar a { color: #cfd8e6; transition: color 0.2s; }
.topbar a:hover { color: var(--gold-400); }
.topbar__sep { margin: 0 10px; color: var(--navy-600); }

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(11, 31, 58, 0.08);
    transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand__monogram {
    width: 52px;
    height: 52px;
    border: 1.5px solid var(--gold-500);
    color: var(--navy-800);
    display: grid;
    place-items: center;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    position: relative;
}
.brand__monogram::after {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(198, 161, 91, 0.45);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy-800);
    letter-spacing: 0.01em;
}
.brand__sub {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    color: var(--gold-600);
    margin-top: 3px;
}
.brand--footer .brand__monogram { color: var(--white); border-color: var(--gold-500); }
.brand--footer .brand__name { color: var(--white); }

.site-nav__list { display: flex; gap: 34px; }
.site-nav__list a {
    position: relative;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 6px 0;
    transition: color 0.2s;
}
.site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: width 0.25s ease;
}
.site-nav__list a:hover, .site-nav__list a.is-active { color: var(--navy-800); }
.site-nav__list a:hover::after, .site-nav__list a.is-active::after { width: 100%; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav__cta { padding: 12px 22px; font-size: 0.78rem; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--navy-800);
    transition: all 0.3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: var(--white);
    padding: 150px 0 170px;
    background:
        linear-gradient(rgba(8, 22, 40, 0.78), rgba(8, 22, 40, 0.93)),
        url("../img/hero.jpg") center / cover no-repeat,
        linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50 8 L60 30 L84 30 L65 44 L73 68 L50 55 L27 68 L35 44 L16 30 L40 30 Z' fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.7;
    pointer-events: none;
}
.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold-400);
    margin-bottom: 24px;
}
.hero__eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--gold-500); }
.hero h1 {
    color: var(--white);
    font-size: clamp(2.6rem, 5.4vw, 4.2rem);
    margin-bottom: 26px;
}
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero__text {
    color: #c2cddd;
    font-size: 1.1rem;
    max-width: 520px;
    margin-bottom: 38px;
}
.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #aeb9ca;
    margin-top: 34px;
    letter-spacing: 0.04em;
}
.hero__badge strong { color: var(--gold-400); font-weight: 600; }

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    padding: 36px 32px;
    border-radius: var(--radius);
    position: relative;
}
.hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 32px;
    width: 64px;
    height: 3px;
    background: var(--gold-500);
}
.hero-card__label {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    color: var(--gold-400);
    margin-bottom: 14px;
}
.hero-card__quote {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    line-height: 1.5;
    color: #eef2f7;
    margin-bottom: 22px;
}
.hero-card__author { font-size: 0.85rem; color: #b8c4d4; }
.hero-card__author strong { color: var(--white); font-weight: 600; }

/* ---------- Marquee strip ---------- */
.marquee {
    background: var(--gold-500);
    color: var(--navy-900);
    padding: 14px 0;
    overflow: hidden;
}
.marquee__track {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: marquee 26s linear infinite;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Feature cards (home intro) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.feature {
    background: var(--white);
    border: 1px solid var(--ivory-dark);
    border-radius: var(--radius);
    padding: 40px 34px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.feature::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 0;
    width: 100%;
    background: var(--navy-800);
    transition: height 0.35s ease;
    z-index: 0;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature:hover::after { height: 100%; }
.feature:hover .feature__num { color: rgba(255, 255, 255, 0.16); }
.feature:hover h3, .feature:hover p { color: var(--white); }

.feature__num {
    font-family: var(--font-serif);
    font-size: 4.6rem;
    line-height: 1;
    font-weight: 700;
    color: rgba(198, 161, 91, 0.28);
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}
.feature h3 {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    margin: 18px 0 12px;
    transition: color 0.3s;
}
.feature p { position: relative; z-index: 1; color: var(--ink-soft); font-size: 0.95rem; transition: color 0.3s; }
.feature__arrow {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-top: 20px;
    color: var(--gold-500);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ---------- Split / image + content ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.split__visual { position: relative; }
.split__visual img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.split__visual::before {
    content: "";
    position: absolute;
    inset: 26px -26px -26px 26px;
    border: 1px solid var(--gold-500);
    border-radius: var(--radius);
    z-index: -1;
}
.photo-caption {
    position: absolute;
    left: 26px;
    bottom: 26px;
    background: rgba(8, 22, 40, 0.88);
    color: var(--gold-400);
    padding: 12px 18px;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-left: 3px solid var(--gold-500);
    backdrop-filter: blur(4px);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.split__stat {
    position: absolute;
    right: -28px;
    bottom: -26px;
    background: var(--navy-800);
    color: var(--white);
    padding: 26px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.split__stat strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.6rem;
    line-height: 1;
    color: var(--gold-400);
}
.split__stat span { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #b8c4d4; }

.split__content .section-lead { margin-bottom: 22px; }
.split__points { margin: 24px 0 32px; display: grid; gap: 16px; }
.split__points li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); }
.split__points li::before {
    content: "✓";
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(198, 161, 91, 0.16);
    color: var(--gold-600);
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 3px;
}

/* ---------- Practice area cards ---------- */
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.practice-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--ivory-dark);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
}
.practice-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    filter: saturate(0.85);
    transition: transform 0.55s ease, filter 0.35s ease;
}
.practice-card:hover .practice-card__img {
    transform: scale(1.06);
    filter: saturate(1.05);
}
.practice-card__body { padding: 32px 32px 38px; }
.practice-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    z-index: 2;
}
.practice-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.practice-card:hover::before { transform: scaleX(1); }

.practice-card__icon {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(198, 161, 91, 0.5);
    display: grid;
    place-items: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-600);
    margin-bottom: 22px;
    transition: all 0.3s;
}
.practice-card:hover .practice-card__icon { background: var(--navy-800); border-color: var(--navy-800); color: var(--gold-400); }
.practice-card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.practice-card p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 20px; }
.practice-card__link {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-600);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.practice-card__link::after { content: "→"; transition: transform 0.25s; }
.practice-card:hover .practice-card__link::after { transform: translateX(5px); }

/* ---------- Stats band ---------- */
.stats {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    padding: 80px 0;
    color: var(--white);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat__num {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1;
}
.stat__label { margin-top: 12px; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: #aeb9ca; }

/* ---------- Testimonials ---------- */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.testimonial {
    background: var(--white);
    border: 1px solid var(--ivory-dark);
    padding: 40px 34px;
    border-radius: var(--radius);
    position: relative;
    transition: all 0.3s ease;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial::before {
    content: "“";
    position: absolute;
    top: 6px;
    left: 24px;
    font-family: var(--font-serif);
    font-size: 5rem;
    color: rgba(198, 161, 91, 0.22);
    line-height: 1;
}
.testimonial__stars { color: var(--gold-500); letter-spacing: 3px; margin-bottom: 18px; font-size: 0.9rem; }
.testimonial__quote { font-family: var(--font-serif); font-size: 1.15rem; color: var(--navy-700); margin-bottom: 24px; }
.testimonial__author { display: flex; align-items: center; gap: 14px; }
.testimonial__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy-800);
    color: var(--gold-400);
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 0.9rem;
}
.testimonial__author strong { display: block; font-size: 0.95rem; color: var(--navy-800); }
.testimonial__author span { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- Attorneys ---------- */
.attorneys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 56px; }
.attorney-card {
    background: var(--white);
    border: 1px solid var(--ivory-dark);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}
.attorney-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.attorney-card__photo {
    height: 340px;
    position: relative;
    overflow: hidden;
    background: var(--navy-800);
}
.attorney-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: saturate(0.9);
    transition: transform 0.55s ease, filter 0.35s ease;
}
.attorney-card:hover .attorney-card__photo img {
    transform: scale(1.06);
    filter: saturate(1.05);
}
.attorney-card__photo::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    background: linear-gradient(transparent, rgba(11, 31, 58, 0.35));
    pointer-events: none;
}
.attorney-card__body { padding: 28px 28px 30px; text-align: center; }
.attorney-card__body h3 { font-size: 1.5rem; }
.attorney-card__role {
    color: var(--gold-600);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin: 6px 0 14px;
}
.attorney-card__bio { color: var(--ink-soft); font-size: 0.92rem; }
.attorney-card__badges { display: flex; gap: 8px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.badge {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border: 1px solid rgba(198, 161, 91, 0.5);
    color: var(--gold-600);
    border-radius: 20px;
}

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    padding: 72px 0;
    color: var(--navy-900);
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band__title { color: var(--navy-900); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cta-band__text { color: rgba(8, 22, 40, 0.75); margin-top: 8px; max-width: 560px; }
.cta-band .btn--gold { background: var(--navy-800); color: var(--white); }
.cta-band .btn--gold:hover { background: var(--navy-700); box-shadow: 0 10px 22px rgba(8, 22, 40, 0.3); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background:
        linear-gradient(rgba(8, 22, 40, 0.86), rgba(11, 31, 58, 0.92)),
        url("../img/hero-inner.jpg") center 25% / cover no-repeat,
        linear-gradient(160deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    padding: 110px 0 90px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50 8 L60 30 L84 30 L65 44 L73 68 L50 55 L27 68 L35 44 L16 30 L40 30 Z' fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.6;
}
.page-hero__inner { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 4.5vw, 3.4rem); margin-bottom: 14px; }
.page-hero__crumb { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.page-hero__crumb a { color: #b8c4d4; transition: color 0.2s; }
.page-hero__crumb a:hover { color: var(--gold-400); }
.page-hero p { color: #c2cddd; max-width: 620px; font-size: 1.05rem; }

/* ---------- Process / steps ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding-top: 54px; }
.step::before {
    counter-increment: step;
    content: "0" counter(step);
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(198, 161, 91, 0.6);
    line-height: 1;
}
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.value-card {
    background: var(--white);
    border: 1px solid var(--ivory-dark);
    border-radius: var(--radius);
    padding: 38px 30px;
    transition: all 0.3s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card__num { font-family: var(--font-serif); font-size: 2rem; color: var(--gold-500); font-weight: 700; }
.value-card h3 { font-size: 1.4rem; margin: 14px 0 12px; }
.value-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Timeline ---------- */
.timeline { margin-top: 56px; position: relative; }
.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: var(--ivory-dark);
}
.timeline__item { position: relative; padding: 0 0 44px 46px; }
.timeline__item::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 6px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.2);
}
.timeline__year {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-600);
}
.timeline__item h3 { font-size: 1.35rem; margin: 4px 0 8px; }
.timeline__item p { color: var(--ink-soft); font-size: 0.95rem; max-width: 640px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; margin-top: 40px; }
.faq__item {
    border: 1px solid var(--ivory-dark);
    border-radius: var(--radius);
    margin-bottom: 14px;
    background: var(--white);
    overflow: hidden;
}
.faq__q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 22px 26px;
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--navy-800);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq__q::after {
    content: "+";
    flex-shrink: 0;
    font-family: var(--font-sans);
    font-size: 1.4rem;
    color: var(--gold-500);
    transition: transform 0.3s;
}
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    color: var(--ink-soft);
    font-size: 0.95rem;
}
.faq__a-inner { padding: 0 26px 22px; }

/* ---------- Contact page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: start;
}
.contact-info__cards { display: grid; gap: 18px; margin-top: 34px; }
.contact-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--ivory-dark);
    padding: 26px 24px;
    border-radius: var(--radius);
    transition: all 0.3s;
}
.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.contact-card__icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(198, 161, 91, 0.5);
    color: var(--gold-600);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}
.contact-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.contact-card p { color: var(--ink-soft); font-size: 0.92rem; }
.contact-card a { color: var(--navy-800); font-weight: 500; }
.contact-card a:hover { color: var(--gold-600); }

.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--ivory-dark);
    border-radius: var(--radius);
    padding: 44px 42px;
    box-shadow: var(--shadow-sm);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy-700);
}
.form-group label span { color: var(--gold-600); }
.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--ink);
    padding: 14px 16px;
    border: 1px solid #d9dee6;
    border-radius: var(--radius);
    background: #fbfaf8;
    transition: all 0.25s;
    width: 100%;
}
.form-group textarea { resize: vertical; min-height: 150px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.18);
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: #c0392b; }

.form-hint { font-size: 0.8rem; color: var(--ink-soft); }
.form-actions { margin-top: 28px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.form-msg {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 0.95rem;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.form-msg--success {
    background: rgba(39, 142, 88, 0.1);
    border: 1px solid rgba(39, 142, 88, 0.4);
    color: #1d6b45;
}
.form-msg--error {
    background: rgba(192, 57, 43, 0.08);
    border: 1px solid rgba(192, 57, 43, 0.4);
    color: #a93226;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-900);
    color: #9fb0c6;
    padding: 80px 0 0;
    font-size: 0.92rem;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__about { margin: 22px 0 20px; color: #8d9db3; font-size: 0.9rem; }
.site-footer__heading {
    font-family: var(--font-sans);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}
.site-footer__heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--gold-500);
}
.site-footer__links li { margin-bottom: 12px; }
.site-footer__links a { transition: all 0.2s; position: relative; padding-left: 0; }
.site-footer__links a::before {
    content: "→";
    color: var(--gold-500);
    opacity: 0;
    margin-right: 0;
    transition: all 0.2s;
    display: inline-block;
    width: 0;
}
.site-footer__links a:hover { color: var(--gold-400); padding-left: 16px; }
.site-footer__links a:hover::before { opacity: 1; width: auto; margin-right: 8px; }
.site-footer__address { font-style: normal; color: #8d9db3; margin-bottom: 14px; line-height: 1.7; }
.site-footer__contact a { color: #cfd8e6; }
.site-footer__contact a:hover { color: var(--gold-400); }
.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 26px 0;
    color: #6e7f96;
    font-size: 0.8rem;
}
.site-footer__legal { max-width: 520px; text-align: right; }

.socials { display: flex; gap: 10px; }
.socials a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    transition: all 0.25s;
}
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); transform: translateY(-3px); }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="left"].is-visible, [data-reveal="right"].is-visible { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .features, .practice-grid, .testimonials__grid, .attorneys-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 48px; }
    .process { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .hero__inner { grid-template-columns: 1fr; gap: 48px; }
    .split { grid-template-columns: 1fr; gap: 60px; }
    .split__visual { max-width: 520px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .site-nav__cta { display: none; }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        background: var(--navy-900);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 110px 36px 40px;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        box-shadow: -20px 0 60px rgba(8, 22, 40, 0.4);
        z-index: 90;
    }
    .site-nav.is-open { transform: translateX(0); }
    .site-nav__list { flex-direction: column; gap: 22px; }
    .site-nav__list a { color: #cfd8e6; font-size: 1.05rem; }
    .site-nav__cta { display: inline-flex; margin-top: 10px; }
    .nav-toggle { display: flex; z-index: 100; }
    .topbar__right { display: none; }
    .hero { padding: 100px 0 110px; }
    .features, .practice-grid, .testimonials__grid, .attorneys-grid, .values-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .split__stat { right: 8px; bottom: -20px; padding: 20px 22px; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 40px; }
    .site-footer__bottom { flex-direction: column; }
    .site-footer__legal { text-align: left; }
}
