/* ============================================
   MARLOW GROUP — STYLES
   Fast property sale website
   ============================================ */

/* --- Design Tokens --- */
:root {
    --color-bg: #faf9f6;
    --color-surface: #ffffff;
    --color-dark: #111110;
    --color-text: #3a3a38;
    --color-muted: #7c7c78;
    --color-light: #b5b5b0;
    --color-border: #e8e6e1;
    --color-border-light: #f0eeea;

    --color-primary: #1b4332;
    --color-primary-hover: #2d6a4f;
    --color-primary-light: #edf5f0;

    --color-accent: #c17f3e;
    --color-accent-light: #fdf6ee;

    --color-red: #b91c1c;
    --color-red-light: #fef2f2;
    --color-blue: #1e40af;
    --color-blue-light: #eff6ff;
    --color-amber: #92400e;
    --color-amber-light: #fffbeb;
    --color-green: #166534;
    --color-green-light: #f0fdf4;
    --color-teal: #115e59;
    --color-teal-light: #f0fdfa;
    --color-purple: #6b21a8;
    --color-purple-light: #faf5ff;

    --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-xl: 0 16px 50px rgba(0,0,0,0.1);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0, 0, 0.3, 1);

    --max-width: 1200px;
    --nav-height: 72px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-height) + 24px); }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
select, input, textarea {
    font: inherit;
    color: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
select:focus, input:focus, textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* --- Utilities --- */
.section__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.section__header {
    max-width: 640px;
    margin-bottom: 56px;
}
.section__label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.section__header h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 16px;
}
.section__desc {
    font-size: 17px;
    color: var(--color-muted);
    line-height: 1.7;
}

/* --- Reveal Animation --- */
.reveal-ready {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-ready.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    transition: all 0.25s var(--ease);
    white-space: nowrap;
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.btn--primary {
    background: var(--color-primary);
    color: #fff;
}
.btn--primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn--ghost {
    background: transparent;
    color: var(--color-dark);
    border: 1px solid var(--color-border);
}
.btn--ghost:hover {
    border-color: var(--color-dark);
    background: var(--color-surface);
}
.btn--white {
    background: #fff;
    color: var(--color-primary);
}
.btn--white:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
}
.btn--ghost-white {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn--ghost-white:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}
.btn--full { width: 100%; justify-content: center; }
.btn svg { flex-shrink: 0; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
    border-bottom-color: var(--color-border);
    background: rgba(250, 249, 246, 0.95);
}
.nav__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.02em;
}
.nav__logo span { font-weight: 400; color: var(--color-muted); }
.nav__logo-icon { color: var(--color-primary); }
.nav__links {
    display: flex;
    gap: 28px;
}
.nav__links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-muted);
    transition: color 0.2s;
    position: relative;
}
.nav__links a:hover { color: var(--color-dark); }
.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-primary);
    transition: width 0.3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav__phone {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.01em;
}
.nav__cta {
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.nav__cta:hover { background: var(--color-primary-hover); }
.nav__menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    padding: 4px 0;
}
.nav__menu span {
    display: block;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}
.nav__menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__menu.active span:nth-child(2) { opacity: 0; }
.nav__menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: calc(var(--nav-height) + 64px) 0 80px;
    background: var(--color-bg);
}
.hero__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 64px;
    align-items: center;
}
.hero__eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.hero__text {
    font-size: 18px;
    color: var(--color-muted);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 32px;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}
.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.hero__meta span {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero__meta span::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.5;
}
.hero__card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}
.hero__card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border-light);
}
.hero__card-row:first-child { padding-top: 0; }
.hero__card-row:last-child { border-bottom: none; padding-bottom: 0; }
.hero__card-row .hero__card-label {
    font-size: 14px;
    color: var(--color-muted);
}
.hero__card-row strong {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
}

/* ============================================
   ACCREDITATIONS
   ============================================ */
.accreditations {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
    background: var(--color-surface);
}
.accreditations__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 40px;
}
.accreditations__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-light);
    font-weight: 600;
    white-space: nowrap;
}
.accreditations__list {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.accreditations__item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.accreditations__item strong {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: -0.02em;
}
.accreditations__item small {
    font-size: 11px;
    color: var(--color-light);
    line-height: 1.3;
}
.accreditations__stars {
    display: flex;
    gap: 2px;
}

/* ============================================
   SITUATIONS
   ============================================ */
.situations {
    padding: 96px 0;
}
.situations__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.situation-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.situation-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.situation-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.situation-card__icon--red { background: var(--color-red-light); color: var(--color-red); }
.situation-card__icon--blue { background: var(--color-blue-light); color: var(--color-blue); }
.situation-card__icon--amber { background: var(--color-amber-light); color: var(--color-amber); }
.situation-card__icon--green { background: var(--color-green-light); color: var(--color-green); }
.situation-card__icon--teal { background: var(--color-teal-light); color: var(--color-teal); }
.situation-card__icon--purple { background: var(--color-purple-light); color: var(--color-purple); }

.situation-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
}
.situation-card > p {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}
.situation-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.situation-card li {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    padding-left: 18px;
    position: relative;
}
.situation-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.4;
}

/* Clickable cards */
.situation-card--link {
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.situation-card--link:hover {
    border-color: var(--color-primary);
}

/* Case study box */
.situation-card__case-study {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
}
.situation-card__figure {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.situation-card__case-study > p {
    font-size: 12px;
    color: var(--color-muted);
    line-height: 1.55;
    margin: 0;
}

/* Find out more link */
.situation-card__link {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s;
}
.situation-card__link:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

.situations__footer {
    text-align: center;
    padding-top: 16px;
}
.situations__footer p {
    font-size: 17px;
    color: var(--color-muted);
    margin-bottom: 20px;
}
.situations__footer strong { color: var(--color-dark); }

/* ============================================
   COST SECTION
   ============================================ */
.cost-section {
    padding: 80px 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.cost-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.cost-section__content { max-width: 480px; }
.cost-section__content h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    margin-bottom: 16px;
}
.cost-section__content > p:last-child {
    color: var(--color-muted);
    line-height: 1.7;
}
.cost-section__table {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 8px;
}
.cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    font-size: 14px;
    border-radius: var(--radius-sm);
}
.cost-row:nth-child(even) { background: var(--color-surface); }
.cost-row__label { color: var(--color-text); }
.cost-row__value {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-dark);
}
.cost-row--total {
    background: var(--color-primary) !important;
    color: #fff;
    margin-top: 4px;
}
.cost-row--total .cost-row__label { color: rgba(255,255,255,0.8); font-weight: 600; }
.cost-row--total .cost-row__value { color: #fff; font-size: 18px; }
.cost-section__footnote {
    padding: 16px 20px 12px;
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.6;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
    padding: 96px 0;
}
.process__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    counter-reset: step;
}
.process__step {
    position: relative;
}
.process__number {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.08;
    line-height: 1;
    margin-bottom: -8px;
}
.process__step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}
.process__step p {
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.7;
}

/* 4-step variant */
.process__steps--four {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
    .process__steps--four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .process__steps--four { grid-template-columns: 1fr; }
}

/* ============================================
   TRANSPARENCY
   ============================================ */
.transparency {
    padding: 96px 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.transparency__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.transparency__card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.transparency__card h3 {
    font-size: 18px;
    margin-bottom: 16px;
}
.transparency__card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.transparency__card li {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}
.transparency__card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.transparency__card li::before {
    background: var(--color-primary);
    opacity: 0.3;
}
.transparency__card--warning {
    background: #fffbeb;
    border-color: #f5e6c8;
}
.transparency__card--warning li::before {
    background: var(--color-accent);
    opacity: 0.5;
}
.transparency__note {
    padding: 20px 24px;
    background: var(--color-primary-light);
    border-radius: var(--radius-md);
    border: 1px solid rgba(27, 67, 50, 0.12);
}
.transparency__note p {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.7;
}
@media (max-width: 768px) {
    .transparency { padding: 64px 0; }
    .transparency__grid { grid-template-columns: 1fr; }
}

/* ============================================
   STATS
   ============================================ */
.stats {
    padding: 64px 0;
    background: var(--color-primary);
}
.stats__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.stat { text-align: center; }
.stat__value {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 8px;
}
.stat__label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* ============================================
   WHY US
   ============================================ */
.why-us {
    padding: 96px 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.why-us__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 64px;
    align-items: start;
}
.why-us__content h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    margin-bottom: 16px;
}
.why-us__content > p {
    font-size: 16px;
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}
.why-us__points {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.why-us__point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.why-us__point svg {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}
.why-us__point strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}
.why-us__point p {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.6;
}
.why-us__quote {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: sticky;
    top: calc(var(--nav-height) + 24px);
}
.why-us__quote p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text);
    font-style: italic;
    margin-bottom: 20px;
}
.why-us__quote footer {
    display: flex;
    flex-direction: column;
}
.why-us__quote strong {
    font-size: 14px;
    font-style: normal;
}
.why-us__quote span {
    font-size: 13px;
    color: var(--color-muted);
    font-style: normal;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
    padding: 96px 0;
}
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.review {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.review:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.review__stars { display: flex; gap: 2px; }
.review p {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.7;
    flex: 1;
}
.review__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--color-border-light);
}
.review__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}
.review__author strong {
    font-size: 14px;
    display: block;
}
.review__author span {
    font-size: 12px;
    color: var(--color-muted);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: 96px 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.faq__list {
    max-width: 720px;
    display: flex;
    flex-direction: column;
}
.faq__item {
    border-bottom: 1px solid var(--color-border);
}
.faq__item summary {
    padding: 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.2s;
}
.faq__item summary:hover { color: var(--color-primary); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: var(--color-light);
    transition: transform 0.3s var(--ease);
    flex-shrink: 0;
}
.faq__item[open] summary::after {
    transform: rotate(45deg);
}
.faq__answer {
    padding-bottom: 20px;
}
.faq__answer p {
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.7;
}

/* ============================================
   SOLICITOR PANEL
   ============================================ */
.solicitors {
    padding: 96px 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.section__subtitle {
    font-size: 16px;
    color: var(--color-muted);
    line-height: 1.7;
    max-width: 640px;
}
.solicitors__track {
    overflow: hidden;
    margin-bottom: 24px;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.solicitors__grid {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: solicitorScroll 35s linear infinite;
}
.solicitors__track:hover .solicitors__grid {
    animation-play-state: paused;
}
@keyframes solicitorScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.solicitor-card {
    min-width: 280px;
    max-width: 320px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    display: flex;
    flex-direction: column;
}
.solicitor-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.solicitor-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
}
.solicitor-card__icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.solicitor-card__header h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}
.solicitor-card__type {
    font-size: 12px;
    color: var(--color-muted);
}
.solicitor-card__body {
    padding: 20px 24px;
    flex: 1;
}
.solicitor-card__body p {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}
.solicitor-card__details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text);
}
.solicitor-card__details strong {
    color: var(--color-dark);
}
.solicitor-card__verify {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--color-primary-light);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    transition: background 0.2s;
}
.solicitor-card__verify:hover {
    background: #dbeee4;
}
.solicitors__note {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.6;
}
.solicitors__note a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ============================================
   POST-COMPLETION SUPPORT
   ============================================ */
.support {
    padding: 96px 0;
}
.support__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.support-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease);
}
.support-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.support-card__icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.support-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-dark);
}
.support-card p {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 12px;
}
.support-card__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
}

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 96px 0;
    background: var(--color-primary);
}
.cta__inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.cta__inner h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: #fff;
    margin-bottom: 16px;
}
.cta__inner > p {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 32px;
}
.cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 96px 0;
}
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact__info h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    margin-bottom: 16px;
}
.contact__info > p {
    font-size: 16px;
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}
.contact__details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}
.contact__detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--color-text);
    transition: color 0.2s;
}
a.contact__detail:hover { color: var(--color-primary); }
.contact__detail svg {
    flex-shrink: 0;
    color: var(--color-primary);
}
.contact__detail strong {
    display: block;
    font-size: 13px;
    color: var(--color-dark);
}
.contact__detail span {
    font-size: 14px;
    color: var(--color-muted);
}
.contact__privacy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--color-light);
    line-height: 1.5;
}
.contact__privacy svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--color-light);
}

/* Contact Form */
.contact__form {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}
.contact__form h3 {
    font-size: 18px;
    margin-bottom: 24px;
}
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form__field {
    margin-bottom: 16px;
}
.form__field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 6px;
}
.form__optional {
    font-weight: 400;
    color: var(--color-light);
}
.form__field input,
.form__field select,
.form__field textarea {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
}
.form__field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237c7c78' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.form__field textarea { resize: vertical; min-height: 80px; }
.form__checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 20px;
    cursor: pointer;
}
.form__checkbox input {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--color-primary);
}
.form__checkbox span {
    font-size: 12px;
    color: var(--color-muted);
    line-height: 1.5;
}
.form__checkbox a {
    color: var(--color-primary);
    text-decoration: underline;
}
.form__note {
    text-align: center;
    font-size: 12px;
    color: var(--color-light);
    margin-top: 12px;
}

/* Form Success */
.contact__success {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    text-align: center;
}
.contact__success svg {
    margin: 0 auto 16px;
    color: var(--color-primary);
}
.contact__success h3 {
    font-size: 22px;
    margin-bottom: 12px;
}
.contact__success p {
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.7;
}
.contact__success a { color: var(--color-primary); font-weight: 600; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 64px 0 0;
    background: var(--color-dark);
    color: rgba(255,255,255,0.5);
}
.footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.footer__top {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer .nav__logo {
    color: #fff;
    margin-bottom: 12px;
}
.footer .nav__logo span { color: rgba(255,255,255,0.4); }
.footer .nav__logo-icon { color: rgba(255,255,255,0.3); }
.footer__brand p {
    font-size: 14px;
    line-height: 1.7;
}
.footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.footer__cols h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}
.footer__cols a {
    display: block;
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.2s;
}
.footer__cols a:hover { color: #fff; }
.footer__bottom {
    padding: 24px 0;
    font-size: 12px;
    line-height: 1.7;
}
.footer__bottom p + p { margin-top: 4px; }

/* ============================================
   BACK TO TOP
   ============================================ */
.to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s var(--ease);
    z-index: 50;
}
.to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.to-top:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero__visual { order: -1; }
    .hero__card { max-width: 400px; }
    .situations__grid { grid-template-columns: repeat(2, 1fr); }
    .cost-section__inner { grid-template-columns: 1fr; gap: 40px; }
    .why-us__grid { grid-template-columns: 1fr; gap: 40px; }
    .why-us__quote { position: static; }
    .contact__grid { grid-template-columns: 1fr; gap: 40px; }
    .solicitor-card { min-width: 260px; }
    .support__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    :root { --nav-height: 64px; }

    .nav__links { display: none; }
    .nav__phone { display: none; }
    .nav__cta { display: none; }
    .nav__menu { display: flex; }

    /* Mobile nav overlay */
    .nav__links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-bg);
        padding: 32px 24px;
        gap: 0;
        z-index: 99;
        border-top: 1px solid var(--color-border);
    }
    .nav__links.active a {
        font-size: 18px;
        padding: 16px 0;
        border-bottom: 1px solid var(--color-border-light);
        color: var(--color-dark);
    }

    .hero { padding-top: calc(var(--nav-height) + 40px); padding-bottom: 48px; }
    .hero h1 { font-size: 32px; }
    .hero__text { font-size: 16px; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }

    .accreditations__inner { flex-direction: column; gap: 16px; }
    .accreditations__list { gap: 20px; justify-content: center; }

    .situations { padding: 64px 0; }
    .situations__grid { grid-template-columns: 1fr; }

    .process__steps { grid-template-columns: 1fr; gap: 40px; }

    .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }

    .reviews__grid { grid-template-columns: 1fr; }
    .support__grid { grid-template-columns: 1fr; }
    .solicitor-card { min-width: 260px; }

    .faq { padding: 64px 0; }

    .cta { padding: 64px 0; }
    .cta__actions { flex-direction: column; width: 100%; }
    .cta__actions .btn { width: 100%; justify-content: center; }

    .contact { padding: 64px 0; }
    .contact__form { padding: 24px; }
    .form__row { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .stats__inner { grid-template-columns: 1fr; }
    .footer__cols { grid-template-columns: 1fr; }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
    .nav, .to-top, .cta { display: none; }
    body { background: #fff; color: #000; }
    .hero { padding-top: 24px; }
}
