/*
Theme Name: AeroAndaluza Landing
Theme URI: https://aeroandaluza.com/
Author: AeroAndaluza
Description: Tema landing page para AeroAndaluza - drones agrícolas, tratamientos e informes de finca.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: aeroandaluza
*/

:root {
    --azul: #002f6c;
    --azul-oscuro: #00285c;
    --azul-suave: #eaf2fb;
    --verde: #138a3d;
    --verde-claro: #25d366;
    --verde-suave: #eaf7ef;
    --texto: #18324a;
    --gris: #eef3f8;
    --blanco: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--texto);
    background: #ffffff;
    line-height: 1.5;
}

a {
    color: inherit;
}

.bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.62));
    z-index: -2;
}

.site-shell {
    min-height: 100vh;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,47,108,0.1);
}

.topbar-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    color: var(--azul);
}

.brand img {
    width: 116px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 15px;
    font-weight: 700;
}

.nav-links a {
    text-decoration: none;
    color: var(--azul);
}

.nav-links .nav-cta {
    color: #ffffff;
    background: var(--verde);
    padding: 10px 16px;
    border-radius: 999px;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
}

.hero {
    padding: 76px 0 48px;
}

.hero-card {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.68);
    border-radius: 30px;
    box-shadow: 0 22px 70px rgba(0,47,108,0.20);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 52px 42px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 38px;
    align-items: center;
}

.hero-logo {
    width: 320px;
    max-width: 100%;
    height: auto;
    margin-bottom: 26px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--verde);
    background: rgba(19,138,61,0.10);
    border: 1px solid rgba(19,138,61,0.20);
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 18px;
}

.hero h1 {
    margin: 0;
    color: var(--azul);
    font-size: clamp(38px, 5vw, 68px);
    line-height: 0.98;
    letter-spacing: -2px;
}

.hero-subtitle {
    margin: 22px 0 0;
    font-size: 22px;
    color: #28465f;
    max-width: 680px;
}

.hero-claim {
    margin-top: 20px;
    color: var(--verde);
    font-weight: 900;
    font-size: 22px;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    border: 0;
    box-shadow: 0 8px 20px rgba(0,47,108,0.16);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0,47,108,0.20);
    opacity: .96;
}

.btn-primary {
    background: var(--verde-claro);
    color: #ffffff;
}

.btn-blue {
    background: var(--azul);
    color: #ffffff;
}

.btn-light {
    background: #ffffff;
    color: var(--azul);
    border: 1px solid rgba(0,47,108,0.14);
}

.quick-card {
    background: rgba(0,47,108,0.92);
    border-radius: 26px;
    color: #ffffff;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.quick-card:after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(37,211,102,0.25);
    right: -70px;
    bottom: -80px;
}

.quick-card h2 {
    margin: 0 0 18px;
    font-size: 30px;
    line-height: 1.1;
}

.quick-list {
    display: grid;
    gap: 13px;
    position: relative;
    z-index: 1;
}

.quick-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 18px;
    font-weight: 700;
}

.quick-item span {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: rgba(37,211,102,0.20);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.section {
    padding: 48px 0;
}

.section-card {
    background: rgba(255,255,255,0.86);
    border-radius: 28px;
    padding: 42px;
    box-shadow: 0 16px 52px rgba(0,47,108,0.12);
    border: 1px solid rgba(255,255,255,0.65);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.section-title {
    text-align: center;
    margin-bottom: 34px;
}

.section-title h2 {
    margin: 0;
    color: var(--azul);
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -1px;
}

.section-title p {
    margin: 12px auto 0;
    max-width: 760px;
    font-size: 19px;
    color: #4d6479;
}

.problem-grid,
.service-grid,
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.tile {
    background: #ffffff;
    border-radius: 22px;
    padding: 25px;
    border: 1px solid rgba(0,47,108,0.10);
    box-shadow: 0 8px 24px rgba(0,47,108,0.07);
}

.tile-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--verde-suave);
    color: var(--verde);
    font-size: 28px;
    margin-bottom: 16px;
}

.tile h3 {
    margin: 0 0 10px;
    color: var(--azul);
    font-size: 21px;
}

.tile p {
    margin: 0;
    color: #50677b;
    font-size: 16px;
}

.problem-tile {
    background: linear-gradient(180deg, #ffffff, #f8fbfe);
}

.banner {
    background: linear-gradient(135deg, rgba(0,47,108,0.95), rgba(19,138,61,0.92));
    color: #ffffff;
    border-radius: 28px;
    padding: 42px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    box-shadow: 0 18px 55px rgba(0,47,108,0.20);
}

.banner h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
}

.banner p {
    margin: 12px 0 0;
    font-size: 19px;
    opacity: .94;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: step;
}

.step {
    background: #ffffff;
    border-radius: 22px;
    padding: 24px;
    border: 1px solid rgba(0,47,108,0.10);
    position: relative;
}

.step:before {
    counter-increment: step;
    content: counter(step);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--azul);
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 18px;
}

.step h3 {
    margin: 0 0 10px;
    color: var(--azul);
}

.step p {
    margin: 0;
    color: #50677b;
}

.crops {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.crop {
    background: #ffffff;
    color: var(--azul);
    border: 1px solid rgba(0,47,108,0.12);
    padding: 11px 16px;
    border-radius: 999px;
    font-weight: 800;
}

.contact-card {
    text-align: center;
    background: rgba(255,255,255,0.90);
    border-radius: 30px;
    padding: 46px 32px;
    box-shadow: 0 20px 62px rgba(0,47,108,0.18);
    border: 1px solid rgba(255,255,255,0.70);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-card h2 {
    margin: 0;
    color: var(--azul);
    font-size: clamp(32px, 4vw, 52px);
    letter-spacing: -1px;
}

.contact-card p {
    margin: 14px auto 0;
    max-width: 720px;
    font-size: 19px;
    color: #4d6479;
}

.contact-data {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-weight: 900;
    color: var(--azul);
}

.site-footer {
    padding: 30px 22px 96px;
    text-align: center;
    color: #ffffff;
    background: rgba(0,47,108,0.94);
}

.site-footer img {
    width: 160px;
    height: auto;
    margin-bottom: 12px;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.16));
}

.float-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    background: var(--verde-claro);
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(0,0,0,0.24);
}

.mobile-bottom-bar {
    display: none;
}

@media (max-width: 980px) {
    .hero-card {
        grid-template-columns: 1fr;
    }

    .problem-grid,
    .service-grid,
    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .banner .cta-actions {
        justify-content: center;
    }
}

@media (max-width: 760px) {
    .nav-links {
        display: none;
    }

    .topbar-inner {
        justify-content: center;
    }

    .brand img {
        width: 138px;
    }

    .hero {
        padding: 34px 0 28px;
    }

    .hero-card,
    .section-card,
    .banner,
    .contact-card {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .hero-logo {
        width: 240px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .hero h1,
    .hero-subtitle,
    .hero-claim,
    .eyebrow {
        text-align: center;
    }

    .hero-actions,
    .cta-actions {
        justify-content: center;
    }

    .btn {
        width: 100%;
    }

    .quick-card {
        padding: 26px 20px;
    }

    .problem-grid,
    .service-grid,
    .benefit-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 28px 0;
    }

    .float-whatsapp {
        display: none;
    }

    .mobile-bottom-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 90;
        display: grid;
        grid-template-columns: 1fr 1fr;
        background: #ffffff;
        box-shadow: 0 -8px 24px rgba(0,0,0,0.14);
    }

    .mobile-bottom-bar a {
        padding: 14px 10px;
        text-align: center;
        text-decoration: none;
        font-weight: 900;
        color: #ffffff;
    }

    .mobile-bottom-bar .call {
        background: var(--azul);
    }

    .mobile-bottom-bar .wa {
        background: var(--verde-claro);
    }
}
