/* Modern Design Tokens and Overrides for Grupo INGENII */
html {
    scroll-behavior: smooth;
}

:root {
    --modern-green: #1B3A1C;
    /* Dark Forest Green for Footer/Accents */
    --modern-light-green: #4BAF47;
    /* Main Theme Green */
    --modern-white: #FFFFFF;
    --modern-gray: #555555;
    --modern-black: #0A0A0A;
    --modern-text: #333333;
    --modern-border: #E5E5E5;
}

/* Language Switcher Styles */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.lang-switcher a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--modern-white) !important;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

/* Mobile Lang Switcher Overrides */
.mobile-lang-switcher {
    margin: 20px auto;
    justify-content: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 15px;
}

.mobile-lang-switcher a {
    color: var(--modern-gray);
}

.mobile-lang-switcher a.active {
    color: var(--modern-light-green) !important;
}

body {
    color: var(--modern-text);
    font-family: 'Manrope', 'Inter', sans-serif;
    background: #fff;
}

.fe-display,
.fe-headline,
h1,
h2,
h3 {
    font-family: 'Inter', 'Manrope', sans-serif;
}

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

.modern-title {
    font-weight: 800;
    text-transform: uppercase;
    color: var(--modern-text);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.modern-subtitle {
    color: var(--modern-light-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

/* Header Adjustments */
.nav-header.header-layout1 {
    background-color: var(--modern-green) !important;
    position: relative;
    width: 100%;
    z-index: 999;
}

/* Light Header Override (for about.html) */
.nav-header.header-light {
    background-color: var(--modern-white) !important;
    border-bottom:
        1px solid rgba(0, 0, 0, 0.05);
}

.header-light .main-menu ul li a {
    color: var(--modern-black) !important;
}

.header-light .lang-switcher a {
    color: rgba(0, 0, 0, 0.4);
}

.header-light .lang-switcher a.active {
    color: var(--modern-black) !important;
}

.header-light .lang-divider {
    color: rgba(0, 0, 0, 0.1);
}

.header-light .sticky-wrapper.sticky .menu-area {
    background: rgba(255, 255, 255, 1) !important;
}

.sticky-wrapper.sticky .menu-area {
    background: var(--modern-teal) !important;
    backdrop-filter: blur(5px);
}

.main-menu ul li a {
    color: var(--modern-white) !important;
    font-weight: 500;
}

.sticky .main-menu ul li a {
    color: var(--modern-white) !important;
}

.btn-header {
    background-color: var(--modern-light-green);
    color: white !important;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: 0.3s;
}

.header-light .btn-header {
    background-color: var(--modern-green);
}

.menu-toggle.icon-btn i {
    color: var(--modern-white) !important;
}

.header-light .menu-toggle.icon-btn i {
    color: var(--modern-black) !important;
}

.btn-header:hover {
    background-color: var(--modern-green);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(27, 58, 28, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.hero-slider .container {
    position: relative;
    z-index: 2;
}

.hero-style1 {
    text-align: center !important;
}

.hero-title {
    font-size: 64px !important;
    font-weight: 800 !important;
    color: var(--modern-white) !important;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 20px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 800px;
    margin: 0 auto 40px auto !important;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-hero-white {
    background: white;
    color: var(--modern-green);
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Quality Policy */
.quality-box {
    background-color: var(--modern-teal);
    color: white;
    padding: 60px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 400px;
}

.quality-box h4 {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.quality-box h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    color: white;
}

/* Value Cards */
.value-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 40px;
    color: var(--modern-light-green);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 14px;
    line-height: 1.6;
}

/* Service Cards */
.service-card-modern {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-img-wrapper {
    height: 300px;
    overflow: hidden;
}

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

.service-content-modern {
    padding: 30px;
}

.service-content-modern h3 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.service-link {
    color: var(--modern-light-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

/* Experience Section */
.exp-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.exp-img-wrapper {
    height: 250px;
}

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

.exp-content {
    padding: 30px;
}

.exp-progress-wrapper {
    background: #F0F4F0;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.exp-pct {
    font-size: 24px;
    font-weight: 800;
    color: var(--modern-light-green);
}

/* Footer Modern */
.footer-modern {
    background-color: var(--modern-green);
    color: white;
    padding: 80px 0 20px 0;
}

.footer-modern a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-modern a:hover {
    color: white;
}

.footer-title-modern {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.map-container {
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.copyright-modern {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 60px;
    font-size: 12px;
    opacity: 0.6;
}

.social-links-footer {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links-footer a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--modern-white) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    font-size: 16px;
}

.social-links-footer a:hover {
    background: var(--modern-light-green);
    color: white !important;
    transform: translateY(-3px);
}

/* Typography Overrides for Pixel-Perfect Mockup */
.modern-title-giant {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--modern-black);
    margin-bottom: 25px;
}

.modern-title-section {
    font-size: 40px;
    font-weight: 800;
    color: var(--modern-black);
    margin-bottom: 20px;
}

.modern-highlight {
    color: var(--modern-light-green);
}

.sec-text-large {
    font-size: 18px;
    line-height: 1.7;
    color: var(--modern-gray);
    margin-bottom: 20px;
}

/* Browser Frame Effect */
.browser-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    background: white;
}

.browser-frame::before {
    content: "";
    display: block;
    height: 30px;
    background: #F5F5F5;
    border-bottom: 1px solid #EDEDED;
}

/* Avatar Group Styles */
.avatar-group {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.avatars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
    margin-left: -15px;
    background: #CCC;
}

.avatar-text {
    font-size: 14px;
    font-style: italic;
    color: var(--modern-gray);
}

/* Card V2 Styles */
.modern-card-v2 {
    background: #FFFBF0;
    /* Soft Cream Color */
    border-radius: 20px;
    padding: 50px 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    /* Slightly darker shadow */
    transition: 0.4s;
    height: 100%;
}

.modern-card-v2:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    /* Even darker on hover */
    transform: translateY(-8px);
}

.icon-box-square {
    width: 60px;
    height: 60px;
    background: #F4FAF4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.icon-box-square i {
    font-size: 24px;
    color: var(--modern-light-green);
}

/* Medio Ambiente Page Specific Styles */
.env-hero-wrapper {
    padding: 20px;
    /* Space around the hero image */
}

.env-hero-section {
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.env-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 58, 28, 0.75);
    /* --modern-green translucent darker */
    z-index: 1;
}

.env-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.env-hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #FFFFFF;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.env-hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.6;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.env-hero-btn {
    background: white;
    color: var(--modern-green);
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    transition: 0.3s;
}

.env-hero-btn:hover {
    background: var(--modern-light-green);
    color: white;
}

.section-top-link {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.link-right {
    color: var(--modern-gray);
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.link-right:hover {
    color: var(--modern-light-green);
}

.impact-box {
    background-color: #F4F5F6;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 50px;
}

.impact-box h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.impact-box p {
    color: var(--modern-gray);
    margin-bottom: 40px;
}

.stat-item i {
    font-size: 24px;
    color: var(--modern-light-green);
    margin-bottom: 15px;
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--modern-green);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--modern-gray);
    letter-spacing: 1px;
}

.project-card-modern {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card-modern h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
}

.project-card-modern p {
    color: var(--modern-gray);
    font-size: 15px;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E8F5E9;
    color: var(--modern-green);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.pill-badge i {
    color: var(--modern-light-green);
}

.cta-split-container {
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-image-side {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.cta-content-side {
    flex: 1;
    background-color: var(--modern-green);
    padding: 60px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-content-side h2 {
    color: white;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content-side p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.cta-btns {
    display: flex;
    gap: 15px;
}

.cta-btn-white {
    background: white;
    color: var(--modern-green);
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.cta-btn-white:hover {
    background: #f0f0f0;
}

.cta-btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .cta-split-container {
        flex-direction: column;
    }

    .cta-image-side {
        min-height: 300px;
    }
}

/* ======================================================
   FOREST EMERALD DESIGN SYSTEM — All Services Page
   Based on DESIGN.md: Creative North Star "Regenerative Architect"
====================================================== */

/* --- Colour tokens --- */
:root {
    --fe-emerald: #2D6A4F;
    --fe-emerald-dk: #1B4332;
    --fe-midnight: #0b1315;
    --fe-slate-0: #f6f7f8;
    --fe-slate-1: #ffffff;
    --fe-label: rgba(45, 106, 79, 0.65);
}

/* --- Display-First typography --- */
.fe-display {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.033em;
}

.fe-headline {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.fe-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* --- Section spacing (80–120 px breathing room) --- */
.fe-section {
    padding: 110px 0;
}

.fe-section-sm {
    padding: 70px 0;
}

/* --- Hero block --- */
.fe-hero {
    background-color: var(--fe-midnight);
    color: #fff;
    padding: 130px 0 90px;
    position: relative;
    overflow: hidden;
}

.fe-hero-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fe-emerald);
    margin-bottom: 20px;
    display: block;
}

.fe-hero-highlight {
    color: var(--fe-emerald);
}

.fe-hero-body {
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin-top: 24px;
}

.fe-hero-decor {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 106, 79, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

/* --- Section number label --- */
.fe-section-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fe-emerald);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.fe-section-num::after {
    content: '';
    display: block;
    flex: 1;
    height: 1px;
    background: rgba(45, 106, 79, 0.2);
    max-width: 60px;
}

/* --- Card: standard white card with shadow-sm --- */
.fe-card {
    background: var(--fe-slate-1);
    border-radius: 0.5rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    padding: 36px;
    height: 100%;
}

/* --- Card: emerald tinted for impact --- */
.fe-card-emerald {
    background: var(--fe-emerald);
    border-radius: 0.5rem;
    padding: 36px;
    color: #fff;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.fe-card-emerald::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.06);
}

/* --- Card: dark inverted for featured/compliance --- */
.fe-card-dark {
    background: #0f2318;
    border-radius: 0.5rem;
    padding: 36px;
    color: #fff;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* --- Glass overlay badge --- */
.fe-glass-badge {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.5rem;
    padding: 20px 28px;
    color: #fff;
}

/* --- Icon box (brand tint 5%) --- */
.fe-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 106, 79, 0.08);
    color: var(--fe-emerald);
    border-radius: 6px;
    font-size: 18px;
    margin-bottom: 18px;
    flex-shrink: 0;
}

/* --- Checklist --- */
.fe-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fe-checklist li {
    padding: 10px 0 10px 32px;
    position: relative;
    font-size: 15px;
    color: #444;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.fe-checklist li:last-child {
    border-bottom: none;
}

.fe-checklist li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 11px;
    color: var(--fe-emerald);
    font-size: 12px;
}

/* --- Stat badge (large number + small label) --- */
.fe-stat-badge {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fe-stat-number {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    color: #fff;
}

.fe-stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Row-service item (residuos/studies list rows) --- */
.fe-row-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.fe-row-item:last-child {
    border-bottom: none;
}

.fe-row-item-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.fe-row-item-text {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* --- Tag pills (MIA, ERA, IP, ENVA) --- */
.fe-tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.fe-tag {
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(45, 106, 79, 0.08);
    color: var(--fe-emerald);
    border: 1px solid rgba(45, 106, 79, 0.2);
    cursor: default;
}

/* --- Compliance block (section 05) --- */
.fe-compliance-block {
    background: #0d1f18;
    border-radius: 0.5rem;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.fe-compliance-block::before {
    content: '';
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 106, 79, 0.3) 0%, transparent 65%);
    pointer-events: none;
}

.fe-compliance-badge {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--fe-emerald);
    border: 1px solid var(--fe-emerald);
    padding: 6px 18px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 24px;
}

.fe-quote-box {
    background: rgba(255, 255, 255, 0.07);
    border-left: 3px solid var(--fe-emerald);
    border-radius: 0 6px 6px 0;
    padding: 20px 24px;
    font-size: 14px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-top: 30px;
}

/* --- Gradient image overlay card (dark card with image texture) --- */
.fe-img-card {
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}

.fe-img-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 19, 21, 0.88) 0%, rgba(11, 19, 21, 0.2) 100%);
}

.fe-img-card-content {
    position: relative;
    z-index: 2;
    padding: 28px;
    color: #fff;
}

/* --- Horizontal metric row (monitoring stat) --- */
.fe-monitor-stat {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}

.fe-monitor-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.08em;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .fe-section {
        padding: 70px 0;
    }

    .fe-hero {
        padding: 90px 0 60px;
    }

    .fe-hero-decor {
        display: none;
    }

    .fe-compliance-block {
        padding: 36px 24px;
    }
}

@media (max-width: 767px) {
    .fe-stat-number {
        font-size: 30px;
    }

    .fe-monitor-stat {
        font-size: 36px;
    }
}

/* ======================================================
   SERVICIOS MEDIO AMBIENTE PAGE (servicios-medio-ambiente.html)
   All .sma-* classes — Forest Emerald Design System
====================================================== */

/* ---- Shared section anatomy ---- */
.sma-section {
    padding: 90px 0;
}

.sma-section-sm {
    padding: 60px 0;
}

.sma-section-label {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #2D6A4F;
    margin-bottom: 48px;
}

.sma-section-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: #2D6A4F;
    flex-shrink: 0;
}

/* ---- Hero ---- */
.sma-hero {
    background-color: #0c1712;
    padding: 48px 0 72px;
    position: relative;
    overflow: hidden;
}

.sma-hero-breadcrumb {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 22px;
}

.sma-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(48px, 7.5vw, 88px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: #fff;
    margin-bottom: 0;
}

.sma-hero-title .accent {
    color: #2D6A4F;
}

.sma-hero-body {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.5);
    max-width: 380px;
    margin-top: 24px;
}

/* ---- 01. Suelos ---- */
.sma-suelos {
    background: #f5f6f7;
}

.sma-card-white {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 36px;
    height: 100%;
}

.sma-card-icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(45, 106, 79, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2D6A4F;
    font-size: 20px;
    margin-bottom: 20px;
}

.sma-card-title {
    font-size: 19px;
    font-weight: 800;
    color: #111;
    margin-bottom: 14px;
    line-height: 1.25;
}

.sma-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sma-checklist li {
    position: relative;
    padding: 9px 0 9px 26px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.sma-checklist li:last-child {
    border-bottom: none;
}

.sma-checklist li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 10px;
    color: #2D6A4F;
    font-size: 11px;
}

.sma-card-emerald {
    background: #2D6A4F;
    border-radius: 8px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.sma-card-emerald-label {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.sma-card-emerald-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.sma-card-emerald-body {
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.sma-card-emerald::after {
    content: '';
    position: absolute;
    right: -30px;
    top: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.sma-img-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    min-height: 180px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.sma-img-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 15, 10, 0.88) 0%, rgba(5, 15, 10, 0.2) 100%);
}

.sma-img-card-content {
    position: relative;
    z-index: 2;
    padding: 22px;
}

.sma-img-card-label {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2D6A4F;
    margin-bottom: 8px;
}

.sma-img-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

/* ---- 02. Agua y Aire ---- */
.sma-agua {
    background: #fff;
}

.sma-agua-img-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.sma-agua-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 30, 25, 0.85) 0%, rgba(10, 30, 25, 0.15) 60%);
}

.sma-agua-img-content {
    position: relative;
    z-index: 2;
    padding: 24px;
}

.sma-agua-img-sublabel {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
}

.sma-agua-img-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.sma-agua-img-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0;
}

.sma-monitor-card {
    background: #2D6A4F;
    border-radius: 8px;
    padding: 36px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 340px;
    position: relative;
    overflow: hidden;
}

.sma-monitor-card::before {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.sma-monitor-heading {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.2;
}

.sma-monitor-num {
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.sma-monitor-sub {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 6px;
}

.sma-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7DFFB3;
    margin-right: 7px;
    animation: sma-pulse 2s infinite;
}

@keyframes sma-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.5);
    }
}

/* ---- 03. Residuos ---- */
.sma-residuos {
    background: #f5f6f7;
}

.sma-residuos-heading {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: #111;
    line-height: 1.2;
}

.sma-residuos-body {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-top: 14px;
}

.sma-row-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sma-row-item:first-child {
    padding-top: 0;
}

.sma-row-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sma-row-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 106, 79, 0.08);
    color: #2D6A4F;
    font-size: 17px;
}

.sma-row-title {
    font-size: 15px;
    font-weight: 800;
    color: #111;
    margin-bottom: 5px;
}

.sma-row-body {
    font-size: 13px;
    color: #777;
    line-height: 1.65;
    margin: 0;
}

/* ---- 04. Estudios ---- */
.sma-estudios {
    background: #fff;
}

.sma-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.sma-tag {
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(45, 106, 79, 0.07);
    color: #2D6A4F;
    border: 1px solid rgba(45, 106, 79, 0.2);
}

.sma-tag-sm {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #f0f0f0;
    color: #555;
}

.sma-estudios-heading {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin-bottom: 16px;
}

.sma-estudios-body {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
}

.sma-globe-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #062016;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}

.sma-globe-card-footer {
    position: relative;
    z-index: 2;
    background: linear-gradient(to top, rgba(6, 32, 22, 1) 0%, rgba(6, 32, 22, 0.6) 100%);
    padding: 28px;
    width: 100%;
}

.sma-globe-card-label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2D6A4F;
    margin-bottom: 8px;
}

.sma-globe-card-title {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    font-style: italic;
    margin: 0;
    line-height: 1.1;
}

/* ---- 05. Gestoria — split card ---- */
.sma-gestoria {
    padding: 90px 0;
}

.sma-gestoria-card {
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    min-height: 480px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.sma-gestoria-left {
    flex: 1;
    background: #112030;
    padding: 52px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sma-gestoria-label {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sma-gestoria-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 3px;
    background: #52b788;
    flex-shrink: 0;
}

.sma-gestoria-heading {
    font-size: clamp(34px, 5.5vw, 58px);
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.sma-gestoria-body {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
}

.sma-gestoria-right {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 48px 40px;
    overflow: hidden;
}

/* Dark gradient overlay so text stays readable over the photo */
.sma-gestoria-right-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(8, 15, 18, 0.82) 0%,
            rgba(8, 15, 18, 0.65) 50%,
            rgba(8, 15, 18, 0.80) 100%);
    z-index: 0;
    pointer-events: none;
}

.sma-gestoria-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(45, 106, 79, 0.12);
    pointer-events: none;
}

.sma-gestoria-circle::before {
    content: '';
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    border: 1px solid rgba(45, 106, 79, 0.08);
}

.sma-gestoria-circle::after {
    content: '';
    position: absolute;
    inset: 60px;
    border-radius: 50%;
    border: 1px solid rgba(45, 106, 79, 0.06);
}

.sma-gestoria-quote {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 22px 26px;
    font-size: 13px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    width: 100%;
}

.sma-gestoria-compliance {
    position: relative;
    z-index: 2;
    text-align: center;
}

.sma-gestoria-compliance-text {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 900;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.sma-gestoria-compliance-sub {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 6px;
}

@media (max-width: 991px) {
    .sma-gestoria-card {
        flex-direction: column;
    }

    .sma-gestoria-right {
        min-height: 380px;
    }

    .sma-gestoria-left {
        padding: 36px 28px;
    }
}