* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: #0f172a;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    padding: 0 11%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #000;
    border-bottom: 1px solid rgba(255,255,255,.12);
    z-index: 999;
}

.logo img {
    width: 145px;
    display: block;
}

.menu {
    display: flex;
    align-items: center;
    gap: 34px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
}

.menu a:hover {
    color: #e30613;
}

.menu-arrow span {
    font-size: 10px;
    margin-left: 4px;
}

.btn-outline {
    color: white;
    text-decoration: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.7);
    background: rgba(255,255,255,.04);
    transition: .3s;
}

.btn-outline:hover {
    transform: translateY(-2px);
    border-color: #e30613;
    box-shadow: 0 0 20px rgba(227,6,19,.45);
}

.history-section {
    padding: 120px 11% 80px;
    background:
        linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.92)),
        radial-gradient(circle at top left, rgba(227,6,19,.08), transparent 35%);
}

.history-container {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
    align-items: center;
}

.history-image {
    position: relative;
}

.history-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0,0,0,.14);
}

.experience-badge {
    position: absolute;
    left: 0;
    bottom: 38px;
    background: #e30613;
    color: white;
    padding: 18px 28px;
    border-radius: 0 32px 32px 0;
    box-shadow: 0 14px 35px rgba(227,6,19,.35);
}

.experience-badge strong {
    display: block;
    font-size: 25px;
    font-weight: 900;
}

.experience-badge span {
    font-size: 14px;
    font-weight: 700;
}

.history-text h1 {
    color: #d90416;
    font-size: 52px;
    margin-bottom: 35px;
    font-weight: 900;
}

.history-text p {
    font-size: 18px;
    line-height: 1.85;
    text-align: justify;
    margin-bottom: 24px;
}

.purpose-section {
    background:
        linear-gradient(rgba(0,0,0,.84), rgba(0,0,0,.84)),
        radial-gradient(circle at center, rgba(227,6,19,.18), transparent 38%);
    color: white;
    padding: 80px 11%;
}

.purpose-container {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 80px;
    align-items: center;
}

.purpose-block {
    margin-bottom: 70px;
}

.purpose-block:last-child {
    margin-bottom: 0;
}

.purpose-text h2 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 28px;
    font-weight: 900;
}

.purpose-text p {
    font-size: 17px;
    line-height: 1.6;
    max-width: 620px;
}

.purpose-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 25px 70px rgba(0,0,0,.35);
}

.principles-section {
    padding: 115px 11%;
    background:
        linear-gradient(180deg, #fff 0%, #f7f7f7 100%);
}

.principles-container {
    max-width: 1120px;
    margin: 0 auto;
}

.principles-title {
    text-align: center;
    margin-bottom: 65px;
}

.principles-title span {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(227,6,19,.08);
    color: #e30613;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .5px;
}

.principles-title h2 {
    font-size: 58px;
    font-weight: 900;
    margin-bottom: 22px;
}

.principles-title p {
    max-width: 820px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.75;
    color: #334155;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.principle-card {
    position: relative;
    min-height: 220px;
    padding: 34px 28px;
    border-radius: 22px;
    background: white;
    border: 1px solid rgba(15,23,42,.06);
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
    transition: .35s ease;
    overflow: hidden;
}

.principle-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(227,6,19,.08);
}

.principle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(15,23,42,.13);
}

.principle-number {
    color: #e30613;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 26px;
}

.principle-card h3 {
    font-size: 23px;
    margin-bottom: 14px;
    font-weight: 900;
}

.principle-card p {
    font-size: 15px;
    line-height: 1.55;
    color: #334155;
}

.principle-wide {
    grid-column: span 3;
    min-height: 160px;
}

.quality-section {
    background: #fff;
    padding: 110px 11% 120px;
}

.quality-container {
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
}

.quality-tag {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(227,6,19,.08);
    color: #e30613;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .5px;
}

.quality-container h2 {
    font-size: 58px;
    font-weight: 900;
    margin-bottom: 28px;
}

.quality-intro {
    max-width: 760px;
    margin: 0 auto 75px;
    font-size: 18px;
    line-height: 1.65;
    color: #334155;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    text-align: left;
}

.quality-card {
    position: relative;
    min-height: 210px;
    padding: 36px 34px;
    border-radius: 22px;
    background: #f8f8f8;
    border-left: 6px solid #e30613;
    box-shadow: 0 16px 40px rgba(15,23,42,.06);
    transition: .3s;
}

.quality-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 55px rgba(15,23,42,.10);
}

.quality-card span {
    display: inline-block;
    color: #e30613;
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 18px;
}

.quality-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #1e293b;
}

.quality-message {
    max-width: 960px;
    margin: 80px auto 0;
    padding: 36px 46px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(227,6,19,.10), rgba(227,6,19,.03));
    color: #d90416;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 900;
    box-shadow: 0 20px 50px rgba(227,6,19,.10);
}

.social-section {
    position: relative;
    padding: 115px 11%;
    background:
        linear-gradient(rgba(0,0,0,.70), rgba(0,0,0,.72)),
        url("../imagenes/planeta.jpg");
    background-size: cover;
    background-position: center;
    color: white;
}

.social-overlay {
    max-width: 1120px;
    margin: 0 auto;
}

.social-section h2 {
    text-align: center;
    font-size: 56px;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 70px;
}

.social-grid {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.social-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: center;
    gap: 38px;
    padding: 30px;
    border-radius: 22px;
    background: rgba(0,0,0,.42);
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 55px rgba(0,0,0,.25);
    transition: .35s ease;
}

.social-card:hover {
    transform: translateY(-6px);
    border-color: rgba(227,6,19,.45);
    box-shadow: 0 24px 65px rgba(227,6,19,.16);
}

.social-card img {
    width: 240px;
    height: 160px;
    object-fit: cover;
    border-radius: 15px;
}

.social-card h3 {
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: 900;
}

.social-card p {
    font-size: 20px;
    line-height: 1.55;
    color: rgba(255,255,255,.92);
}

.cta-section {
    position: relative;
    padding: 170px 11%;
    background:
        linear-gradient(rgba(0,0,0,.54), rgba(0,0,0,.60)),
        url("../imagenes/aspiradora1.png");
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 58px;
    line-height: 1.18;
    font-weight: 900;
    margin-bottom: 38px;
}

.cta-section p {
    font-size: 22px;
    line-height: 1.45;
    font-weight: 700;
    margin-bottom: 45px;
}

.btn-red {
    display: inline-block;
    background: #e30613;
    color: white;
    text-decoration: none;
    padding: 16px 30px;
    border-radius: 10px;
    font-weight: 900;
    transition: .3s;
    box-shadow: 0 14px 35px rgba(227,6,19,.35);
}

.btn-red:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(227,6,19,.48);
}

.footer {
    background: #000;
    color: white;
}

.footer-top {
    background: #151515;
    padding: 38px 11% 40px;
    display: grid;
    grid-template-columns: 1.05fr 1.2fr 1.2fr 1.2fr;
    gap: 48px;
    border-top: 1px solid rgba(255,255,255,.14);
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.footer-brand {
    text-align: center;
}

.footer-brand img {
    width: 165px;
    margin-bottom: 34px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 28px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: white;
    color: #e30613;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    transition: .3s;
}

.social-icons a:hover {
    background: #e30613;
    color: white;
    transform: translateY(-3px);
}

.social-icons 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 h3 {
    font-size: 22px;
    margin-bottom: 22px;
    font-weight: 900;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 9px;
    font-size: 16px;
    line-height: 1.25;
    position: relative;
    padding-left: 22px;
}

.footer li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: -7px;
    color: #e30613;
    font-size: 30px;
    font-weight: 900;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: .3s;
}

.footer a:hover {
    color: #e30613;
}

.footer-column ul li a {
    display: inline-block;
}

.footer-column ul li a:hover {
    transform: translateX(4px);
}

.footer-contact {
    padding: 75px 11% 55px;
    display: grid;
    grid-template-columns: 1fr 1.7fr 1fr;
    gap: 70px;
    border-bottom: 1px solid rgba(255,255,255,.35);
}

.footer-contact h3 {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 900;
}

.footer-contact p {
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 20px;
}

.footer-bottom {
    background: #151515;
    padding: 25px 11%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-bottom p,
.footer-bottom a {
    color: white;
    font-size: 14px;
    text-decoration: none;
}

.footer-bottom nav {
    display: flex;
    gap: 28px;
}

.whatsapp-btn {
    position: fixed;
    right: 38px;
    bottom: 35px;
    width: 62px;
    height: 62px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 38px;
    font-weight: bold;
    z-index: 1000;
    box-shadow:
        0 0 20px rgba(37,211,102,.55),
        0 0 45px rgba(37,211,102,.25);
}

.whatsapp-btn img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

@media (max-width: 1050px) {
    .menu {
        gap: 18px;
    }

    .menu a {
        font-size: 13px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .menu {
        display: none;
    }

    .navbar {
        padding: 0 6%;
    }

    .history-section,
    .purpose-section,
    .principles-section,
    .quality-section,
    .social-section,
    .cta-section {
        padding-left: 6%;
        padding-right: 6%;
    }

    .history-container,
    .purpose-container,
    .quality-grid,
    .footer-contact {
        grid-template-columns: 1fr;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .principle-wide {
        grid-column: span 1;
    }

    .social-card {
        grid-template-columns: 1fr;
    }

    .social-card img {
        width: 100%;
        height: 220px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .history-text h1,
    .principles-title h2,
    .quality-container h2,
    .social-section h2,
    .cta-section h2 {
        font-size: 42px;
    }
}
