/* Golden Senior Care - Premium Senior Care Design System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: #fff;
    line-height: 1.7;
    font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s, opacity 0.2s; }
ul { list-style: none; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    font-weight: 600;
}

.section-tag {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-subheading {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: #d4892a;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--color-secondary);
    color: #fff;
}
.btn-secondary:hover { background: #4a9bc0; transform: translateY(-1px); }

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-outline-dark {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline-dark:hover { background: var(--color-primary); color: #fff; }

.btn-ghost {
    background: transparent;
    color: var(--color-secondary);
    padding: 14px 0;
    box-shadow: none;
}
.btn-ghost:hover { color: var(--color-primary); }

.btn-sm { padding: 10px 24px; font-size: 13px; }

.btn-arrow::after {
    content: '→';
    transition: transform 0.2s;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* Top bar */
:root { --topbar-height: 44px; }

.site-topbar {
    background: #001526;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    line-height: 1.3;
}

.site-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px; /* gsc: was var(--topbar-height); prevented JS feedback loop */
    padding-top: 6px;
    padding-bottom: 6px;
}

.site-topbar-body {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    min-width: 0;
    flex: 1;
}

.site-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
    font-weight: 500;
    transition: color 0.2s;
}

.site-topbar-item:hover { color: #fff; }

.site-topbar-icon {
    flex-shrink: 0;
    stroke: #8FC4DC;
    color: #8FC4DC;
}

.site-topbar-addresses {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-width: 0;
}

.site-topbar-address {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    min-width: 0;
    max-width: min(420px, 36vw);
    overflow: hidden;
    text-overflow: ellipsis;
}
.site-topbar-address--single span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-topbar-sep {
    display: inline-block;
    width: 1px;
    height: 12px;
    margin: 0 10px;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.site-topbar-social {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.site-topbar-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    transition: background 0.2s, color 0.2s;
}

.site-topbar-social-link:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.site-header-edit-btn {
    flex-shrink: 0;
    padding: 6px 12px;
    border: 1px solid rgba(143, 196, 220, 0.45);
    border-radius: 999px;
    background: rgba(143, 196, 220, 0.12);
    color: #fff;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.site-header-edit-btn:hover {
    background: rgba(143, 196, 220, 0.22);
    border-color: rgba(143, 196, 220, 0.7);
}

@media (max-width: 1100px) {
    .site-topbar-address--single { display: none; }
}

@media (max-width: 768px) {
    :root { --topbar-height: 40px; }

    .site-topbar .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .site-topbar {
        font-size: 9px;
        line-height: 1.2;
    }

    .site-topbar-inner {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 6px;
        padding: 5px 0;
        min-height: 40px;
    }

    .site-topbar-body {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
    }

    .site-topbar-address--single {
        display: none;
    }

    .site-topbar-item {
        gap: 4px;
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 9px;
    }

    .site-topbar-email span {
        overflow: visible;
        text-overflow: unset;
        display: inline;
        max-width: none;
    }

    .site-topbar-phone {
        flex-shrink: 0;
    }

    .site-topbar-icon {
        width: 11px;
        height: 11px;
        flex-shrink: 0;
    }

    .site-topbar-social {
        flex-shrink: 0;
        gap: 4px;
        padding-top: 0;
    }

    .site-topbar-social-link {
        width: 20px;
        height: 20px;
    }

    .site-topbar-social-link svg {
        width: 12px;
        height: 12px;
    }

    .site-header-edit-btn {
        padding: 5px 8px;
        font-size: 9px;
    }
}

@media (max-width: 400px) {
    .site-topbar { font-size: 8px; }
    .site-topbar-item { font-size: 8px; gap: 3px; }
    .site-topbar-body { gap: 6px; }
    .site-topbar-inner { gap: 4px; }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    flex-shrink: 0;
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin: 0 1px;
}
.logo-icon span:nth-child(1) { background: var(--color-secondary); }
.logo-icon span:nth-child(2) { background: var(--color-accent); }
.logo-icon span:nth-child(3) { background: var(--color-primary); }

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav-list {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    margin: 0;
}

.main-nav a,
.main-nav .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}
.main-nav a:hover,
.main-nav .nav-link:hover { color: var(--color-primary); }
.main-nav a.active,
.main-nav .nav-link.active { color: var(--color-primary); font-weight: 600; }

.nav-dropdown-trigger .nav-chevron {
    flex-shrink: 0;
    opacity: 0.72;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-item--dropdown:hover .nav-chevron,
.nav-item--dropdown:focus-within .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 280px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(0, 43, 73, 0.1);
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(0, 43, 73, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1200;
}

.nav-item--dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
}

.nav-item--dropdown:hover .nav-dropdown-menu,
.nav-item--dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-primary) !important;
    border-radius: 8px;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    background: rgba(0, 43, 73, 0.06);
    color: var(--color-secondary) !important;
}

.nav-dropdown-divider {
    height: 1px;
    margin: 6px 8px;
    background: rgba(0, 43, 73, 0.08);
}

.nav-dropdown-all {
    font-weight: 600 !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.header-phone svg { color: var(--color-secondary); }

.sub-nav {
    background: var(--color-accent-light);
    border-top: 1px solid rgba(0,65,101,0.06);
}

.sub-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 10px 0;
    overflow-x: auto;
}

.sub-nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sub-nav a:hover { color: var(--color-secondary); }

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}
.mobile-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 2000;
    visibility: hidden;
    pointer-events: none;
}
body.mobile-menu-open .site-header {
    z-index: 2100;
}
.mobile-menu.is-open {
    visibility: visible;
    pointer-events: auto;
}
.mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,43,73,0.55);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-menu.is-open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu-panel {
    position: absolute;
    top: var(--topbar-height, 44px);
    right: 0;
    width: min(340px, 90vw);
    height: calc(100% - var(--topbar-height, 44px));
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 32px rgba(0,43,73,0.12);
}
body.has-admin-bar .mobile-menu-panel {
    top: calc(var(--topbar-height, 44px) + 36px);
    height: calc(100% - var(--topbar-height, 44px) - 36px);
}
.mobile-menu.is-open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #EEF0F2;
    flex-shrink: 0;
}
.mobile-menu-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
}
.mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: #EEF1F4;
    border-radius: 50%;
    color: #002B49;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover {
    background: #E2E8EE;
    color: #001526;
}
.mobile-menu-close svg {
    stroke: #002B49;
    display: block;
}
.mobile-menu-close:hover svg {
    stroke: #001526;
}
.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}
.mobile-menu-nav a,
.mobile-nav-link {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    border-bottom: 1px solid #F3F4F6;
    text-decoration: none;
}
.mobile-menu-nav a:hover,
.mobile-nav-link:hover { color: var(--color-secondary); }
.mobile-nav-link--solo { border-bottom: 1px solid #F3F4F6; }
.mobile-nav-item { border-bottom: 1px solid #F3F4F6; }
.mobile-nav-row {
    display: flex;
    align-items: stretch;
    gap: 0;
}
.mobile-nav-row .mobile-nav-link {
    flex: 1;
    border-bottom: none;
}
.mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    flex-shrink: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--color-primary);
    cursor: pointer;
}
.mobile-nav-chevron {
    transition: transform 0.2s ease;
}
.mobile-nav-item.is-open .mobile-nav-chevron {
    transform: rotate(180deg);
}
.mobile-nav-sub {
    display: none;
    padding: 0 0 12px 12px;
}
.mobile-nav-item.is-open .mobile-nav-sub {
    display: block;
}
.mobile-nav-sub a {
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
    border-bottom: none;
    color: rgba(0, 43, 73, 0.82);
}
.mobile-nav-sub a:hover,
.mobile-nav-sub a.active {
    color: var(--color-secondary);
}
.mobile-nav-divider {
    height: 1px;
    margin: 4px 0 8px;
    background: #EEF0F2;
}
.mobile-nav-all {
    font-weight: 700 !important;
    color: var(--color-primary) !important;
}
.mobile-menu-footer {
    padding: 24px;
    border-top: 1px solid #EEF0F2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mobile-menu-phone {
    text-align: center;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 15px;
}
.btn-block { width: 100%; justify-content: center; }
.btn-header-cta {
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 9999px;
    flex-shrink: 0;
    white-space: nowrap;
}

body.mobile-menu-open { overflow: hidden; }

/* Hero - Homepage (warm lifestyle photo style) */
.hero-homepage {
    min-height: 92vh;
    align-items: center;
    background: #1a1208;
}
.hero-homepage::before { display: none; }
.hero-homepage .hero-bg {
    opacity: 1;
    background-size: cover;
    background-position: center;
    background-image: url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?w=1600&q=80');
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0,35,55,0.82) 0%, rgba(0,35,55,0.45) 55%, rgba(0,35,55,0.25) 100%);
    z-index: 1;
}
.hero-homepage .hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-homepage h1 { font-size: clamp(2.75rem, 5.5vw, 4.25rem); letter-spacing: -0.02em; }

/* Section tag variants */
.section-tag-orange { color: var(--color-accent); }
.section-tag-blue { color: var(--color-secondary); }

/* Service cards - light blue like screenshot */
.services-grid-section { background: #fff; }
.services-grid-section .card {
    background: var(--color-accent-light);
    border: 1px solid rgba(91,173,211,0.2);
    box-shadow: none;
}
.services-grid-section .card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* Homes cards */
.homes-grid-section .home-card .card-image {
    background-size: cover;
    background-position: center;
}

/* Editable images */
.gsc-editable-image {
    position: relative;
    cursor: pointer;
}
.gsc-editable-image:hover {
    outline: 2px dashed var(--color-secondary);
    outline-offset: 4px;
}
.gsc-edit-btn-image {
    background: var(--color-accent) !important;
    top: 12px !important;
    right: 12px !important;
}

/* Modal large */
.gsc-modal-lg { max-width: 640px; }
.gsc-modal-body { max-height: 50vh; overflow-y: auto; margin-bottom: 16px; }

/* Trust bar overlap hero bottom */
.hero-homepage + .trust-bar,
.hero + .trust-bar {
    margin-top: -32px;
    position: relative;
    z-index: 10;
    background: #fff;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    box-shadow: var(--shadow-sm);
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Stats - full bleed navy */
.stats-bar { background: var(--color-navy); }

/* Process numbers gold tint */
.process-number { color: rgba(232,155,49,0.35); }

/* Admin 404 fix indicator - section wrapper edit btn */
.section-wrapper { position: relative; }
.section-wrapper > .gsc-edit-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 20;
    display: none;
    background: var(--color-primary);
}
.section-wrapper.gsc-section-editable:hover > .gsc-edit-btn { display: flex; }

/* Hero Sections */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--color-navy);
    color: #fff;
    overflow: hidden;
}

.hero:not(.hero-homepage)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,51,78,0.92) 0%, rgba(0,65,101,0.85) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-pill);
    font-size: 13px;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.hero-video-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-top: 24px;
}
.hero-video-link:hover { color: #fff; }

.hero-page {
    min-height: 50vh;
    text-align: center;
    justify-content: center;
}

.hero-page .hero-content { max-width: 800px; margin: 0 auto; text-align: center; }
.hero-page h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }

.hero-breadcrumb {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 3;
}

.breadcrumb-bar {
    background: #fff;
    padding: 14px 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.breadcrumb-bar .container { text-align: right; }
.breadcrumb-bar a { color: var(--color-text-light); }
.breadcrumb-bar a:hover { color: var(--color-primary); }

.hero-subnav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-subnav-bar {
    background: #fff;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 0;
    margin: 0 auto;
    max-width: var(--container-width);
}

.hero-subnav-bar ul {
    display: flex;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
}

.hero-subnav-bar li a {
    display: block;
    padding: 16px 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-light);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
.hero-subnav-bar li a:hover,
.hero-subnav-bar li a.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-accent);
}

/* Trust Bar */
.trust-bar {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 20px 0;
    margin-top: -1px;
}

.trust-bar-inner {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-secondary);
}

.trust-icon {
    width: 36px;
    height: 36px;
    background: var(--color-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Sections */
.section {
    padding: var(--section-spacing) 0;
}

.section-cream { background: var(--color-cream); }
.section-light { background: #fafafa; }
.section-navy { background: var(--color-navy); color: #fff; }
.section-navy h2, .section-navy h3, .section-navy .section-heading { color: #fff; }

/* Split Content */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-image {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #e8ddd0 0%, #d4c5b0 100%);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.split-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px);
}

.split-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.split-image-grid .img-main {
    grid-row: span 2;
    aspect-ratio: auto;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, #e8ddd0, #d4c5b0);
    border-radius: var(--radius-lg);
}

.split-image-grid .img-sm {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #ddd5c8, #c9bfb0);
    border-radius: var(--radius-md);
}

.split-content .checklist {
    margin: 24px 0;
}

.split-content .checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
}

.check-icon {
    width: 22px;
    height: 22px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.split-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.04);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.card h3 {
    font-size: 1.125rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 8px;
}

.card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-top: 16px;
}
.card-link:hover { color: var(--color-primary); }

/* Service Cards */
.service-card {
    text-align: left;
}

.service-card .card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(232,155,49,0.12);
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Home Cards */
.home-card .card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #e8ddd0, #d4c5b0);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

/* Stats Bar */
.stats-bar {
    background: var(--color-navy);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.process-step {
    position: relative;
    padding-top: 16px;
}

.process-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0,65,101,0.08);
    margin-bottom: 16px;
    line-height: 1;
}

.process-step h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* Testimonials */
.testimonial-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.stars {
    color: var(--color-accent);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.5;
    color: var(--color-primary);
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent-light);
}

.author-name {
    font-weight: 600;
    font-size: 15px;
}

.author-title {
    font-size: 13px;
    color: var(--color-text-light);
}

.testimonial-nav {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.nav-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0,65,101,0.15);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.nav-arrow:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* FAQ */
.faq-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.faq-cta-box {
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-top: 32px;
}

.faq-cta-box h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.faq-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.faq-list { border-top: 1px solid rgba(0,0,0,0.08); }

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: var(--color-primary);
    gap: 16px;
}

.faq-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0,65,101,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    transition: transform 0.3s;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s;
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

/* CTA Banner */
.cta-banner {
    background: var(--color-navy);
    border-radius: var(--radius-lg);
    padding: 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.cta-banner h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: #fff;
    margin-bottom: 16px;
}

.cta-banner p {
    opacity: 0.85;
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.cta-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: var(--radius-md);
}

/* Contact Form */
.contact-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0,65,101,0.15);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(91,173,211,0.15);
}

textarea.form-control { min-height: 120px; resize: vertical; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-info-card {
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    flex-shrink: 0;
}

.location-list { margin-top: 24px; }

.location-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,65,101,0.08);
}

.location-item h4 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.location-item p {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.hours-list {
    margin-top: 24px;
    font-size: 14px;
}

.hours-list dt {
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 8px;
}

.hours-list dd {
    color: var(--color-text-light);
    margin-left: 0;
}

/* Map */
.map-section {
    background: var(--color-accent-light);
}

.map-placeholder {
    aspect-ratio: 21/9;
    background: linear-gradient(135deg, #e8e0d4, #d9cfc0);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 14px;
    margin-top: 32px;
    position: relative;
}

.map-badge {
    background: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    font-weight: 600;
    color: var(--color-primary);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    margin-top: 32px;
}

.gallery-item {
    background: linear-gradient(135deg, #e8ddd0, #d4c5b0);
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-md);
    min-height: 200px;
}

.gallery-item:first-child {
    grid-row: span 2;
    min-height: 416px;
}

/* Amenities */
.amenities-grid .card {
    background: var(--color-accent-light);
    border: 1px solid rgba(91,173,211,0.15);
    box-shadow: none;
    text-align: center;
    padding: 24px;
}

.amenities-grid .card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}

/* Differentiation (dark) */
.diff-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.diff-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    font-size: 16px;
    color: rgba(255,255,255,0.9);
}

.diff-check {
    width: 28px;
    height: 28px;
    background: rgba(232,155,49,0.2);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Homes Listing */
.home-listing-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 48px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.home-listing-item:nth-child(even) { direction: rtl; }
.home-listing-item:nth-child(even) > * { direction: ltr; }

.home-listing-image {
    aspect-ratio: 16/11;
    background: linear-gradient(135deg, #e8ddd0, #d4c5b0);
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
}

.hero-home .hero-bg {
    opacity: 0.55;
    background-size: cover;
    background-position: center;
}

.home-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--color-accent-light);
    color: var(--color-secondary);
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius-pill);
}

.tag-gold {
    background: rgba(232,155,49,0.12);
    color: var(--color-accent);
}

/* Care Types */
.care-types-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.care-type-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
    background: #fff;
    border: 1px solid rgba(0,65,101,0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}

.care-type-card:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-sm);
}

.care-type-card h3 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
}

/* Services Columns */
.services-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.services-columns h3 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent-light);
}

.services-columns ul li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--color-text-light);
    position: relative;
    padding-left: 16px;
}

.services-columns ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* Values Grid */
.values-grid .card {
    text-align: center;
}

.values-grid .card-icon {
    margin: 0 auto 20px;
    background: rgba(232,155,49,0.12);
    color: var(--color-accent);
}

/* Team Grid */
.team-card .team-photo {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #e8ddd0, #d4c5b0);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.team-card h3 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.team-card .team-title {
    font-size: 13px;
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 8px;
}

.team-card p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* Footer */
.site-footer {
    background: var(--color-navy);
    color: rgba(255,255,255,0.8);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.8fr 1.65fr 1.1fr;
    gap: clamp(32px, 4.5vw, 56px);
    align-items: start;
    padding-bottom: 48px;
}

.footer-brand p {
    max-width: 320px;
    font-size: 13px;
    line-height: 1.75;
    margin: 16px 0 24px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}

.footer-col ul li {
    padding: 5px 0;
}

.footer-col ul a,
.footer-contact p,
.footer-contact a:not(.btn) {
    font-size: 13px;
    line-height: 1.65;
    opacity: 0.75;
    transition: opacity 0.2s;
}
.footer-col ul a:hover { opacity: 1; color: #fff; }

.footer-services-col ul {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    column-gap: 42px;
}

.footer-services-col ul a {
    white-space: nowrap;
}

.footer-contact p {
    margin-bottom: 9px;
    max-width: 280px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.6;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}
.footer-bottom-links a:hover { opacity: 1; color: #fff; }

/* Floating Phone */
.floating-phone {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: var(--color-secondary);
    color: #fff;
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}
.floating-phone:hover { transform: scale(1.05); color: #fff; }

/* Inline Editor */
.gsc-editable {
    position: relative;
    cursor: default;
}

.gsc-editable:hover {
    outline: 2px dashed var(--color-secondary);
    outline-offset: 4px;
}

.gsc-edit-btn {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 28px;
    height: 28px;
    background: var(--color-secondary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.gsc-editable > .gsc-edit-btn,
.gsc-editable-image > .gsc-edit-btn-image {
    display: flex;
    opacity: 0.82;
    transform: scale(0.9);
}

.gsc-editable:hover > .gsc-edit-btn,
.gsc-editable-image:hover > .gsc-edit-btn-image {
    opacity: 1;
    transform: scale(1);
}

.gsc-editable:hover .gsc-edit-btn,
.gsc-section-editable:hover .gsc-edit-btn { display: flex; }

.gsc-section-editable {
    position: relative;
}

.gsc-section-editable:hover {
    outline: 2px dashed rgba(91,173,211,0.5);
    outline-offset: 8px;
}

/* Edit Modal */
.gsc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(4px);
}

.gsc-modal {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 560px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.gsc-modal h3 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.gsc-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section header centered */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-header .section-subheading {
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .split-section,
    .testimonial-section,
    .faq-section,
    .contact-section,
    .cta-banner,
    .diff-section,
    .home-listing-item {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-listing-item:nth-child(even) { direction: ltr; }

    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .services-columns { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-services-col ul { grid-template-columns: 1fr; }
    .footer-services-col ul a { white-space: normal; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item:first-child { grid-row: span 1; min-height: 200px; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-toggle { display: flex; }
    .header-phone span { display: none; }
    .btn-header-cta { display: none; }

    .container { padding: 0 20px; }

    .floating-phone {
        bottom: 16px;
        right: 16px;
        padding: 12px 18px;
        font-size: 13px;
    }

    .cards-grid,
    .cards-grid-4,
    .cards-grid-2,
    .stats-grid,
    .process-grid,
    .services-columns,
    .care-types-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand p,
    .footer-contact p {
        max-width: none;
    }

    .footer-services-col ul a {
        white-space: normal;
    }

    .form-row { grid-template-columns: 1fr; }
    .hero { min-height: 70vh; }
    .cta-banner { padding: 40px 24px; }
    .contact-form-card { padding: 32px 24px; }
    .testimonial-card { padding: 32px 24px; }
    .trust-bar-inner { gap: 24px; }
    .section { padding: 60px 0; }

    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 24px;
        box-shadow: var(--shadow-md);
        gap: 16px;
    }
}

/* Admin bar when logged in */
.admin-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    color: #fff;
    padding: 8px 16px;
    font-size: 13px;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-bar a {
    color: #fff;
    font-weight: 600;
    margin-left: 16px;
}

body.has-admin-bar { padding-top: 36px; }
body.has-admin-bar .site-header { top: 36px; }
