/* ============================================
   Hall's Pump & Plumbing Repair
   Confident Corporate Style
   Deep Navy + Warm Gold Palette
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --navy-900: #0A1F44;
    --navy-800: #0F2D5E;
    --navy-700: #163B73;
    --navy-600: #1E4D8C;
    --gold-500: #C8A961;
    --gold-400: #D4BA7A;
    --gold-300: #E0CA94;
    --gold-600: #B8944F;
    --neutral-50: #F8F7F4;
    --neutral-100: #F0EFEC;
    --neutral-200: #E2E0DA;
    --neutral-300: #C8C5BC;
    --neutral-400: #9E9B92;
    --neutral-500: #6B6860;
    --neutral-600: #4A4842;
    --neutral-700: #2D2B26;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 2px rgba(10, 31, 68, 0.06);
    --shadow-md: 0 4px 16px rgba(10, 31, 68, 0.08);
    --shadow-lg: 0 8px 32px rgba(10, 31, 68, 0.12);
    --shadow-xl: 0 16px 48px rgba(10, 31, 68, 0.16);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-900);
}

.text-gold {
    color: var(--gold-500);
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--gold-500);
    color: var(--navy-900);
    box-shadow: 0 4px 12px rgba(200, 169, 97, 0.35);
}

.btn--primary:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 169, 97, 0.45);
}

.btn--ghost {
    background: transparent;
    color: var(--navy-900);
    border: 2px solid var(--navy-900);
}

.btn--ghost:hover {
    background: var(--navy-900);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* --- Section Shared --- */
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--neutral-500);
    max-width: 560px;
    line-height: 1.7;
}

.section-header--center {
    text-align: center;
}

.section-header--center .section-desc {
    margin: 0 auto;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--neutral-200);
    transition: all var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-900);
}

.nav__logo-accent {
    color: var(--gold-500);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--neutral-600);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav__link:hover {
    color: var(--navy-900);
    background: var(--neutral-100);
}

.nav__link--cta {
    background: var(--navy-900);
    color: var(--white) !important;
    border-radius: var(--radius-md);
    margin-left: 8px;
}

.nav__link--cta:hover {
    background: var(--navy-700);
}

.nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    transition: background var(--transition);
}

.nav__toggle:hover {
    background: var(--neutral-100);
}

.nav__toggle-bar {
    color: var(--navy-900);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--neutral-50) 0%, var(--white) 50%, #F5F3ED 100%);
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(200, 169, 97, 0.12);
    border: 1px solid rgba(200, 169, 97, 0.25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-600);
    margin-bottom: 24px;
}

.hero__headline {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--navy-900);
}

.hero__subheadline {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--neutral-500);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-600);
}

.hero__image-wrapper {
    position: relative;
}

.hero__image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-500);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.hero__image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}

.hero__image-overlay {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(to top, rgba(10, 31, 68, 0.2) 0%, transparent 40%);
}

.hero__stat-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero__stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--gold-500);
    line-height: 1;
}

.hero__stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--neutral-500);
    line-height: 1.4;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.service-card {
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
}

.service-card:hover {
    background: var(--white);
    border-color: var(--gold-500);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-900);
    border-radius: var(--radius-md);
    color: var(--gold-500);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--gold-500);
    color: var(--navy-900);
}

.service-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--navy-900);
}

.service-card__desc {
    font-size: 15px;
    color: var(--neutral-500);
    line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--neutral-50);
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__image-wrapper {
    position: relative;
}

.about__image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about__image-border {
    position: absolute;
    inset: 16px;
    border: 2px solid var(--gold-500);
    border-radius: var(--radius-xl);
    pointer-events: none;
}

.about__experience-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--navy-900);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.about__experience-number {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--gold-500);
    line-height: 1;
}

.about__experience-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--neutral-300);
    text-align: center;
    line-height: 1.4;
}

.about__content-col {
    padding-left: 16px;
}

.about__lead {
    font-size: 18px;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about__body {
    font-size: 16px;
    color: var(--neutral-500);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-600);
}

/* ============================================
   WHY US SECTION
   ============================================ */
.why-us {
    padding: 100px 0;
    background: var(--navy-900);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 169, 97, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.why-us .section-tag {
    color: var(--gold-400);
}

.why-us .section-title {
    color: var(--white);
}

.why-us .section-desc {
    color: var(--neutral-400);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
    position: relative;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-500);
    transform: translateY(-4px);
}

.why-card__number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: rgba(200, 169, 97, 0.25);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.why-card__desc {
    font-size: 15px;
    color: var(--neutral-400);
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact__lead {
    font-size: 17px;
    color: var(--neutral-500);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact__detail {
    display: flex;
    gap: 16px;
}

.contact__detail-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 169, 97, 0.12);
    border-radius: var(--radius-md);
}

.contact__detail-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neutral-400);
    margin-bottom: 4px;
}

.contact__detail-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--navy-900);
    line-height: 1.6;
}

.contact__detail-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--navy-900);
    transition: color var(--transition);
}

.contact__detail-link:hover {
    color: var(--gold-600);
}

/* --- Contact Form --- */
.contact-form {
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.contact-form__group {
    margin-bottom: 20px;
}

.contact-form__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--neutral-500);
    margin-bottom: 8px;
}

.contact-form__input {
    width: 100%;
    padding: 14px 16px;
    background: var(--white);
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--neutral-700);
    transition: all var(--transition);
    outline: none;
}

.contact-form__input::placeholder {
    color: var(--neutral-300);
}

.contact-form__input:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(200, 169, 97, 0.15);
}

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

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

.contact-form__success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.2);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    color: #16A34A;
    margin-top: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-900);
    padding: 64px 0 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer__logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

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

.footer__tagline {
    font-size: 15px;
    color: var(--neutral-400);
    line-height: 1.7;
    max-width: 300px;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer__heading {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.footer__link-col ul li {
    margin-bottom: 10px;
}

.footer__link-col ul li a,
.footer__link-col ul li {
    font-size: 15px;
    color: var(--neutral-400);
    transition: color var(--transition);
}

.footer__link-col ul li a:hover {
    color: var(--white);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer__bottom p {
    font-size: 14px;
    color: var(--neutral-500);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero__container {
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--neutral-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

    .nav__links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav__link {
        width: 100%;
        padding: 12px 16px;
    }

    .nav__link--cta {
        margin-left: 0;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding-top: 88px;
        padding-bottom: 40px;
    }

    .hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__image-wrapper {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
    }

    .hero__stat-card {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        justify-content: center;
    }

    .services {
        padding: 64px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about {
        padding: 64px 0;
    }

    .about__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__content-col {
        padding-left: 0;
    }

    .about__features {
        grid-template-columns: 1fr;
    }

    .why-us {
        padding: 64px 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact {
        padding: 64px 0;
    }

    .contact__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 24px;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__headline {
        font-size: 32px;
    }

    .hero__stat-card {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 16px;
    }

    .footer__links {
        grid-template-columns: 1fr;
    }
}
