/* ==========================================================================
   RAPID BATH REMODEL — GOLD STANDARD DESIGN
   Matches: stumpystreema.com / nauglehcmi.com design language
   Brand: Deep blue (#1A5276) + Gold accent (#F4A623)
   ========================================================================== */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Brand Colors */
    --brand-blue: #2274A5;
    --brand-deep: #1A3C5E;
    --brand-dark: #111111;
    --brand-charcoal: #1E1E1E;
    --brand-gray: #2A2A2A;
    --gold: #F4A623;
    --gold-hover: #D4900F;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --text-light: #E0E0E0;
    --text-muted: #B0B0B0;
    --green: #22C55E;

    /* Typography */
    --font-primary: 'Inter', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-pad: 100px;
    --container-width: 1200px;

    /* Transitions */
    --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== SECTION THEMES ===== */
.section--dark {
    background: var(--brand-dark);
    color: var(--white);
}

.section--light {
    background: var(--white);
    color: #1A1A1A;
}

.section--accent {
    background: var(--gold);
    color: #1A1A1A;
}

.section--light,
.section--dark,
.section--accent {
    padding: var(--section-pad) 0;
}

/* ===== TYPOGRAPHY ===== */
.section__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    text-align: center;
}

.section__title--dark { color: #1A1A1A; }
.section__title--light { color: var(--white); }

.section__subtitle {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}
.section__subtitle--light { color: var(--text-light); }

/* ===== SECTION BADGE ===== */
.section-badge {
    display: inline-block;
    background: var(--brand-dark);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 10px 28px;
    text-transform: uppercase;
    margin: 0 auto 28px;
    text-align: center;
    border: 2px solid var(--gold);
}

.section-badge--light {
    background: transparent;
    border-color: var(--gold);
    color: var(--white);
}

.section-badge--dark {
    background: var(--brand-dark);
    color: var(--white);
    border-color: var(--brand-dark);
}

/* Center badges */
.section--light .section-badge,
.section--dark .section-badge,
.section--accent .section-badge {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 14px 28px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn--lg { padding: 16px 36px; font-size: 15px; }
.btn--full { width: 100%; justify-content: center; }

.btn__arrow {
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: transform var(--transition);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary {
    background: var(--gold);
    color: var(--brand-dark);
    border-color: var(--gold);
}
.btn--primary:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 166, 35, 0.3);
}

.btn--dark {
    background: var(--brand-dark);
    color: var(--white);
    border-color: var(--brand-dark);
}
.btn--dark:hover {
    background: #2A2A2A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn--outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn--outline-white:hover {
    background: var(--white);
    color: var(--brand-dark);
}
.btn--outline-white svg { fill: currentColor; }

.btn--outline-dark {
    background: transparent;
    color: var(--brand-dark);
    border-color: var(--brand-dark);
}
.btn--outline-dark:hover {
    background: var(--brand-dark);
    color: var(--white);
}
.btn--outline-dark svg { fill: currentColor; }

/* ===== CTA BAR ===== */
.cta-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--gold);
    color: var(--brand-dark);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 0;
}

.top-bar__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.top-bar__phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-dark);
    color: var(--white);
    padding: 6px 18px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: background var(--transition);
}
.top-bar__phone:hover { background: #333; }

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 999;
    border-bottom: 1px solid #eee;
    transition: box-shadow var(--transition);
}
.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.navbar__logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.navbar__menu {
    display: flex;
    gap: 32px;
}

.navbar__menu a {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #333;
    transition: color var(--transition);
    position: relative;
    text-transform: uppercase;
}
.navbar__menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}
.navbar__menu a:hover { color: var(--brand-blue); }
.navbar__menu a:hover::after { width: 100%; }

.navbar__menu li + li::before {
    content: '|';
    position: relative;
    left: -16px;
    color: #ddd;
    font-weight: 300;
}

.navbar__cta {
    font-size: 13px;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.navbar__toggle span {
    width: 24px;
    height: 2px;
    background: #333;
    transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17,17,17,0.92) 0%, rgba(17,17,17,0.78) 50%, rgba(17,17,17,0.65) 100%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    padding: 60px 24px;
}

.hero__services-list {
    color: var(--gold);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 60px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.hero__description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 560px;
}

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

/* ===== LEAD FORM CARD ===== */
.hero__form-card {
    background: var(--white);
    padding: 36px 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero__form-card--bottom {
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.form__title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 0;
    line-height: 1.2;
}

.form__title-highlight {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    font-style: italic;
    color: var(--brand-blue);
    margin-bottom: 24px;
}

.form__input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-primary);
    font-size: 15px;
    border: 2px solid #E0E0E0;
    background: var(--white);
    color: #1A1A1A;
    outline: none;
    transition: border-color var(--transition);
    margin-bottom: 12px;
}
.form__input:focus {
    border-color: var(--brand-blue);
}
.form__input::placeholder { color: #999; }

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

.form__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.form__stars {
    color: #FBBC04;
    font-size: 22px;
    letter-spacing: 2px;
}

.form__rating-text {
    font-weight: 700;
    font-size: 15px;
    color: #333;
}

/* Google logo before stars */
.form__rating::before {
    content: '';
    width: 28px;
    height: 28px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%234285F4' d='M44.5 20H24v8.5h11.8C34.7 33.9 30.1 37 24 37c-7.2 0-13-5.8-13-13s5.8-13 13-13c3.1 0 5.9 1.1 8.1 2.9l6.4-6.4C34.6 4.1 29.6 2 24 2 11.8 2 2 11.8 2 24s9.8 22 22 22c11 0 21-8 21-22 0-1.3-.2-2.7-.5-4z'/%3E%3Cpath fill='%2334A853' d='m6.3 14.7 7.1 5.2C15 16.3 19.1 13 24 13c3.1 0 5.9 1.1 8.1 2.9l6.4-6.4C34.6 6.1 29.6 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/%3E%3Cpath fill='%23FBBC04' d='M24 44c5.4 0 10.3-1.8 14.1-5l-6.9-5.3C29.3 35.2 26.8 36 24 36c-6 0-11.1-4-12.8-9.5l-7 5.4C7.6 38 15.2 44 24 44z'/%3E%3Cpath fill='%23EA4335' d='M44.5 20H24v8.5h11.8c-1 3-3 5.5-5.6 7.2l6.9 5.3C41 37.5 46 31 46 24c0-1.3-.2-2.7-.5-4z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* ===== ANGLE DIVIDERS ===== */
.angle-divider {
    height: 80px;
    width: 100%;
    position: relative;
}

.angle-divider--to-dark {
    background: var(--white);
}
.angle-divider--to-dark::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--brand-dark);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.angle-divider--to-light {
    background: var(--brand-dark);
}
.angle-divider--to-light::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--white);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.angle-divider--to-accent {
    background: var(--brand-dark);
}
.angle-divider--to-accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--gold);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

/* ===== SERVICES SECTION ===== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.service-card {
    background: var(--white);
    border: 2px solid var(--gold);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.service-card__img {
    height: 260px;
    overflow: hidden;
}
.service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-card__img img {
    transform: scale(1.05);
}

.service-card__body {
    padding: 28px;
}

.service-card__title {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.services__note {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #777;
}

/* ===== ABOUT SECTION ===== */
.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about__content { text-align: left; }
.about__content .section-badge { margin-left: 0; }
.about__content .section__title { text-align: left; }

.about__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 16px;
}

.about__why-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin: 32px 0 20px;
}

.about__checklist li {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

.check-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    margin-top: 2px;
}

.about__image {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about__image-frame {
    border: 4px solid var(--gold);
    border-radius: 12px;
    overflow: hidden;
}
.about__image-frame img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

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

/* ===== PROCESS SECTION ===== */
.process__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.process__step {
    text-align: center;
    position: relative;
}

.process__step-badge {
    display: inline-block;
    background: var(--brand-dark);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    padding: 10px 32px;
    border: 2px solid var(--gold);
    margin-bottom: -20px;
    position: relative;
    z-index: 2;
}

.process__step-card {
    background: var(--white);
    padding: 50px 28px 36px;
    border: 1px solid #eee;
    transition: transform var(--transition), box-shadow var(--transition);
}
.process__step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.process__icon {
    width: 100px;
    height: 100px;
    background: var(--brand-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.process__step-title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #1A1A1A;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.process__step-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* ===== REVIEWS SECTION ===== */
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.review-card {
    background: var(--white);
    padding: 36px 28px;
    text-align: left;
    border-top: 4px solid var(--gold);
}

.review-card__stars {
    color: #FBBC04;
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.review-card__text {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    font-style: italic;
}

.review-card__author {
    font-weight: 700;
    font-size: 14px;
    color: #1A1A1A;
}

/* ===== GUARANTEE ===== */
.guarantee {
    display: flex;
    align-items: center;
    gap: 36px;
    background: var(--white);
    border: 4px solid var(--gold);
    border-radius: 120px;
    padding: 40px 48px;
    margin: 10px auto 0;
    max-width: 900px;
}

.guarantee__icon {
    flex-shrink: 0;
}

.guarantee__title {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.guarantee__text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* ===== FAQ SECTION ===== */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background: var(--white);
    margin-bottom: 12px;
    border: 2px solid #1A1A1A;
    overflow: hidden;
}

.faq__question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    font-family: var(--font-primary);
    font-size: 17px;
    font-weight: 700;
    color: #1A1A1A;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition);
}
.faq__question:hover { background: #F9F9F9; }

.faq__icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.active .faq__answer {
    max-height: 300px;
}

.faq__answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* ===== BOTTOM CONTACT FORM ===== */
.bottom-form__inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: start;
}

.bottom-form__content .section__title {
    text-align: left;
}

.bottom-form__text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 28px;
}

.bottom-form__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bottom-form__phone,
.bottom-form__email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    transition: color var(--transition);
}
.bottom-form__phone:hover,
.bottom-form__email:hover {
    color: var(--gold);
}

/* ===== FOOTER ===== */
.footer {
    background: #0A0A0A;
    color: var(--text-muted);
    text-align: center;
    padding: 28px 0;
    font-size: 14px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__description { margin: 0 auto 32px; }
    .hero__ctas { justify-content: center; }
    .hero__form-card { max-width: 480px; margin: 0 auto; }

    .about__inner {
        grid-template-columns: 1fr;
    }
    .about__content { text-align: center; }
    .about__content .section__title { text-align: center; }
    .about__content .section-badge { margin-left: auto; }
    .about__checklist li { text-align: left; }
    .about__image-frame img { height: 320px; }
    .about__ctas { justify-content: center; }

    .bottom-form__inner {
        grid-template-columns: 1fr;
    }
    .bottom-form__content { text-align: center; }
    .bottom-form__content .section__title { text-align: center; }
    .bottom-form__info { align-items: center; }
    .hero__form-card--bottom { max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 60px;
    }

    .top-bar__text { display: none; }

    .navbar__menu { display: none; }
    .navbar__cta { display: none; }
    .navbar__toggle { display: flex; }

    /* Mobile menu */
    .navbar__menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        gap: 0;
        box-shadow: 0 8px 30px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }
    .navbar__menu.active li + li::before { display: none; }
    .navbar__menu.active a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .hero { min-height: auto; }
    .hero__inner { padding: 40px 24px; gap: 40px; }

    .services__grid { grid-template-columns: 1fr; }
    .process__steps { grid-template-columns: 1fr; max-width: 380px; margin: 20px auto 0; }
    .reviews__grid { grid-template-columns: 1fr; }

    .guarantee {
        flex-direction: column;
        text-align: center;
        border-radius: 24px;
        padding: 32px;
    }

    .cta-bar { flex-direction: column; align-items: center; }
    .cta-bar .btn { width: 100%; max-width: 340px; justify-content: center; }

    .footer__inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 30px; }
    .hero__ctas { flex-direction: column; }
    .hero__ctas .btn { width: 100%; justify-content: center; }
    .btn--lg { padding: 14px 24px; font-size: 14px; }
}
