/* ===========================
   MOSQUITO CONTROL 365 - CSS
   =========================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --accent: #e67e22;
    --accent-dark: #d35400;
    --accent-light: #f39c12;
    --dark: #1e272e;
    --dark-mid: #2c3e50;
    --charcoal: #34495e;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --text-gray: #7f8c8d;
    --border: #ecf0f1;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ---- HEADER ---- */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 3px solid var(--accent);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

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

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo-accent { color: var(--accent); }

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.header-tagline {
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-phone {
    color: var(--accent-dark);
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color 0.2s;
}

.header-phone:hover { color: var(--accent); }

/* ---- HERO ---- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('hero.png') center/cover no-repeat;
    opacity: 0.35;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(30,39,46,0.9) 0%, rgba(30,39,46,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    width: 100%;
}

.hero-text { max-width: 650px; }

.hero-location {
    display: inline-block;
    background: rgba(230, 126, 34, 0.2);
    color: var(--accent-light);
    border: 1px solid rgba(230, 126, 34, 0.4);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 8px 20px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(42px, 6vw, 64px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: #bdc3c7;
    margin-bottom: 36px;
    max-width: 580px;
    font-weight: 300;
}

.hero-note {
    color: #95a5a6;
    font-size: 15px;
    margin-top: 20px;
    font-weight: 500;
}

/* ---- CTA BUTTONS ---- */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    border-radius: 100px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.cta-btn--large {
    font-size: clamp(20px, 3vw, 28px);
    padding: 20px 48px;
    box-shadow: 0 8px 30px rgba(230, 126, 34, 0.4);
}

.cta-btn--accent {
    font-size: 18px;
    padding: 16px 36px;
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.3);
}

.cta-btn--white {
    background: var(--white);
    color: var(--dark);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-4px) scale(1.02);
    background: var(--accent-dark);
    box-shadow: 0 12px 40px rgba(230, 126, 34, 0.5);
}

.cta-btn--white:hover {
    background: var(--off-white);
    color: var(--accent-dark);
}

.cta-icon { font-size: 1.1em; }

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.7); }
    70% { box-shadow: 0 0 0 25px rgba(230, 126, 34, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 126, 34, 0); }
}

.pulse-btn { animation: pulse-ring 2.5s infinite; }

/* ---- TRUST SECTION ---- */
.trust-section {
    background: var(--dark);
    padding: 36px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--white);
}

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

.trust-label {
    font-size: 14px;
    color: #bdc3c7;
    line-height: 1.4;
}

.trust-label strong {
    display: block;
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

/* ---- SERVICES SECTION ---- */
.services-section {
    padding: 90px 0;
    background: var(--off-white);
}

.services-inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 70px;
    align-items: start;
}

.section-eyebrow {
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 16px;
}

.section-eyebrow--light { color: var(--accent-light); }

.section-title {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

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

.section-desc {
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.pest-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
}

.pest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    color: var(--dark-mid);
    font-weight: 600;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.check {
    color: var(--accent);
    font-weight: 900;
    font-size: 18px;
    flex-shrink: 0;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    margin-bottom: 24px;
    border-top: 4px solid var(--accent);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
}

.service-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-card ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--charcoal);
    font-weight: 500;
}

.service-card ul li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 800;
    flex-shrink: 0;
    background: rgba(230, 126, 34, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

/* ---- WHY SECTION ---- */
.why-section {
    background: var(--dark);
    padding: 90px 0;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 60px;
}

.why-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 40px 24px;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(230, 126, 34, 0.4);
}

.why-icon {
    font-size: 46px;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.why-card p {
    font-size: 15px;
    color: #95a5a6;
    line-height: 1.6;
}

/* ---- HOW IT WORKS ---- */
.how-section {
    padding: 90px 0;
    background: var(--white);
    text-align: center;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin: 60px auto 50px;
    max-width: 900px;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-size: 32px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(230, 126, 34, 0.3);
    flex-shrink: 0;
}

.step-connector {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    margin-top: 36px;
    flex-shrink: 0;
    opacity: 0.3;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ---- FOOTER CTA ---- */
.footer-cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    padding: 90px 0;
    text-align: center;
}

.footer-cta-location {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.footer-cta-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.footer-cta-sub {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 44px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

/* ---- SITE FOOTER ---- */
.site-footer {
    background: #111518;
    padding: 50px 0;
}

.footer-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

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

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-disclaimer {
    color: #556270;
    font-size: 13px;
    max-width: 800px;
    line-height: 1.6;
    text-align: center;
}

.footer-disclaimer a { color: #7f8c8d; text-decoration: underline; }

.footer-copy {
    color: #4a545e;
    font-size: 13px;
    font-weight: 500;
}

/* ---- MODALS ---- */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal:target { display: flex; }

.modal-box {
    background: var(--white);
    border-radius: 20px;
    padding: 44px;
    max-width: 600px;
    width: 100%;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 20px;
    color: var(--text-gray);
    text-decoration: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--off-white);
    transition: all 0.2s;
    font-weight: 700;
}

.modal-close:hover {
    background: var(--accent);
    color: var(--white);
}

.modal-box h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.modal-box h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin: 24px 0 12px;
}

.modal-box p {
    color: var(--charcoal);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.modal-box a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

/* ---- ANIMATIONS ---- */
.animate-in {
    opacity: 1 !important;
    transform: none !important;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .services-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .hero-text { max-width: 100%; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
}

@media (max-width: 900px) {
    .trust-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { flex-direction: column; align-items: center; gap: 32px; margin-top: 40px; }
    .step-connector { width: 3px; height: 40px; margin: 16px 0 0; }
}

@media (max-width: 600px) {
    .trust-grid, .why-grid, .pest-grid { grid-template-columns: 1fr; }
    .header-tagline { display: none; }
    .hero { min-height: 500px; }
    .modal-box { padding: 32px 24px; }
    .hero-title { font-size: 38px; }
    .footer-cta-title { font-size: 32px; }
}
