:root {
    --gold: #c5a059;
    --gold-hover: #b08d4b;
    --dark: #1a1a1a;
    --light: #f9f9f9;
    --white: #ffffff;
    --gray: #666;
    --border: #eee;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

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

/* ── Language Bar ── */
.lang-bar {
    background: var(--dark);
    padding: 10px 5%;
    text-align: right;
}
.lang-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    margin-left: 15px;
    font-weight: 600;
    font-size: 12px;
    transition: 0.3s;
}
.lang-btn.active { color: var(--gold); }

/* ── Private CV page header bar ── */
.private-cv-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.private-cv-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 5px 12px;
    border-radius: 20px;
}
.private-cv-ref {
    margin-top: 14px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
}
/* Compact private-profile intro card: small premium photo beside the intro */
.private-cv-intro {
    display: flex;
    align-items: center;
    gap: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.05);
    padding: 24px 28px;
    margin-bottom: 35px;
}
.private-cv-intro-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 10px;
}
.private-cv-intro-text p {
    color: var(--gray);
}
.private-cv-photo {
    margin: 0;
    flex-shrink: 0;
    text-align: center;
}
.private-cv-photo img {
    width: 130px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.private-cv-photo figcaption {
    margin-top: 8px;
    max-width: 150px;
    font-size: 0.72rem;
    font-style: italic;
    color: var(--gray);
    line-height: 1.4;
}
@media (max-width: 640px) {
    .private-cv-intro {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }
    .private-cv-photo figcaption { max-width: none; }
}

/* ── Navigation ── */
nav {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--dark);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--gray);
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--dark); }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: 0.3s;
}

/* ── Buttons ── */
.cta-btn {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 14px 36px;
    border: none;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.3s;
    text-align: center;
}
.cta-btn:hover { background: var(--gold-hover); }

/* ── Hero ── */
.hero {
    min-height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Warm, premium overlay: gentle at the top, deeper toward the base for
       legibility, with a subtle warm tint over the cool interior photo. */
    background: linear-gradient(rgba(26,20,14,0.45), rgba(26,20,14,0.78)),
                radial-gradient(120% 90% at 50% 0%, rgba(197,160,89,0.10), rgba(26,20,14,0) 60%),
                url('/images/hero-family-home-care.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 90px 5%;
}
.hero-content {
    max-width: 860px;
    margin: 0 auto;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.7rem;
    line-height: 1.12;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero p {
    font-size: 1.18rem;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 24px;
    font-weight: 300;
}
.hero #hero-sub {
    color: #f3ede3;
    max-width: 760px;
}
.hero .hero-support {
    font-size: 0.98rem;
    max-width: 660px;
    margin: 0 auto 34px;
    color: #ddd2bf;
    font-weight: 300;
    font-style: italic;
}

/* Hero CTAs */
.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}
.hero .cta-btn { padding: 15px 34px; }
.hero .cta-btn.hero-secondary {
    background: rgba(255,255,255,0.06);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.6);
}
.hero .cta-btn.hero-secondary:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

/* Hero reassurance badges */
.hero-badges {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.hero-badges li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #f3ede3;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(2px);
}
.hero-badges .hero-badge-icon { font-size: 0.9rem; }

/* ── Page Hero (inner pages) ── */
.page-hero {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 80px 5% 60px;
}
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 15px;
}
.page-hero p {
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    color: #ccc;
}

/* ── Section Titles ── */
.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 50px;
}
.section-sub {
    text-align: center;
    color: var(--gray);
    max-width: 680px;
    margin: -36px auto 44px;
    font-size: 1.02rem;
}

/* ── How trust works ── */
.how-trust {
    background: var(--white);
    padding: 80px 5%;
}
.how-trust .section-title { margin-bottom: 12px; }
.how-trust .section-sub { margin-top: 0; }
.how-trust-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.how-step {
    text-align: center;
    padding: 0 8px;
}
.how-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 18px;
}
.how-step h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 10px;
}
.how-step p {
    color: var(--gray);
    font-size: 0.92rem;
}

/* ── Why families trust us ── */
.why-families {
    padding: 80px 5%;
    max-width: 1100px;
    margin: 0 auto;
}
.why-families-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}
.why-family-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 26px 28px;
}
.why-family-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f3eee2;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 14px;
}
.why-family-item h4 {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 8px;
}
.why-family-item p {
    color: var(--gray);
    font-size: 0.92rem;
}

/* ── Candidate card protection badges ── */
.protection-badges {
    list-style: none;
    padding: 14px 0 0;
    margin: 0 0 18px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.protection-badges li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--gray);
}
.protection-badges .protect-icon { font-size: 0.9rem; }

/* ── Consultation-first promise (contact & book) ── */
.consult-promise {
    background: var(--white);
    padding: 70px 5% 60px;
}
.consult-promise .section-title { margin-bottom: 14px; }
/* The shared .section-sub uses a negative top margin tuned for a 50px title
   gap; inside .consult-promise the title gap is small, so neutralize it here to
   prevent the heading and subtitle overlapping (desktop and mobile). */
.consult-promise .section-sub { margin-top: 0; }
.how-trust-grid.consult-steps {
    grid-template-columns: repeat(3, 1fr);
    max-width: 980px;
}
.reassurance-row {
    list-style: none;
    padding: 0;
    margin: 44px auto 0;
    max-width: 900px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.reassurance-row li {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7f3ea;
    border: 1px solid #ece3d2;
    color: var(--dark);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 30px;
}
.reassurance-row .reassure-icon { font-size: 1rem; }

/* ── CTA row (paired buttons) ── */
.cta-row-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 0 5% 10px;
}
.cta-btn.secondary {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}
.cta-btn.secondary:hover {
    background: var(--gold);
    color: var(--white);
}
.booking-alt {
    text-align: center;
    margin-top: 22px;
    color: var(--gray);
    font-size: 0.92rem;
}
.booking-alt a {
    color: var(--gold);
    font-weight: 600;
}
.booking-alt a:hover { text-decoration: underline; }

/* ── Services Grid ── */
.services-preview {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.card {
    background: var(--white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}
.card:hover { transform: translateY(-8px); }
.card-icon { font-size: 2.5rem; margin-bottom: 15px; }
.card h3 {
    color: var(--gold);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
}
.card p { color: var(--gray); font-size: 0.95rem; }
.card-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Why Us ── */
.why-us {
    padding: 80px 5%;
    background: var(--white);
}
.why-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.why-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 30px;
}
.why-item { margin-bottom: 25px; }
.why-item h4 {
    color: var(--gold);
    margin-bottom: 8px;
    font-size: 1.1rem;
}
.why-item p { color: var(--gray); }
.why-image {
    height: 400px;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
                url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

/* ── Compliance ── */
.compliance {
    background: #f0f0f0;
    padding: 60px 5%;
    text-align: center;
}
.badge {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.compliance h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 15px;
}
.compliance p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--gray);
}

/* ── CTA Section ── */
.cta-section {
    text-align: center;
    padding: 80px 5%;
    background: var(--dark);
    color: var(--white);
}
.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 15px;
}
.cta-section p {
    color: #ccc;
    margin-bottom: 30px;
    font-weight: 300;
}

/* ── About ── */
.about-content {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.about-grid h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.about-grid p {
    color: var(--gray);
    margin-bottom: 15px;
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border);
}
.stats-row.stats-three {
    grid-template-columns: repeat(3, 1fr);
    max-width: 800px;
    margin: 0 auto;
}
.stat { display: flex; flex-direction: column; }
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
}
.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* ── Services Detail ── */
.services-detail {
    padding: 60px 5%;
    max-width: 900px;
    margin: 0 auto;
}
.service-block {
    margin-bottom: 50px;
    padding: 40px;
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.service-block.highlight {
    border-left: 4px solid var(--gold);
}
.service-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 15px;
}
.service-block p {
    color: var(--gray);
    margin-bottom: 15px;
}
.service-block ul {
    list-style: none;
    padding: 0;
}
.service-block ul li {
    padding: 8px 0;
    color: var(--gray);
    border-bottom: 1px solid var(--border);
}
.service-block ul li::before {
    content: '—';
    color: var(--gold);
    font-weight: 700;
    margin-right: 10px;
}

/* ── Contact ── */
.contact-section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}
.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 25px;
}
.office {
    margin-bottom: 25px;
}
.office h4 {
    color: var(--gold);
    margin-bottom: 5px;
}
.office p { color: var(--gray); font-size: 0.9rem; }

/* ── Forms ── */
.contact-form,
.booking-form {
    background: var(--white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.contact-form h3,
.booking-form h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 25px;
}
.booking-section {
    padding: 60px 5%;
    max-width: 700px;
    margin: 0 auto;
}
.form-group {
    margin-bottom: 20px;
    flex: 1;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-feedback {
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}
.form-feedback.success { color: #2e7d32; }
.form-feedback.error { color: #c62828; }

/* ── Footer ── */
footer {
    background: var(--dark);
    color: #888;
    padding: 60px 5% 30px;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-grid h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}
.footer-grid a {
    display: block;
    color: #888;
    margin-bottom: 8px;
    transition: color 0.3s;
}
.footer-grid a:hover { color: var(--gold); }
.footer-grid p { font-size: 0.9rem; margin-bottom: 5px; }
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 0.85rem;
}

/* ── Responsive ── */
@media (max-width: 980px) {
    .how-trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero { min-height: 90vh; padding: 70px 6%; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.05rem; }
    .hero .hero-support { font-size: 0.92rem; }
    .hero-cta-row { flex-direction: column; align-items: stretch; }
    .hero-cta-row .cta-btn { width: 100%; }
    .hero-badges { gap: 8px; }
    .hero-badges li { font-size: 0.78rem; padding: 7px 13px; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px 5%;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .hamburger { display: flex; }
    .logo { font-size: 1.1rem; letter-spacing: 0.5px; }
    .why-grid,
    .about-grid,
    .contact-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .stats-row.stats-three { grid-template-columns: 1fr; gap: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 2rem; }
    .profile-grid { grid-template-columns: 1fr; }
    .shortlist-inner { grid-template-columns: 1fr; }
    .trust-lead-inner { grid-template-columns: 1fr; }
    .candidate-grid { grid-template-columns: 1fr; gap: 20px; }
    .candidates-section { padding: 40px 5% 60px; }
    .candidate-card { padding: 22px 18px 18px; }
    .candidate-actions .cta-btn { padding: 15px 20px; font-size: 1rem; }
    .how-trust-grid { grid-template-columns: 1fr; gap: 32px; }
    .how-trust-grid.consult-steps { grid-template-columns: 1fr; }
    .why-families-grid { grid-template-columns: 1fr; }
    .section-sub { margin: -24px auto 36px; }
    .cta-row-section .cta-btn { width: 100%; max-width: 360px; }
}

/* ── Private Candidate Shortlist (homepage CTA) ── */
.shortlist-section {
    background: var(--white);
    padding: 80px 5%;
}
.shortlist-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.shortlist-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.shortlist-text p {
    color: var(--gray);
    max-width: 760px;
    margin: 0 auto 30px;
}

/* ── Privacy / commercial-protection note ── */
.protection-note {
    background: #f0f0f0;
    border-left: 3px solid var(--gold);
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 20px 30px;
}
.protection-note p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}
.protection-note p + p {
    margin-top: 12px;
}

/* ── Fee summary block (candidate shortlist) ── */
.fee-summary-section {
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 0 5%;
}
.fee-summary-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 10px;
}
.fee-summary-lead {
    text-align: center;
    color: var(--gray);
    font-size: 0.95rem;
    max-width: 760px;
    margin: 0 auto 22px;
}
.fee-agreement {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    font-style: italic;
    max-width: 760px;
    margin: 16px auto 0;
}
.fee-summary {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}
.fee-summary li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
}
.fee-summary li:last-child { border-bottom: none; }
.fee-summary .fee-amount {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--dark);
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 110px;
}
.fee-summary .fee-label {
    color: var(--gray);
    font-size: 0.92rem;
    text-align: right;
}
.fee-summary .fee-total {
    background: #f7f3ea;
    border-top: 2px solid var(--gold);
}
.fee-summary .fee-total .fee-amount { color: var(--gold); }
.fee-summary .fee-total .fee-label {
    color: var(--dark);
    font-weight: 600;
}
.protection-note.inline {
    margin: 30px 0 0;
}
.protection-sub {
    margin-top: 10px;
    font-size: 0.9rem;
    font-style: italic;
}

/* ── Candidate profile-type banner ── */
.profile-banner {
    max-width: 1100px;
    margin: 0 auto 30px;
    padding: 16px 22px;
    border-radius: 4px;
    font-size: 0.92rem;
    color: var(--dark);
    border-left: 3px solid var(--gold);
    background: #f7f3ec;
}
.profile-banner.type-placed {
    border-left-color: #44507d;
    background: #eef0f6;
}
.profile-banner.type-representative {
    border-left-color: #8a6d3b;
    background: #f3eee6;
}
.profile-banner.type-available {
    border-left-color: #2e7d44;
    background: #e6f4ea;
}

/* ── Candidate cards ── */
.candidates-section {
    padding: 60px 5% 80px;
    max-width: 1200px;
    margin: 0 auto;
}
.candidate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.candidate-card {
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    padding: 28px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
/* Photo / avatar area — centered at top */
.card-photo-area {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.candidate-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}
.candidate-photo.large {
    width: 100px;
    height: 100px;
    margin-bottom: 16px;
    display: block;
}
.candidate-avatar {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--dark);
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.candidate-avatar.large {
    width: 100px;
    height: 100px;
    font-size: 2.2rem;
    margin-bottom: 16px;
}
/* Name / role / status grouped cleanly */
.card-identity {
    text-align: center;
    margin-bottom: 14px;
}
.card-identity h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 4px;
}
.candidate-role {
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.card-identity .candidate-status {
    display: inline-block;
    margin-top: 4px;
}
.card-bio {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 16px;
}
.candidate-status {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eee;
    color: var(--gray);
    white-space: nowrap;
}
.candidate-status.status-available { background: #e6f4ea; color: #2e7d44; }
.candidate-status.status-shortlisting { background: #fdf3e0; color: #b07d2b; }
.candidate-status.status-interview { background: #eef0f6; color: #44507d; }
.candidate-status.status-placed { background: #eef0f6; color: #44507d; }
.candidate-status.status-representative { background: #f3eee6; color: #8a6d3b; }
.candidate-meta {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}
.candidate-meta li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--dark);
}
.candidate-meta li span {
    color: var(--gray);
    font-weight: 600;
    flex-shrink: 0;
}
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.tag {
    background: var(--light);
    border: 1px solid var(--border);
    color: var(--gray);
    font-size: 0.78rem;
    padding: 4px 11px;
    border-radius: 20px;
}
.trust-note {
    color: var(--gray);
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 20px;
}
.trust-note-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}
.trust-note-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--gray);
    font-size: 0.82rem;
}
.trust-note-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* ── Locked / blurred CV preview ── */
.cv-locked {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--light);
    padding: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}
.cv-locked.wide { padding: 30px; }
.cv-lines span {
    display: block;
    height: 10px;
    border-radius: 4px;
    background: linear-gradient(90deg, #ddd, #efefef);
    margin-bottom: 12px;
    filter: blur(3px);
}
.cv-lines span:nth-child(1) { width: 90%; }
.cv-lines span:nth-child(2) { width: 75%; }
.cv-lines span:nth-child(3) { width: 85%; }
.cv-lines span:nth-child(4) { width: 60%; }
.cv-lines span:nth-child(5) { width: 80%; }
.cv-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 0 20px;
    background: rgba(249,249,249,0.75);
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 600;
}
.cv-lock-icon { font-size: 1.6rem; }
.candidate-actions {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.candidate-actions .cta-btn {
    width: 100%;
    text-align: center;
    padding: 13px 20px;
    font-size: 0.9rem;
}
.candidate-actions .card-link {
    font-size: 0.88rem;
}

/* ── Candidate profile ── */
.candidate-profile {
    padding: 60px 5% 80px;
    max-width: 1100px;
    margin: 0 auto;
}
.profile-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: start;
}
.profile-side {
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 30px;
    text-align: center;
    position: sticky;
    top: 100px;
}
.profile-side .candidate-meta { text-align: left; margin-top: 20px; }
.profile-side .candidate-status { margin: 12px 0 0; display: inline-block; }
.profile-side .cta-btn.full { display: block; margin: 20px 0 12px; }
.profile-side .candidate-photo.large { border-radius: 50%; border: 2px solid var(--border); }
.profile-section { margin-bottom: 35px; }
.profile-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark);
}
.profile-section p { color: var(--gray); }
.profile-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.profile-list li {
    padding-left: 22px;
    position: relative;
    margin-bottom: 10px;
    color: var(--gray);
}
.profile-list li::before {
    content: '\2022';
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: 700;
}
.reco-excerpt {
    border-left: 3px solid var(--gold);
    padding: 10px 0 10px 20px;
    color: var(--dark);
    font-style: italic;
}
.muted { color: var(--gray); font-size: 0.85rem; margin-top: 10px; }
.muted.center { text-align: center; margin-top: 30px; }

/* ── Testimonials ── */
.testimonials-section {
    padding: 60px 5% 80px;
    max-width: 1100px;
    margin: 0 auto;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 35px;
    margin: 0;
}
.testimonial-card blockquote {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 18px;
    line-height: 1.7;
}
.testimonial-card figcaption {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ── Floating WhatsApp button (company contact) ── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    z-index: 1500;
    transition: transform 0.2s, background 0.2s;
}
.whatsapp-float:hover {
    background: #1ebe5d;
    transform: scale(1.06);
}

/* ── Trust / Expertise Lead (Diana Rose) ── */
.trust-lead {
    background: var(--light);
    padding: 80px 5%;
}
.trust-lead-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: center;
}
.trust-lead-card {
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 40px 30px;
    text-align: center;
}
.trust-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trust-photo {
    display: block;
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
@media (max-width: 768px) {
    .trust-photo { width: 110px; height: 110px; }
}
.trust-lead-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.trust-role {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}
.trust-lead-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
}
.trust-lead-text p {
    color: var(--gray);
    margin-bottom: 18px;
}
.trust-points {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}
.trust-points li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    color: var(--dark);
}
.trust-points li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* ── Final mobile layout guard ──
   Keep mobile pages within viewport. This sits at the end so it overrides
   desktop grid rules defined later in the stylesheet. */
@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    nav {
        width: 100%;
        max-width: 100%;
    }

    .page-hero,
    .candidate-profile,
    .about-content,
    .services-preview,
    .shortlist-section,
    .how-trust,
    .why-families,
    .why-us,
    .trust-lead,
    .compliance,
    .cta-section,
    footer {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .profile-grid,
    .about-grid,
    .contact-grid,
    .why-grid,
    .trust-lead-inner,
    .shortlist-inner {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        gap: 28px;
    }

    .profile-side,
    .profile-main,
    .trust-lead-card,
    .trust-lead-text,
    .why-text,
    .why-image {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .profile-side {
        position: static;
        top: auto;
    }

    .why-image {
        height: 260px;
    }

    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .section-sub {
        margin: 0 auto 32px;
        padding: 0 12px;
    }

    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 54px;
        height: 54px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
        letter-spacing: 0;
    }

    nav {
        padding: 18px 5%;
    }

    .page-hero,
    .candidate-profile {
        padding-left: 5%;
        padding-right: 5%;
    }

    .profile-side {
        padding: 24px 18px;
    }
}

/* ── Mobile menu click/stacking fix ── */
@media (max-width: 768px) {
    .hamburger {
        position: relative;
        z-index: 2001;
        pointer-events: auto;
    }

    .nav-links.open {
        z-index: 2000;
    }
}

/* ── Introduction Agreement ── */
.agreement-section {
    padding: 70px 5%;
    background: var(--light);
}

.agreement-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
    padding: 44px;
}

.agreement-card h2,
.agreement-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
}

.agreement-card h2 {
    font-size: 2rem;
    margin-bottom: 22px;
}

.agreement-card h3 {
    font-size: 1.25rem;
    margin: 28px 0 10px;
}

.agreement-card p {
    color: var(--gray);
    margin-bottom: 12px;
}

.agreement-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

@media (max-width: 768px) {
    .agreement-card {
        padding: 28px 20px;
    }

    .agreement-actions .cta-btn {
        width: 100%;
    }
}
