@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Design System Variables --- */
:root {
    --primary: #182d45;          /* Navy Blue (Branding) */
    --primary-light: #243f60;    /* Muted Navy for hover */
    --primary-dark: #0f1c2b;     /* Deep Navy for dark sections/footers */
    --accent: #a9a870;           /* Olive Green (Branding accent) */
    --accent-light: #c2c18d;     /* Lighter green for highlights */
    --accent-hover: #949360;     /* Darker olive for button hover */
    
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;         /* Light grey/off-white */
    --bg-beige: #f2eee3;         /* Muted beige from logo background */
    --text-dark: #212529;        /* Off-black for high legibility */
    --text-muted: #6c757d;       /* Muted grey for secondary texts */
    --text-light: #f8f9fa;       /* Off-white for dark background text */
    
    --border-color: #e9ecef;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 15px 40px rgba(24, 45, 69, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

input, textarea, select {
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

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

.section-padding {
    padding: 100px 0;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(169, 168, 112, 0.4);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 45, 69, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--bg-white);
    color: var(--primary);
}

.btn-white:hover {
    background-color: var(--bg-beige);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* --- Header & Navigation --- */
.header-top {
    background-color: var(--primary-dark);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 0;
    font-weight: 400;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-info i {
    color: var(--accent);
}

.header-main {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

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

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-hover);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, rgba(24, 45, 69, 0.95) 0%, rgba(15, 28, 43, 0.98) 100%), url('../img/27c7d9ee-127b-4ed1-9f66-3bf4ca10d656.png');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 120px 0 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--bg-white);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 36px;
    color: rgba(244, 245, 247, 0.9);
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-badge {
    background-color: rgba(169, 168, 112, 0.15);
    border: 1px solid var(--accent);
    color: var(--accent-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-img-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-img-container img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: var(--transition);
}

.hero-img-container:hover img {
    transform: scale(1.03);
}

/* --- Section Headers --- */
.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header.text-left .section-title::after {
    left: 0;
    transform: none;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Trust Badges (Counters) --- */
.trust-strip {
    background-color: var(--bg-beige);
    padding: 40px 0;
    border-bottom: 1px solid rgba(24, 45, 69, 0.05);
}

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

.trust-item {
    text-align: center;
}

.trust-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 5px;
    display: block;
}

.trust-number span {
    color: var(--accent);
}

.trust-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Services Showcase --- */
.services-section {
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.service-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-features {
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-light);
}

.service-features i {
    color: var(--accent);
}

/* --- Pest Cards Grid --- */
.pests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pest-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.pest-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--hover-shadow);
}

.pest-image-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--bg-light);
    margin: 0 auto 24px auto;
    overflow: hidden;
    border: 3px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pest-card:hover .pest-image-wrapper {
    border-color: var(--accent);
    background-color: var(--bg-beige);
}

.pest-image-wrapper img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.pest-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.pest-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.pest-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pest-link:hover {
    color: var(--accent);
}

/* --- Steps Section --- */
.steps-section {
    background-color: var(--bg-beige);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.step-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    box-shadow: var(--card-shadow);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(169, 168, 112, 0.3);
}

.step-card h3 {
    font-size: 1.3rem;
    margin: 15px 0 12px 0;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Why Choose Us (Features) --- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.why-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 550px;
}

.why-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    background-color: rgba(24, 45, 69, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-item:hover .feature-icon-box {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.feature-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.feature-info p {
    color: var(--text-muted);
}

/* --- Testimonials --- */
.testimonials-section {
    background-color: var(--bg-light);
}

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

.testimonial-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    position: relative;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 2.5rem;
    color: rgba(169, 168, 112, 0.25);
    position: absolute;
    top: 25px;
    right: 35px;
}

.stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 25px;
    flex-grow: 1;
    font-size: 0.98rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-beige);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.client-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    display: block;
}

.client-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-header {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--bg-white);
    transition: var(--transition);
}

.faq-header:hover {
    background-color: var(--bg-light);
}

.faq-question {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary-light);
    transition: transform 0.3s ease;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 30px;
    background-color: var(--bg-white);
}

.faq-item.active {
    border-color: var(--accent);
    box-shadow: var(--card-shadow);
}

.faq-item.active .faq-body {
    max-height: 200px; /* arbitrary height to slide down */
    padding-bottom: 24px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

/* --- Contact & CTA Stripe --- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 35px auto;
    color: rgba(244, 245, 247, 0.85);
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- Inner Page Banner --- */
.page-banner {
    background: linear-gradient(135deg, rgba(24, 45, 69, 0.95) 0%, rgba(15, 28, 43, 0.98) 100%), url('../img/6c72d2ec-87a9-4f1d-aaa8-eb677bf64a05.png');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 3rem;
    color: var(--bg-white);
    margin-bottom: 10px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(244, 245, 247, 0.7);
}

.breadcrumbs a {
    color: var(--accent);
}

.breadcrumbs a:hover {
    color: var(--accent-light);
}

/* --- Contact Page Specific --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-panel {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 50px;
    border-radius: var(--border-radius);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-panel h2 {
    color: var(--bg-white);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-info-panel p {
    color: rgba(244, 245, 247, 0.75);
    margin-bottom: 40px;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h4 {
    color: var(--bg-white);
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.info-text p, .info-text a {
    color: rgba(244, 245, 247, 0.85);
    font-size: 0.95rem;
}

.info-text a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
}

/* --- Forms --- */
.contact-form-panel {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.contact-form-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-form-panel p {
    color: var(--text-muted);
    margin-bottom: 35px;
}

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

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 14px 20px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--accent);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(169, 168, 112, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 0.88rem;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-group input {
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline;
}

.checkbox-group a:hover {
    color: var(--accent);
}

/* --- Map Container --- */
.map-section {
    padding-bottom: 100px;
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    position: relative;
    background-color: var(--bg-beige);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, rgba(240, 240, 240, 0.8) 0%, rgba(242, 238, 227, 0.8) 100%);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.map-placeholder h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.map-placeholder p {
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 20px;
}

/* --- About Page Specific --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-box {
    position: relative;
}

.about-img-box img {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(24, 45, 69, 0.25);
    text-align: center;
    border: 2px solid var(--accent);
}

.experience-years {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    display: block;
    margin-bottom: 5px;
}

.experience-text {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    padding: 24px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--accent);
    background-color: var(--bg-beige);
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

/* --- Services Page Specific --- */
.service-detail-section {
    padding: 80px 0;
}

.service-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.service-detail-row:nth-child(even) {
    direction: rtl;
}

.service-detail-row:nth-child(even) .service-detail-text {
    direction: ltr;
}

.service-detail-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 400px;
}

.service-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.service-detail-text p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.detail-bullet-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.detail-bullet-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--primary);
}

.detail-bullet-list i {
    color: var(--accent);
}

/* --- Pests Catalog Specific --- */
.plagas-intro {
    background-color: var(--bg-light);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.plagas-intro-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.plaga-tag {
    padding: 8px 18px;
    border-radius: 50px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-light);
    cursor: pointer;
    transition: var(--transition);
}

.plaga-tag:hover, .plaga-tag.active {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.pest-detail-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    padding: 40px;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.pest-detail-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 320px;
    box-shadow: var(--card-shadow);
}

.pest-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pest-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.pest-detail-scientific {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 15px;
}

.pest-detail-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pest-meta-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-bottom: 25px;
}

.meta-info-box h4 {
    font-size: 0.95rem;
    color: var(--primary-light);
    margin-bottom: 5px;
}

.meta-info-box p {
    margin: 0;
    font-size: 0.9rem;
}

/* --- Floating WhatsApp & Call Buttons --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-dark);
    color: rgba(244, 245, 247, 0.85);
    padding: 80px 0 30px 0;
    border-top: 3px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
    bottom: -8px;
    left: 0;
}

.footer-logo-desc {
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(244, 245, 247, 0.8);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-contact-item p {
    margin: 0;
    font-size: 0.95rem;
}

.footer-contact-item a {
    color: inherit;
}

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

.footer-bottom {
    border-top: 1px solid rgba(244, 245, 247, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

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

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .pests-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .why-img {
        height: 350px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .pest-detail-card {
        grid-template-columns: 1fr;
    }
    .pest-detail-img {
        height: 250px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    .header-top {
        display: none; /* Hide header top on small devices to look clean */
    }
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 30px;
        transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        overflow-y: auto;
    }
    .nav-menu.active {
        left: 0;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-img-container {
        order: -1; /* Image first on mobile */
    }
    .hero-img-container img {
        height: 300px;
    }
    .hero-content h1 {
        font-size: 2.3rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .experience-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .service-detail-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }
    .service-detail-row:nth-child(even) {
        direction: ltr;
    }
    .service-detail-img {
        height: 250px;
    }
    .detail-bullet-list {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .contact-form-panel {
        padding: 30px 20px;
    }
    .contact-info-panel {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .pests-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    .hero-btns .btn {
        width: 100%;
    }
    .cta-btns {
        flex-direction: column;
        width: 100%;
        padding: 0 10px;
    }
    .cta-btns .btn {
        width: 100%;
    }
}

/* ============================================================
   RGPD / GDPR – Cookie Consent Banner
   ============================================================ */

#cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 28, 43, 0.55);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
#cookie-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-white);
    border-top: 4px solid var(--accent);
    box-shadow: 0 -8px 40px rgba(24, 45, 69, 0.18);
    padding: 28px 0;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
#cookie-banner.visible {
    transform: translateY(0);
}

.cookie-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.cookie-text-block {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.cookie-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(169, 168, 112, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.cookie-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 680px;
}

.cookie-desc a {
    color: var(--accent-hover);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 11px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cookie-btn-accept {
    background: var(--accent);
    color: var(--primary-dark);
}
.cookie-btn-accept:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(169,168,112,0.35);
}

.cookie-btn-reject {
    background: var(--bg-light);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}
.cookie-btn-reject:hover {
    background: #e9ecef;
    color: var(--primary);
}

.cookie-btn-config {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.cookie-btn-config:hover {
    background: var(--primary);
    color: var(--text-light);
}

/* ── Preferences Modal ── */
#cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 28, 43, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
#cookie-modal.visible {
    opacity: 1;
    pointer-events: all;
}

.cookie-modal-box {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 28, 43, 0.25);
    width: 100%;
    max-width: 580px;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
#cookie-modal.visible .cookie-modal-box {
    transform: translateY(0) scale(1);
}

.cookie-modal-header {
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--bg-white);
    border-radius: 16px 16px 0 0;
}

.cookie-modal-header h3 {
    font-size: 1.3rem;
    color: var(--primary);
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.cookie-modal-close:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.cookie-modal-body {
    padding: 24px 32px;
}

.cookie-modal-body > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.65;
}

.cookie-category {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-light);
    user-select: none;
}

.cookie-cat-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-cat-label i {
    color: var(--accent);
    font-size: 1rem;
}

.cookie-cat-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
}

.cookie-cat-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cookie-cat-badge.required {
    background: rgba(24,45,69,0.08);
    color: var(--primary);
}
.cookie-cat-badge.optional {
    background: rgba(169,168,112,0.15);
    color: var(--accent-hover);
}

.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.cookie-toggle-track {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: #ced4da;
    transition: background 0.3s;
    cursor: pointer;
}
.cookie-toggle-track::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    top: 3px;
    left: 3px;
    transition: transform 0.3s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.cookie-toggle input:checked + .cookie-toggle-track {
    background: var(--accent);
}
.cookie-toggle input:checked + .cookie-toggle-track::after {
    transform: translateX(20px);
}
.cookie-toggle input:disabled + .cookie-toggle-track {
    background: var(--accent);
    opacity: 0.7;
    cursor: not-allowed;
}
.cookie-toggle input:disabled + .cookie-toggle-track::after {
    transform: translateX(20px);
}

.cookie-category-desc {
    padding: 14px 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    border-top: 1px solid var(--border-color);
    background: var(--bg-white);
}

.cookie-modal-footer {
    padding: 20px 32px 28px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

/* Re-open floating button */
#cookie-reopen {
    position: fixed;
    bottom: 90px;
    left: 20px;
    z-index: 9990;
    background: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    padding: 10px 16px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(24,45,69,0.25);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}
#cookie-reopen.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}
#cookie-reopen:hover {
    background: var(--primary-light);
    transform: translateX(0) translateY(-2px);
}

/* ============================================================
   Legal Pages (privacidad.html, cookies.html, aviso-legal.html)
   ============================================================ */
.legal-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 80px 0 60px;
    text-align: center;
}
.legal-banner h1 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 12px;
}
.legal-banner .legal-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}
.legal-banner .breadcrumbs {
    margin-top: 16px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
}
.legal-banner .breadcrumbs a { color: var(--accent-light); }
.legal-banner .breadcrumbs a:hover { text-decoration: underline; }
.legal-banner .breadcrumbs span { margin: 0 6px; }

.legal-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 50px;
    align-items: start;
    padding: 80px 0;
}

.legal-toc {
    position: sticky;
    top: 100px;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid var(--border-color);
}
.legal-toc h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-hover);
    margin-bottom: 16px;
}
.legal-toc ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.legal-toc a {
    font-size: 0.87rem;
    color: var(--text-muted);
    padding: 6px 10px;
    border-radius: 6px;
    display: block;
    transition: var(--transition);
    font-weight: 500;
}
.legal-toc a:hover { background: var(--bg-beige); color: var(--primary); }
.legal-toc a.active-anchor { background: var(--primary); color: var(--text-light); }

.legal-content { max-width: 780px; }
.legal-content h2 {
    font-size: 1.45rem;
    color: var(--primary);
    margin: 48px 0 16px;
    padding-top: 8px;
    border-top: 2px solid var(--border-color);
}
.legal-content h2:first-child { margin-top: 0; border-top: none; }
.legal-content h3 { font-size: 1.05rem; color: var(--primary-light); margin: 22px 0 10px; }
.legal-content p { color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; font-size: 0.95rem; }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 16px; list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 6px; }
.legal-content a { color: var(--accent-hover); text-decoration: underline; }
.legal-content strong { color: var(--primary); font-weight: 600; }

.legal-info-box {
    background: rgba(169,168,112,0.1);
    border-left: 4px solid var(--accent);
    border-radius: 0 8px 8px 0;
    padding: 18px 22px;
    margin: 24px 0;
}
.legal-info-box p { margin: 0; color: var(--primary-light); font-size: 0.9rem; }

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    margin: 20px 0 28px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}
.cookie-table th {
    background: var(--primary);
    color: var(--text-light);
    padding: 12px 16px;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cookie-table td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    vertical-align: top;
}
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table tr:nth-child(even) td { background: var(--bg-light); }
.cookie-table td:first-child { font-weight: 600; color: var(--primary); }

@media (max-width: 900px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-toc { position: static; }
    .cookie-inner { grid-template-columns: 1fr; }
    .cookie-buttons { justify-content: flex-start; }
}
@media (max-width: 600px) {
    .cookie-modal-header, .cookie-modal-body, .cookie-modal-footer { padding-left: 20px; padding-right: 20px; }
    .cookie-btn { font-size: 0.82rem; padding: 10px 14px; }
    .legal-banner h1 { font-size: 1.8rem; }
    #cookie-reopen { bottom: 20px; left: 12px; }
}
