/* ============================================
   NOVOENGRAMA — HOME REDESIGN
   Elegant • Modern • Premium Medical
   ============================================ */

.home {
    --p: #26A8CE;          /* Logo blue (was deep forest green) */
    --p-soft: #85bc3b;     /* Bright accent */
    --p-light: #EDEDED;    /* Pale green wash */
    --p-dark: #1A86A8;     /* Logo blue darker */
    --btn: #26A8CE;        /* alias for --p */
    --btn-dark: #1A86A8;   /* alias for --p-dark */
    --gold: #c5a572;       /* Warm accent */
    --cream: #EDEDED;      /* Soft background */
    --ink: #1a1a1a;        /* True text */
    --ink-soft: #4a4a4a;
    --muted: #5f5f5f;
    --line: #ececec;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(15,30,15,0.04), 0 4px 16px rgba(15,30,15,0.04);
    --shadow-md: 0 4px 12px rgba(15,30,15,0.06), 0 12px 40px rgba(15,30,15,0.08);
    --shadow-lg: 0 12px 32px rgba(15,30,15,0.10), 0 32px 80px rgba(15,30,15,0.12);
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

.home {
    background: var(--cream);
    font-family: var(--font-inter), 'Inter', -apple-system, sans-serif;
    font-feature-settings: 'kern', 'liga', 'calt';
    -webkit-font-smoothing: antialiased;
    color: var(--ink);
}

.home h1, .home h2, .home h3, .home h4 {
    font-family: var(--font-playfair), 'Playfair Display', Georgia, serif;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.home p { color: var(--ink-soft); line-height: 1.7; font-weight: 400; }

.home .container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

.home .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-inter), 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--p);
}
.home .eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--p);
}

.home .section-title { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.home .section-title .eyebrow { justify-content: center; margin-bottom: 16px; }
.home .section-title h2 {
    font-size: clamp(32px, 4vw, 52px);
    margin-bottom: 16px;
    font-weight: 500;
}
.home .section-title p {
    font-size: 18px;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto;
}

.home .btn-elegant {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--btn);
    color: var(--white);
    font-family: var(--font-inter), 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 100px;
    border: none;
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
    text-decoration: none;
}
.home .btn-elegant:hover {
    background: var(--btn-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(38,168,206,0.28);
    color: var(--white);
}
.home .btn-elegant.btn-outline {
    background: transparent;
    color: var(--btn);
    border: 1px solid var(--btn);
}
.home .btn-elegant.btn-outline:hover {
    background: var(--btn);
    color: var(--white);
}
.home .btn-elegant.btn-light {
    background: var(--white);
    color: var(--btn);
}
.home .btn-elegant.btn-light:hover {
    background: var(--cream);
    color: var(--btn-dark);
}

/* ============================================
   HEADER OVERLAY (transparent on hero)
   ============================================ */
.home { position: relative; }

.home .top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 21;
    background: transparent !important;
    border-bottom: none !important;
    transition: opacity 0.25s ease, transform 0.3s ease;
}
.home .top-bar a,
.home .top-bar span,
.home .top-bar-left span { color: rgba(255,255,255,0.9) !important; }
.home .top-bar-left i { color: var(--p-soft) !important; }

.home.scrolled .top-bar {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.home > .header {
    position: fixed;
    top: 41px;
    left: 0;
    right: 0;
    z-index: 20;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,1) 0,
        rgba(255,255,255,1) max(320px, calc(50% - 320px)),
        rgba(255,255,255,0.82) max(540px, calc(50% - 100px)),
        rgba(255,255,255,0.82) 100%
    ) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06) !important;
    transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.home.scrolled > .header {
    top: 0;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,1) 0,
        rgba(255,255,255,1) max(320px, calc(50% - 320px)),
        rgba(255,255,255,0.95) max(540px, calc(50% - 100px)),
        rgba(255,255,255,0.95) 100%
    ) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08), 0 8px 30px rgba(0,0,0,0.05) !important;
}

/* ============================================
   HERO
   ============================================ */
.home .hero {
    position: relative;
    height: 90vh;
    min-height: 640px;
    max-height: 880px;
    overflow: hidden;
    background: var(--ink);
}
.home .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
    z-index: 2;
    pointer-events: none;
}
.home .hero-insurance {
    top: auto !important;
    bottom: 41px !important;
    right: 24px !important;
}
@media (max-width: 768px) {
    .home .hero-insurance {
        display: flex !important;
        flex-direction: column !important;
        top: auto !important;
        bottom: 41px !important;
        left: 10% !important;
        right: 10% !important;
        transform: none;
        padding: 10px 14px !important;
        gap: 6px !important;
        align-items: center;
    }
    .home .hero-insurance .insurance-label {
        font-size: 9px;
        margin-bottom: 0;
    }
    .home .hero-insurance .insurance-logos {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .home .hero-insurance img {
        height: 18px !important;
    }
}

.home .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s var(--ease);
}
.home .hero-slide.active { opacity: 1; z-index: 1; }
.home .hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 8s var(--ease);
}
.home .hero-slide.active img { transform: scale(1); }
.home .hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15,30,60,0.78) 0%, rgba(15,30,60,0.45) 55%, rgba(15,30,60,0.2) 100%);
    z-index: 1;
}

.home .hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    max-width: none;
    padding-left: 0;
    display: flex;
    align-items: center;
    color: var(--white);
}
.home .hero-content .container { width: 100%; }
.home .hero-text { max-width: 760px; margin: 0 auto; text-align: center; }
.home .hero-text .hero-eyebrow { justify-content: center; }
.home .hero-text .hero-buttons { justify-content: center; }
.home .hero-text p { margin-left: auto; margin-right: auto; }
.home .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--p-soft);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease-out) 0.3s forwards;
}
.home .hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--p-soft);
}
.home .hero-content h1 {
    font-family: var(--font-playfair), 'Playfair Display', Georgia, serif;
    font-size: clamp(38px, 4.8vw, 64px);
    font-weight: 500;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 22px;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}
.home .hero-content h1 em {
    font-style: italic;
    color: var(--p-soft);
}
.home .hero-tagline {
    font-size: clamp(14px, 1.3vw, 18px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--p-soft);
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease-out) 0.6s forwards;
}
.home .hero-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 540px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease-out) 0.7s forwards;
}
.home .hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease-out) 0.9s forwards;
}
.home .hero-buttons .btn-elegant.btn-light {
    background: var(--white);
    color: var(--ink);
}
.home .hero-buttons .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s var(--ease-out);
}
.home .hero-buttons .btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Hero stats bar */
.home .hero-statsbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.home .hero-statsbar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 22px;
    padding-bottom: 22px;
}
.home .hero-statsbar .stat {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--white);
}
.home .hero-statsbar .stat i {
    font-size: 24px;
    color: var(--p-soft);
}
.home .hero-statsbar .stat-num {
    font-family: var(--font-playfair), 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 2px;
}
.home .hero-statsbar .stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home .hero-dots {
    position: absolute;
    top: 50%;
    right: 40px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(-50%);
}
.home .hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
}
.home .hero-dot.active {
    background: var(--p-soft);
    transform: scale(1.4);
}

/* ============================================
   FEATURED SERVICES (3 cards)
   ============================================ */
.home .services-featured {
    position: relative;
    margin-top: -56px;
    z-index: 5;
    padding: 0 32px;
}
.home .services-featured-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.home .feat-card {
    background: var(--white);
    padding: 56px 40px 48px;
    text-align: center;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.home .feat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--p), var(--p-soft));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out);
}
.home .feat-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}
.home .feat-card:hover::before { transform: scaleX(1); }
.home .feat-card .feat-num {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-bottom: 24px;
}
.home .feat-card .feat-num-text {
    font-family: var(--font-playfair), 'Playfair Display', Georgia, serif;
    font-size: 21px;
    color: var(--p);
    letter-spacing: 0.1em;
    line-height: 1;
    grid-column: 1;
    justify-self: start;
}
.home .feat-card .feat-num-squares {
    grid-column: 2;
    display: flex;
    align-items: center;
    gap: 7px;
    height: 7px;
    transform: translateY(1px);
}
.home .feat-card .feat-num-squares > span {
    width: 7px;
    height: 7px;
    background: var(--p-soft);
    display: block;
}
.home .feat-card .feat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--p-light);
    color: var(--p);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 28px;
    transition: all 0.5s var(--ease-out);
}
.home .feat-card:hover .feat-icon {
    background: var(--p);
    color: var(--white);
    transform: rotate(-8deg);
}
.home .feat-card h3 {
    font-family: var(--font-playfair), 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--ink);
}
.home .feat-card p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 24px;
}
.home .feat-card .feat-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--p);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: gap 0.4s var(--ease-out);
}
.home .feat-card:hover .feat-link { gap: 14px; }
.home .feat-card .feat-link i { font-size: 11px; }

/* ============================================
   ABOUT SECTION
   ============================================ */
.home .about-section {
    padding: 140px 0 120px;
    background: var(--cream);
}
.home .about-text {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.home .about-text h2 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
    margin: 16px 0 32px;
    line-height: 1.1;
}
.home .about-text h2 em {
    font-style: italic;
    color: var(--p-soft);
}
.home .about-text > p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--ink-soft);
}

.home .about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 48px 0;
    padding: 32px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.home .about-stat-num {
    display: block;
    font-family: var(--font-playfair), 'Playfair Display', Georgia, serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 1;
    color: var(--p);
    margin-bottom: 8px;
}
.home .about-stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    font-weight: 500;
}

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

/* ============================================
   SPECIALTIES — Cui ne adresam
   ============================================ */
.home .specialties-section {
    padding: 140px 0;
    background: var(--white);
    position: relative;
}

.home .specialties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.home .spec-card {
    background: var(--cream);
    padding: 48px 32px 44px;
    border-radius: 4px;
    text-align: center;
    transition: all 0.5s var(--ease-out);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.home .spec-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(38,168,206,0.04));
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
}
.home .spec-card:hover {
    background: var(--white);
    border-color: var(--p);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.home .spec-card:hover::before { opacity: 1; }
.home .spec-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    color: var(--p);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 24px;
    transition: all 0.5s var(--ease-out);
    border: 1px solid var(--line);
    position: relative;
    z-index: 1;
}
.home .spec-card:hover .spec-icon {
    background: var(--p);
    color: var(--white);
    border-color: var(--p);
    transform: rotate(-8deg);
}
.home .spec-card h3 {
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.home .spec-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
    position: relative;
    z-index: 1;
}
.home .spec-card .spec-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--p);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: gap 0.4s var(--ease-out);
    position: relative;
    z-index: 1;
}
.home .spec-card:hover .spec-link { gap: 14px; }
.home .spec-card .spec-link i { font-size: 11px; }

/* ============================================
   SERVICES LIST
   ============================================ */
.home .services-list-section {
    padding: 140px 0;
    background: var(--cream);
}
.home .services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
}
.home .service-item {
    background: var(--white);
    padding: 36px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s var(--ease-out);
    text-decoration: none;
    color: inherit;
}
.home .service-item-arrow {
    margin-left: auto;
    color: var(--p);
    font-size: 13px;
    transition: transform 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.home .service-item:hover .service-item-arrow {
    color: var(--white);
    transform: translateX(4px);
}
.home .service-item:hover {
    background: var(--p);
    color: var(--white);
}
.home .service-item:hover .service-item-icon {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}
.home .service-item:hover .service-item-text { color: var(--white); }
.home .service-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--p-light);
    color: var(--p);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.4s var(--ease-out);
}
.home .service-item-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    transition: color 0.4s var(--ease-out);
}

/* ============================================
   STATS SECTION
   ============================================ */
.home .stats-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--p-dark) 0%, var(--p) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.home .stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.06), transparent 60%);
    pointer-events: none;
}
.home .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    text-align: center;
    position: relative;
}
.home .stat-block {
    padding: 0 20px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.home .stat-block:last-child { border-right: none; }
.home .stat-num-big {
    font-family: var(--font-playfair), 'Playfair Display', Georgia, serif;
    font-size: clamp(48px, 5.5vw, 72px);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 12px;
    display: block;
}
.home .stat-num-big span { color: var(--p-soft); }
.home .stat-label-big {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

/* ============================================
   APPOINTMENT
   ============================================ */
.home .appointment-section {
    padding: 140px 0;
    background: var(--white);
}
.home .appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}
.home .appt-info h2 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
    margin: 16px 0 24px;
}
.home .appt-info > p {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.8;
    margin-bottom: 40px;
}
.home .appt-contact-list { display: flex; flex-direction: column; gap: 24px; }
.home .appt-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}
.home .appt-contact-item:last-child { border-bottom: 1px solid var(--line); }
.home .appt-contact-item i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--p-light);
    color: var(--p);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.home .appt-contact-item strong {
    display: block;
    font-family: var(--font-inter), 'Inter', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 6px;
    font-weight: 600;
}
.home .appt-contact-item div { font-size: 16px; color: var(--ink); line-height: 1.6; }
.home .appt-contact-item a { color: var(--ink); }
.home .appt-contact-item a:hover { color: var(--p); }
.home .appt-contact-item small { font-size: 13px; color: var(--muted); }

.home .appointment-form {
    background: var(--cream);
    padding: 48px;
    border-radius: 4px;
    border: 1px solid var(--line);
    scroll-margin-top: 100px;
}
@media (max-width: 768px) {
    .home .appointment-form { scroll-margin-top: 80px; }
}
.home .form-service-info {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid var(--p-soft);
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 28px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
}
.home .form-service-info i {
    color: var(--p);
    font-size: 20px;
}
.home .form-service-info small {
    color: var(--muted);
    font-weight: 400;
    margin-left: 6px;
}
.home .slots-loading,
.home .slots-empty {
    padding: 20px;
    background: var(--white);
    border: 1px dashed var(--line);
    border-radius: 4px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}
.home .slots-loading i { margin-right: 8px; color: var(--p); }
.home .form-success-panel {
    text-align: center;
    padding: 24px 8px;
}
.home .form-success-icon {
    font-size: 48px;
    color: var(--p);
    margin-bottom: 20px;
    animation: fadeUp 0.6s var(--ease-out);
}
.home .form-success-panel h3 {
    font-family: var(--font-playfair), 'Playfair Display', Georgia, serif;
    font-size: 26px;
    color: var(--p);
    margin: 0 0 16px;
}
.home .form-success-panel p {
    color: var(--ink-soft);
    margin-bottom: 12px;
    font-size: 15px;
}
.home .form-reset-btn {
    margin-top: 20px;
    background: transparent;
    color: var(--p);
    border: 1px solid var(--p);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}
.home .form-reset-btn:hover {
    background: var(--p);
    color: var(--white);
}
.home .appointment-form button[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Inline calendar */
.home .cal-wrap {
    display: block;
    width: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 14px 16px;
    user-select: none;
}
.home .cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 10px;
}
.home .cal-title {
    font-family: var(--font-playfair), 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--p);
    text-transform: capitalize;
    flex: 1;
    text-align: center;
}
.home .cal-nav {
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--p);
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.home .cal-nav:hover:not(:disabled) { background: var(--p-light); border-color: var(--p); }
.home .cal-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.home .cal-weekdays,
.home .cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.home .cal-weekdays { margin-bottom: 4px; }
.home .cal-weekday {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 0;
}
.home .cal-cell {
    aspect-ratio: 1;
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home .cal-cell.empty { cursor: default; background: transparent; border: none; pointer-events: none; }
.home .cal-cell:not(.empty):not(.disabled):hover {
    background: var(--p-light);
    border-color: var(--p-soft);
}
.home .cal-cell.today {
    border-color: var(--p-soft);
    color: var(--p);
    font-weight: 700;
}
.home .cal-cell.disabled,
.home .cal-cell:disabled {
    color: #b5b5b5 !important;
    background: #f2f2f2 !important;
    border-color: transparent !important;
    cursor: not-allowed;
    text-decoration: none;
}
.home .cal-cell.selected {
    background: var(--p);
    color: var(--white);
    border-color: var(--p);
}
.home .cal-cell.selected:hover { background: var(--p-dark); }
.home .appointment-form .form-group { margin-bottom: 14px; }
.home .appointment-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.home .appointment-form .form-row .form-group { margin-bottom: 0; }
.home .appointment-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 6px;
}
.home .appointment-form .required { color: var(--p); }
.home .appointment-form input,
.home .appointment-form textarea,
.home .appointment-form select {
    width: 100%;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 15px;
    color: var(--ink);
    font-family: var(--font-inter), 'Inter', sans-serif;
    transition: all 0.3s;
}
.home .appointment-form input:focus,
.home .appointment-form textarea:focus,
.home .appointment-form select:focus {
    outline: none;
    border-color: var(--p);
    box-shadow: 0 0 0 3px rgba(38,168,206,0.08);
}
.home .appointment-form .time-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}
.home .appointment-form .time-option { position: relative; }
.home .appointment-form .time-option input { display: none; }
.home .appointment-form .time-option label {
    display: block;
    padding: 12px 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    transition: all 0.3s;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
}
.home .appointment-form .time-option input:checked + label {
    background: var(--p);
    border-color: var(--p);
    color: var(--white);
}
.home .appointment-form .time-option label:hover { border-color: var(--p); }
.home .appointment-form .form-note {
    font-size: 13px;
    color: var(--muted);
    margin-top: 16px;
    line-height: 1.6;
}
.home .appointment-form .form-consent {
    margin: 18px 0 14px;
}
.home .appointment-form .form-consent-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.55;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    margin-bottom: 0;
}
.home .appointment-form .form-consent-label input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--p);
    cursor: pointer;
}
.home .appointment-form .form-consent-label a {
    color: var(--p);
    text-decoration: underline;
}
.home .appointment-form .form-consent-label a:hover {
    color: var(--p-dark);
}
.home .appointment-form button[type="submit"] {
    width: 100%;
    padding: 18px 32px;
    background: var(--p);
    color: var(--white);
    border: none;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    margin-top: 8px;
}
.home .appointment-form button[type="submit"]:hover {
    background: var(--p-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(38,168,206,0.25);
}
.home .appointment-form .form-success,
.home .appointment-form .form-error { display: none; padding: 16px; border-radius: 4px; margin-top: 16px; font-size: 14px; }
.home .appointment-form .form-success { background: rgba(38,168,206,0.08); color: var(--p); }
.home .appointment-form .form-error { background: rgba(220,38,38,0.08); color: #dc2626; }

/* ============================================
   CONTACT
   ============================================ */
.home .contact-section {
    padding: 140px 0;
    background: var(--cream);
}
.home .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
}
.home .contact-info-card {
    background: var(--white);
    padding: 48px 40px;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.home .contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.home .contact-info-item i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--p-light);
    color: var(--p);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.home .contact-info-item h4 {
    font-family: var(--font-inter), 'Inter', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 6px;
}
.home .contact-info-item p { font-size: 16px; color: var(--ink); margin: 0; line-height: 1.6; }
.home .contact-info-item a { color: var(--ink); }
.home .contact-info-item a:hover { color: var(--p); }
.home .contact-map {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    min-height: 480px;
}
.home .contact-map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; display: block; }

/* ============================================
   APPOINTMENT STACKED (for /contact page — text above, form below)
   ============================================ */
.home .appointment-section.appointment-stacked { padding: 80px 0 60px; }
.home .appointment-stacked .appointment-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 760px;
    margin: 0 auto;
    justify-items: stretch;
}
.home .appointment-stacked .appt-info { text-align: center; }
.home .appointment-stacked .appt-info h1,
.home .appointment-stacked .appt-info h2 {
    font-size: clamp(30px, 3.5vw, 42px);
    margin: 12px 0 16px;
    font-family: var(--font-playfair), 'Playfair Display', Georgia, serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--ink);
}
.home .appointment-stacked .appt-info > p {
    font-size: 16px;
    margin-bottom: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.home .appointment-stacked .appt-info .eyebrow { justify-content: center; display: inline-flex; }
.home .appointment-stacked .appointment-form { width: 100%; }
.home .appointment-stacked .cal-cell { aspect-ratio: 4 / 3; }
@media (max-width: 900px) {
    .home .appointment-section.appointment-stacked { padding: 50px 0 40px; }
    .home .appointment-stacked .appointment-grid { gap: 28px; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.home .testimonials-section { padding: 100px 0; background: var(--cream); }
.home .testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.home .testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.home .testimonial-stars { display: flex; gap: 2px; color: #e8b923; font-size: 14px; }
.home .testimonial-card blockquote {
    margin: 0;
    font-family: var(--font-playfair), 'Playfair Display', Georgia, serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    font-style: italic;
}
.home .testimonial-card figcaption { font-size: 14px; color: var(--muted); margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.home .testimonial-card figcaption strong { color: var(--ink); font-family: var(--font-inter), 'Inter', sans-serif; font-weight: 600; margin-right: 6px; }
.home .testimonial-source { font-size: 12px; }

/* ============================================
   CONTACT COMPACT (for /contact page secondary block)
   ============================================ */
.home .contact-compact-section { padding: 60px 0; background: var(--white); }
.home .contact-compact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.home .contact-compact-info .eyebrow { margin-bottom: 12px; }
.home .contact-compact-info h2 { font-size: 28px; margin-bottom: 20px; letter-spacing: -0.02em; }
.home .contact-compact-list { display: flex; flex-direction: column; gap: 14px; }
.home .contact-compact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 16px;
    background: var(--cream);
    border-radius: 4px;
}
.home .contact-compact-item i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--p-light);
    color: var(--p);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.home .contact-compact-item > div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--ink); line-height: 1.5; }
.home .contact-compact-item strong {
    font-family: var(--font-inter), 'Inter', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    font-weight: 600;
}
.home .contact-compact-item a { color: var(--ink); text-decoration: none; }
.home .contact-compact-item a:hover { color: var(--p); }
.home .contact-compact-item small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.home .contact-compact-map {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    min-height: 360px;
}
.home .contact-compact-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (max-width: 900px) {
    .home .contact-compact-grid { grid-template-columns: 1fr; gap: 24px; }
    .home .contact-compact-map { min-height: 280px; }
    .home .contact-compact-map iframe { min-height: 280px; }
    .home .contact-compact-section { padding: 40px 0; }
}

/* ============================================
   FINAL CTA
   ============================================ */
.home .final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--ink) 0%, #2a2a2a 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.home .final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(133,188,59,0.1), transparent 60%);
    pointer-events: none;
}
.home .final-cta-inner { position: relative; max-width: 720px; margin: 0 auto; }
.home .final-cta .eyebrow { color: var(--p-soft); justify-content: center; margin-bottom: 24px; }
.home .final-cta .eyebrow::before { background: var(--p-soft); }
.home .final-cta h2 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 500;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}
.home .final-cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
    line-height: 1.7;
}
.home .final-cta .btn-elegant {
    background: var(--btn);
    color: var(--white);
    padding: 20px 40px;
    font-size: 15px;
}
.home .final-cta .btn-elegant:hover {
    background: var(--btn-dark);
    color: var(--white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .home .container { padding: 0 24px; }
    .home .hero { height: auto; min-height: 0; padding: 140px 0 200px; }
    .home .hero-statsbar .container { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .home .services-featured-inner { grid-template-columns: 1fr; gap: 20px; }
    .home .services-featured { margin-top: 56px; }
    .home .specialties-grid { grid-template-columns: repeat(2, 1fr); }
    .home .services-list { grid-template-columns: repeat(2, 1fr); }
    .home .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 60px 32px; }
    .home .stat-block:nth-child(2) { border-right: none; }
    .home .appointment-grid { grid-template-columns: 1fr; gap: 60px; }
    .home .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .home .container { padding: 0 20px; }
    .home .hero { padding: 120px 0 180px; }
    .home .hero-content h1 { font-size: 42px; }
    .home .hero-content p { font-size: 16px; }
    .home .hero-buttons { flex-direction: column; align-items: stretch; }
    .home .hero-buttons a { justify-content: center; }
    .home .hero-statsbar .container { grid-template-columns: 1fr 1fr; padding-top: 20px; padding-bottom: 20px; gap: 16px; }
    .home .hero-statsbar .stat { gap: 12px; }
    .home .hero-statsbar .stat-num { font-size: 22px; }
    .home .hero-statsbar .stat-label { font-size: 11px; }
    .home .hero-dots { display: none; }
    .home .feat-card { padding: 40px 28px; }
    .home .feat-card h3 { font-size: 24px; }
    .home .about-section,
    .home .specialties-section,
    .home .services-list-section,
    .home .appointment-section,
    .home .contact-section { padding: 80px 0; }
    .home .stats-section { padding: 70px 0; }
    .home .specialties-grid { grid-template-columns: 1fr; }
    .home .services-list { grid-template-columns: 1fr; }
    .home .stats-grid { grid-template-columns: 1fr; gap: 48px; }
    .home .stat-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 32px; }
    .home .stat-block:last-child { border-bottom: none; padding-bottom: 0; }
    .home .appointment-form { padding: 32px 24px; }
    .home .appointment-form .form-row { grid-template-columns: 1fr; }
    .home .appointment-form .time-grid { grid-template-columns: repeat(3, 1fr); }
    .home .about-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
    .home .about-stat-num { font-size: 42px; }
    .home .section-title h2 { font-size: 32px; }
    .home .final-cta { padding: 70px 0; }
    .home .final-cta h2 { font-size: 32px; }
}

/* === OVERRIDES vs style.css === */
.home .services-featured { display: block !important; max-width: none !important; padding: 0 32px !important; margin: 64px auto 0 !important; }

/* Decorative squares divider (below hero) */
.home .home-squares-divider {
    display: block;
    width: 100%;
    height: 11px;
    margin: 11px 0 24px;
    background-color: transparent;
    background-image: linear-gradient(90deg, #85bc3b 11px, transparent 11px);
    background-size: 22px 11px;
    background-repeat: repeat-x;
    background-position: 0 0;
}

.footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer .footer-col h4,
.footer .footer-col h3 { font-family: var(--font-inter), 'Inter', sans-serif; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; color: var(--white); }
.footer .footer-col ul { list-style: none; padding: 0; }
.footer .footer-col li { margin-bottom: 10px; font-size: 14px; color: rgba(255,255,255,0.7); }
.footer .footer-col li a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; }
.footer .footer-col li a:hover { color: var(--p-soft); }
.footer .footer-col li i { margin-right: 8px; color: var(--p-soft); width: 14px; }
.footer .footer-bottom p { color: rgba(255,255,255,0.7); }
.footer .footer-brand p { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer .footer-brand-divider { border: 0; height: 2px; background: rgba(255,255,255,0.25); max-width: 320px; margin: 0 0 18px; }
@media (max-width: 1024px) {
    .footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .footer .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .home .services-featured { padding: 0 20px !important; margin-top: 24px !important; }
    .home .home-squares-divider { height: 9px; margin: 9px 0 20px; background-image: linear-gradient(90deg, #85bc3b 9px, transparent 9px); background-size: 18px 9px; }
}

