body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* TOPBAR */

.topbar {
    background: #cfcfcf;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.icon {
    width: 25px;
    height: 25px;
}

.contact-info span {
    font-size: 14px;
}

/* REDES */

.social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social img {
    width: 50px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.social img:nth-child(2) {
    width: 40px;
}

.social img:nth-child(3) {
    width: 65px;
}

.social img:hover {
    transform: scale(1.15);
}

/* NAVBAR */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    height: 60px;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.navbar a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar a:hover {
    color: #0aa000;
}

/* HAMBURGER */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #222;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* HERO */

.hero {
    display: flex;
}

.hero-left {
    background: #0aa000;
    color: white;
    padding: 60px;
    width: 50%;
    box-sizing: border-box;
}

.hero-left h1 {
    font-size: 46px;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-left p {
    font-size: 22px;
    line-height: 1.6;
}

.hero-right {
    width: 50%;
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ABOUT */

.about {
    display: flex;
    min-height: 380px;
}

.about-left {
    width: 50%;
    background-color: #e8e4df;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.015 0.008' numOctaves='6' seed='42' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='0.4' intercept='0.62'/%3E%3CfeFuncG type='linear' slope='0.4' intercept='0.60'/%3E%3CfeFuncB type='linear' slope='0.4' intercept='0.58'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
    background-size: cover;
}

.about-right {
    width: 50%;
    padding: 60px;
    background-color: #e8e4df;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.015 0.008' numOctaves='6' seed='42' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='0.4' intercept='0.62'/%3E%3CfeFuncG type='linear' slope='0.4' intercept='0.60'/%3E%3CfeFuncB type='linear' slope='0.4' intercept='0.58'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
    background-size: cover;
    box-sizing: border-box;
}

.about-right h2 {
    font-size: 42px;
    font-weight: 400;
    color: #222;
    margin: 0 0 24px 0;
}

.about-right h2 span {
    color: #0aa000;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.about-right p {
    color: #0aa000;
    font-size: 18px;
    line-height: 1.8;
    text-align: justify;
    margin: 0 0 16px 0;
}

.about-right p:last-child {
    margin-bottom: 0;
}

/* ─── TABLET (≤ 900px) ─── */

@media (max-width: 900px) {
    .topbar {
        padding: 10px 20px;
    }

    .topbar .social {
        display: none;
    }

    .contact-info span {
        font-size: 12px;
    }

    .icon {
        width: 18px;
        height: 18px;
    }

    .navbar {
        padding: 15px 20px;
    }

    .navbar ul {
        gap: 18px;
    }

    .navbar a {
        font-size: 13px;
    }

    .hero-left {
        padding: 40px 30px;
    }

    .hero-left h1 {
        font-size: 34px;
    }

    .hero-left p {
        font-size: 16px;
    }

    .about-right {
        padding: 40px 30px;
    }

    .about-right h2 {
        font-size: 28px;
    }
}

/* ─── MOBILE (≤ 600px) ─── */

@media (max-width: 600px) {
    .hamburger {
        display: flex;
    }

    .navbar {
        padding: 12px 16px;
        position: relative;
    }

    .navbar ul {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background: #fff;
        border-top: 2px solid #0aa000;
        padding: 10px 0;
    }

    .navbar ul.open {
        display: flex;
    }

    .navbar ul li {
        padding: 10px 16px;
        border-bottom: 1px solid #eee;
    }

    .navbar ul li:last-child {
        border-bottom: none;
    }

    .navbar a {
        font-size: 15px;
    }

    .hero {
        flex-direction: column;
    }

    .hero-left,
    .hero-right {
        width: 100%;
    }

    .hero-left {
        padding: 40px 24px;
    }

    .hero-left h1 {
        font-size: 28px;
    }

    .hero-left p {
        font-size: 15px;
    }

    .hero-right {
        min-height: 220px;
    }

    .hero-right img {
        height: 100%;
        min-height: 220px;
    }

    .about {
        flex-direction: column;
    }

    .about-left {
        width: 100%;
        min-height: 200px;
    }

    .about-right {
        width: 100%;
        padding: 40px 24px;
    }

    .about-right h2 {
        font-size: 26px;
    }
}

/* SERVICES */

.services {
    background-color: #e8e4df;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.015 0.008' numOctaves='6' seed='42' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='0.4' intercept='0.62'/%3E%3CfeFuncG type='linear' slope='0.4' intercept='0.60'/%3E%3CfeFuncB type='linear' slope='0.4' intercept='0.58'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
    background-size: cover;
    padding: 60px 80px;
}

.services h2 {
    text-align: center;
    color: #0aa000;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 24px 0;
}

.services-intro {
    color: #0aa000;
    font-size: 18px;
    line-height: 1.8;
    text-align: justify;
    max-width: 900px;
    margin: 0 auto 48px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 200px;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 24px;
    color: white;
}

.service-title {
    font-size: 18px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.service-btn {
    font-size: 16px;
    font-weight: 400;
}

/* SERVICES responsive */

@media (max-width: 900px) {
    .services {
        padding: 48px 40px;
    }
}

@media (max-width: 600px) {
    .services {
        padding: 40px 24px;
    }

    .services h2 {
        font-size: 26px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        height: 180px;
    }
}

/* QUOTE */

.quote {
    background-color: #e8e4df;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.015 0.008' numOctaves='6' seed='42' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='0.4' intercept='0.62'/%3E%3CfeFuncG type='linear' slope='0.4' intercept='0.60'/%3E%3CfeFuncB type='linear' slope='0.4' intercept='0.58'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
    background-size: cover;
    padding: 80px 100px;
}

.quote p {
    font-size: 20px;
    line-height: 1.9;
    text-align: justify;
    color: #111;
    margin: 0;
}

/* FOOTER */

.footer {
    background: #0aa000;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 50px 80px;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h3 {
    font-size: 28px;
    font-weight: 400;
    margin: 0 0 20px 0;
}

.footer-col h3 span {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 16px 0;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-col > p {
    margin: 0 0 6px 0;
    font-size: 16px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.footer-icon {
    width: 20px;
    height: 26px;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.footer-social img {
    width: 40px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.footer-social img:nth-child(2) {
    width: 70px;
}

.footer-social img:nth-child(3) {
    width: 50px;
}

.footer-social img:hover {
    transform: scale(1.15);
}

/* QUOTE & FOOTER responsive */

@media (max-width: 900px) {
    .quote {
        padding: 60px 40px;
    }

    .footer {
        padding: 40px;
    }
}

@media (max-width: 600px) {
    .quote {
        padding: 48px 24px;
    }

    .quote p {
        font-size: 17px;
    }

    .footer {
        flex-direction: column;
        padding: 40px 24px;
        gap: 32px;
    }
}

/* NAVEGACIÓN ENTRE PÁGINAS */

.hidden {
    display: none !important;
}

/* NOSOTROS */

.nosotros {
    background-color: #e8e4df;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.015 0.008' numOctaves='6' seed='42' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='0.4' intercept='0.62'/%3E%3CfeFuncG type='linear' slope='0.4' intercept='0.60'/%3E%3CfeFuncB type='linear' slope='0.4' intercept='0.58'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
    background-size: cover;
    min-height: 80vh;
    padding: 60px 80px;
    box-sizing: border-box;
}

.nosotros h2 {
    color: #0aa000;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 60px 0;
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.nosotros-grid p {
    font-size: 16px;
    line-height: 1.9;
    text-align: justify;
    color: #222;
    margin: 0;
}

@media (max-width: 900px) {
    .nosotros {
        padding: 48px 40px;
    }
}

@media (max-width: 600px) {
    .nosotros {
        padding: 40px 24px;
    }

    .nosotros h2 {
        font-size: 24px;
        margin-bottom: 36px;
    }

    .nosotros-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* BOTÓN VOLVER */

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 2px solid #0aa000;
    color: #0aa000;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    cursor: pointer;
    letter-spacing: 1px;
    margin-bottom: 32px;
    transition: background 0.2s, color 0.2s;
}

.btn-back:hover {
    background: #0aa000;
    color: white;
}

/* PÁGINAS INTERNAS (facility, higiene, etc.) */

.inner-page {
    display: flex;
    min-height: 85vh;
}

.inner-left {
    flex: 1;
    background-color: #e8e4df;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.015 0.008' numOctaves='6' seed='42' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='0.4' intercept='0.62'/%3E%3CfeFuncG type='linear' slope='0.4' intercept='0.60'/%3E%3CfeFuncB type='linear' slope='0.4' intercept='0.58'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
    background-size: cover;
    padding: 50px 60px;
    box-sizing: border-box;
}

.inner-left h2 {
    color: #0aa000;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 28px 0;
}

.inner-left p {
    font-size: 15px;
    line-height: 1.9;
    text-align: justify;
    color: #222;
    margin: 0 0 14px 0;
}

.inner-right {
    width: 380px;
    flex-shrink: 0;
    background: #0aa000;
    padding: 36px 32px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inner-right h3 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    margin: 0 0 4px 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: #e8e4df;
    border: none;
    padding: 10px 14px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    color: #222;
    resize: none;
    outline: none;
}

.form-submit {
    margin-top: 6px;
    background: white;
    color: #0aa000;
    border: none;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.form-submit:hover {
    background: #088000;
    color: white;
}

@media (max-width: 900px) {
    .inner-left {
        padding: 40px 36px;
    }

    .inner-right {
        width: 320px;
        padding: 36px 24px;
    }
}

@media (max-width: 650px) {
    .inner-page {
        flex-direction: column;
    }

    .inner-right {
        width: 100%;
    }
}