/* ============================================================
   Service Pages Shared CSS - All 12 pest control service pages
   ============================================================ */

/* ─── Hero Section ─── */
.service-hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    padding: 100px 0;
}
.hero-background {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}
.hero-decorative-element {
    position: absolute;
    z-index: 2;
    opacity: 0.15;
    border-radius: 50%;
}
.hero-dec-1 {
    width: 300px; height: 300px;
    background: rgba(84, 183, 65, 0.4);
    top: -100px; left: -100px;
    animation: spFloat 6s ease-in-out infinite;
}
.hero-dec-2 {
    width: 200px; height: 200px;
    background: rgba(61, 139, 42, 0.3);
    bottom: -50px; right: -50px;
    animation: spFloat 8s ease-in-out infinite 1s;
}
.hero-dec-3 {
    width: 150px; height: 150px;
    background: rgba(84, 183, 65, 0.2);
    top: 50%; right: 10%;
    animation: spFloat 7s ease-in-out infinite 0.5s;
}
.service-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.service-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}
.service-hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}
.service-hero-title .sp-highlight {
    color: white;
    display: block;
    margin-top: 10px;
}
.service-hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}
.service-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.sp-btn-primary {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F0F0 100%);
    color: #54B741 !important;
    padding: 16px 45px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}
.sp-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    color: #54B741 !important;
}
.sp-btn-arrow { transition: transform 0.3s ease; }
.sp-btn-primary:hover .sp-btn-arrow { transform: translateX(5px); }
.sp-btn-secondary {
    background: transparent;
    color: white !important;
    padding: 16px 45px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.6);
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-block;
}
.sp-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    backdrop-filter: blur(10px);
    color: white !important;
}
.service-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    animation: spBounce 2s infinite;
}
.sp-mouse {
    width: 26px; height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 13px;
    position: relative;
    margin: 0 auto;
}
.sp-wheel {
    width: 4px; height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    animation: spScroll 1.5s infinite;
}

/* ─── Shared Animations ─── */
@keyframes spFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes spBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}
@keyframes spScroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* ─── Treatment Methods ─── */
.tm-section { margin-bottom: 80px; }
.tm-header { text-align: center; margin-bottom: 50px; }
.tm-header h2 { color: #1a1a1a; font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.tm-header p { color: #888; font-size: 16px; max-width: 560px; margin: 0 auto; }
.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tm-card {
    position: relative; border-radius: 20px; overflow: hidden;
    background: #fff; box-shadow: 0 4px 24px rgba(84,183,65,0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex; flex-direction: column;
}
.tm-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(84,183,65,0.18); }
.tm-card-top {
    background: linear-gradient(135deg, #27AE60 0%, #54B741 100%);
    padding: 36px 30px 28px; text-align: center; position: relative;
}
.tm-card:nth-child(2) .tm-card-top { background: linear-gradient(135deg, #1e7e34 0%, #28a745 100%); }
.tm-card:nth-child(3) .tm-card-top { background: linear-gradient(135deg, #155724 0%, #27AE60 100%); }
.tm-card-top::after {
    content: ''; position: absolute; bottom: -20px; left: 0; right: 0;
    height: 40px; background: #fff;
    clip-path: ellipse(55% 100% at 50% 100%);
}
.tm-icon-ring {
    width: 78px; height: 78px; border-radius: 50%;
    background: rgba(255,255,255,0.2); border: 3px solid rgba(255,255,255,0.5);
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; margin: 0 auto 16px;
    backdrop-filter: blur(6px);
}
.tm-card-label {
    display: inline-block; background: rgba(255,255,255,0.25);
    color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; padding: 4px 14px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.4);
}
.tm-card-body { padding: 34px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.tm-card-body h3 { color: #1a1a1a; font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.tm-card-body p { color: #666; line-height: 1.75; font-size: 14.5px; flex: 1; }
.tm-progress-wrap { margin-top: 22px; }
.tm-progress-label { display: flex; justify-content: space-between; font-size: 12px; color: #888; font-weight: 600; margin-bottom: 6px; }
.tm-bar { height: 6px; background: #eee; border-radius: 10px; overflow: hidden; }
.tm-bar-fill { height: 100%; border-radius: 10px; background: linear-gradient(90deg, #27AE60, #54B741); transition: width 1.2s ease; }
.tm-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tm-tag {
    font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 20px;
    background: #f0faf0; color: #27AE60; border: 1px solid #c3e6cb; letter-spacing: 0.3px;
}

/* ─── Species / Types Section ─── */
.species-section { margin-bottom: 80px; }
.species-header { text-align: center; margin-bottom: 50px; }
.species-header h2 { color: #1a1a1a; font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.species-header p { color: #888; font-size: 16px; max-width: 540px; margin: 0 auto; }
.species-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.species-card { border-radius: 20px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.08); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.species-card:hover { transform: translateY(-6px); box-shadow: 0 14px 42px rgba(0,0,0,0.14); }
.species-card-header { padding: 28px 28px 22px; background: linear-gradient(135deg, #7B3F00 0%, #B5601F 100%); color: white; position: relative; }
.species-card:nth-child(2) .species-card-header { background: linear-gradient(135deg, #8B0000 0%, #C0392B 100%); }
.species-badge { position: absolute; top: 18px; right: 18px; background: rgba(255,255,255,0.2); color: white; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.35); letter-spacing: 0.8px; text-transform: uppercase; }
.species-emoji { font-size: 52px; display: block; margin-bottom: 12px; }
.species-name { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.species-sci { font-size: 13px; opacity: 0.75; font-style: italic; }
.species-stats { display: flex; background: #f8f8f8; border-bottom: 1px solid #eee; }
.species-stat-item { flex: 1; text-align: center; padding: 14px 8px; border-right: 1px solid #eee; }
.species-stat-item:last-child { border-right: none; }
.species-stat-val { font-size: 15px; font-weight: 800; color: #333; display: block; }
.species-stat-key { font-size: 10px; color: #999; text-transform: uppercase; letter-spacing: 0.8px; }
.species-card-body { padding: 24px 28px 28px; background: #fff; }
.species-card-body p { color: #555; line-height: 1.8; font-size: 14.5px; margin-bottom: 18px; }
.species-traits { list-style: none; padding: 0; margin: 0; }
.species-traits li { display: flex; align-items: flex-start; gap: 10px; color: #555; font-size: 14px; line-height: 1.6; padding: 6px 0; border-bottom: 1px dashed #f0f0f0; }
.species-traits li:last-child { border-bottom: none; }
.species-traits li::before { content: '▸'; color: #54B741; font-size: 13px; flex-shrink: 0; margin-top: 2px; }
.species-threat { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #eee; }
.threat-label { font-size: 12px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 0.8px; }
.threat-dots { display: flex; gap: 5px; }
.threat-dot { width: 12px; height: 12px; border-radius: 50%; background: #ddd; }
.threat-dot.active { background: #e74c3c; }

/* ─── Process Timeline ─── */
.process-section { margin-bottom: 80px; }
.process-header { text-align: center; margin-bottom: 60px; }
.process-header h2 { color: #1a1a1a; font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.process-header p { color: #888; font-size: 16px; max-width: 520px; margin: 0 auto; }
.process-timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-timeline::before { content: ''; position: absolute; top: 48px; left: calc(12.5%); right: calc(12.5%); height: 3px; background: linear-gradient(90deg, #27AE60, #54B741, #27AE60, #155724); z-index: 0; }
.process-step { display: flex; flex-direction: column; align-items: center; padding: 0 16px; position: relative; z-index: 1; }
.step-node { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, #27AE60, #54B741); display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; box-shadow: 0 6px 24px rgba(84,183,65,0.35); margin-bottom: 24px; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.process-step:nth-child(2) .step-node { background: linear-gradient(135deg, #1e7e34, #27AE60); }
.process-step:nth-child(3) .step-node { background: linear-gradient(135deg, #155724, #1e7e34); }
.process-step:nth-child(4) .step-node { background: linear-gradient(135deg, #0d3b1f, #155724); }
.step-node:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(84,183,65,0.45); }
.step-node::after { content: attr(data-num); position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: white; color: #27AE60; font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.step-icon { font-size: 32px; line-height: 1; }
.step-card { background: white; border-radius: 16px; padding: 22px 20px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.07); border-top: 3px solid #54B741; width: 100%; transition: box-shadow 0.3s ease; }
.process-step:nth-child(2) .step-card { border-top-color: #27AE60; }
.process-step:nth-child(3) .step-card { border-top-color: #1e7e34; }
.process-step:nth-child(4) .step-card { border-top-color: #155724; }
.step-card:hover { box-shadow: 0 8px 32px rgba(84,183,65,0.15); }
.step-card h4 { color: #1a1a1a; font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.step-card p { color: #777; font-size: 13px; line-height: 1.7; margin: 0; }
.step-duration { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 700; color: #54B741; background: #f0faf0; padding: 3px 10px; border-radius: 20px; border: 1px solid #c3e6cb; letter-spacing: 0.3px; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .service-hero-section { min-height: 500px; padding: 60px 0; }
    .service-hero-title { font-size: 42px; }
    .service-hero-subtitle { font-size: 16px; }
    .service-hero-buttons { flex-direction: column; gap: 15px; align-items: center; }
    .service-scroll-indicator { display: none; }
}
@media (max-width: 900px) {
    .tm-grid { grid-template-columns: 1fr; }
    .species-grid { grid-template-columns: 1fr; }
    .process-timeline { grid-template-columns: 1fr 1fr; gap: 30px; }
    .process-timeline::before { display: none; }
}
@media (max-width: 600px) {
    .process-timeline { grid-template-columns: 1fr; gap: 24px; }
    .tm-header h2, .species-header h2, .process-header h2 { font-size: 27px; }
}
