body,
html {
    overflow-x: hidden;
    width: 100%
}

.btn,
.section__title {
    font-weight: 700;
    font-family: var(--font-heading)
}

.container,
.header,
body,
html {
    width: 100%
}

.btn,
.nav__link {
    white-space: nowrap
}

.btn,
.cta__title,
.footer__tagline,
.footer__title,
.hero__title,
.historia__highlight-title,
.historia__value-title,
.section__title,
.services__subtitle {
    font-family: var(--font-heading)
}

.cta,
.footer__bottom,
.hero__content,
.historia__content,
.section__subtitle,
.section__title {
    text-align: center
}

*,
::after,
::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --primary-color: #42E928;
    --secondary-color: #1A1A1A;
    --text-body: #333333;
    --bg-light: #F4F4F4;
    --white: #FFFFFF;
    --overlay-dark: rgba(26, 26, 26, 0.75);
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --container-max: 1200px;
    --header-height: 80px;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease
}

.btn,
.nav__toggle span {
    transition: all var(--transition-medium)
}

html {
    scroll-behavior: smooth;
    font-size: 16px
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--white);
    max-width: 100vw
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast)
}

ul {
    list-style: none
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md)
}

.section__title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    word-wrap: break-word;
    overflow-wrap: break-word
}

.section__subtitle {
    color: #666;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 1.75rem;
    font-size: clamp(.875rem, 2vw, 1rem);
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .5px
}

.nav__list,
.nav__menu {
    gap: var(--spacing-md)
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--secondary-color)
}

.btn--primary:hover {
    background-color: #38c420;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(66, 233, 40, .3)
}

.btn--secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white)
}

.btn--secondary:hover {
    background-color: var(--white);
    color: var(--secondary-color)
}

.btn--whatsapp {
    background-color: var(--primary-color);
    color: var(--secondary-color)
}

.btn--large {
    padding: 1.125rem 2rem;
    font-size: clamp(1rem, 2.5vw, 1.125rem)
}

.btn--phone-only,
.hero__overlay {
    display: none
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: background-color var(--transition-medium), box-shadow var(--transition-medium)
}

.hero,
.nav__link {
    position: relative
}

.header.scrolled {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .1)
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 100%
}

.nav__logo {
    filter: none;
    max-height: 60px;
    width: auto;
    mix-blend-mode: screen
}

.nav__menu {
    display: flex;
    align-items: center
}

.nav__list {
    display: flex
}

.nav__link {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    padding: .5rem
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-medium)
}

.nav__link:hover::after {
    width: 100%
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: 0 0;
    border: none;
    cursor: pointer;
    padding: .5rem;
    z-index: 1001
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white)
}

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-height);
    background-color: #0f0f0f;
    width: 100%
}

.hero__subtitle,
.hero__title {
    margin-bottom: var(--spacing-md);
    overflow-wrap: break-word;
    word-wrap: break-word
}

.hero__background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('assets/logo-white.webp');
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    background-size: 80%;
    opacity: .3;
    filter: blur(2px);
    transition: .3s;
    max-width: 100%
}

@media (min-width:768px) {
    .hero__background {
        background-size: 600px auto
    }
}

@media (min-width:1024px) {
    .hero__background {
        background-size: 800px auto
    }
}

.hero__content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 900px;
    padding: var(--spacing-lg) var(--spacing-md);
    width: 100%
}

.hero__title {
    font-size: clamp(1.75rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .8);
    hyphens: auto;
    animation: .8s both fadeInUp
}

.hero__subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    opacity: .95;
    animation: .8s .2s both fadeInUp
}

.hero__features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
    font-size: clamp(.875rem, 2vw, 1.125rem);
    animation: .8s .3s both fadeInUp
}

.hero__feature {
    color: var(--primary-color);
    font-weight: 500
}

.hero__divider {
    color: rgba(255, 255, 255, .4)
}

.hero__cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: .8s .4s both fadeInUp
}

.gallery,
.historia {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
    width: 100%;
    overflow: hidden
}

.historia__content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%
}

.historia__text {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.8;
    color: #555;
    margin-bottom: var(--spacing-md);
    word-wrap: break-word;
    overflow-wrap: break-word
}

.historia__highlight {
    background: linear-gradient(135deg, var(--secondary-color) 0, #2a2a2a 100%);
    color: var(--white);
    padding: var(--spacing-md);
    border-radius: 12px;
    margin-top: var(--spacing-lg);
    width: 100%
}

.historia__highlight-title,
.historia__value-title,
.lightbox__close:hover {
    color: var(--primary-color)
}

.historia__highlight-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm)
}

.historia__values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    width: 100%
}

.gallery__grid,
.services__hero {
    margin-top: var(--spacing-lg);
    width: 100%
}

.historia__value {
    padding: var(--spacing-md);
    background: rgba(66, 233, 40, .1);
    border-radius: 8px;
    border: 1px solid rgba(66, 233, 40, .3);
    min-width: 0
}

.historia__value-title {
    font-weight: 700;
    margin-bottom: .5rem;
    font-size: clamp(1rem, 2vw, 1.125rem)
}

.historia__value-text {
    font-size: clamp(.875rem, 2vw, .95rem);
    color: rgba(255, 255, 255, .9);
    word-wrap: break-word
}

.services {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
    width: 100%;
    overflow: hidden
}

.services__hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xl);
    align-items: center
}

.services__images {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: var(--spacing-md);
    align-items: start;
    width: 100%
}

.services__image-main {
    grid-row: 1/3;
    min-width: 0
}

.services__image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15)
}

.services__content,
.services__image-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    min-width: 0
}

.services__image-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1)
}

.services__subtitle {
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word
}

.footer__contact li,
.services__description,
.services__list-item p {
    line-height: 1.6;
    word-wrap: break-word
}

.services__description {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    font-style: italic;
    color: #666;
    padding: var(--spacing-md);
    background: rgba(66, 233, 40, .05);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    overflow-wrap: break-word
}

.cta,
.footer,
.lightbox__close {
    color: var(--white)
}

.cta,
.footer,
.footer__map,
.gallery__item {
    overflow: hidden
}

.services__list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md)
}

.services__list-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start
}

.services__list-item svg {
    flex-shrink: 0;
    stroke: var(--primary-color);
    margin-top: 2px;
    min-width: 24px
}

.services__list-item strong {
    display: block;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: .25rem;
    font-size: clamp(.95rem, 2vw, 1rem)
}

.services__list-item p {
    color: #666;
    font-size: clamp(.875rem, 2vw, 1rem)
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md)
}

.gallery__item {
    position: relative;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    min-width: 0
}

.footer__contact a,
.footer__links a,
.lightbox__close {
    transition: color var(--transition-fast)
}

.gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15)
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md)
}

.lightbox.active {
    display: flex
}

.lightbox__image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    background: 0 0;
    border: none;
    cursor: pointer
}

.cta {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--secondary-color) 0, #2a2a2a 100%);
    width: 100%
}

.cta__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    word-wrap: break-word
}

.cta__text {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: var(--spacing-lg);
    opacity: .95;
    word-wrap: break-word;
    padding: 0 1rem
}

.footer__contact li,
.footer__hours p,
.footer__links a,
.footer__text {
    font-size: clamp(.875rem, 2vw, 1rem)
}

.cta__buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap
}

.footer {
    background-color: var(--secondary-color);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    width: 100%
}

.footer__contact a,
.footer__contact li,
.footer__hours p,
.footer__links a,
.footer__text {
    color: rgba(255, 255, 255, .8)
}

.footer__bottom,
.footer__hours {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, .1)
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.footer__info {
    max-width: 400px;
    min-width: 0
}

.footer__links-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg)
}

.footer__column {
    min-width: 0
}

.footer__logo {
    margin-bottom: var(--spacing-md);
    filter: none;
    max-height: 70px;
    width: auto
}

.footer__contact li,
.footer__links li,
.footer__text {
    margin-bottom: var(--spacing-sm)
}

.footer__text {
    line-height: 1.7;
    word-wrap: break-word
}

.footer__contact a:hover,
.footer__links a:hover,
.footer__tagline,
.footer__title {
    color: var(--primary-color)
}

.footer__tagline {
    font-style: italic;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    margin-top: var(--spacing-sm)
}

.footer__title {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md)
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: .75rem
}

.footer__contact svg {
    flex-shrink: 0;
    stroke: var(--primary-color);
    margin-top: 2px;
    min-width: 20px
}

.footer__hours {
    margin-top: var(--spacing-md)
}

.footer__hours p {
    margin-bottom: .25rem
}

.footer__map-section {
    margin-bottom: var(--spacing-lg);
    width: 100%
}

.footer__map-section .footer__title {
    text-align: center;
    margin-bottom: var(--spacing-md);
    font-size: clamp(1.25rem, 3vw, 1.5rem)
}

.footer__map {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
    width: 100%
}

.footer__map iframe {
    width: 100%;
    height: 450px;
    display: block;
    border: 0
}

.footer__bottom {
    color: rgba(255, 255, 255, .6);
    font-size: clamp(.75rem, 2vw, .875rem)
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, .4);
    z-index: 999;
    transition: transform .3s, box-shadow .3s
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, .6)
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media (max-width:1024px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2.5rem
    }

    .services__hero {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg)
    }

    .btn--phone-only {
        display: inline-flex
    }

    .services__images {
        order: -1
    }
}

@media (max-width:768px) {
    .btn--phone-only {
        display: inline-flex
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px
    }

    .footer__links-wrapper,
    .footer__top,
    .services__image-grid,
    .services__images {
        grid-template-columns: 1fr
    }

    :root {
        --header-height: 70px;
        --spacing-xl: 2.5rem;
        --spacing-lg: 2rem;
        --spacing-md: 1.5rem
    }

    .container {
        padding: 0 1rem
    }

    .nav__logo {
        max-height: 50px
    }

    .nav__menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--secondary-color);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--spacing-lg) var(--spacing-md);
        transition: left var(--transition-medium);
        overflow-y: auto
    }

    .hero__cta,
    .nav__list {
        flex-direction: column
    }

    .nav__menu.active {
        left: 0
    }

    .nav__list {
        width: 100%;
        gap: 0
    }

    .nav__link {
        display: block;
        width: 100%;
        padding: var(--spacing-md) 0;
        font-size: 1.125rem;
        border-bottom: 1px solid rgba(255, 255, 255, .1)
    }

    .nav__toggle {
        display: flex
    }

    .nav__toggle.active span:first-child {
        transform: rotate(45deg) translate(5px, 5px)
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px)
    }

    .hero {
        min-height: 80vh;
        padding-top: calc(var(--header-height) + 1rem)
    }

    .hero__content {
        padding: var(--spacing-md) 1rem
    }

    .hero__cta {
        gap: 1rem
    }

    .historia__highlight {
        padding: var(--spacing-md)
    }

    .gallery__grid,
    .historia__values {
        grid-template-columns: 1fr;
        gap: 1rem
    }

    .services__images {
        gap: 5rem !important
    }

    .services__image-main {
        grid-row: auto;
        max-height: 400px;
        margin-bottom: 2rem
    }

    .services__image-grid {
        display: grid;
        gap: 1rem
    }

    .cta__buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 1rem
    }

    .footer__top {
        gap: var(--spacing-lg)
    }

    .footer__map iframe {
        height: 300px
    }
}

@media (max-width:480px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-lg: 1.5rem;
        --spacing-md: 1rem
    }

    .btn {
        padding: .75rem 1rem;
        font-size: .875rem
    }

    .btn--large {
        padding: 1rem 1.5rem
    }

    .hero__features {
        gap: .5rem
    }

    .gallery__grid {
        grid-template-columns: 1fr
    }
}