* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: #111827;
}

/* NAVBAR */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    padding: 0 9%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.logo img {
    width: 145px;
    display: block;
}

.menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: .3s;
}

.menu a:hover {
    color: #e30613;
}

.menu span {
    font-size: 10px;
}

.btn-outline {
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
    padding: 13px 25px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: .3s;
}

.btn-outline:hover {
    background: #e30613;
    border-color: #e30613;
}

/* HERO */

.contact-hero {
    position: relative;
    padding: 145px 8% 90px;
    background:
        radial-gradient(circle at 20% 20%, rgba(227,6,19,.10), transparent 28%),
        radial-gradient(circle at 80% 30%, rgba(0,0,0,.07), transparent 28%),
        #fff;
    text-align: center;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(227,6,19,.12);
    border-radius: 50%;
    top: -260px;
    left: -180px;
}

.contact-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 50%;
    bottom: -220px;
    right: -120px;
}

.contact-hero-content {
    max-width: 880px;
    margin: auto;
    position: relative;
    z-index: 2;
}

.contact-hero-content span {
    display: inline-block;
    color: #e30613;
    background: rgba(227,6,19,.08);
    border: 1px solid rgba(227,6,19,.18);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 20px;
}

.contact-hero h1 {
    font-size: 52px;
    line-height: 1.12;
    font-weight: 900;
    color: #050505;
    margin-bottom: 22px;
}

.contact-hero p {
    font-size: 18px;
    line-height: 1.55;
    color: #374151;
    max-width: 820px;
    margin: auto;
}

/* CONTACTO */

.contact-section {
    background:
        linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.92)),
        url("../imagenes/contacto-fondo.png");
    background-size: cover;
    background-position: center;
    padding: 70px 8% 90px;
}

.contact-container {
    max-width: 1120px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 45px;
    align-items: stretch;
}

.contact-left,
.contact-right {
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(17,24,39,.08);
    border-radius: 26px;
    box-shadow: 0 22px 55px rgba(0,0,0,.08);
}

.contact-left {
    padding: 48px;
}

.contact-right {
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.contact-right::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(227,6,19,.12);
    border-radius: 50%;
    right: -70px;
    top: -70px;
}

.contact-left h2 {
    font-size: 41px;
    line-height: 1.16;
    font-weight: 900;
    margin-bottom: 24px;
}

.contact-left p {
    color: #e30613;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 42px;
}

.country-buttons {
    display: flex;
    gap: 18px;
    align-items: center;
}

.country-btn {
    border: 1px solid rgba(17,24,39,.14);
    background: #fff;
    color: #111827;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    padding: 16px 28px;
    border-radius: 14px;
    transition: .3s;
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.country-btn:hover,
.country-btn.active {
    background: #e30613;
    color: #fff;
    border-color: #e30613;
    transform: translateY(-3px);
    box-shadow: 0 15px 32px rgba(227,6,19,.28);
}

.country-info {
    display: none;
    position: relative;
    z-index: 2;
}

.country-info.active {
    display: block;
    animation: fadeInfo .35s ease;
}

.country-info h2 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 28px;
}

.info-line {
    padding: 18px 0;
    border-bottom: 1px solid rgba(17,24,39,.10);
}

.info-line:last-child {
    border-bottom: none;
}

.info-line strong {
    display: block;
    color: #e30613;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.info-line p {
    font-size: 16px;
    line-height: 1.55;
    color: #111827;
}

@keyframes fadeInfo {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MAPAS */

.maps-section {
    background:
        radial-gradient(circle at top left, rgba(227,6,19,.22), transparent 30%),
        radial-gradient(circle at bottom right, rgba(227,6,19,.14), transparent 28%),
        linear-gradient(180deg, #090909, #151515);
    color: #fff;
    padding: 95px 8% 115px;
    overflow: hidden;
}

.maps-heading {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 65px;
}

.maps-heading h2 {
    font-size: 46px;
    line-height: 1.15;
    font-weight: 900;
    margin-bottom: 18px;
}

.maps-heading p {
    color: #e5e7eb;
    font-size: 19px;
    line-height: 1.5;
}

.maps-grid {
    max-width: 1180px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.map-card {
    position: relative;
    min-height: 560px;
    padding: 35px;
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(227,6,19,.12), transparent 45%),
        linear-gradient(145deg, #ffffff, #f7f7f7);
    border: 2px solid rgba(255,255,255,.85);
    box-shadow:
        0 30px 70px rgba(0,0,0,.45),
        0 0 45px rgba(227,6,19,.20);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .4s ease;
}

.map-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 24px;
    border: 1px solid rgba(227,6,19,.18);
    z-index: 1;
    pointer-events: none;
}

.map-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 45px 90px rgba(0,0,0,.55),
        0 0 75px rgba(227,6,19,.38);
}

.map-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    background: rgba(227,6,19,.22);
    border-radius: 50%;
    filter: blur(70px);
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: pulseGlow 3s ease-in-out infinite;
}

.map-card > img {
    position: relative;
    z-index: 3;
    width: 96%;
    max-width: 590px;
    max-height: 380px;
    object-fit: contain;
    filter:
        drop-shadow(0 18px 16px rgba(0,0,0,.25))
        drop-shadow(0 0 18px rgba(227,6,19,.35));
    animation: floatingMap 4s ease-in-out infinite;
    transition: .4s ease;
}

.map-card:hover > img {
    transform: scale(1.08);
}

.map-info {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 24px;
    z-index: 5;
    background:
        linear-gradient(135deg, rgba(227,6,19,.14), rgba(0,0,0,.92)),
        rgba(0,0,0,.88);
    color: #fff;
    padding: 22px 24px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.14);
    border-top: 2px solid rgba(227,6,19,.85);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -12px 35px rgba(0,0,0,.25);
}

.map-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 0 22px rgba(227,6,19,.45);
}

.map-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-info h3 {
    font-size: 29px;
    font-weight: 900;
    margin-bottom: 6px;
}

.map-info p {
    font-size: 16px;
    color: #f3f4f6;
}

@keyframes floatingMap {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-12px) scale(1.025);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: .45;
        transform: translate(-50%, -50%) scale(.9);
    }

    50% {
        opacity: .9;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* CTA FINAL */

.cta-clean {
    min-height: 520px;
    background:
        linear-gradient(rgba(0,0,0,.68), rgba(0,0,0,.78)),
        url("../imagenes/aspiradora1.png");
    background-size: cover;
    background-position: center;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 90px 8%;
    color: #fff;
}

.cta-content h2 {
    font-size: 58px;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 28px;
}

.cta-content p {
    font-size: 23px;
    line-height: 1.45;
    font-weight: 700;
    max-width: 930px;
    margin: 0 auto 35px;
}

.cta-content a {
    display: inline-block;
    background: #e30613;
    color: #fff;
    text-decoration: none;
    padding: 20px 42px;
    border-radius: 9px;
    font-weight: 900;
    transition: .3s;
}

.cta-content a:hover {
    background: #b9000b;
    transform: translateY(-2px);
}

/* FOOTER */

.site-footer {
    background: #000;
    color: white;
    border-top: 1px solid rgba(255,255,255,.25);
}

.footer-main {
    background: #151515;
    padding: 0 9%;
    min-height: 278px;
    display: grid;
    grid-template-columns: 1.25fr 1.25fr 1.25fr 1.2fr;
    gap: 50px;
    align-items: start;
    border-bottom: 1px solid rgba(255,255,255,.35);
}

.footer-brand {
    text-align: center;
    padding-top: 14px;
}

.footer-brand img {
    width: 170px;
    margin: 0 auto 48px;
    display: block;
}

.footer-brand p {
    max-width: 270px;
    margin: 0 auto 32px;
    font-size: 14px;
    line-height: 1.45;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 5px;
    background: white;
    color: #e30613;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    font-weight: 900;
    transition: .3s;
}

.social-links a:hover {
    background: #e30613;
    color: white;
    transform: translateY(-3px);
}

.social-links img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
    margin: 0;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: .3s;
}

.footer-contact a:hover {
    color: #e30613;
}

.footer-column {
    padding-top: 10px;
}

.footer-column h3 {
    font-size: 21px;
    font-weight: 900;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 24px;
    line-height: 1.15;
}

.footer-column li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: -3px;
    color: #e30613;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.footer-column a {
    color: white;
    text-decoration: none;
    font-size: 15.5px;
    transition: .3s;
}

.footer-column a:hover {
    color: #e30613;
}

.footer-contact {
    padding: 82px 10% 42px;
    min-height: 245px;
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 70px;
    border-bottom: 1px solid rgba(255,255,255,.55);
}

.footer-contact h3 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 22px;
}

.footer-contact p {
    font-size: 15px;
    line-height: 1.35;
    margin-bottom: 22px;
}

.footer-bottom {
    background: #151515;
    min-height: 62px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.footer-bottom p {
    font-size: 15px;
}

.footer-bottom nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-bottom nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: .3s;
}

.footer-bottom nav a:hover {
    color: #e30613;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .menu {
        display: none;
    }

    .contact-container,
    .maps-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        padding: 45px 8%;
    }

    .footer-contact {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 60px 8% 38px;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        padding: 22px 8%;
    }

    .footer-bottom nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }
}

@media (max-width: 700px) {
    .navbar {
        padding: 0 6%;
    }

    .btn-outline {
        display: none;
    }

    .contact-hero {
        padding: 120px 6% 70px;
    }

    .contact-hero h1 {
        font-size: 36px;
    }

    .contact-hero p {
        font-size: 16px;
    }

    .contact-section {
        padding: 50px 5% 70px;
    }

    .contact-left,
    .contact-right {
        padding: 32px 24px;
    }

    .contact-left h2,
    .country-info h2,
    .maps-heading h2 {
        font-size: 32px;
    }

    .country-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .map-card {
        min-height: 420px;
        padding: 20px;
    }

    .map-card > img {
        max-height: 280px;
        width: 100%;
    }

    .map-info {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 18px;
    }

    .map-icon {
        width: 52px;
        height: 52px;
    }

    .map-info h3 {
        font-size: 24px;
    }

    .cta-content h2 {
        font-size: 36px;
    }

    .cta-content p {
        font-size: 18px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        text-align: center;
    }
}
