/* =============================================
   ECOVUELA — ESTILOS PRINCIPALES
   Colores corporativos: Verde oliva #7A8C35
   ============================================= */

:root {
    --primary: #7A8C35;
    --primary-dark: #5a6b28;
    --primary-light: #9aad4a;
    --primary-xlight: #c8d88a;
    --accent: #e8a020;
    --accent-light: #f5c060;
    --danger: #e05a2b;
    --bg-warm: #faf8f2;
    --bg-cream: #f5f2e8;
    --bg-section: #f0ede0;
    --text-dark: #2c3318;
    --text-mid: #4a5a28;
    --text-light: #6b7a40;
    --white: #ffffff;
    --card-bg: #ffffff;
    --shadow: 0 4px 24px rgba(122,140,53,0.10);
    --shadow-lg: 0 12px 40px rgba(122,140,53,0.18);
    --radius: 14px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
    --font-body: 'Lato', sans-serif;
    --font-display: 'Playfair Display', serif;
}

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

html { scroll-behavior: smooth; }

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

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

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

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(122,140,53,0.12);
    transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(122,140,53,0.15); }
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo { display: flex; align-items: center; }
.logo-img { height: 52px; width: auto; }
.nav-menu { list-style: none; display: flex; gap: 0.5rem; align-items: center; }
.nav-link {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    color: var(--text-dark);
    text-transform: uppercase;
    transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
    background: var(--primary);
    color: var(--white);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 72px;
}
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-video-wrap video, .hero-video-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44,51,24,0.65) 0%,
        rgba(122,140,53,0.35) 50%,
        rgba(232,160,32,0.20) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-badge i { color: var(--accent-light); }
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.hero-title span { color: var(--accent-light); }
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.88);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(122,140,53,0.4);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}
.btn-accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-accent:hover {
    background: #c8880e;
    color: #fff;
    transform: translateY(-2px);
}
.hero-stats {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 2rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius);
    padding: 1rem 2.5rem;
}
.hero-stat { text-align: center; color: #fff; }
.hero-stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-light);
    line-height: 1;
}
.hero-stat-label { font-size: 0.75rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.07em; }

/* ---- SECTION BASICS ---- */
section { padding: 5rem 0; }
.section-alt { background: var(--bg-cream); }
.section-dark {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--text-dark) 100%);
    color: #fff;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(122,140,53,0.1);
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.section-dark .section-tag { background: rgba(255,255,255,0.15); color: var(--accent-light); }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.8rem;
}
.section-dark .section-title { color: #fff; }
.section-sub {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto;
}
.section-dark .section-sub { color: rgba(255,255,255,0.75); }

/* ---- CARDS ---- */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: #fff;
}
.card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}
.card-text { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* ---- GRID LAYOUTS ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

/* ---- FEATURES STRIP ---- */
.features-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    background: var(--primary);
    padding: 0;
}
.feature-item {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 2rem 1.5rem;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.15);
    transition: background var(--transition);
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: var(--primary-dark); }
.feature-item i { font-size: 2rem; margin-bottom: 0.75rem; color: var(--accent-light); }
.feature-item h3 { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.3rem; }
.feature-item p { font-size: 0.8rem; opacity: 0.8; }

/* ---- TECHNOLOGY SECTION ---- */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.tech-visual { position: relative; }
.tech-visual img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.tech-badge {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
}
.tech-badge i { color: var(--primary); }
.tech-badge-1 { top: 1.5rem; left: -1.5rem; }
.tech-badge-2 { bottom: 1.5rem; right: -1.5rem; }
.tech-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}
.tech-list { list-style: none; margin: 1.5rem 0 2rem; }
.tech-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(122,140,53,0.1);
    font-size: 0.97rem;
    color: var(--text-mid);
}
.tech-list li:last-child { border-bottom: none; }
.tech-list li i { color: var(--primary); margin-top: 0.2rem; flex-shrink: 0; }

/* ---- METRICS ---- */
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.metric-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: all var(--transition);
}
.metric-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.metric-num {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.metric-label { font-size: 0.85rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.08em; }
.metric-icon { font-size: 1.5rem; color: var(--primary-xlight); margin-bottom: 0.75rem; }

/* ---- DASHBOARD PREVIEW ---- */
.dashboard-preview {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}
.dash-header {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dash-header h3 { color: #fff; font-size: 0.95rem; font-weight: 700; }
.dash-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-light);
    font-size: 0.8rem;
    font-weight: 700;
}
.dash-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4ceb8a;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
.dash-body { padding: 1.5rem; }

/* ---- CHART CONTAINERS ---- */
.chart-wrap {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}
.chart-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.chart-title i { color: var(--primary); }
canvas { max-width: 100%; }

/* ---- RISK ZONES TABLE ---- */
.risk-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.risk-table th {
    background: var(--bg-section);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.risk-table td { padding: 0.75rem 1rem; border-bottom: 1px solid rgba(122,140,53,0.08); }
.risk-table tr:hover td { background: rgba(122,140,53,0.04); }
.risk-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.risk-alto { background: #fff0e8; color: #e05a2b; }
.risk-extremo { background: #ffe8e8; color: #c0251a; }
.risk-medio { background: #fff8e0; color: #b07000; }
.risk-bajo { background: #e8f4e8; color: #2a7a2a; }

/* ---- GIS SECTION ---- */
.map-container {
    height: 480px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
#leaflet-map { height: 100%; width: 100%; }

/* ---- IMAGE GALLERY ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44,51,24,0.75) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label { color: #fff; font-weight: 700; font-size: 0.9rem; }

/* ---- VIDEO SECTION ---- */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.video-embed {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
}
.video-embed video { width: 100%; display: block; max-height: 380px; object-fit: cover; }
.video-info { padding: 0 1rem; }
.video-info h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.video-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.video-tag {
    background: rgba(122,140,53,0.1);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ---- PROCESS STEPS ---- */
.process-steps { display: flex; gap: 0; position: relative; }
.process-steps::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 2.5rem;
    right: 2.5rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-xlight), var(--primary));
    z-index: 0;
}
.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}
.step-num {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 0 0 6px var(--bg-warm), var(--shadow);
    transition: all var(--transition);
}
.step:hover .step-num { background: var(--accent); transform: scale(1.1); }
.step h4 { font-size: 0.9rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.4rem; }
.step p { font-size: 0.8rem; color: var(--text-light); max-width: 140px; margin: 0 auto; }

/* ---- TESTIMONIALS / PARTNERS ---- */
.partners-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 2rem;
    opacity: 0.6;
    filter: grayscale(1);
}
.partner-logo { height: 40px; width: auto; object-fit: contain; }

/* ---- CONTACT FORM ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-info h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(122,140,53,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.05em; }
.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 2px solid rgba(122,140,53,0.2);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(122,140,53,0.12);
}
textarea.form-control { resize: vertical; min-height: 130px; }

/* ---- NDVI COLOR SCALE ---- */
.ndvi-scale {
    display: flex;
    height: 24px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: 0.5rem 0;
}
.ndvi-scale div { flex: 1; }

/* ---- SENSOR BADGES ---- */
.sensor-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.sensor-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 1.5px solid rgba(122,140,53,0.2);
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: all var(--transition);
}
.sensor-badge:hover { border-color: var(--primary); background: rgba(122,140,53,0.06); }
.sensor-badge i { color: var(--primary); }

/* ---- TABS ---- */
.tabs { border-bottom: 2px solid rgba(122,140,53,0.15); display: flex; gap: 0; margin-bottom: 2rem; }
.tab-btn {
    padding: 0.85rem 1.75rem;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-btn:hover { color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- ALERT CARDS ---- */
.alert-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all var(--transition);
}
.alert-card:hover { transform: translateX(4px); }
.alert-card.critical { border-left-color: #c0251a; }
.alert-card.warning { border-left-color: var(--accent); }
.alert-card.ok { border-left-color: #2a7a2a; }
.alert-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.alert-card.critical .alert-icon { color: #c0251a; }
.alert-card.warning .alert-icon { color: var(--accent); }
.alert-card.ok .alert-icon { color: #2a7a2a; }
.alert-body h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.2rem; }
.alert-body p { font-size: 0.85rem; color: var(--text-light); }
.alert-meta { margin-left: auto; text-align: right; font-size: 0.78rem; color: var(--text-light); white-space: nowrap; }

/* ---- PROGRESS BARS ---- */
.progress-bar { background: rgba(122,140,53,0.12); border-radius: 50px; height: 8px; overflow: hidden; margin-top: 0.4rem; }
.progress-fill { height: 100%; border-radius: 50px; background: linear-gradient(90deg, var(--primary-light), var(--primary)); transition: width 1.5s cubic-bezier(0.4,0,0.2,1); }
.progress-fill.danger { background: linear-gradient(90deg, var(--accent), var(--danger)); }

/* ---- BACK TO TOP ---- */
.back-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
}
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ---- FOOTER ---- */
.footer { background: var(--text-dark); color: rgba(255,255,255,0.75); }
.footer-top { padding: 4rem 0 3rem; }
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1.4fr;
    gap: 3rem;
}
.footer-logo { height: 56px; margin-bottom: 1rem; filter: brightness(0) invert(1) opacity(0.85); }
.footer-tagline { font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.2rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-links h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 1rem; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links ul a { font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-links ul a:hover { color: var(--primary-xlight); }
.footer-contact h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 1rem; }
.footer-contact p { font-size: 0.87rem; display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.footer-contact a { color: rgba(255,255,255,0.65); }
.footer-contact a:hover { color: var(--primary-xlight); }
.footer-cert { display: flex; gap: 0.75rem; margin-top: 1.2rem; }
.footer-cert span {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.footer-cert i { color: var(--primary-xlight); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.2rem 0;
}
.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-template-columns: none;
    gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--primary-xlight); }

/* ---- PAGE HERO (subpages) ---- */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--accent) 140%);
    padding: 7rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/drone_forest.png') center/cover no-repeat;
    opacity: 0.12;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 0.8rem; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: 1fr; gap: 2rem; }
    .tech-badge-1, .tech-badge-2 { display: none; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.open { display: flex; }
    .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-stats { display: none; }
    .process-steps { flex-direction: column; align-items: center; gap: 2rem; }
    .process-steps::before { display: none; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .footer-bottom .footer-container { flex-direction: column; text-align: center; }
    .features-strip { flex-direction: column; }
    .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .tabs { overflow-x: auto; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: 1fr; }
}
