/* ============================================
   bluefrog Plumbing + Drain — Custom Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { margin: 0; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* --- Utility --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 800px; }

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 25, 66, 0.08);
    transition: box-shadow 0.3s ease;
}
.nav.scrolled {
    box-shadow: 0 4px 24px rgba(74, 25, 66, 0.1);
}
.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #4A1942;
}
.nav__logo-icon { width: 36px; height: 36px; flex-shrink: 0; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav__logo-accent {
    font-size: 0.7rem;
    font-weight: 500;
    color: #F5A623;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #4A1942;
    position: relative;
    transition: color 0.2s ease;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F5A623;
    transition: width 0.3s ease;
}
.nav__link:hover { color: #F5A623; }
.nav__link:hover::after { width: 100%; }
.nav__link--cta {
    background: #4A1942;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.2s ease;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover {
    background: #F5A623;
    color: #4A1942 !important;
    transform: translateY(-1px);
}
.nav__toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    color: #4A1942;
}
.nav__toggle-icon { width: 24px; height: 24px; }
.nav__toggle-close { display: none; }

@media (max-width: 900px) {
    .nav__toggle { display: flex; align-items: center; gap: 0; }
    .nav__toggle-icon { display: block; }
    .nav__toggle-close { display: none; }
    .nav__toggle[aria-expanded="true"] .nav__toggle-icon:first-child { display: none; }
    .nav__toggle[aria-expanded="true"] .nav__toggle-close { display: block; }
    .nav__links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(74, 25, 66, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
        pointer-events: none;
    }
    .nav__links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav__link--cta {
        width: 100%;
        text-align: center;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 14px 28px;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary {
    background: #F5A623;
    color: #4A1942;
    border-color: #F5A623;
}
.btn--primary:hover {
    background: #e8960f;
    border-color: #e8960f;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
}
.btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}
.btn--outline:hover {
    background: #fff;
    color: #4A1942;
    border-color: #fff;
    transform: translateY(-2px);
}
.btn--outline-dark {
    background: transparent;
    color: #4A1942;
    border-color: #4A1942;
}
.btn--outline-dark:hover {
    background: #4A1942;
    color: #fff;
    transform: translateY(-2px);
}
.btn--dark {
    background: #4A1942;
    color: #fff;
    border-color: #4A1942;
}
.btn--dark:hover {
    background: #2d0f28;
    border-color: #2d0f28;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 25, 66, 0.3);
}
.btn--outline-plum {
    background: transparent;
    color: #4A1942;
    border-color: #4A1942;
}
.btn--outline-plum:hover {
    background: #4A1942;
    color: #fff;
}
.btn--full { width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #4A1942;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(74, 25, 66, 0.92) 0%,
        rgba(45, 15, 40, 0.85) 50%,
        rgba(74, 25, 66, 0.78) 100%
    );
}
.hero__content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    text-align: center;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.4);
    color: #F5A623;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
}
.hero__badge svg { width: 14px; height: 14px; }
.hero__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}
.hero__title-accent {
    color: #F5A623;
}
.hero__subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 40px;
}
.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.hero__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.hero__trust-item {
    text-align: center;
}
.hero__trust-num {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #F5A623;
    line-height: 1.2;
}
.hero__trust-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}
.hero__trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* --- Section Base --- */
.section {
    padding: 100px 0;
}
.section--plum { background: #4A1942; }
.section--plum-dark { background: #2d0f28; }
.section--light { background: #fdf2f8; }
.section--white { background: #fff; }
.section--amber { background: #F5A623; }
.section__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #F5A623;
    margin-bottom: 12px;
}
.section__eyebrow--dark { color: #4A1942; }
.section__eyebrow--light { color: #F5A623; }
.section__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}
.section__title--dark { color: #4A1942; }
.section__title--light { color: #fff; }
.section__subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    line-height: 1.7;
}
.section__subtitle:not(.section--plum *) { color: #6b7280; }

/* --- Grids --- */
.grid { display: grid; gap: 32px; }
.grid--services { grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
.grid--why { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid--areas { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.grid--process { grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
.grid--contact { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-top: 56px; }

@media (max-width: 900px) {
    .grid--services,
    .grid--process { grid-template-columns: repeat(2, 1fr); }
    .grid--why,
    .grid--areas,
    .grid--contact { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
    .grid--services,
    .grid--process { grid-template-columns: 1fr; }
    .section { padding: 72px 0; }
}

/* --- Service Cards --- */
.card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.card__icon svg { width: 32px; height: 32px; }
.card--service {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.3s ease;
}
.card--service:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(245, 166, 35, 0.4);
    transform: translateY(-4px);
}
.card__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}
.card__desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
}

/* --- Why Us --- */
.why__media { position: relative; }
.why__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(74, 25, 66, 0.2);
}
.why__stat-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #F5A623;
    color: #4A1942;
    padding: 20px 24px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(245, 166, 35, 0.4);
}
.why__stat-num {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}
.why__stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.4;
}
.why__content { max-width: 520px; }
.why__lead {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.8;
    margin: 0 0 36px;
}
.why__points { display: flex; flex-direction: column; gap: 24px; }
.why__point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.why__point-marker {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}
.why__point-marker svg { width: 24px; height: 24px; }
.why__point-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #4A1942;
    margin: 0 0 4px;
}
.why__point-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* --- Areas --- */
.areas__content { max-width: 480px; }
.areas__lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin: 0 0 32px;
}
.areas__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}
.areas__tag {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.areas__tag:hover {
    background: rgba(245, 166, 35, 0.15);
    border-color: rgba(245, 166, 35, 0.4);
    color: #F5A623;
}
.areas__note {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}
.areas__link {
    color: #F5A623;
    font-weight: 600;
    border-bottom: 1px solid rgba(245, 166, 35, 0.4);
    transition: border-color 0.2s ease;
}
.areas__link:hover { border-color: #F5A623; }

/* --- Process --- */
.process-step {
    text-align: center;
    padding: 40px 28px;
    position: relative;
}
.process-step__num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #F5A623;
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.6;
}
.process-step__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #4A1942;
    margin: 0 0 12px;
}
.process-step__desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}
.process-step__desc a { color: #4A1942; font-weight: 600; }
.process-step__desc a:hover { color: #F5A623; }
@media (min-width: 901px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 68px;
        right: -16px;
        width: 32px;
        height: 2px;
        background: linear-gradient(90deg, #F5A623, transparent);
        opacity: 0.4;
    }
}

/* --- FAQ --- */
.faq { margin-top: 56px; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.faq__item:hover { border-color: rgba(74, 25, 66, 0.2); }
.faq__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: #4A1942;
    transition: color 0.2s ease;
}
.faq__btn:hover { color: #F5A623; }
.faq__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    color: #F5A623;
}
.faq__item[open] .faq__icon,
.faq__item.active .faq__icon { transform: rotate(90deg); }
.faq__a {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
}
.faq__a a { color: #4A1942; font-weight: 600; }
.faq__a a:hover { color: #F5A623; }

/* --- CTA --- */
.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.cta-box__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #4A1942;
    margin: 0 0 12px;
    line-height: 1.2;
}
.cta-box__desc {
    font-size: 1.1rem;
    color: rgba(74, 25, 66, 0.75);
    line-height: 1.7;
    max-width: 480px;
    margin: 0;
}
.cta-box__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Contact --- */
.contact__info { max-width: 480px; }
.contact__desc {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.8;
    margin: 0 0 36px;
}
.contact__details { display: flex; flex-direction: column; gap: 24px; }
.contact__detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact__detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(245, 166, 35, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact__detail-icon svg { width: 20px; height: 20px; }
.contact__detail strong {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #F5A623;
    margin-bottom: 4px;
}
.contact__detail a,
.contact__detail span {
    font-size: 0.95rem;
    color: #4A1942;
    line-height: 1.6;
}
.contact__detail a:hover { color: #F5A623; }

/* --- Form --- */
.contact__form-wrap {
    background: #fdf2f8;
    border: 1px solid #fce7f3;
    border-radius: 16px;
    padding: 40px;
}
.form__group { margin-bottom: 20px; }
.form__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4A1942;
    margin-bottom: 6px;
}
.form__input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #1f2937;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
}
.form__input:focus {
    outline: none;
    border-color: #F5A623;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}
.form__input::placeholder { color: #9ca3af; }
.form__select { cursor: pointer; }
.form__textarea { resize: vertical; min-height: 100px; }
.form__privacy {
    font-size: 0.8rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 16px;
    margin-bottom: 0;
}

/* --- Success --- */
.contact__success {
    text-align: center;
    padding: 40px 24px;
}
.contact__success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(245, 166, 35, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact__success-icon svg { width: 32px; height: 32px; }
.contact__success-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #4A1942;
    margin: 0 0 8px;
}
.contact__success-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0 0 24px;
}

/* --- Footer --- */
.footer {
    background: #1a0816;
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 0;
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__brand { max-width: 280px; }
.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 16px;
}
.footer__logo-icon { width: 36px; height: 36px; flex-shrink: 0; }
.footer__logo-accent {
    font-size: 0.7rem;
    font-weight: 500;
    color: #F5A623;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: block;
    line-height: 1.2;
}
.footer__tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}
.footer__heading {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #F5A623;
    margin: 0 0 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer__links a:hover { color: #F5A623; }
.footer__links svg { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.7; }
.footer__links--contact span {
    line-height: 1.6;
    font-size: 0.9rem;
}
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}
.footer__bottom-note { color: rgba(255, 255, 255, 0.25); }

@media (max-width: 900px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; max-width: 100%; }
}
@media (max-width: 600px) {
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; text-align: center; }
}
</style>
