/* ============================================
   ELEGANT VISIT — BEM Components
   ============================================ */

/* ================================
   HEADER
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: var(--z-sticky);
    background: transparent;
    transition: background var(--duration-normal) var(--ease-out),
        box-shadow var(--duration-normal) var(--ease-out);
}

.header--scrolled {
    background: rgba(250, 247, 242, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-primary-dark);
    text-decoration: none;
}

.header__logo-mark {
    width: 56px;
    height: 36px;
    flex-shrink: 0;
    display: block;
}

.header__logo-mark svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.header__logo-mark path {
    stroke: var(--color-accent);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.header__logo-divider {
    width: 2px;
    height: 32px;
    border-radius: 2px;
    background: rgba(196, 154, 60, 0.62);
}

.header__logo-word {
    display: flex;
    flex-direction: column;
    line-height: 0.84;
}

.header__logo-word span {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.header__logo-elegant {
    color: var(--color-primary-light);
}

.header__logo-visit {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .header__logo {
        gap: 8px;
    }

    .header__logo-mark {
        width: 44px;
        height: 28px;
    }

    .header__logo-divider {
        height: 24px;
    }

    .header__logo-word span {
        font-size: 0.94rem;
    }
}

/* --- Navigation --- */
.nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav__list li {
    list-style: none !important;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav__link,
.nav__list li a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-primary);
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--duration-fast) var(--ease-out);
}

.nav__link::after,
.nav__list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--duration-normal) var(--ease-out);
}

.nav__link:hover,
.nav__link--active,
.nav__list li.current-menu-item>a,
.nav__list li a:hover {
    color: var(--color-primary-dark);
}

/* Keep nav colors consistent on all header states */
.header--hero .nav__link,
.header--hero .nav__list li a,
.header--scrolled .nav__link,
.header--scrolled .nav__list li a {
    color: var(--color-primary);
}

.header--hero .nav__link::after,
.header--hero .nav__list li a::after,
.header--scrolled .nav__link::after,
.header--scrolled .nav__list li a::after {
    background: var(--color-primary);
}

.header--hero .nav__link:hover,
.header--hero .nav__link--active,
.header--hero .nav__list li.current-menu-item>a,
.header--hero .nav__list li a:hover,
.header--scrolled .nav__link:hover,
.header--scrolled .nav__link--active,
.header--scrolled .nav__list li.current-menu-item>a,
.header--scrolled .nav__list li a:hover {
    color: var(--color-primary-dark);
}

.nav__link:hover::after,
.nav__link--active::after,
.nav__list li.current-menu-item>a::after,
.nav__list li a:hover::after {
    width: 100%;
}

/* --- Mobile Menu Toggle --- */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: var(--space-xs);
    cursor: pointer;
}

/* --- Mobile-only: Close Button & Overlay (hidden on desktop) --- */
.nav__close,
.nav__overlay {
    display: none;
}

.nav__toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: var(--radius-full);
    transition: transform var(--duration-normal) var(--ease-out),
        opacity var(--duration-fast);
}

.header--hero .nav__toggle-bar,
.header--scrolled .nav__toggle-bar {
    background: var(--color-text);
}

.nav__toggle--open .nav__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--open .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav__toggle--open .nav__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    white-space: nowrap;
    min-height: 48px;
}

.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

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

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

.btn--secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

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

.btn--accent:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    box-shadow: var(--shadow-glow-accent);
    transform: translateY(-2px);
}

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

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

.btn--sm {
    padding: 0.625rem 1.25rem;
    font-size: var(--text-xs);
    min-height: 40px;
}

.btn--lg {
    padding: 1rem 2.5rem;
    font-size: var(--text-base);
}

.btn__icon {
    width: 18px;
    height: 18px;
    transition: transform var(--duration-fast) var(--ease-out);
}

.btn:hover .btn__icon {
    transform: translateX(3px);
}

/* --- Gutenberg Button Block Fix --- */
.wp-block-buttons {
    gap: var(--space-md);
}

.wp-block-button[class*="btn"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    transition: all var(--duration-normal) var(--ease-out);
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
    white-space: nowrap;
    padding: 0 !important;
}

.wp-block-button[class*="btn"] .wp-block-button__link,
.wp-block-button[class*="btn"] .wp-element-button {
    background: transparent !important;
    color: inherit !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: inherit !important;
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0.875rem 2rem;
}

/* Fix specific hovers for Gutenberg block buttons */
.wp-block-button.btn--white:hover {
    background: transparent !important;
    border-color: var(--color-white) !important;
    color: var(--color-white) !important;
}

.wp-block-button.btn--primary:hover {
    background: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
}

.wp-block-button.btn--accent:hover {
    background: var(--color-accent-dark) !important;
    border-color: var(--color-accent-dark) !important;
}


.wp-block-button[class*="btn"].btn--sm .wp-block-button__link,
.wp-block-button[class*="btn"].btn--sm .wp-element-button {
    padding: 0.625rem 1.25rem;
}

.wp-block-button[class*="btn"].btn--lg .wp-block-button__link,
.wp-block-button[class*="btn"].btn--lg .wp-element-button {
    padding: 1rem 2.5rem;
}

/* ================================
   HERO
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    color: transparent;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            #101A15 0%,
            #1B4332 58%,
            #2D6A4F 100%);
    z-index: -1;
}

.hero__content {
    max-width: 680px;
    color: var(--color-white);
}

.hero__title {
    font-family: var(--font-display);
    font-size: var(--text-6xl);
    font-weight: 700;
    line-height: 1.1;
    color: #F7F2E9;
    margin-bottom: var(--space-lg);
    text-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.hero__title span {
    background: linear-gradient(120deg, #DAB663 0%, #E8D2A0 45%, #F5E6C8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero__subtitle {
    font-size: var(--text-xl);
    line-height: var(--leading-relaxed);
    color: rgba(247, 242, 233, 0.86);
    margin-bottom: var(--space-2xl);
    max-width: 540px;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(196, 154, 60, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(218, 182, 99, 0.45);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: #F7F2E9;
    margin-bottom: var(--space-xl);
}

/* ================================
   CARDS & UNIFICATION
   ================================ */
.card,
.benefit-card,
.area-card,
.feature-card,
.testimonial {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-md);
    transition: transform var(--duration-normal) var(--ease-out),
        box-shadow var(--duration-normal) var(--ease-out);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 250px;
}

.card:hover,
.benefit-card:hover,
.area-card:hover,
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card__icon,
.benefit-card__icon,
.area-card__icon,
.feature-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-bg);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
    flex-shrink: 0;
}

.card__icon svg,
.benefit-card__icon svg {
    width: 32px;
    height: 32px;
}

.card__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.card__text {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    line-height: var(--leading-relaxed);
}

.card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
    transition: gap var(--duration-fast) var(--ease-out);
}

.card__link:hover {
    gap: var(--space-sm);
}

/* Glassmorphism Variant */
.card--glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(27, 67, 50, 0.1);
    transition: transform var(--duration-normal) var(--ease-out),
        background var(--duration-normal) var(--ease-out),
        border-color var(--duration-normal) var(--ease-out),
        box-shadow var(--duration-normal) var(--ease-out);
}

.card--glass:hover {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 40px 0 rgba(27, 67, 50, 0.14);
}

/* Service Card (for tilt) */
.card--service {
    text-align: center;
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
}

.card--service * {
    transition: transform 0.2s var(--ease-out);
}

.card--service .card__icon {
    margin: 0 auto var(--space-lg);
}

/* ================================
   DAY OF WEEK CHECKBOXES
   ================================ */
.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--space-xs);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-xs);
}

.day-checkbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xs);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--duration-fast);
    position: relative;
}

.day-checkbox:hover {
    background: var(--color-bg-alt);
}

.day-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.day-checkbox__label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-text);
}

.day-checkbox__box {
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-fast);
}

.day-checkbox__box::after {
    content: '';
    display: none;
    width: 10px;
    height: 10px;
    background-color: white;
    mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="20 6 9 17 4 12"></polyline></svg>') center/contain no-repeat;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="20 6 9 17 4 12"></polyline></svg>') center/contain no-repeat;
}

.day-checkbox input:checked~.day-checkbox__box {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.day-checkbox input:checked~.day-checkbox__box::after {
    display: block;
}

@media (max-width: 600px) {
    .days-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ================================
   FORM ROW (2 COLUMNS)
   ================================ */
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

@media (max-width: 768px) {
    .form__row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

/* ================================
   COUNTERS / STATS
   ================================ */
.counter {
    text-align: center;
    padding: var(--space-xl);
}

.counter__value {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.counter__label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

/* ================================
   TESTIMONIAL
   ================================ */
.testimonial {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    border: 1px solid var(--color-border-light);
    position: relative;
    min-width: 250px;
}

.testimonial__quote {
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--color-text-light);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-lg);
}

.testimonial__quote::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--color-primary-light);
    line-height: 0;
    position: absolute;
    top: var(--space-xl);
    left: var(--space-lg);
    opacity: 0.3;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial__avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--color-border-light);
}

.testimonial__name {
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--color-text);
}

.testimonial__role {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.testimonial__stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-md);
    color: var(--color-accent);
}

/* ================================
   ACCORDION / FAQ
   ================================ */
.accordion__item {
    border-bottom: 1px solid var(--color-border-light);
}

.accordion__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-lg) 0;
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
    transition: color var(--duration-fast);
}

.accordion__trigger:hover {
    color: var(--color-primary);
}

.accordion__icon {
    width: 24px;
    height: 24px;
    transition: transform var(--duration-normal) var(--ease-out);
    color: var(--color-text-muted);
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.accordion__item--open .accordion__icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--ease-out);
}

.accordion__item--open .accordion__content {
    max-height: 500px;
}

.accordion__body {
    padding-bottom: var(--space-lg);
    color: var(--color-text-light);
    line-height: var(--leading-relaxed);
}

/* ================================
   FORMS
   ================================ */
.form__group {
    margin-bottom: var(--space-lg);
}

.form__label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 0.875rem var(--space-md);
    font-size: var(--text-base);
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--duration-fast),
        box-shadow var(--duration-fast);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.12);
}

.form__input::placeholder {
    color: var(--color-text-muted);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
}

.form__checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--color-primary);
}

.form__error {
    font-size: var(--text-xs);
    color: var(--color-error);
    margin-top: var(--space-xs);
}

.form__help {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
}

/* ================================
   WIZARD / STEPPER
   ================================ */
.wizard__progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: var(--space-xl);
    /* reduced from 3xl */
    padding: 0 var(--space-md);
}

.wizard__step {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    /* reduced from sm */
}

.wizard__step-number {
    width: 32px;
    /* reduced from 40px */
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    /* reduced from sm */
    font-weight: 600;
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
    border: 2px solid var(--color-border);
    transition: all var(--duration-normal) var(--ease-out);
    flex-shrink: 0;
}

.wizard__step-label {
    font-size: var(--text-xs);
    /* reduced from sm */
    color: var(--color-text-muted);
    white-space: nowrap;
}

.wizard__step--active .wizard__step-number {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.wizard__step--active .wizard__step-label {
    color: var(--color-primary);
    font-weight: 600;
}

.wizard__step--completed .wizard__step-number {
    background: var(--color-success);
    border-color: var(--color-success);
    color: var(--color-white);
}

.wizard__step--completed .wizard__step-label {
    color: var(--color-success);
}

.wizard__connector {
    width: 32px;
    /* reduced from 48px */
    height: 2px;
    background: var(--color-border);
    margin: 0 var(--space-xs);
    flex-shrink: 0;
}

.wizard__step--completed+.wizard__connector {
    background: var(--color-success);
}

.wizard__panel {
    display: none;
    animation: fadeUp 0.4s var(--ease-out);
}

.wizard__panel--active {
    display: block;
}

.wizard__actions {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    /* reduced from 2xl */
    padding-top: var(--space-lg);
    /* reduced from xl */
    border-top: 1px solid var(--color-border-light);
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--color-bg-dark);
    color: var(--color-text-on-dark);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer__brand {
    max-width: 320px;
}

.footer__logo {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer__logo img {
    height: 40px;
    width: auto;
}

.footer__desc {
    font-size: var(--text-sm);
    color: var(--color-text-on-dark);
    opacity: 0.7;
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-lg);
}

.footer__social {
    display: flex;
    gap: var(--space-md);
}

.footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    color: var(--color-text-on-dark);
    transition: background var(--duration-fast),
        color var(--duration-fast),
        transform var(--duration-fast);
}

.footer__social-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.footer__social-link svg {
    width: 18px;
    height: 18px;
}

.footer__heading {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__link {
    font-size: var(--text-sm);
    color: var(--color-text-on-dark);
    opacity: 0.7;
    transition: opacity var(--duration-fast),
        color var(--duration-fast);
}

.footer__link:hover {
    opacity: 1;
    color: var(--color-accent-light);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copy {
    font-size: var(--text-sm);
    opacity: 0.5;
}

/* ================================
   CTA BANNER
   ================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 74%, #3A2F18 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl) var(--space-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(218, 182, 99, 0.26) 0%, rgba(218, 182, 99, 0) 70%);
    border-radius: var(--radius-full);
}

.cta-banner__title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-banner__text {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto var(--space-xl);
    max-width: 480px;
}

/* ================================
   HOME — PREMIUM REFRESH
   ================================ */
.home .hero {
    min-height: 96vh;
}

.home .hero__overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 84% 14%, rgba(218, 182, 99, 0.18), transparent 35%),
        radial-gradient(circle at 12% 78%, rgba(45, 106, 79, 0.26), transparent 42%);
}

.home .bubbles,
.home .glow-orbs {
    display: none;
}

.home .hero__content {
    max-width: 740px;
}

.home .hero__actions .btn--white {
    background: rgba(247, 242, 233, 0.12);
    border-color: rgba(247, 242, 233, 0.55);
    color: #F7F2E9;
}

.home .hero__actions .btn--white:hover {
    background: rgba(247, 242, 233, 0.22);
    border-color: rgba(247, 242, 233, 0.8);
    color: #FFFFFF;
}

.home-proof-strip {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.home-proof-list {
    list-style: none;
    margin: 0;
    padding: 18px 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
}

.home-proof-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
}

.home-proof-list strong {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.1;
}

.home-proof-list span {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.home #services .card--service {
    border-radius: var(--radius-xl);
    border-color: rgba(196, 154, 60, 0.18);
}

.home #services .card--service:hover {
    box-shadow: 0 16px 40px rgba(22, 51, 38, 0.14);
}

.home #services .card__icon {
    background: linear-gradient(145deg, rgba(27, 67, 50, 0.14), rgba(196, 154, 60, 0.16));
    color: var(--color-primary);
}

.home #services .card__link {
    color: var(--color-primary-dark);
}

.home #testimonials .testimonial {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(196, 154, 60, 0.2);
    border-top: 3px solid var(--color-accent);
    box-shadow: 0 12px 28px rgba(22, 51, 38, 0.08);
}

.home #testimonials .testimonial__stars {
    color: var(--color-accent) !important;
    letter-spacing: 0.08em;
}

.home #testimonials .testimonial__quote {
    color: var(--color-text);
}

.home #testimonials .testimonial__location {
    color: var(--color-primary-light) !important;
    font-size: var(--text-xs);
    font-weight: 600;
}

@media (max-width: 768px) {
    .home-proof-list {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px 0;
    }
}

/* ================================
   PAGE HERO (subpages)
   ================================ */
.page-hero {
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-white) 100%);
    text-align: center;
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.page-hero__subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    max-width: 560px;
    margin: 0 auto;
}

.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.page-hero__breadcrumb a {
    color: var(--color-primary);
    transition: color var(--duration-fast);
}

.page-hero__breadcrumb a:hover {
    color: var(--color-primary-dark);
}

/* ================================
   WAVY DIVIDER
   ================================ */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.wave-divider--top {
    bottom: auto;
    top: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ================================
   TRUST BADGE
   ================================ */
.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
}

.trust-badge__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-success-light);
    border-radius: var(--radius-full);
    color: var(--color-success);
    flex-shrink: 0;
}

.trust-badge__icon svg {
    width: 24px;
    height: 24px;
}

.trust-badge__title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
}

.trust-badge__text {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* ================================
   OPTION CARDS (Estimate Wizard)
   ================================ */
.option-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color var(--duration-fast),
        background var(--duration-fast),
        box-shadow var(--duration-fast);
}

.option-card:hover {
    border-color: var(--color-primary-light);
    background: var(--color-primary-bg);
}

.option-card--selected {
    border-color: var(--color-primary);
    background: var(--color-primary-bg);
    box-shadow: var(--shadow-glow);
}

.option-card__radio {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color var(--duration-fast);
}

.option-card--selected .option-card__radio {
    border-color: var(--color-primary);
}

.option-card--selected .option-card__radio::after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

.option-card__content {
    flex: 1;
}

.option-card__title {
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--color-text);
    margin-bottom: 2px;
}

.option-card__desc {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.option-card__price {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

/* ================================
   SERVICE AREA MAP
   ================================ */
.area-map {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.area-map svg {
    width: 100%;
    height: auto;
}

.area-map__region {
    fill: var(--color-bg-alt);
    stroke: var(--color-border);
    stroke-width: 1.5;
    transition: fill var(--duration-fast), stroke var(--duration-fast);
    cursor: pointer;
}

.area-map__region:hover,
.area-map__region--active {
    fill: var(--color-primary-bg);
    stroke: var(--color-primary);
}

/* ================================
   ZIP CHECKER
   ================================ */
.zip-checker {
    display: flex;
    gap: var(--space-md);
    max-width: 480px;
    margin: 0 auto var(--space-2xl);
}

.zip-checker__input {
    flex: 1;
}

.zip-checker__result {
    text-align: center;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: var(--text-sm);
}

.zip-checker__result--success {
    background: var(--color-success-light);
    color: var(--color-success);
}

.zip-checker__result--error {
    background: var(--color-error-light);
    color: var(--color-error);
}

/* ================================
   BUBBLES
   ================================ */
.bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.bubble {
    position: absolute;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
}

/* ================================
   GLOW ORBS (ambient decoration)
   ================================ */
.glow-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.glow-orb {
    position: absolute;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(40px);
    animation: glowFloat 20s ease-in-out infinite;
    mix-blend-mode: screen;
}

.glow-orb:nth-child(1) {
    width: 40vw;
    height: 40vw;
    left: -10%;
    top: -10%;
    animation-duration: 25s;
}

.glow-orb:nth-child(2) {
    width: 30vw;
    height: 30vw;
    right: -5%;
    top: 20%;
    background: radial-gradient(circle, var(--color-accent-light) 0%, transparent 70%);
    animation-duration: 18s;
    animation-delay: -5s;
}

.glow-orb:nth-child(3) {
    width: 35vw;
    height: 35vw;
    left: 20%;
    bottom: -10%;
    animation-duration: 22s;
    animation-delay: -10s;
}

@keyframes glowFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1.0);
    }

    33% {
        transform: translate(5%, 10%) scale(1.1);
    }

    66% {
        transform: translate(-5%, -5%) scale(0.9);
    }
}

/* ================================
   ESTIMATE SUMMARY
   ================================ */
.estimate-summary {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--color-border-light);
}

.estimate-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.estimate-summary__row--total {
    border-top: 2px solid var(--color-border);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-text);
}

.estimate-summary__row--total span:last-child {
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: var(--text-2xl);
}

/* ================================
   FLATPICKR OVERRIDES
   ================================ */
.flatpickr-calendar {
    font-family: var(--font-primary, sans-serif) !important;
    border: none !important;
    box-shadow: var(--shadow-md) !important;
    border-radius: var(--radius-lg, 12px) !important;
    padding: var(--space-md) !important;
}

.flatpickr-months .flatpickr-month {
    color: var(--color-text-dark) !important;
    font-weight: 600 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-weight: 600 !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    border-radius: var(--radius-sm, 6px) !important;
}

.flatpickr-day {
    border-radius: var(--radius-sm, 6px) !important;
}

.flatpickr-day:hover {
    background: var(--color-bg-alt) !important;
    border-color: transparent !important;
}

.flatpickr-weekday {
    color: var(--color-text-dark) !important;
    font-weight: 600 !important;
}

/* --- Gutenberg Layout Overrides --- */
.wp-block-columns.grid--2 {
    display: grid !important;
}

.wp-block-columns.grid--3 {
    display: grid !important;
}

.wp-block-group.split-section__content {
    display: block !important;
}

.wp-block-group.split-section__content>.wp-block-group__inner-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

/* When parent has direction:rtl (section 2 flips image to left),
   keep the first child (text) in normal LTR reading direction */
.wp-block-group.split-section__content[style*="direction:rtl"]>.wp-block-group__inner-container {
    direction: rtl !important;
}

.wp-block-group.split-section__content[style*="direction:rtl"]>.wp-block-group__inner-container>.wp-block-group:first-child {
    direction: ltr !important;
    text-align: left !important;
}

/* Ensure reveal/stagger-children elements don't stay hidden on Gutenberg pages
   if main.js IntersectionObserver hasn't fired yet */
.entry-content .stagger-children>* {
    opacity: 1 !important;
    transform: none !important;
}

.entry-content .reveal,
.entry-content .reveal--scale {
    opacity: 1 !important;
    transform: none !important;
}

@media (max-width: 900px) {
    .wp-block-group.split-section__content>.wp-block-group__inner-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        direction: ltr !important;
    }
}

/* ================================
   FOOTER LOGO — matches header
   ================================ */
.footer__logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: var(--space-md);
}

.footer__logo-mark {
    width: 52px;
    height: 34px;
    flex-shrink: 0;
    display: block;
}

.footer__logo-mark svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.footer__logo-mark path {
    stroke: var(--color-accent);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.footer__logo-divider {
    width: 2px;
    height: 30px;
    border-radius: 2px;
    background: rgba(218, 182, 99, 0.5);
    flex-shrink: 0;
}

.footer__logo-word {
    display: flex;
    flex-direction: column;
    line-height: 0.84;
}

.footer__logo-word span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.footer__logo-elegant {
    color: rgba(255, 255, 255, 0.9);
}

.footer__logo-visit {
    color: var(--color-accent);
}

/* ================================
   NAV — prevent item wrapping
   ================================ */
.nav__list li a,
.nav__link {
    white-space: nowrap;
}

/* Tighter gap on medium screens to prevent wrap */
@media (min-width: 900px) and (max-width: 1200px) {
    .nav__list {
        gap: var(--space-md);
    }
    .nav__list li a,
    .nav__link {
        font-size: 0.8rem;
    }
}

/* ── Cookie Consent Bar ── */
.cookie-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: var(--z-toast);
    background: var(--color-bg-dark);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: var(--space-md) var(--space-lg);
    transform: translateY(100%);
    transition: transform var(--duration-slow) var(--ease-out);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}
.cookie-bar:not([hidden]) { display: block; }
.cookie-bar.is-visible { transform: translateY(0); }

.cookie-bar__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.cookie-bar__text {
    flex: 1;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-text-on-dark);
    margin: 0;
    line-height: var(--leading-normal);
}

.cookie-bar__link {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-bar__link:hover { color: var(--color-accent-light); }

.cookie-bar__actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.cookie-bar__btn {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    white-space: nowrap;
}
.cookie-bar__btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
}
.cookie-bar__btn--primary:hover { background: var(--color-primary-light); }

.cookie-bar__btn--ghost {
    background: transparent;
    color: var(--color-text-on-dark);
    border: 1px solid rgba(255,255,255,0.2);
}
.cookie-bar__btn--ghost:hover { border-color: rgba(255,255,255,0.5); }

@media (max-width: 600px) {
    .cookie-bar__inner { flex-direction: column; align-items: flex-start; }
    .cookie-bar__actions { width: 100%; justify-content: flex-end; }
}
