:root {
    --verde-irlandes: #169b45;
    /* Verde Irlandés vibrante */
    --verde-oscuro: #0d7233;
    /* Verde oscuro para contraste */
    --amarillo-dorado: #ffd700;
    /* Dorado brillante */
    --amarillo-oscuro: #e6c300;
    /* Dorado oscuro */
    --blanco: #ffffff;
    --blanco-hueso: #f8f9fa;
    --gris-claro: #e9ecef;
    --gris: #6c757d;
    --gris-oscuro: #343a40;
    --negro: #121212;
    --sombra: rgba(0, 0, 0, 0.1);
    --transicion: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--gris-oscuro);
    background-color: var(--blanco-hueso);
    overflow-x: hidden;
}

/* Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--blanco);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-icon {
    font-size: 5rem;
    color: var(--verde-irlandes);
    margin-bottom: 20px;
    animation: loaderPulse 1.5s infinite;
}

.loader-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--verde-oscuro);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

@keyframes loaderPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 10px rgba(22, 155, 69, 0.3));
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--verde-oscuro);
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--verde-irlandes) 0%, var(--amarillo-dorado) 100%);
    border-radius: 2px;
}

h2.centrado:after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
    color: var(--verde-irlandes);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.seccion {
    padding: 100px 0;
    position: relative;
}

.seccion-clara {
    background-color: var(--blanco);
}

.seccion-verde {
    background-color: var(--verde-irlandes);
    color: var(--blanco);
}

.seccion-verde h2,
.seccion-verde h3 {
    color: var(--blanco);
}

.seccion-verde h2:after {
    background: var(--amarillo-dorado);
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--verde-irlandes) 0%, var(--verde-oscuro) 100%);
    color: var(--blanco);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transicion);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(22, 155, 69, 0.3);
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover:before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(22, 155, 69, 0.4);
}

.btn-dorado {
    background: linear-gradient(135deg, var(--amarillo-dorado) 0%, var(--amarillo-oscuro) 100%);
    color: var(--verde-oscuro);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-dorado:hover {
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Patrón de tréboles sutiles en el fondo */
.patron-trebol {
    position: absolute;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

/* Header */
header {
    background-color: var(--blanco);
    box-shadow: 0 4px 20px var(--sombra);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transicion);
}

.header-contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icono {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--verde-irlandes) 0%, var(--verde-oscuro) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(22, 155, 69, 0.3);
    overflow: hidden;
}

.logo-icono:before {
    content: '🍀';
    font-size: 2.5rem;
    z-index: 2;
}

.logo-icono:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, rgba(255, 215, 0, 0.2) 70%);
    z-index: 1;
}

.logo-texto h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--verde-oscuro);
    background: linear-gradient(90deg, var(--verde-irlandes) 0%, var(--verde-oscuro) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-texto p {
    font-size: 0.9rem;
    color: var(--gris);
    font-weight: 500;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gris-oscuro);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transicion);
    position: relative;
    padding: 5px 0;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--verde-irlandes) 0%, var(--amarillo-dorado) 100%);
    border-radius: 2px;
    transition: var(--transicion);
}

.nav-links a:hover {
    color: var(--verde-irlandes);
}

.nav-links a:hover:after {
    width: 100%;
}

.btn-menu-movil {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--verde-irlandes);
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(13, 114, 51, 0.85), rgba(13, 114, 51, 0.9)), url('https://images.unsplash.com/photo-1494976388531-d1058494cdd8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--blanco);
    text-align: center;
    padding: 180px 0 120px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffd700' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero h1 {
    color: var(--blanco);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.destacado-trebol {
    color: var(--amarillo-dorado);
    font-weight: 700;
}

/* Servicios */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.servicio-card {
    background-color: var(--blanco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--sombra);
    transition: var(--transicion);
    position: relative;
    border: 1px solid var(--gris-claro);
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(22, 155, 69, 0.15);
    border-color: var(--verde-irlandes);
}

.servicio-card:before {
    content: '🍀';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    opacity: 0.5;
}

.servicio-icono {
    background: linear-gradient(135deg, var(--verde-irlandes) 0%, var(--verde-oscuro) 100%);
    color: var(--blanco);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    position: relative;
    overflow: hidden;
}

.servicio-icono:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
}

.servicio-contenido {
    padding: 25px;
}

.servicio-contenido h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--verde-oscuro);
}

.servicio-contenido p {
    color: var(--gris);
    margin-bottom: 0;
}

/* Contacto */
.contacto-contenedor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contacto-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contacto-icono {
    background: linear-gradient(135deg, var(--verde-irlandes) 0%, var(--verde-oscuro) 100%);
    color: var(--blanco);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(22, 155, 69, 0.3);
}

.contacto-texto h4 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

/* Mejoras de contraste en sección contacto */
.contacto-texto p {
    color: var(--gris);
}

.seccion-verde .contacto-texto p {
    color: rgba(255, 255, 255, 0.95);
}

.contacto-texto .numero-whatsapp {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--verde-oscuro);
    margin-top: 5px;
}

.seccion-verde .contacto-texto .numero-whatsapp {
    color: var(--amarillo-dorado);
}

.mapa-contenedor {
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--sombra);
    min-height: 350px;
}

.mapa-placeholder {
    background: linear-gradient(135deg, var(--verde-irlandes) 0%, var(--verde-oscuro) 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    padding: 30px;
    text-align: center;
}

.mapa-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--amarillo-dorado);
}

.mapa-placeholder h3 {
    color: var(--blanco);
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: var(--verde-oscuro);
    color: var(--blanco);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--verde-irlandes) 0%, var(--amarillo-dorado) 100%);
}

.footer-contenedor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-logo .logo-icono {
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 15px;
    line-height: 1.7;
}

.footer-links h3,
.footer-servicios h3 {
    color: var(--amarillo-dorado);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after,
.footer-servicios h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--amarillo-dorado);
}

.footer-links ul,
.footer-servicios ul {
    list-style: none;
}

.footer-links li,
.footer-servicios li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-servicios a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transicion);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-servicios a:hover {
    color: var(--amarillo-dorado);
    transform: translateX(5px);
}

.footer-links a:before,
.footer-servicios a:before {
    content: '➤';
    font-size: 0.8rem;
    color: var(--amarillo-dorado);
    opacity: 0;
    transition: var(--transicion);
}

.footer-links a:hover:before,
.footer-servicios a:hover:before {
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--blanco);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: var(--transicion);
    text-decoration: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
    }

    100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
}

/* Elementos decorativos automotrices */
.elemento-automotriz {
    position: absolute;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    font-size: 10rem;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 150px 0 90px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .btn-menu-movil {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--blanco);
        width: 280px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        box-shadow: -5px 0 20px var(--sombra);
        transition: var(--transicion);
        z-index: 999;
    }

    .nav-links.activo {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 10px 0;
        display: block;
        width: 100%;
    }

    .hero {
        padding: 130px 0 70px;
        margin-top: 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .seccion {
        padding: 80px 0;
    }

    .servicios-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .header-contenedor {
        padding: 15px;
    }

    .logo-texto h1 {
        font-size: 1.4rem;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
}