/*
Theme Name: Welcome Home Association Management
Theme URI: https://welcomehomeam.com
Author: Welcome Home Association Management
Author URI: https://welcomehomeam.com
Description: A professional WordPress theme for Welcome Home Association Management — HOA management services in College Station, TX. Clean, easy-to-navigate design with a local community feel.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: welcome-home
Tags: one-column, custom-menu, featured-images, theme-options, custom-logo
*/

/* ========================================
   CSS VARIABLES / DESIGN TOKENS
   ======================================== */
:root {
    /* Primary Palette — Maroon (from logo) */
    --wh-maroon: #7B1F2E;
    --wh-maroon-light: #9A3040;
    --wh-maroon-dark: #5C1620;
    --wh-maroon-deep: #4A1018;

    /* Secondary — Warm Gold Accent */
    --wh-gold: #C8963E;
    --wh-gold-light: #D4AA5E;
    --wh-gold-dark: #A87A2F;

    /* Neutrals */
    --wh-white: #FFFFFF;
    --wh-off-white: #FAF8F6;
    --wh-light-gray: #EDEAE5;
    --wh-mid-gray: #9B9B9B;
    --wh-dark-gray: #4A4A4A;
    --wh-charcoal: #2D2D2D;

    /* Accent */
    --wh-green: #4A7C59;
    --wh-green-light: #5E9A6F;

    /* Legacy aliases (maroon replaces navy throughout) */
    --wh-navy: var(--wh-maroon);
    --wh-navy-light: var(--wh-maroon-light);
    --wh-navy-dark: var(--wh-maroon-dark);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-med: 0.3s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(123, 31, 46, 0.08);
    --shadow-md: 0 4px 20px rgba(123, 31, 46, 0.12);
    --shadow-lg: 0 8px 40px rgba(123, 31, 46, 0.16);
}

/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--wh-charcoal);
    background-color: var(--wh-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--wh-navy);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--wh-gold);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--wh-navy);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-padding {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--wh-gold);
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--wh-dark-gray);
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-med);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--wh-gold);
    color: var(--wh-white);
    border-color: var(--wh-gold);
}

.btn-primary:hover {
    background-color: var(--wh-gold-dark);
    border-color: var(--wh-gold-dark);
    color: var(--wh-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--wh-white);
    border-color: var(--wh-white);
}

.btn-outline:hover {
    background-color: var(--wh-white);
    color: var(--wh-navy);
    transform: translateY(-2px);
}

.btn-navy {
    background-color: var(--wh-navy);
    color: var(--wh-white);
    border-color: var(--wh-navy);
}

.btn-navy:hover {
    background-color: var(--wh-navy-light);
    border-color: var(--wh-navy-light);
    color: var(--wh-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-med);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--wh-light-gray);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-brand .brand-logo {
    flex-shrink: 0;
}

.site-brand .brand-logo img,
.site-brand .brand-logo .custom-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.site-brand .brand-logo .brand-logo-img {
    height: 50px;
    width: auto;
}

.site-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.site-brand .brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--wh-navy);
}

.site-brand .brand-tagline {
    font-size: 0.7rem;
    color: var(--wh-mid-gray);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Desktop Nav */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--wh-dark-gray);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.main-nav a:hover,
.main-nav .current-menu-item a {
    color: var(--wh-navy);
    background: var(--wh-off-white);
}

.nav-cta a {
    background: var(--wh-gold) !important;
    color: var(--wh-white) !important;
    border-radius: 4px;
}

.nav-cta a:hover {
    background: var(--wh-gold-dark) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--wh-navy);
    margin: 6px 0;
    transition: all var(--transition-med);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--wh-navy);
    color: var(--wh-white);
    font-size: 0.8rem;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.top-bar a {
    color: var(--wh-gold-light);
    font-weight: 600;
}

.top-bar a:hover {
    color: var(--wh-white);
}

.top-bar-contact {
    display: flex;
    gap: 24px;
    align-items: center;
}

.top-bar-contact span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-contact svg {
    width: 14px;
    height: 14px;
    fill: var(--wh-gold);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(165deg, var(--wh-navy-dark) 0%, var(--wh-navy) 50%, var(--wh-navy-light) 100%);
    overflow: hidden;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(200, 150, 62, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(74, 124, 89, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--wh-white) 0%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 140px 0 100px;
}

.hero .section-label {
    color: var(--wh-gold-light);
    margin-bottom: 20px;
}

.hero h1 {
    color: var(--wh-white);
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--wh-gold);
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat {
    text-align: left;
}

.hero-stat .stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--wh-gold);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat .stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Decorative background shapes */
.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-decoration .shape {
    position: absolute;
    border: 1px solid rgba(200, 150, 62, 0.1);
    border-radius: 50%;
}

.hero-decoration .shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: -10%;
}

.hero-decoration .shape-2 {
    width: 300px;
    height: 300px;
    bottom: 15%;
    right: 15%;
}

.hero-decoration .shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 5%;
    background: rgba(200, 150, 62, 0.03);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    background: var(--wh-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--wh-white);
    border: 1px solid var(--wh-light-gray);
    border-radius: 8px;
    padding: 40px 32px;
    transition: all var(--transition-med);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--wh-gold);
    transform: scaleX(0);
    transition: transform var(--transition-med);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--wh-off-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all var(--transition-med);
}

.service-card:hover .service-icon {
    background: var(--wh-navy);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--wh-navy);
    transition: fill var(--transition-med);
}

.service-card:hover .service-icon svg {
    fill: var(--wh-gold);
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--wh-dark-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--wh-gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    color: var(--wh-gold-dark);
    gap: 10px;
}

.service-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ========================================
   ABOUT / WHY US SECTION
   ======================================== */
.about-section {
    background: var(--wh-off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--wh-navy);
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--wh-navy) 0%, var(--wh-navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--wh-gold);
    color: var(--wh-white);
    padding: 16px 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-badge .badge-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.about-badge .badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content .section-label {
    margin-bottom: 12px;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--wh-dark-gray);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature .feature-check {
    width: 24px;
    height: 24px;
    background: var(--wh-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature .feature-check svg {
    width: 14px;
    height: 14px;
    fill: var(--wh-white);
}

.about-feature span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--wh-charcoal);
}

/* ========================================
   COMMUNITY / LOCAL SECTION
   ======================================== */
.community-section {
    background: var(--wh-navy);
    color: var(--wh-white);
    position: relative;
    overflow: hidden;
}

.community-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(200, 150, 62, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.community-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.community-section h2 {
    color: var(--wh-white);
    margin-bottom: 20px;
}

.community-section p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.community-highlights {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-item {
    text-align: center;
}

.highlight-item svg {
    width: 32px;
    height: 32px;
    fill: var(--wh-gold);
    margin-bottom: 12px;
}

.highlight-item h4 {
    color: var(--wh-white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
    background: var(--wh-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--wh-off-white);
    border-radius: 8px;
    padding: 36px 32px;
    position: relative;
}

.testimonial-card .quote-mark {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--wh-gold);
    line-height: 1;
    margin-bottom: 8px;
    opacity: 0.4;
}

.testimonial-card p {
    color: var(--wh-dark-gray);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--wh-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wh-gold);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.author-info .author-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--wh-charcoal);
}

.author-info .author-role {
    font-size: 0.8rem;
    color: var(--wh-mid-gray);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--wh-gold-dark) 0%, var(--wh-gold) 50%, var(--wh-gold-light) 100%);
    color: var(--wh-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--wh-white);
    margin-bottom: 16px;
    font-size: 2.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 36px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--wh-white);
    color: var(--wh-navy);
    border-color: var(--wh-white);
}

.btn-white:hover {
    background: transparent;
    color: var(--wh-white);
    border-color: var(--wh-white);
    transform: translateY(-2px);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: var(--wh-off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--wh-dark-gray);
    margin-bottom: 36px;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail .detail-icon {
    width: 48px;
    height: 48px;
    background: var(--wh-navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail .detail-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--wh-gold);
}

.contact-detail h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--wh-mid-gray);
    margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--wh-charcoal);
    margin-bottom: 0;
}

.contact-detail a:hover {
    color: var(--wh-gold);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--wh-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wh-charcoal);
    margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--wh-light-gray);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--wh-charcoal);
    background: var(--wh-off-white);
    transition: all var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--wh-gold);
    background: var(--wh-white);
    box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--wh-navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--wh-white);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--wh-gold);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.6);
}

.footer-social a:hover svg {
    fill: var(--wh-white);
}

.footer-col h4 {
    color: var(--wh-white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--wh-gold);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a:hover {
    color: var(--wh-gold);
}

/* ========================================
   PAGE TEMPLATES
   ======================================== */
.page-hero {
    background: linear-gradient(165deg, var(--wh-navy-dark) 0%, var(--wh-navy) 100%);
    padding: 160px 0 80px;
    text-align: center;
}

.page-hero h1 {
    color: var(--wh-white);
    margin-bottom: 16px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto;
}

.page-hero-portal-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 12px 24px;
    background: var(--wh-gold);
    color: var(--wh-navy-dark);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 999px;
    border: 2px solid transparent;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.page-hero-portal-link:hover,
.page-hero-portal-link:focus {
    background: transparent;
    color: var(--wh-white);
    border-color: var(--wh-gold);
    transform: translateY(-1px);
}

.page-hero-portal-link svg {
    flex-shrink: 0;
}

.page-content {
    padding: 64px 0;
}

.page-content .entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-content .entry-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.page-content .entry-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--wh-dark-gray);
}

.page-content .entry-content ul,
.page-content .entry-content ol {
    margin: 16px 0 24px 24px;
}

.page-content .entry-content li {
    list-style: disc;
    margin-bottom: 8px;
    color: var(--wh-dark-gray);
    font-size: 1.05rem;
}

/* Board Resources specific */
.board-resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.resource-card {
    background: var(--wh-off-white);
    border: 1px solid var(--wh-light-gray);
    border-radius: 8px;
    padding: 32px;
    transition: all var(--transition-med);
}

.resource-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--wh-gold);
}

.resource-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.resource-card p {
    font-size: 0.9rem;
    color: var(--wh-mid-gray);
    margin-bottom: 16px;
}

/* ========================================
   MANAGED PROPERTIES SECTION (Homepage)
   ======================================== */
.managed-properties {
    background: var(--wh-off-white);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.property-card {
    background: var(--wh-white);
    border: 1px solid var(--wh-light-gray);
    border-radius: 8px;
    padding: 40px 32px;
    transition: all var(--transition-med);
    position: relative;
    overflow: hidden;
}

.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--wh-gold);
    transform: scaleX(0);
    transition: transform var(--transition-med);
    transform-origin: left;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.property-card:hover::before {
    transform: scaleX(1);
}

.property-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.property-card-header .property-icon {
    width: 56px;
    height: 56px;
    background: var(--wh-off-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-med);
}

.property-card:hover .property-icon {
    background: var(--wh-navy);
}

.property-card-header .property-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--wh-navy);
    transition: fill var(--transition-med);
}

.property-card:hover .property-icon svg {
    fill: var(--wh-gold);
}

.property-card-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0;
}

.property-card p {
    color: var(--wh-dark-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ========================================
   MANAGED PROPERTIES PAGE
   ======================================== */
.properties-listing {
    background: var(--wh-off-white);
}

.property-detail-card {
    background: var(--wh-white);
    border: 1px solid var(--wh-light-gray);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
    transition: box-shadow var(--transition-med);
}

.property-detail-card:hover {
    box-shadow: var(--shadow-md);
}

.property-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px 40px;
    background: linear-gradient(135deg, var(--wh-navy-dark) 0%, var(--wh-navy) 100%);
}

.property-detail-icon {
    width: 64px;
    height: 64px;
    background: rgba(200, 150, 62, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.property-detail-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--wh-gold);
}

.property-detail-header h2 {
    color: var(--wh-white);
    margin-bottom: 4px;
    font-size: 1.75rem;
}

.property-location {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.property-detail-body {
    padding: 40px;
}

.property-detail-body > p {
    color: var(--wh-dark-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.property-services-list h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--wh-navy);
    margin-bottom: 16px;
}

.property-services-list ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.property-services-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--wh-charcoal);
}

.property-services-list li svg {
    width: 18px;
    height: 18px;
    fill: var(--wh-green);
    flex-shrink: 0;
}

/* ========================================
   OWNER PORTAL PAGE
   ======================================== */
.portal-nav-section {
    background: var(--wh-white);
    padding: 32px 0;
    border-bottom: 1px solid var(--wh-light-gray);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.portal-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.portal-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--wh-off-white);
    border: 1px solid var(--wh-light-gray);
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--wh-dark-gray);
    transition: all var(--transition-fast);
}

.portal-nav-item:hover {
    background: var(--wh-navy);
    color: var(--wh-white);
    border-color: var(--wh-navy);
}

.portal-nav-item svg {
    width: 20px;
    height: 20px;
    fill: var(--wh-navy);
    transition: fill var(--transition-fast);
}

.portal-nav-item:hover svg {
    fill: var(--wh-gold);
}

.portal-section {
    background: var(--wh-white);
}

.portal-section-alt {
    background: var(--wh-off-white);
}

.portal-section-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.portal-section-icon {
    width: 64px;
    height: 64px;
    background: var(--wh-navy);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.portal-section-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--wh-gold);
}

.portal-section-info h2 {
    margin-bottom: 16px;
}

.portal-section-info > p {
    color: var(--wh-dark-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.portal-info-note {
    background: var(--wh-off-white);
    border: 1px solid var(--wh-light-gray);
    border-radius: 8px;
    padding: 24px;
    border-left: 3px solid var(--wh-gold);
}

.portal-section-alt .portal-info-note {
    background: var(--wh-white);
}

.portal-info-note strong {
    display: block;
    font-size: 0.9rem;
    color: var(--wh-navy);
    margin-bottom: 12px;
}

.portal-info-note ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portal-info-note li {
    font-size: 0.9rem;
    color: var(--wh-dark-gray);
    padding-left: 16px;
    position: relative;
    line-height: 1.6;
}

.portal-info-note li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: var(--wh-gold);
    border-radius: 50%;
}

.portal-info-note a {
    color: var(--wh-gold-dark);
    font-weight: 600;
}

.portal-info-note a:hover {
    color: var(--wh-navy);
}

.portal-form-wrapper {
    background: var(--wh-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.portal-section-alt .portal-form-wrapper {
    background: var(--wh-white);
}

.portal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.portal-form .form-group {
    margin-bottom: 16px;
}

.portal-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wh-charcoal);
    margin-bottom: 6px;
}

.portal-form input,
.portal-form select,
.portal-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--wh-light-gray);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--wh-charcoal);
    background: var(--wh-off-white);
    transition: all var(--transition-fast);
}

.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus {
    outline: none;
    border-color: var(--wh-gold);
    background: var(--wh-white);
    box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.1);
}

.portal-form textarea {
    resize: vertical;
    min-height: 120px;
}

.portal-form .btn {
    width: 100%;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .property-services-list ul {
        grid-template-columns: 1fr;
    }

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

    h1 { font-size: 2.5rem; }
    .hero h1 { font-size: 2.6rem; }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 56px 0;
    }

    .top-bar {
        display: none;
    }

    .site-header {
        top: 0;
    }

    /* Mobile Nav */
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--wh-white);
        padding: 80px 32px 32px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-med);
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-nav a {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .mobile-overlay.active {
        display: block;
    }

    /* Hero Mobile */
    .hero {
        min-height: 70vh;
    }

    .hero-content {
        padding: 120px 0 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 32px;
        flex-wrap: wrap;
    }

    .hero-stat .stat-number {
        font-size: 1.8rem;
    }

    .hero-decoration {
        display: none;
    }

    /* Sections Mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .community-highlights {
        flex-direction: column;
        gap: 32px;
    }

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

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

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .board-resources-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    /* Managed Properties Mobile */
    .properties-grid {
        grid-template-columns: 1fr;
    }

    .property-detail-header {
        padding: 24px;
    }

    .property-detail-body {
        padding: 24px;
    }

    .property-services-list ul {
        grid-template-columns: 1fr;
    }

    /* Owner Portal Mobile */
    .portal-nav-section {
        position: static;
    }

    .portal-nav {
        flex-direction: column;
    }

    .portal-section-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .portal-form .form-row {
        grid-template-columns: 1fr;
    }

    .portal-form-wrapper {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        padding: 12px 28px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .service-card {
        padding: 28px 24px;
    }
}

/* ========================================
   WORDPRESS SPECIFIC
   ======================================== */
.alignwide {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.wp-block-image img {
    border-radius: 8px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ========================================================================
   FAQ PAGE STYLES
   ======================================================================== */

.faq-section .faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--wh-light-gray);
    margin-bottom: 0;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--wh-charcoal);
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--wh-primary);
}

.faq-item .faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-left: 16px;
    position: relative;
}

.faq-item .faq-icon::before,
.faq-item .faq-icon::after {
    content: '';
    position: absolute;
    background: var(--wh-charcoal);
    transition: transform 0.3s ease;
}

.faq-item .faq-icon::before {
    top: 50%;
    left: 4px;
    width: 16px;
    height: 2px;
    transform: translateY(-50%);
}

.faq-item .faq-icon::after {
    top: 4px;
    left: 50%;
    width: 2px;
    height: 16px;
    transform: translateX(-50%);
}

.faq-item[open] .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 0 20px 0;
    color: var(--wh-dark-gray);
    line-height: 1.7;
}

.faq-answer p {
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.no-content-message {
    text-align: center;
    color: var(--wh-mid-gray);
    font-style: italic;
    padding: 40px 0;
}

/* ========================================================================
   GOOGLE REVIEWS SLIDER
   ======================================================================== */

.reviews-section {
    background: var(--wh-off-white);
}

.reviews-slider {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    padding: 0 50px;
}

.reviews-track {
    display: flex;
    transition: transform 0.4s ease;
    gap: 24px;
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--wh-white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-header .google-icon {
    flex-shrink: 0;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars .star-filled {
    fill: #F4B400;
}

.review-stars .star-empty {
    fill: var(--wh-light-gray);
}

.review-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--wh-charcoal);
    margin-bottom: 16px;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--wh-light-gray);
    padding-top: 12px;
    margin-top: auto;
}

.reviewer-name {
    font-weight: 600;
    color: var(--wh-charcoal);
    font-size: 0.9rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--wh-mid-gray);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--wh-white);
    border: 1px solid var(--wh-light-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
    color: var(--wh-charcoal);
}

.slider-nav:hover {
    background: var(--wh-primary);
    color: var(--wh-white);
    border-color: var(--wh-primary);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--wh-light-gray);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.slider-dots .dot.active {
    background: var(--wh-primary);
}

@media (max-width: 992px) {
    .review-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 600px) {
    .reviews-slider {
        padding: 0 40px;
    }
    .review-card {
        flex: 0 0 100%;
    }
}

/* ========================================================================
   AMENITIES PAGE STYLES
   ======================================================================== */

.amenities-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.amenity-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    background: var(--wh-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.amenity-card-reverse {
    direction: rtl;
}

.amenity-card-reverse > * {
    direction: ltr;
}

.amenity-image {
    height: 100%;
    min-height: 280px;
}

.amenity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amenity-content {
    padding: 32px;
}

.amenity-content h3 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.5rem;
    color: var(--wh-charcoal);
    margin-bottom: 12px;
}

.amenity-hours-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--wh-secondary);
    color: var(--wh-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.amenity-content p {
    color: var(--wh-dark-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.amenity-rules {
    margin-top: 12px;
}

.amenity-rules summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--wh-primary);
    font-size: 0.9rem;
}

.amenity-rules-content {
    padding: 12px 0;
    font-size: 0.9rem;
    color: var(--wh-dark-gray);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .amenity-card {
        grid-template-columns: 1fr;
    }
    .amenity-card-reverse {
        direction: ltr;
    }
    .amenity-image {
        min-height: 200px;
    }
}

/* ========================================================================
   CERTIFICATIONS & CAI STYLES
   ======================================================================== */

.certifications-section {
    background: var(--wh-off-white);
}

.certifications-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.certifications-section .section-header p {
    max-width: 600px;
    margin: 12px auto 0;
    color: var(--wh-dark-gray);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.cert-card {
    background: var(--wh-white);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.cert-logo {
    margin-bottom: 16px;
}

.cert-logo img {
    max-height: 80px;
    width: auto;
}

.cert-badge {
    display: inline-block;
    background: var(--wh-primary);
    color: var(--wh-white);
    padding: 4px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.cert-card h3 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.15rem;
    color: var(--wh-charcoal);
    margin-bottom: 8px;
}

.cert-card p {
    font-size: 0.9rem;
    color: var(--wh-dark-gray);
    line-height: 1.6;
}

/* CAI Section */
.cai-section {
    background: var(--wh-white);
}

.cai-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    background: var(--wh-off-white);
    border-radius: 12px;
    padding: 40px;
    border-left: 4px solid var(--wh-secondary);
}

.cai-logo {
    flex-shrink: 0;
}

.cai-logo img {
    max-width: 140px;
    height: auto;
}

.cai-text h2 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.5rem;
    color: var(--wh-charcoal);
    margin-bottom: 12px;
}

.cai-description {
    color: var(--wh-dark-gray);
    line-height: 1.7;
    margin-bottom: 12px;
}

.cai-membership {
    font-size: 0.9rem;
    color: var(--wh-mid-gray);
    font-style: italic;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .cai-content {
        flex-direction: column;
        text-align: center;
        padding: 28px;
    }
}

/* ========================================================================
   MEETING NOTICES STYLES
   ======================================================================== */

.meeting-notices,
.board-directors {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--wh-light-gray);
}

.meeting-notices h4,
.board-directors h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    color: var(--wh-charcoal);
    margin-bottom: 16px;
}

.meeting-notices h4 svg,
.board-directors h4 svg {
    flex-shrink: 0;
}

.meeting-notices-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meeting-notice-card {
    display: flex;
    gap: 16px;
    background: var(--wh-off-white);
    border-radius: 8px;
    padding: 16px;
}

.meeting-date-badge {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--wh-primary);
    color: var(--wh-white);
    border-radius: 8px;
    padding: 10px 14px;
    min-width: 100px;
    text-align: center;
}

.meeting-date-badge .meeting-date {
    font-weight: 700;
    font-size: 0.85rem;
}

.meeting-date-badge .meeting-time {
    font-size: 0.8rem;
    opacity: 0.9;
}

.meeting-details {
    flex: 1;
}

.meeting-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    color: var(--wh-dark-gray);
    margin: 0;
}

.meeting-agenda summary {
    font-size: 0.85rem;
    color: var(--wh-primary);
    cursor: pointer;
    font-weight: 600;
    margin-top: 8px;
}

.meeting-agenda-content {
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--wh-dark-gray);
}

/* ========================================================================
   BOARD OF DIRECTORS STYLES
   ======================================================================== */

.next-meeting-date {
    font-size: 0.9rem;
    color: var(--wh-dark-gray);
    margin-bottom: 16px;
    padding: 8px 16px;
    background: var(--wh-off-white);
    border-radius: 6px;
    display: inline-block;
}

.board-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.board-member-card {
    background: var(--wh-off-white);
    border-radius: 8px;
    padding: 16px;
    border-left: 3px solid var(--wh-secondary);
}

.board-member-info {
    margin-bottom: 8px;
}

.board-member-name {
    display: block;
    color: var(--wh-charcoal);
    font-size: 1rem;
}

.board-member-position {
    display: block;
    color: var(--wh-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.board-member-term,
.board-member-committees {
    display: block;
    font-size: 0.8rem;
    color: var(--wh-mid-gray);
    margin-top: 4px;
}

/* ========================================================================
   RESALE CERTIFICATES STYLES
   ======================================================================== */

.content-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--wh-white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.download-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.download-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--wh-off-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-card-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--wh-primary);
}

.download-card-content {
    flex: 1;
}

.download-card-content h4 {
    font-size: 1rem;
    color: var(--wh-charcoal);
    margin-bottom: 4px;
}

.download-card-content p {
    font-size: 0.85rem;
    color: var(--wh-mid-gray);
    margin: 0;
}

.download-card .btn-sm {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    padding: 8px 16px;
}

.resale-downloads {
    background: var(--wh-off-white);
}

/* ========================================================================
   FULL SERVICE PAGE STYLES
   ======================================================================== */

.full-service-card .included-items-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
    border-top: 1px solid var(--wh-light-gray);
    padding-top: 16px;
}

.full-service-card .included-items-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--wh-charcoal);
}

.full-service-card .included-items-list li svg {
    width: 16px;
    height: 16px;
    fill: var(--wh-accent);
    flex-shrink: 0;
}

/* ========================================================================
   CONSULTING PAGE STYLES
   ======================================================================== */

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.process-step {
    text-align: center;
    padding: 24px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--wh-primary);
    color: var(--wh-white);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.process-step h3 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.15rem;
    color: var(--wh-charcoal);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--wh-dark-gray);
    line-height: 1.6;
}

.consulting-services {
    background: var(--wh-off-white);
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-header .section-label {
    display: block;
    margin-bottom: 8px;
}

/* ========================================================================
   SINGLE PROPERTY PAGE
   ======================================================================== */

.property-back-link {
    padding: 20px 0;
    background: var(--wh-off-white);
    border-bottom: 1px solid var(--wh-light-gray);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--wh-maroon);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--wh-gold);
}

.property-overview .content-narrow {
    max-width: 800px;
}

.property-section {
    border-top: 1px solid var(--wh-light-gray);
}

.property-section-alt {
    background: var(--wh-off-white);
}

.committees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.committee-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--wh-white);
    border: 1px solid var(--wh-light-gray);
    border-radius: 8px;
    padding: 20px 24px;
}

.committee-card svg {
    fill: var(--wh-maroon);
    flex-shrink: 0;
}

.committee-card span {
    font-weight: 600;
    color: var(--wh-charcoal);
}

/* Property card as link */
a.property-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.property-card-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

a.property-card-link .property-location {
    display: block;
    font-size: 0.85rem;
    color: var(--wh-mid-gray);
    margin-bottom: 8px;
}

/* Amenity card image */
.amenity-image {
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.amenity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amenity-content {
    padding: 20px;
}

.amenity-hours {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--wh-mid-gray);
    margin-top: 8px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.amenity-card {
    background: var(--wh-white);
    border: 1px solid var(--wh-light-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-med);
}

.amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Logo in nav & footer */
.site-logo {
    height: 70px;
    width: auto;
    display: block;
}
.scrolled .site-logo {
    height: 56px;
}
.footer-wordmark {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--wh-white);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    text-decoration: none;
    display: block;
    cursor: pointer;
}
.footer-wordmark:hover {
    opacity: 0.85;
}
.footer-wordmark .gold {
    color: var(--wh-gold);
}

/* Hero logo */
.hero-logo {
    width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 24px;
    opacity: 0.9;
}
.page-hero-logo {
    width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
    opacity: 0.9;
}

/* For Agents - info items */
.portal-info-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: var(--wh-maroon);
    margin-top: 2px;
}

.info-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-item strong {
    font-size: 0.9rem;
    color: var(--wh-charcoal);
}

.info-item span {
    font-size: 0.85rem;
    color: var(--wh-dark-gray);
}
