/* ==========================================
   PENHILL RESIDENTIAL HOME - SHARED STYLES
   ========================================== */

/* 1. VARIABLES & RESET */
:root {
    --primary: #0088CE;
    --primary-dark: #005f91;
    --primary-light: #e6f4fb;
    --accent: #c89b5c;
    --accent-green: #27ae60;
    --gray-light: #F4F6FA;
    --gray-mid: #EAEEF3;
    --gray-border: #E0E5EC;
    --text-dark: #1a2332;
    --text-body: #4a5563;
    --text-muted: #7a8494;
    --white: #FFFFFF;
    --shadow-xs: 0 2px 8px rgba(15, 30, 60, 0.04);
    --shadow-sm: 0 4px 16px rgba(15, 30, 60, 0.06);
    --shadow-md: 0 10px 30px rgba(15, 30, 60, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 30, 60, 0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --header-h: 88px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-body);
    background-color: var(--white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* 2. TYPOGRAPHY */
h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', 'Roboto Slab', serif;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}
.section-title h2 { margin-bottom: 0.75rem; }
.section-title .subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 1rem auto 0;
    border-radius: 3px;
}

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

a {
    text-decoration: none;
    transition: var(--transition);
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}

strong { color: var(--text-dark); font-weight: 700; }

/* 3. LAYOUT UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: clamp(3rem, 8vw, 6rem) 0; }
.bg-gray { background-color: var(--gray-light); }
.bg-white { background-color: var(--white); }
.bg-primary { background-color: var(--primary); color: var(--white); }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* 4. BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 136, 206, 0.25);
}
.btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 206, 0.35);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    box-shadow: none;
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-guide {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    background: #f2f3f4;
    border: 1px solid #d0d4d8;
    border-radius: 4px;
    padding: 0.55rem 1.1rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-guide:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 136, 206, 0.25);
}
.btn-outline-light {
    color: #fff;
    border-color: #fff;
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--primary-dark);
    border-color: #fff;
}
.btn-light {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}
.btn-light:hover {
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 1.5rem;
}
.btn-row-left { justify-content: flex-start; }

/* 5. HEADER / NAVIGATION */
header {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 1px 0 rgba(15, 30, 60, 0.06);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: var(--transition);
}
header.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.logo img {
    height: 80px;
    width: auto;
    border-radius: 0;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-text .logo-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.15rem;
}
.logo-text .logo-tag {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}
@media (max-width: 1240px) and (min-width: 901px) {
    .nav-menu { gap: 0.85rem; }
    .nav-links { gap: 0.85rem; }
    .nav-links a { font-size: 0.84rem; }
    .nav-menu .btn {
        padding: 0.75rem 1.35rem;
        font-size: 0.88rem;
    }
}
@media (max-width: 1100px) and (min-width: 901px) {
    .nav-menu { gap: 0.75rem; }
    .nav-links { gap: 0.75rem; }
    .nav-links a { font-size: 0.82rem; }
}
.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--primary); }

.menu-toggle {
    display: none;
    font-size: 1.6rem;
    color: var(--primary);
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

/* Top contact strip */
.top-strip {
    background: var(--primary-dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
    display: none; /* shown on desktop */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}
.top-strip-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: flex-end;
    gap: 1.75rem;
    flex-wrap: wrap;
}
.top-strip a {
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}
.top-strip a:hover { opacity: 1; }

/* 6. PAGE BANNER (internal pages) */
.page-banner {
    margin-top: var(--header-h);
    background:
        linear-gradient(135deg, rgba(0, 95, 145, 0.85), rgba(0, 136, 206, 0.7)),
        url('images/penhillwelcome.jpg') center/cover no-repeat;
    color: var(--white);
    padding: clamp(3.5rem, 10vw, 6rem) 0 clamp(3rem, 8vw, 5rem);
    text-align: center;
    position: relative;
}
.page-banner--about      { background-image: linear-gradient(135deg, rgba(0,95,145,0.85), rgba(0,136,206,0.7)), url('images/og-about.jpg'); background-position: center 30%; }
.page-banner--facilities { background-image: linear-gradient(135deg, rgba(0,95,145,0.85), rgba(0,136,206,0.7)), url('images/og-vacancies.jpg'); background-position: center 45%; }
.page-banner--care       { background-image: linear-gradient(135deg, rgba(0,95,145,0.85), rgba(0,136,206,0.7)), url('images/og-care.jpg'); background-position: center 40%; }
.page-banner--vacancies  { background-image: linear-gradient(135deg, rgba(0,95,145,0.85), rgba(0,136,206,0.7)), url('images/og-vacancies.jpg'); background-position: center 45%; }
.page-banner--fees       { background-image: linear-gradient(135deg, rgba(0,95,145,0.85), rgba(0,136,206,0.7)), url('images/og-fees.jpg'); }
.page-banner--faqs       { background-image: linear-gradient(135deg, rgba(0,95,145,0.85), rgba(0,136,206,0.7)), url('images/og-faqs.jpg'); }
.page-banner--contact    { background-image: linear-gradient(135deg, rgba(0,95,145,0.85), rgba(0,136,206,0.7)), url('images/og-contact.jpg'); }
.page-banner--advice     { background-image: linear-gradient(135deg, rgba(0,95,145,0.85), rgba(0,136,206,0.7)), url('images/og-contact.jpg'); }

.page-banner h1 {
    color: var(--white);
    margin-bottom: 0.75rem;
}
.page-banner .breadcrumb {
    font-size: 0.9rem;
    opacity: 0.92;
    letter-spacing: 0.04em;
}
.page-banner .breadcrumb a { color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.3); }
.page-banner .breadcrumb a:hover { border-color: var(--white); }
.page-banner .lead {
    margin-top: 1rem;
    font-size: 1.1rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

/* 7. HERO (homepage) */
.hero {
    margin-top: var(--header-h);
    min-height: calc(100vh - var(--header-h));
    background: url('images/penhillwelcome-hero.jpg') center top/cover no-repeat;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
    position: relative;
}
.hero::after {
    display: none;
}

.hero-content {
    background: rgba(255, 255, 255, 0.97);
    padding: clamp(2rem, 5vw, 3.5rem);
    max-width: 760px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border-bottom: 5px solid var(--primary);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}
.hero-eyebrow {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 1.25rem;
}
.hero h1 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CQC HORIZONTAL BAR */
.cqc-bar-section {
    background: var(--white);
    padding: 0 0 4rem;
}
.cqc-bar {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: opacity 0.2s;
}
.cqc-bar:hover { opacity: 0.8; }
.cqc-bar__brand {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}
.cqc-bar__brand img { height: 28px; }
.cqc-bar__overall {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.cqc-bar__label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.cqc-bar__divider {
    width: 1px;
    height: 2.5rem;
    background: var(--gray-border);
    flex-shrink: 0;
}
.cqc-bar__categories {
    display: flex;
    flex: 1;
    justify-content: space-between;
    gap: 1rem;
}
.cqc-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}
.cqc-bar__cat {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.cqc-bar__fsa {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}
.cqc-bar__fsa-logo { height: 28px; }
.cqc-bar__footer {
    flex-shrink: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
}
@media (max-width: 768px) {
    .cqc-bar {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .cqc-bar__divider { display: none; }
    .cqc-bar__categories { justify-content: flex-start; flex-wrap: wrap; gap: 0.75rem; }
    .cqc-bar__footer { width: 100%; }
}

/* TRUST SUMMARY STRIP */
.trust-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.trust-summary__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
}
.trust-summary__item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}
.trust-summary__item strong {
    font-size: 1.15rem;
    color: var(--text-dark);
}
.trust-summary__item span {
    font-size: 0.88rem;
    color: var(--text-muted);
}
@media (max-width: 600px) {
    .trust-summary { grid-template-columns: 1fr; }
}

/* 8. TRUST / RATINGS SECTION */
.trust-section {
    background-color: var(--white);
    padding: 3rem 0;
}
.trust-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
}

.cqc-detailed-box {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    width: 320px;
    font-family: 'Open Sans', sans-serif;
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    transition: var(--transition);
}
.cqc-detailed-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.cqc-header {
    background: var(--primary-light);
    color: var(--text-dark);
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}
.cqc-header img { height: 22px; border-radius: 0; }
.cqc-body { padding: 16px 18px; }
.cqc-overview {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cqc-rating-good {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1.15rem;
}
.cqc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-mid);
    padding: 9px 0;
    font-size: 0.92rem;
}
.cqc-row:last-child { border-bottom: none; }
.cqc-dot {
    height: 11px;
    width: 11px;
    background-color: var(--accent-green);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}
.cqc-rating-text {
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}
.cqc-footer {
    background: var(--gray-light);
    padding: 10px 18px;
    font-size: 0.78rem;
    color: var(--text-muted);
    border-top: 1px solid var(--gray-mid);
}

.widget-wrapper {
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.widget-inner { display: inline-block; }

.hygiene-badge {
    background: var(--accent-green);
    color: white;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1.2rem;
    margin-right: 8px;
    display: inline-block;
}

/* 9. CONTENT GRIDS */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.grid-start { align-items: start; }
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.about-img img {
    width: 100%;
    height: auto;
    box-shadow: none;
    border-radius: var(--radius-md);
}

.nate-thumb {
    float: right;
    width: 100px;
    margin-left: 20px;
    margin-bottom: 10px;
    border-radius: 50%;
    border: 4px solid var(--primary-light);
    box-shadow: var(--shadow-sm);
}

/* Team member cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.team-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-light);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.1rem;
}
.team-card-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
    font-size: 2.2rem;
    color: var(--primary);
}
.team-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}
.team-card .team-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.9rem;
}
.team-card p {
    font-size: 0.93rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    text-align: left;
}
.team-quals {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    text-align: left;
    border-top: 1px solid var(--gray-border);
    padding-top: 0.85rem;
}
.team-quals li {
    font-size: 0.87rem;
    color: var(--text-muted);
    padding: 0.2rem 0 0.2rem 1.2rem;
    position: relative;
}
.team-quals li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-size: 0.8rem;
}

/* Visiting hours box */
.visiting-hours {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.vh-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}
.vh-row i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.vh-row div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.vh-row strong {
    font-size: 0.93rem;
    color: var(--text-dark);
}
.vh-row span {
    font-size: 0.9rem;
    color: var(--text-body);
}

/* 10. CARDS (Philosophy / Services) */
.philosophy-card {
    background: var(--white);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary);
    height: 100%;
    transition: var(--transition);
    position: relative;
}
.philosophy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card {
    background: var(--white);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.feature-icon {
    font-size: 1.6rem;
    color: var(--primary);
    background: var(--primary-light);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}
.feature-card .btn { margin-top: 1rem; }

/* Advice & Support */
.advice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.advice-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 4px solid var(--primary);
    transition: var(--transition);
}
.advice-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.advice-card__body {
    padding: clamp(1.5rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    flex: 1;
}
.advice-card__icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}
.advice-card__meta,
.article-meta {
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.advice-card h3 {
    color: var(--primary-dark);
    font-size: 1.28rem;
    margin-bottom: 0.8rem;
}
.advice-card p { color: var(--text-body); }
.advice-card .btn {
    align-self: flex-start;
    margin-top: auto;
}
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 820px);
    justify-content: center;
}
.article-body {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.75rem, 4vw, 3rem);
}
.article-body h2 {
    text-align: left;
    color: var(--primary-dark);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    margin: 2.25rem 0 1rem;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
    color: var(--text-dark);
    margin: 1.75rem 0 0.75rem;
}
.article-body ul {
    margin: 0 0 1.25rem 1.25rem;
    padding-left: 1rem;
}
.article-body li { margin-bottom: 0.55rem; }
.article-body blockquote {
    margin: 1.75rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
}
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}
.article-body th,
.article-body td {
    border: 1px solid var(--gray-border);
    padding: 0.85rem;
    text-align: left;
    vertical-align: top;
}
.article-body th {
    background: var(--primary-light);
    color: var(--text-dark);
}
.article-body hr {
    border: 0;
    border-top: 1px solid var(--gray-border);
    margin: 2rem 0;
}
.article-body a {
    color: var(--primary-dark);
    text-decoration: underline;
    text-decoration-color: rgba(0,136,206,0.35);
    text-underline-offset: 3px;
}
.article-body a:hover { text-decoration-color: var(--primary); }
.article-nav {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-border);
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.article-nav .btn {
    text-decoration: none;
    text-decoration-color: transparent;
}
.article-nav .btn:not(.btn-outline) {
    color: var(--white);
}
.article-nav .btn-outline {
    color: var(--primary);
}
.article-nav .btn-outline:hover {
    color: var(--white);
}

/* Traffic light suitability section */
.traffic-light-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.tl-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 2rem 1.75rem 1.75rem;
    border-top: 5px solid transparent;
    transition: var(--transition);
}
.tl-card--green  { border-top-color: #27ae60; }
.tl-card--amber  { border-top-color: #e8a020; }
.tl-card--red    { border-top-color: #c0392b; }
.tl-card:hover   { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tl-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.tl-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
}
.tl-card--green .tl-dot  { background: #27ae60; }
.tl-card--amber .tl-dot  { background: #e8a020; }
.tl-card--red   .tl-dot  { background: #c0392b; }
.tl-header h3 {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 700;
    margin: 0;
}
.tl-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.tl-card ul li {
    font-size: 0.93rem;
    color: var(--text-body);
    padding: 0.3rem 0 0.3rem 1.2rem;
    position: relative;
    line-height: 1.5;
}
.tl-card ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}
.tl-card .tl-note {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-style: italic;
    border-top: 1px solid var(--gray-border);
    padding-top: 0.85rem;
    margin-top: 0.25rem;
    line-height: 1.5;
}
@media (max-width: 640px) {
    .traffic-light-grid { grid-template-columns: 1fr; }
}

.fsa-logo { max-width: 200px; display: block; margin-top: 1.5rem; }
.rating-link { text-decoration: none; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.rating-text { color: var(--text-body); }

.icon-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    gap: 16px;
}
.icon-header i {
    font-size: 1.4rem;
    color: var(--primary);
    background: var(--primary-light);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.icon-header h3 { margin: 0; }

/* 11. FACILITIES */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.facility-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.facility-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.facility-img-wrap {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.facility-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.6s ease;
}
.facility-item:hover img { transform: scale(1.06); }
.facility-content {
    padding: 1.75rem;
    flex: 1;
}
.facility-content h3 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.facility-content h3::before {
    content: '';
    width: 24px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* 11b. FEES TABLE & TIER CARDS */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.tier-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary);
    text-align: center;
    transition: var(--transition);
}
.tier-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.tier-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.tier-card .tier-price {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin: 0.75rem 0 0.25rem;
}
.tier-card .tier-period {
    color: var(--text-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.tier-card .tier-note {
    font-size: 0.85rem;
    color: var(--text-body);
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.data-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    overflow: hidden;
}
.data-table caption {
    caption-side: top;
    text-align: left;
    padding: 0 0 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.data-table th {
    background: var(--primary-light);
    color: var(--primary-dark);
    text-align: left;
    padding: 14px 18px;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.data-table td {
    padding: 14px 18px;
    border-top: 1px solid var(--gray-mid);
    font-size: 0.95rem;
}
.data-table tbody tr:hover { background: var(--gray-light); }
.data-table .price {
    font-weight: 700;
    color: var(--primary-dark);
    white-space: nowrap;
}

@media (max-width: 700px) {
    .data-table-wrap { box-shadow: none; background: transparent; }
    .data-table { background: transparent; }
    .data-table thead { position: absolute; left: -9999px; }
    .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
    .data-table tr {
        margin-bottom: 1rem;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-xs);
        background: var(--white);
        padding: 6px 0;
    }
    .data-table td {
        border-top: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding: 10px 18px;
    }
    .data-table td + td { border-top: 1px solid var(--gray-mid); }
    .data-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.06em;
        font-size: 0.74rem;
    }
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.included-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.included-list li {
    padding: 10px 0 10px 32px;
    position: relative;
    border-bottom: 1px solid var(--gray-mid);
}
.included-list li:last-child { border-bottom: none; }
.included-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-green);
    position: absolute;
    left: 0;
    top: 12px;
}
.included-list.extras li::before {
    content: '\f067';
    color: var(--primary);
}

/* 11d. VACANCY STATUS */
.vacancy-status {
    max-width: 720px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
    text-align: center;
    border-top: 6px solid;
}
.vacancy-status.is-full { border-top-color: #d93838; }
.vacancy-status.is-limited { border-top-color: #d4a017; }
.vacancy-status.is-available { border-top-color: var(--accent-green); }

.vacancy-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}
.vacancy-pill.is-full { background: #fdecec; color: #b62a2a; }
.vacancy-pill.is-limited { background: #fdf3d8; color: #8a6800; }
.vacancy-pill.is-available { background: #e6f7ec; color: #1e7d3e; }
.vacancy-pill .dot,
.vacancy-hero-link .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    animation: vacancyPulse 2s infinite;
}
@keyframes vacancyPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.vacancy-status h2 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    text-align: center;
}
.vacancy-status h2::after { display: none; }
.vacancy-status .last-updated {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

/* Hero vacancy indicator (index.html) */
.vacancy-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    border: none;
    transition: filter 0.2s, transform 0.2s;
}
.vacancy-hero-link:hover { filter: brightness(1.1); transform: translateY(-1px); }
.vacancy-hero-link.is-full      { background: #c0392b; }
.vacancy-hero-link.is-limited   { background: #d4860a; }
.vacancy-hero-link.is-available { background: #1e8449; }

/* 11c. FAQ ACCORDION */
.faq-section {
    padding: clamp(3rem, 8vw, 5.5rem) 0;
}
.faq-section + .faq-section {
    border-top: 1px solid var(--gray-border);
}
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-group-title {
    margin: 0 0 1.25rem;
    color: var(--primary-dark);
    font-size: 1.35rem;
    text-align: left;
    border-left: 4px solid var(--accent);
    padding-left: 14px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 0.85rem;
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-mid);
}
.faq-item[open] {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-light);
}
.faq-item summary {
    padding: 1.1rem 1.4rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-dark);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    transition: transform 0.3s ease;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--primary); }
.faq-content {
    padding: 0.25rem 1.4rem 1.3rem;
    color: var(--text-body);
}
.faq-content p:last-child { margin-bottom: 0; }
.faq-content a { color: var(--primary); text-decoration: underline; }

/* 12. ADMISSIONS / PROCESS STEPS */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
}
.step {
    text-align: center;
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}
.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.step-num {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem auto;
    font-size: 1.3rem;
    box-shadow: 0 6px 14px rgba(0, 136, 206, 0.3);
}
.step h4 { color: var(--primary-dark); margin-bottom: 0.5rem; }

/* 13. TESTIMONIALS */
.testimonials {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.testimonials::before {
    content: '\201C';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 18rem;
    color: rgba(255,255,255,0.06);
    line-height: 1;
    pointer-events: none;
}
.testimonials h2 {
    color: var(--white);
    margin-bottom: 2rem;
}
.testimonials h2::after {
    background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,0.2));
}

.carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.quote-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 1.5rem;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}
.quote-slide.active { opacity: 1; pointer-events: auto; }
.quote-slide .fa-quote-left {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.3);
}
.quote-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.15rem, 2.2vw, 1.6rem);
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.5;
}
.quote-author {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.85);
}

.dots-container {
    margin-top: 1.5rem;
    text-align: center;
}
.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    background-color: rgba(255,255,255,0.4);
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: var(--transition);
}
.dot:hover { background-color: rgba(255,255,255,0.7); }
.dot.active { background-color: var(--white); width: 28px; border-radius: 5px; }

/* 14. CTA SECTION */
.cta-section {
    background:
        linear-gradient(135deg, rgba(0, 95, 145, 0.92), rgba(0, 136, 206, 0.85)),
        url('images/frontdoor.jpg') center/cover no-repeat;
	background-position: center 50%;	
    color: var(--white);
    text-align: center;
    padding: clamp(3rem, 7vw, 5rem) 1.5rem;
}
.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}
.cta-section h2::after {
    background: linear-gradient(90deg, var(--white), rgba(255,255,255,0.3));
}
.cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    opacity: 0.95;
}

/* 15. FOOTER */
footer {
    background-color: var(--white);
    border-top: 1px solid var(--gray-border);
}
footer.no-border-top { border-top: none; }
.footer-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.footer-info {
    flex: 1;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
    min-width: 320px;
    background-color: var(--gray-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.footer-info h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}
.footer-info p { margin-bottom: 2rem; }
.contact-address {
    font-style: normal;
    margin-top: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.footer-map {
    flex: 1.5;
    min-width: 320px;
    height: auto;
    align-self: stretch;
}
.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contact-row {
    display: flex;
    gap: 14px;
    margin-bottom: 1.1rem;
    align-items: flex-start;
}
.contact-row i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 6px;
    width: 32px;
    height: 32px;
    background: var(--primary-light);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-row a:hover { color: var(--primary); }
.footer-link { text-decoration: underline; text-decoration-color: rgba(0,136,206,0.4); }
.footer-link:hover { text-decoration-color: var(--primary); }
address { font-style: normal; }

.copyright {
    background: #1a2332;
    color: #9aa3b0;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
}

/* 16. STICKY MOBILE CALL BUTTON */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 136, 206, 0.45);
    z-index: 999;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    animation: pulse 2.5s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(0, 136, 206, 0.45); }
    50% { box-shadow: 0 6px 20px rgba(0, 136, 206, 0.7), 0 0 0 10px rgba(0, 136, 206, 0); }
}

/* 17. SCROLL REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 18. MEDIA QUERIES */
@media (min-width: 901px) {
    .top-strip { display: block; }
    .nav-menu { display: flex !important; }
}

@media (max-width: 900px) {
    :root { --header-h: 76px; }
    .menu-toggle { display: block; }

    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem 0 2rem;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--gray-border);
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .nav-menu.active { display: flex; }
    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
        text-align: center;
    }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 14px 24px;
        border-bottom: 1px solid var(--gray-mid);
    }
    .nav-links a::after { display: none; }
    .nav-menu .btn { margin: 1.25rem 24px 0; }

    .logo img { height: 50px; }
    .logo-text .logo-name { font-size: 1rem; }
    .logo-text .logo-tag { font-size: 0.66rem; }

    .grid-2, .grid-1, .grid-3 { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-img img { box-shadow: none; }
    .trust-grid { gap: 1.5rem; }

    .hero {
        background-attachment: scroll !important;
        min-height: auto;
        padding: 3rem 1rem 4rem;
    }
    .hero-content { padding: 2rem 1.5rem; width: 100%; }

    .btn-row { flex-direction: column; width: 100%; }
    .btn-row .btn { width: 100%; }

    .carousel-wrapper { height: 380px; }

    .footer-container { flex-direction: column; }
    .footer-map { height: 320px; min-width: 100%; }

    .nate-thumb { width: 80px; }

    .mobile-call-btn { display: inline-flex; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .section-padding { padding: 3rem 0; }
    .philosophy-card { padding: 1.5rem; }
    .nate-thumb { float: none; display: block; margin: 0 auto 1rem; }
}

/* Print */
@media print {
    header, .mobile-call-btn, .testimonials, .cta-section, .footer-map { display: none; }
    .hero { background: none; color: var(--text-dark); margin-top: 0; }
    .hero-content { box-shadow: none; }
}
