:root {
    --primary: #831b27;
    --primary-dark: #6f1621;
    --accent: linear-gradient(135deg, #831b27, #c73b4d);
    --glass: rgba(255, 255, 255, 0.65);
    --blur: blur(8px);

    --text: #222;
    --gray: #666;
    --muted: #8a8a8a;

    --border: rgba(0, 0, 0, 0.08);

    --dark: #1a1a1a;
    --dark-2: #222;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    background: #fff;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* ================= HEADER ================= */
.header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    gap: 16px;
}

.logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 10px;
    border-radius: 10px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav a:hover {
    background: rgba(131, 27, 39, 0.07);
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 12px 16px !important;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(131, 27, 39, 0.18);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ================= HERO ================= */
.hero {
    position: relative;
    background:
            linear-gradient(
                    180deg,
                    rgba(10, 10, 10, 0.55),
                    rgba(10, 10, 10, 0.65)
            ),
            url("../img/background.png");

    background-size: cover;
    background-position: center;
    overflow: hidden;
}



.hero {
    box-shadow: inset 0 -60px 120px rgba(0, 0, 0, 0.04);
}


.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    padding: 48px;
    border-radius: 26px;

    box-shadow:
            0 30px 80px rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255,255,255,0.25);

    border: 1px solid rgba(255,255,255,0.25);
}




.hero h1 {
    color: #fff;
}

.hero p {
    color: rgba(255,255,255,0.85);
}


.hero-buttons {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 15px 40px rgba(131, 27, 39, 0.32);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(131, 27, 39, 0.40);
    filter: brightness(1.02);
}

.btn-outline {
    border: 2px solid rgba(131, 27, 39, 0.35);
    color: var(--primary);
    padding: 12px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.btn-outline:hover {
    transform: translateY(-2px);
    border-color: rgba(131, 27, 39, 0.55);
    background: rgba(255, 255, 255, 0.8);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual img {
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ================= SERVICES ================= */
.services {
    padding: 95px 0;
    background: #fff;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    margin: 14px 0 52px;
    color: var(--gray);
    font-size: 16px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform .35s ease, box-shadow .35s ease;
    overflow: hidden;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.16);
}

.service-card:hover::after {
    opacity: 0.06;
}

.service-card i {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

/* ================= FOOTER ================= */
.footer {
    background: linear-gradient(180deg, #161616, #222);
    color: #ddd;
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    align-items: start;
}

.footer h4 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.footer p {
    line-height: 1.65;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 14px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.payments {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.payments i {
    font-size: 28px;
    opacity: 0.92;
    transition: transform .2s ease, opacity .2s ease;
}

.payments i:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 40px;
    padding-top: 18px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
    .hero {
        padding: 85px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-text {
        padding: 38px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .header-inner {
        height: auto;
        padding: 14px 0;
        flex-wrap: wrap;
    }

    .nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .nav a {
        padding: 10px 12px;
    }
}

@media (max-width: 520px) {
    .hero-text {
        padding: 28px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}


/* ================= SERVICE BAR ================= */
.service-bar {
    background: var(--primary-dark);
    padding: 22px 0;
}

.service-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.service-bar-left {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
}

.service-bar-left strong {
    font-weight: 700;
    color: #fff;
}

.service-bar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    flex-wrap: wrap;
}

.service-bar-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.35);
}

.service-bar-right a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.service-bar-right a:hover {
    text-decoration: underline;
}

/* Mobile polish */
@media (max-width: 640px) {
    .service-bar-inner {
        flex-direction: column;
        text-align: center;
    }

    .service-bar-divider {
        display: none;
    }
}

/* ================= FAMILY SECTION ================= */
.family-section {
    padding: 110px 0;
    background: linear-gradient(
            180deg,
            #fafafa,
            #ffffff
    );
}

.family-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.family-content {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 28px;
    padding: 50px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

.family-content h2 {
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.family-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 18px;
}

.family-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.family-images img {
    width: 100%;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.family-images img:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
    .family-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .family-images {
        grid-template-columns: 1fr;
    }

    .family-content {
        padding: 40px;
    }
}

/* ================= TRUST & RECOGNITION ================= */
.trust-section {
    padding: 110px 0;
    background: linear-gradient(
            180deg,
            #ffffff,
            #f8f8f8
    );
}

.trust-title {
    text-align: center;
    font-size: 36px;
    letter-spacing: -0.02em;
    margin-bottom: 60px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.trust-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 22px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: transform .35s ease, box-shadow .35s ease;
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.14);
}

.trust-card i {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 18px;
}

.trust-card img {
    max-width: 120px;
    margin: 0 auto 18px;
    display: block;
}

.trust-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.trust-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.trust-quote p {
    font-style: italic;
}

.trust-source {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--muted);
}

/* ================= APPLE STYLE SERVICES ================= */
.services-apple {
    padding: 120px 0;
    background: #fff;
}

.services-intro {
    text-align: center;
    margin-bottom: 90px;
}

.services-intro h2 {
    font-size: 40px;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.services-intro p {
    color: var(--gray);
    font-size: 16px;
}

/* Feature blocks */
.service-feature {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
}

.service-feature.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.service-feature.reverse .service-text {
    order: 2;
}

.service-feature.reverse .service-image {
    order: 1;
}

.service-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.service-text h3 {
    font-size: 32px;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.service-text p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s ease;
}

.service-image img:hover {
    transform: scale(1.03);
}

/* Rug pads */
.rug-pads {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.rug-pads h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.rug-pads p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 28px;
}

.rug-pads-actions {
    display: flex;
    gap: 16px;
}

/* Responsive */
@media (max-width: 980px) {
    .service-feature,
    .service-feature.reverse,
    .rug-pads {
        grid-template-columns: 1fr;
    }

    .service-feature.reverse .service-text,
    .service-feature.reverse .service-image {
        order: initial;
    }

    .services-apple {
        padding: 80px 0;
    }
}
/* ================= TOP CONTACT BAR ================= */
.top-bar {
    background: var(--primary-dark);
    color: #fff;
    font-size: 14px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    gap: 16px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.top-bar-left i {
    font-size: 14px;
}

.top-bar-left a {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.top-bar-left a:hover {
    text-decoration: underline;
}

.top-bar-tag {
    background: rgba(255, 255, 255, 0.18);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.top-bar-right {
    display: flex;
    gap: 14px;
}

.top-bar-right a {
    color: #fff;
    font-size: 16px;
    opacity: 0.85;
    transition: opacity .2s ease, transform .2s ease;
}

.top-bar-right a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* Mobile polish */
@media (max-width: 640px) {
    .top-bar-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ================= HERO CAROUSEL ================= */
.hero-carousel {
    position: relative;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
}

.hero-slides {
    position: relative;
    height: 100vh;
    min-height: 620px;
}



.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition-delay: 0.15s;
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    transition:
            opacity 1.6s cubic-bezier(.22,1,.36,1),
            transform 1.6s cubic-bezier(.22,1,.36,1);

    pointer-events: none;
}


.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}



.hero-centered {
    text-align: center;
    margin: auto;
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-centered h1 {
    font-size: 46px;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-centered p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hero-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,.2);
    border: none;
}

.hero-dots .dot.active {
    background: var(--primary);
}


/* ===== DARK HERO SLIDES (FINAL, SINGLE SOURCE) ===== */
.hero-slide-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0; /* gives breathing room */

    height: 100%;
    width: 100%;

    background-image:
            linear-gradient(
                    180deg,
                    rgba(15, 15, 15, 0.55),
                    rgba(15, 15, 15, 0.65)
            ),
            url("../img/background.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* Vignette */
.hero-slide-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
            circle at center,
            rgba(0,0,0,0) 40%,
            rgba(0,0,0,0.3) 100%
    );
    pointer-events: none;
}

.hero-slide-dark > .container {
    position: relative;
    z-index: 1;
}

.hero-slide-dark h1 {
    color: #fff;
}

.hero-slide-dark p {
    color: rgba(255, 255, 255, 0.85);
}

.hero-slide-dark .hero-eyebrow {
    color: #ffd1d6;
}
.hero-grid,
.hero-centered {
    max-width: 920px; /* sweet spot */
    width: 100%;
    margin-inline: auto;
}


.hero-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 -120px 160px rgba(0,0,0,0.35);
    pointer-events: none;
}

/* ================= FAQ ================= */
.faq-section {
    padding: 110px 0;
    background: linear-gradient(180deg, #ffffff, #fafafa);
}

.faq-inner {
    max-width: 900px;
    margin: auto;
}

.faq-section h2 {
    text-align: center;
    font-size: 38px;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.faq-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 50px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    padding: 22px 26px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item[open] {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 14px;
    color: var(--gray);
    line-height: 1.7;
    font-size: 15px;
}
/* ================= COUPONS SECTION ================= */
.coupons-section {
    padding: 120px 0;
    background: linear-gradient(
            180deg,
            #fafafa,
            #ffffff
    );
}

.coupons-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 80px;
}

.coupon-eyebrow {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coupons-header h2 {
    font-size: 40px;
    margin: 16px 0;
    letter-spacing: -0.02em;
}

.coupons-header p {
    color: var(--gray);
    font-size: 16px;
}

/* Grid */
.coupon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Card */
.coupon-card {
    position: relative;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(14px);
    border-radius: 26px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0,0,0,0.08);
    transition: transform .4s ease, box-shadow .4s ease;
}

.coupon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 100px rgba(0,0,0,0.14);
}

/* Featured */
.coupon-card.featured {
    border: 2px solid rgba(131,27,39,0.25);
    transform: scale(1.03);
}

/* Badge */
.coupon-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--primary);
    color: #fff;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
}

/* Text */
.coupon-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.coupon-sub {
    color: var(--gray);
    margin-bottom: 20px;
}

.coupon-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin: 20px 0;
}

/* List */
.coupon-card ul {
    list-style: none;
    padding: 0;
    margin: 24px 0 30px;
}

.coupon-card li {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 10px;
}

/* Note */
.coupon-note {
    text-align: center;
    margin-top: 50px;
    font-size: 13px;
    color: var(--muted);
}
.membership-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff, #f7f7f7);
}

.membership-card {
    max-width: 880px;
    margin: auto;
    padding: 64px;
    text-align: center;

    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-radius: 32px;
    border: 1px solid rgba(0,0,0,0.06);

    box-shadow: 0 40px 100px rgba(0,0,0,0.12);
    transition: transform .6s ease, box-shadow .6s ease;
}

.membership-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 60px 140px rgba(0,0,0,0.16);
}

.membership-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 18px;
}

.membership-card h2 {
    font-size: 42px;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.membership-sub {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 42px;
}

.membership-values {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 36px;
}

.membership-values strong {
    font-size: 34px;
    color: var(--primary);
}

.membership-values span {
    display: block;
    font-size: 14px;
    color: var(--gray);
    margin-top: 6px;
}

.membership-notes {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 40px;
}

.membership-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 36px;
}

.membership-trust {
    font-size: 13px;
    color: var(--muted);
}

.membership-trust span {
    display: block;
    margin-top: 6px;
    font-style: italic;
}
.membership-card {
    opacity: 1;
    transform: translateY(30px);
}

.membership-card.visible {
    opacity: 1;
    transform: translateY(0);
}


.contact-merged {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    align-items: stretch;

    border-radius: 36px;
    overflow: hidden;

    max-width: 1100px;
    margin: 0 auto;

    box-shadow:
            0 50px 120px rgba(0,0,0,0.25),
            inset 0 1px 0 rgba(255,255,255,0.15);
}

.contact-info-card {
    background: linear-gradient(180deg, #6f1621, #58131c);
    color: #fff;

    padding: 72px 64px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 28px;
}

.contact-card {
    background: linear-gradient(
            180deg,
            rgba(255,255,255,0.96),
            rgba(255,255,255,0.9)
    );

    padding: 64px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info-card {
    justify-content: flex-start;
}

.contact-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
}
.contact-map {
    margin-top: 32px;
}

.contact-map iframe {
    border-radius: 16px;
}
.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-section-title {
    font-size: 46px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--dark);
}

.contact-card {
    position: relative;
}

.contact-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8%;
    bottom: 8%;
    width: 1px;
    background: rgba(0,0,0,0.08);
}
.contact-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 18px;
}
.contact-form .btn-primary {
    padding: 18px;
    font-size: 16px;
    border-radius: 16px;
}
.contact-section {
    position: relative;
    padding: 160px 0 180px;
}

.contact-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(
            to bottom,
            rgba(255,255,255,0),
            rgba(255,255,255,1)
    );
    pointer-events: none;
}
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-item i {
    font-size: 18px;
    color: #ffd1d6;
    margin-top: 4px;
}

.contact-item span {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.contact-item a,
.contact-item strong {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}
.contact-map {
    margin-top: 36px;
}

.map-frame {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    filter: grayscale(100%) contrast(1.05);
    transition: filter .4s ease, transform .4s ease;
}

.map-frame:hover {
    filter: grayscale(0%);
    transform: translateY(-2px);
}

.contact-map iframe {
    width: 100%;
    height: 240px;
    border: 0;
}

.map-label {
    display: block;
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.12);
    background: rgba(255,255,255,0.85);
    font-size: 15px;
    transition: border .25s ease, box-shadow .25s ease, background .25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9a9a9a;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(131,27,39,0.15);
}
.contact-form .btn-primary {
    padding: 18px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 18px;
}

@media (max-width: 900px) {
    .contact-merged {
        grid-template-columns: 1fr;
    }
}


/* ================= REVIEWS ================= */
.reviews-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff, #f7f7f7);
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 60px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.review-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 26px;
    padding: 36px 30px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.08);
    transition: transform .35s ease, box-shadow .35s ease;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 100px rgba(0,0,0,0.14);
}

.stars {
    color: #f4c150;
    font-size: 18px;
    margin-bottom: 16px;
}

.review-text {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 18px;
}

.review-author {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.reviews-cta {
    margin-top: 20px;
}
/* ================= REVIEWS ================= */
.reviews-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff, #f7f7f7);
    text-align: center;
}

.reviews-meta {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.9);
    padding: 14px 22px;
    border-radius: 999px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.google-badge img {
    width: 26px;
}

.google-badge span {
    font-weight: 800;
    font-size: 16px;
    color: var(--dark);
}

.google-badge small {
    font-size: 13px;
    color: var(--gray);
}

/* Carousel */
.reviews-carousel {
    overflow: hidden;
    position: relative;
}

.review-track {
    display: flex;
    gap: 30px;
    animation: slideReviews 28s linear infinite;
}

.review-card {
    min-width: 320px;
    background: rgba(255,255,255,0.92);
    border-radius: 26px;
    padding: 36px 30px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.08);
    text-align: left;
}

.review-card .stars {
    color: #f4c150;
    margin-bottom: 14px;
}

.review-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 16px;
}

.review-card .author {
    font-weight: 700;
    font-size: 14px;
}

/* Animation */
@keyframes slideReviews {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause on hover */
.reviews-carousel:hover .review-track {
    animation-play-state: paused;
}

/* ================= GALLERY ================= */
.gallery-section {
    padding: 130px 0;
    background: linear-gradient(180deg, #ffffff, #f6f6f6);
}

.gallery-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 80px;
}

.gallery-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}

.gallery-header h2 {
    font-size: 40px;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.gallery-header p {
    font-size: 16px;
    color: var(--gray);
}

/* GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

/* CARD */
.gallery-card {
    position: relative;
    height: 220px;
    border-radius: 28px;

    background:
            linear-gradient(
                    135deg,
                    rgba(255,255,255,0.75),
                    rgba(255,255,255,0.45)
            );

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(0,0,0,0.06);

    box-shadow:
            0 25px 70px rgba(0,0,0,0.08),
            inset 0 1px 0 rgba(255,255,255,0.35);

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
            transform .5s cubic-bezier(.22,1,.36,1),
            box-shadow .5s cubic-bezier(.22,1,.36,1);
}

/* Hover polish */
.gallery-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 40px 110px rgba(0,0,0,0.14);
}

/* Placeholder text */
.gallery-card span {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray);
    letter-spacing: 0.02em;
}

/* Under construction styling */
.gallery-card.placeholder::after {
    content: "Coming Soon";
    position: absolute;
    bottom: 18px;
    right: 18px;

    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;

    background: rgba(131,27,39,0.9);
    color: #fff;
}

/* Note */
.gallery-note {
    text-align: center;
    margin-top: 50px;
    font-size: 13px;
    color: var(--muted);
}

/* MOBILE */
@media (max-width: 768px) {
    .gallery-header h2 {
        font-size: 34px;
    }

    .gallery-card {
        height: 200px;
    }
}
/* ===== SCROLL TO TOP ===== */
#scrollTopBtn {
    position: fixed;
    bottom: 28px;
    right: 28px;

    width: 48px;
    height: 48px;
    border-radius: 50%;

    background: var(--primary);
    color: #fff;
    border: none;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 18px 45px rgba(131,27,39,0.35);
    cursor: pointer;

    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;

    transition:
            opacity .35s ease,
            transform .35s ease,
            box-shadow .35s ease;
    z-index: 999;
}

#scrollTopBtn.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#scrollTopBtn:hover {
    box-shadow: 0 25px 70px rgba(131,27,39,0.45);
}

/* ===== AI ASSISTANT (DEMO) ===== */
.ai-assistant {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;

    width: 72px;
    height: 72px;

    border-radius: 50%;
    background: #fff;

    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform .3s ease, box-shadow .3s ease;
}

.ai-assistant:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.ai-assistant img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}
@media (max-width: 600px) {
    #scrollTopBtn {
        bottom: 100px;
    }
}
/* ===== AI ASSISTANT ===== */
.ai-widget {
    position: fixed;
    bottom: 150px;
    right: 26px;
    z-index: 999;
}

/* Avatar button */
.ai-toggle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: none;
    background: #fff;
    cursor: pointer;

    box-shadow: 0 20px 50px rgba(0,0,0,0.25);

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform .3s ease, box-shadow .3s ease;
}

.ai-toggle:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.ai-toggle img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

/* Assistant panel */
.ai-panel {

    display: flex;
    flex-direction: column;

    width: 320px;
    height: 420px;

    background: #fff;
    border-radius: 16px;
    overflow: hidden;

    position: absolute;
    bottom: 90px;
    right: 0;

    box-shadow: 0 30px 90px rgba(0,0,0,0.25);

    opacity: 0;
    transform: translateY(10px) scale(0.95);
    pointer-events: none;

    transition: all .3s ease;
}

.ai-widget.open .ai-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.ai-panel p {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 14px;
}

.ai-actions {
    display: flex;
    gap: 10px;
}

.ai-actions button {
    flex: 1;
    padding: 8px 10px;
    border-radius: 10px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;

    background: var(--primary);
    color: #fff;
}

.ai-actions button:hover {
    background: var(--primary-dark);
}

.catalog-section {
    padding: 80px 0;
    background: #fff;
}

.catalog-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.catalog-header p a {
    color: #d4a017;
    font-weight: 600;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.catalog-card {
    background: #fafafa;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.catalog-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}

.catalog-card .price {
    font-weight: 600;
    margin: 10px 0 20px;
}

.catalog-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}

.catalog-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #666;
}

.catalog-card .btn-primary {
    background-color: #b02a37; /* softer, richer red */
    border-radius: 22px;
    padding: 10px 22px;
}

.catalog-card .btn-primary:hover {
    background-color: #8f212b;
}


.promo-badge {
    background: linear-gradient(135deg, #d4a017, #f5c542);
    color: #000;
    border-radius: 14px;
    padding: 18px 24px;
    margin: 25px auto;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.promo-badge span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 6px;
}

.promo-badge strong {
    font-size: 1.2rem;
}

.promo-badge em {
    font-style: normal;
    background: #000;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    margin-left: 6px;
}

.promo-badge small {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.promo-reminder {
    font-size: 0.85rem;
    margin-bottom: 12px;
    color: #333;
}

.promo-reminder strong {
    color: #d4a017;
}
.promo-badge {
    background: linear-gradient(135deg, #e0b21b, #f6c84f);
    color: #000;
    border-radius: 14px;
    padding: 16px 22px;
    margin: 28px auto 22px;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.promo-badge span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 1.2px;
    font-weight: 700;
    margin-bottom: 6px;
    opacity: 0.85;
}

.promo-badge strong {
    font-size: 1.15rem;
}

.promo-badge em {
    font-style: normal;
    background: #111;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    margin-left: 6px;
    letter-spacing: 0.5px;
}

.promo-badge small {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    opacity: 0.85;
}
.offer-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.offer-input-wrapper input {
    width: 100%;
    padding-right: 42px;
    background: #f8f8f8;
    font-weight: 600;
}

.offer-input-wrapper button {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #888;
    font-size: 0.9rem;
    padding: 4px;
    display: none;
}

.offer-input-wrapper button:hover {
    color: #b02a37;
}

/* DARK MODE */
/* ================= DARK MODE ================= */
body.dark {
    --text: #e6e6e6;
    --gray: #b5b5b5;
    --muted: #9a9a9a;

    --border: rgba(255,255,255,0.12);

    background: #121212;
}

/* Containers & cards */
body.dark .header,
body.dark .family-section,
body.dark .trust-section,
body.dark .services-apple,
body.dark .faq-section,
body.dark .coupons-section,
body.dark .reviews-section,
body.dark .gallery-section {
    background: linear-gradient(180deg, #121212, #161616);
}

body.dark .service-card,
body.dark .trust-card,
body.dark .faq-item,
body.dark .coupon-card,
body.dark .family-content,
body.dark .contact-card {
    background: rgba(30,30,30,0.85);
    border-color: rgba(255,255,255,0.08);
}

/* Inputs */
body.dark input,
body.dark textarea {
    background: rgba(20,20,20,0.9);
    color: #fff;
    border-color: rgba(255,255,255,0.15);
}

body.dark input::placeholder,
body.dark textarea::placeholder {
    color: #aaa;
}
body.dark .contact-section-title {
    color: rgba(255,255,255,0.95);
}

/* ================= DARK MODE – RUG PADS ================= */

body.dark .catalog-section {
    background-color: #0f1115;
    color: #eaeaea;
}

body.dark .catalog-header p,
body.dark .catalog-note {
    color: #b5b9c6;
}

body.dark .catalog-card {
    background-color: #151821;
    border-color: #2a2f3a;
}

body.dark .catalog-card h3 {
    color: #ffffff;
}

body.dark .catalog-card p {
    color: #c6cad6;
}

body.dark .price {
    color: #8fd3ff;
}

body.dark .promo-badge {
    background: linear-gradient(135deg, #1f2937, #111827);
    color: #ffffff;
}

body.dark .promo-badge small {
    color: #cbd5e1;
}

body.dark a {
    color: #8fd3ff;
}


.ai-messages{
    flex: 1;                 /* ← eats remaining space */
    padding: 14px;
    overflow-y: auto;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-msg{
    padding:10px 12px;
    border-radius:12px;
    font-size:14px;
    line-height:1.3;
    max-width: 90%;
}

.ai-msg.user{
    align-self:flex-end;
    background:#0d6efd;
    color:#fff;
}

.ai-msg.ai{
    align-self:flex-start;
    background:#f2f3f6;
    color:#111;
}

body.dark .ai-msg.ai{
    background:#1b2230;
    color:#eaeaea;
}

.ai-input-row{
    display:flex;
    gap:8px;
    padding:12px;
    border-top:1px solid rgba(0,0,0,0.08);
}

body.dark .ai-input-row{
    border-top:1px solid rgba(255,255,255,0.12);
}

.ai-input-row input{
    flex:1;
    padding:10px 12px;
    border-radius:10px;
    border:1px solid rgba(0,0,0,0.15);
}

body.dark .ai-input-row input{
    background:#0f1115;
    color:#fff;
    border-color: rgba(255,255,255,0.18);
}



.ai-input-row {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.ai-input-row input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.ai-input-row button {
    background: #b02a37;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 16px;
    font-weight: 600;
    cursor: pointer;
}

.ai-input-row button:hover {
    background: #8e1f2a;
}

.ai-panel {
    transition: width 0.3s ease, height 0.3s ease;
}

.ai-panel.expanded {
    width: 420px;
    height: 620px;
}

.ai-expand {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.ai-greeting strong {
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

.ai-greeting span {
    font-size: 13px;
    opacity: 0.8;
}
.ai-input-wrapper {
    display: flex;
    gap: 6px;
}

.ai-input-wrapper input {
    flex: 1;
    border-radius: 10px;
}

.ai-input-wrapper button {
    border-radius: 10px;
    padding: 0 14px;
    font-weight: 600;
}
.ai-input {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid rgba(0,0,0,0.08);
}
/* ===== AI CHAT INPUT – FINAL AUTHORITY ===== */
.ai-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid rgba(0,0,0,0.08);
    background: #fff;
}

.ai-input input {
    flex: 1;
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.15);
    outline: none;
}

.ai-input input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(131,27,39,0.15);
}

.ai-input .send-btn {
    height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    background: var(--primary);
    color: #fff;
    transition: background 0.2s ease, transform 0.15s ease;
}

.ai-input .send-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.ai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(135deg, #831b27, #a12a38);
    color: #fff;
}

.ai-title strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
}

.ai-title span {
    font-size: 12px;
    opacity: 0.85;
}

.ai-messages {
    flex: 1;
    padding: 16px;
    background: #f7f7f9;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.dark .ai-messages {
    background: #111827;
}
.ai-msg.greeting {
    background: rgba(255,255,255,0.9);
    border-radius: 14px;
    padding: 14px;
    font-size: 14px;
}

.ai-msg.greeting span {
    display: block;
    margin-top: 4px;
    opacity: 0.8;
}
.ai-input {
    display: flex;
    gap: 10px;
    padding: 14px;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.ai-input input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.15);
    font-size: 14px;
}

.ai-input button {
    background: #831b27;
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 0 18px;
    font-weight: 700;
    cursor: pointer;
}

.ai-input button:hover {
    background: #6f1621;
}
.ai-title {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.9;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e; /* healthy green */
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}
.status-dot {
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    70% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* ================= QUOTE PAGE ================= */

.quote-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff, #f7f7f7);
}

.quote-section h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.quote-section p {
    color: var(--gray);
    margin-bottom: 40px;
}

/* FORM LAYOUT */
.quote-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;

    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 36px;

    box-shadow: 0 30px 90px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
}

/* Full-width fields */
.quote-form textarea,
.quote-form .upload-label,
.quote-form button {
    grid-column: span 2;
}

/* Inputs */
.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.12);
    font-size: 15px;
    background: #fff;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(131,27,39,0.15);
}

/* Upload button */
.upload-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f5f5f5;
    cursor: pointer;
    font-weight: 600;
}

.upload-label input {
    display: none;
}

/* Submit */
.quote-form button {
    margin-top: 10px;
    padding: 16px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 800;
}

/* Mobile */
@media (max-width: 700px) {
    .quote-form {
        grid-template-columns: 1fr;
    }

    .quote-form textarea,
    .quote-form .upload-label,
    .quote-form button {
        grid-column: span 1;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
}

/* Mobile menu top bar */
.mobile-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

/* ================= MOBILE MENU ================= */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;

    width: 80%;
    max-width: 320px;
    height: 100vh;

    background: #fff;
    padding: 24px;

    box-shadow: -30px 0 80px rgba(0,0,0,0.25);

    transform: translateX(100%);
    transition: transform 0.35s ease;

    z-index: 9999;
}

/* Visible state */
.mobile-menu.open {
    transform: translateX(0);
}

/* Hide desktop nav on mobile */
@media (max-width: 980px) {
    .nav-desktop {
        display: none;
    }
}

/* Hide hamburger by default (desktop) */
.menu-toggle {
    display: none;
}

/* Show hamburger ONLY on mobile */
@media (max-width: 980px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        border-radius: 10px;
    }
}

body.dark .mobile-menu {
    background: #121212;
}

/* ===== MOBILE MENU PANEL ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 86%;
    max-width: 360px;
    height: 100vh;

    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow: -30px 0 80px rgba(0,0,0,0.35);
    padding: 24px;

    display: flex;
    flex-direction: column;

    transition: right 0.35s cubic-bezier(.22,1,.36,1);
    z-index: 1000;
}

/* OPEN STATE */
.mobile-menu.open {
    right: 0;
}

.nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 40px;
}

.nav-mobile a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);

    padding: 14px 18px;
    border-radius: 16px;

    background: rgba(0,0,0,0.04);
    transition: background 0.25s ease, transform 0.2s ease;
}

.nav-mobile a:hover {
    background: rgba(131,27,39,0.12);
    transform: translateX(4px);
}

/* CTA stands out */
.nav-mobile .nav-cta {
    margin-top: 12px;
    background: var(--primary);
    color: #fff;
    text-align: center;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(131,27,39,0.35);
}

.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-top button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
}

.close-menu {
    font-size: 22px;
}
/* ===== DARK MODE: MOBILE MENU TOGGLE ===== */
body.dark .menu-toggle {
    color: #ffffff;
}
.menu-toggle {
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    transition: color 0.2s ease, transform 0.2s ease;
}

.menu-toggle:hover {
    transform: scale(1.05);
}

body.dark .menu-toggle {
    color: #ffffff;
}
/* ================= DARK MODE – QUOTE PAGE ================= */

body.dark .quote-section {
    background: linear-gradient(180deg, #121212, #161616);
}

body.dark .quote-section h1 {
    color: #ffffff;
}

body.dark .quote-section p {
    color: #b5b5b5;
}

/* Quote form container */
body.dark .quote-form {
    background: rgba(30, 30, 30, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

/* Inputs */
body.dark .quote-form input,
body.dark .quote-form select,
body.dark .quote-form textarea {
    background: rgba(20, 20, 20, 0.95);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
}

/* Placeholders */
body.dark .quote-form input::placeholder,
body.dark .quote-form textarea::placeholder {
    color: #9ca3af;
}

/* Focus state */
body.dark .quote-form input:focus,
body.dark .quote-form select:focus,
body.dark .quote-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(131, 27, 39, 0.25);
}

/* Upload label */
body.dark .upload-label {
    background: rgba(24, 24, 24, 0.9);
    color: #e5e7eb;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

/* Submit button */
body.dark .quote-form button.btn-primary {
    box-shadow: 0 20px 50px rgba(131, 27, 39, 0.45);
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.preview-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    background: #f5f5f5;
}

.preview-item img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}

/* 🔥 FIXED REMOVE BUTTON */
.preview-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    line-height: 1;
    padding: 0;
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1f2933;
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .35s ease, transform .35s ease;
}

.toast i {
    color: #22c55e;
    font-size: 18px;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.hidden {
    pointer-events: none;
}
.toast.error i {
    color: #ef4444;
}
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
/* ================= GALLERY – FINAL AUTHORITY ================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;

    background: #f5f5f5;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);

    transition: transform .35s ease, box-shadow .35s ease;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    background: linear-gradient(
            to top,
            rgba(0,0,0,0.6),
            rgba(0,0,0,0)
    );
}

.gallery-overlay span {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

/* ================= GALLERY – MOBILE CENTERING FIX ================= */
@media (max-width: 600px) {

    .gallery-grid {
        grid-template-columns: 1fr;
        justify-items: center; /* ← this is the key */
    }

    .gallery-card {
        width: 100%;
        max-width: 360px; /* keeps them elegant, not edge-to-edge */
    }
}


.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 16px;
}

.gallery-lightbox.show {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}
.gallery-social {
    margin-top: 40px;
    text-align: center;
}

.gallery-social p {
    margin-bottom: 12px;
    font-weight: 500;
}

.gallery-social-links a {
    margin: 0 12px;
    color: var(--accent-color, #831b27);
    font-weight: 600;
    text-decoration: none;
}
/* ===== AI NEWS HINT ===== */
.ai-news {
    position: absolute;
    bottom: 86px;            /* sits above the avatar */
    right: 0;

    background: rgba(255,255,255,0.92);
    color: var(--dark);

    padding: 8px 14px;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 600;

    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 1px solid var(--border);

    white-space: nowrap;
    pointer-events: none;

    animation: aiNewsFloat 3s ease-in-out infinite;
}

/* subtle motion, not carnival */
@keyframes aiNewsFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* Dark mode support */
body.dark .ai-news {
    background: rgba(30,30,30,0.95);
    color: #fff;
    border-color: rgba(255,255,255,0.12);
}
.payment-logo {
    height: 26px;
    opacity: 0.9;
    filter: grayscale(100%);
    transition: opacity .2s ease, transform .2s ease;
}

.payment-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}
