/* ============================================
   PlumberProNow - style.css
   Production-ready with mobile enhancements
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background-color: #ffffff;
    padding: 14px 0;
    border-bottom: 2px solid #e8ecef;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: #0ea5e9;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.logo-icon {
    font-size: 22px;
}

.header-cta {
    background-color: #f7c948;
    color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(247, 201, 72, 0.35);
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px; /* Touch target */
}

.header-cta:hover {
    background-color: #f5c034;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(247, 201, 72, 0.5);
}

.header-cta:active {
    transform: translateY(0);
}

.header-cta-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.header-cta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-cta-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.header-cta-number {
    font-size: 16px;
    font-weight: 800;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(145deg, #dbeafe 0%, #e0f2fe 50%, #f0f9ff 100%);
    padding: 56px 0 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.hero h1 {
    font-size: 50px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 14px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: #475569;
    margin-bottom: 12px;
    font-weight: 400;
}

.hero-phone {
    font-size: 22px;
    margin-bottom: 28px;
    color: #1e293b;
    font-weight: 500;
}

.phone-link {
    color: #0ea5e9;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 2px solid #0ea5e9;
    padding-bottom: 1px;
    transition: color 0.2s;
}

.phone-link:hover {
    color: #0284c7;
    border-color: #0284c7;
}

/* CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f7c948;
    color: #1a1a1a;
    padding: 18px 40px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(247, 201, 72, 0.45);
    margin: 10px 0;
    min-height: 58px; /* Touch target */
    gap: 8px;
    letter-spacing: -0.3px;
}

.cta-button:hover {
    background-color: #f5c034;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(247, 201, 72, 0.55);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(247, 201, 72, 0.4);
}

.cta-large {
    font-size: 22px;
    padding: 22px 52px;
    border-radius: 16px;
}

.phone-icon {
    font-size: 22px;
}

.stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 28px;
    color: #f59e0b;
    margin: 28px 0 20px;
    letter-spacing: 3px;
    flex-wrap: wrap;
}

.stars-label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 720px;
    margin: 28px auto 0;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    background: rgba(255,255,255,0.65);
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.9);
    gap: 10px;
}

.checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    min-width: 26px;
    background-color: #f7c948;
    color: #1a1a1a;
    border-radius: 50%;
    font-weight: 800;
    font-size: 14px;
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
    background-color: #0f172a;
    padding: 18px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    gap: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    padding: 6px 4px;
}

.trust-icon {
    font-size: 18px;
    flex-shrink: 0;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 72px 0;
    background-color: #ffffff;
}

.features-section h2 {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 52px;
    letter-spacing: -0.5px;
}

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

.feature-card {
    text-align: center;
    padding: 36px 28px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 18px;
    display: block;
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
}

/* ============================================
   CTA WRAPPER
   ============================================ */
.cta-wrapper {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 48px 0;
    text-align: center;
    border-top: 1px solid #bae6fd;
    border-bottom: 1px solid #bae6fd;
}

.cta-helper {
    font-size: 16px;
    color: #475569;
    font-weight: 500;
    margin-bottom: 16px;
}

.cta-wrapper-final {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    border: none;
    padding: 64px 0;
}

.cta-final-heading {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.cta-final-sub {
    font-size: 17px;
    color: #94a3b8;
    margin-bottom: 28px;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
    padding: 72px 0;
    background-color: #ffffff;
}

.content-section.bg-light {
    background-color: #f8fafc;
}

.content-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.content-section h3 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 36px;
    margin-bottom: 16px;
}

.content-section p {
    font-size: 18px;
    color: #475569;
    line-height: 1.85;
    max-width: 860px;
    margin: 0 auto 24px;
}

.numbered-list {
    max-width: 860px;
    margin: 24px auto;
    padding-left: 28px;
}

.numbered-list li {
    font-size: 17px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 18px;
}

.numbered-list strong {
    color: #0f172a;
    font-weight: 700;
}

.closing-text {
    font-weight: 600;
    color: #1e293b !important;
    margin-top: 32px;
    padding: 24px;
    background: #fef9ee;
    border-left: 4px solid #f7c948;
    border-radius: 0 12px 12px 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 72px 0;
    background-color: #f8fafc;
}

.services-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 900px;
    margin: 0 auto 32px;
}

.service-item {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    background: #ffffff;
    border-radius: 10px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    gap: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.service-item:hover {
    border-color: #f7c948;
    box-shadow: 0 2px 8px rgba(247,201,72,0.2);
}

.service-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    min-width: 26px;
    background-color: #f7c948;
    color: #1a1a1a;
    border-radius: 50%;
    font-weight: 800;
    font-size: 14px;
}

.services-footer {
    font-size: 17px;
    color: #475569;
    line-height: 1.8;
    max-width: 860px;
    margin: 32px auto 0;
    text-align: center;
    font-style: italic;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 72px 0;
    background: linear-gradient(135deg, #fffbeb 0%, #fef9ee 100%);
    border-top: 1px solid #fde68a;
    border-bottom: 1px solid #fde68a;
}

.testimonials-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.stars-line {
    text-align: center;
    font-size: 18px;
    color: #f59e0b;
    font-weight: 700;
    margin-bottom: 44px;
    letter-spacing: 1px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid #fde68a;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.testimonial-stars {
    font-size: 20px;
    color: #f59e0b;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.75;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.testimonial-location {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 52px 0 36px;
    text-align: center;
}

.footer-logo {
    font-size: 22px;
    font-weight: 800;
    color: #f7c948;
    margin-bottom: 20px;
}

.footer p {
    margin-bottom: 12px;
    font-size: 14px;
    color: #94a3b8;
}

.footer a {
    color: #7dd3fc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #f7c948;
}

.disclaimer {
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.7;
    max-width: 860px;
    margin: 28px auto 0 !important;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
}

/* ============================================
   RESPONSIVE — 1024px (Tablet)
   ============================================ */
@media (max-width: 1024px) {
    .features-grid {
        gap: 20px;
    }
    .testimonials-grid {
        gap: 20px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   RESPONSIVE — 768px (Mobile/Tablet)
   ============================================ */
@media (max-width: 768px) {
    /* Header */
    .header {
        padding: 12px 0;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .logo {
        font-size: 20px;
    }

    .header-cta {
        padding: 10px 14px;
    }

    .header-cta-number {
        font-size: 14px;
    }

    /* Hero */
    .hero {
        padding: 40px 0 52px;
    }

    .hero h1 {
        font-size: 34px;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-phone {
        font-size: 20px;
    }

    .cta-button {
        font-size: 18px;
        padding: 16px 32px;
        min-height: 54px;
    }

    .cta-large {
        font-size: 19px;
        padding: 18px 36px;
        width: 100%;
        max-width: 360px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 420px;
    }

    /* Trust strip */
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .trust-item {
        font-size: 12px;
        white-space: normal;
    }

    /* Features */
    .features-section {
        padding: 52px 0;
    }

    .features-section h2 {
        font-size: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 28px 22px;
    }

    /* CTA Wrappers */
    .cta-final-heading {
        font-size: 28px;
    }

    /* Content sections */
    .content-section {
        padding: 52px 0;
    }

    .content-section h2 {
        font-size: 28px;
    }

    .content-section h3 {
        font-size: 22px;
    }

    .content-section p,
    .numbered-list li {
        font-size: 16px;
    }

    /* Services */
    .services-section {
        padding: 52px 0;
    }

    .services-section h2 {
        font-size: 28px;
    }

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

    /* Testimonials */
    .testimonials-section {
        padding: 52px 0;
    }

    .testimonials-section h2 {
        font-size: 28px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ============================================
   RESPONSIVE — 480px (Small Mobile)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    /* Header */
    .header-cta-label {
        display: none;
    }

    .header-cta-number {
        font-size: 15px;
    }

    .header-cta {
        padding: 10px 12px;
    }

    .logo {
        font-size: 18px;
    }

    /* Hero */
    .hero {
        padding: 32px 0 44px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 5px 12px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-phone {
        font-size: 17px;
    }

    .cta-button {
        font-size: 17px;
        padding: 16px 28px;
        width: 100%;
        max-width: 340px;
    }

    .cta-large {
        font-size: 18px;
        padding: 16px 28px;
    }

    .benefit-item {
        font-size: 14px;
        padding: 9px 12px;
    }

    .checkmark,
    .service-check {
        width: 24px;
        height: 24px;
        min-width: 24px;
        font-size: 13px;
    }

    /* Trust strip */
    .trust-strip {
        padding: 14px 0;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .trust-item {
        font-size: 12px;
        white-space: normal;
        justify-content: flex-start;
    }

    /* Feature cards */
    .feature-icon {
        font-size: 40px;
    }

    .feature-card h3 {
        font-size: 17px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .service-item {
        font-size: 14px;
        padding: 11px 12px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 24px 20px;
    }

    /* CTA final */
    .cta-final-heading {
        font-size: 24px;
    }

    .cta-final-sub {
        font-size: 15px;
    }

    .cta-wrapper-final {
        padding: 48px 0;
    }
}

/* ============================================
   UTILITY: Pulse animation for urgency
   ============================================ */
@keyframes pulse-yellow {
    0%, 100% { box-shadow: 0 4px 16px rgba(247, 201, 72, 0.45); }
    50% { box-shadow: 0 4px 28px rgba(247, 201, 72, 0.75); }
}

.cta-large {
    animation: pulse-yellow 2.5s ease-in-out infinite;
}

.cta-large:hover {
    animation: none;
}
