* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #F5F5F5;
    color: #1E1E1E;
    line-height: 1.5;
}

body.intro {
    overflow: hidden;
}

.container {
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

.container section {
    scroll-snap-align: start;
}

.home header {
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 0 20px;
    text-align: center;
    animation: encoger 1.5s ease forwards;
    animation-delay: .8s;
}

@keyframes encoger {
    0% {
        height: 100vh;
    }

    100% {
        height: 150px;
    }
}

.home .logo {
    width: 420px;
    max-width: 410px;
    margin-top: 10px;
    margin-bottom: 10px;
    animation: compactarLogo 1.5s ease forwards;
    animation-delay: .8s;
}

.slogan {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: normal;
    color: #666;
    max-width: 90%;
    animation: compactarSlogan 1.5s ease forwards;
    animation-delay: .8s;
}

@keyframes compactarLogo {
    0% {
        width: 420px;
        max-width: 410px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    100% {
        width: 160px;
        max-width: 160px;
        margin-top: 4px;
        margin-bottom: 4px;
    }
}

@keyframes compactarSlogan {
    0% {
        margin-bottom: 10px;
        font-size: 1.5rem;
    }

    100% {
        margin-bottom: 4px;
        font-size: 1rem;
    }
}

.cards {
    opacity: 0;
    height: calc(100vh - 150px);
    transform: translateY(20px);
    transition: opacity .6s, transform .6s;
    display: flex;
    width: 100%;
    pointer-events: none;
}

.cards.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.home .card {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.home .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s;
}

.home .card:hover img {
    transform: scale(1.08);
}

.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, .60);
    opacity: 0;
    transition: .6s;
    padding: 24px;
    text-align: center;
}

.overlay p {
    max-width: 420px;
    margin-top: 10px;
    line-height: 1.45;
}

.card:hover .overlay {
    opacity: 1;
}

.btn {
    margin-top: 15px;
    padding: 10px 20px;
    background: #B8A37A;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 86px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.site-header .logo {
    width: 140px;
    max-width: 70vw;
    max-height: 54px;
    margin: 0;
    display: block;
    object-fit: contain;
}

.page-hero {
    margin-top: 86px;
    width: 100%;
    height: 100vh;
    overflow: hidden;

    scroll-snap-align: start; /* o "center", "end" */
}

.page-hero img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    color: #1E1E1E;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.site-nav a:hover {
    color: #B8A37A;
}

.nav-toggle {
    display: none;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1E1E1E;
    border-radius: 2px;
}

.site-footer {
    background: #1E1E1E;
    color: #F5F5F5;
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(180px, 1fr));
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 40px 40px;
}

.footer-brand img {
    width: 150px;
    display: block;
    margin-bottom: 16px;
    /* filter: brightness(0) invert(1); */
}

.footer-brand p,
.footer-contact p {
    color: #D4D4D4;
    max-width: 360px;
}

.site-footer h2 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.site-footer a {
    color: #D4D4D4;
    text-decoration: none;
}

.site-footer a:hover {
    color: #B8A37A;
}

.footer-button {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 16px;
    background: #B8A37A;
    color: #fff !important;
    border-radius: 5px;
    font-weight: 600;
}

.footer-button:hover {
    background: #D0BD95;
}

.footer-bottom {
    padding: 18px 40px;
    border-top: 1px solid #3A3A3A;
    color: #BDBDBD;
    font-size: .9rem;
    text-align: center;
}

@media (max-width: 760px) {
    .site-header {
        height: 76px;
        padding: 0 18px;
    }

    .site-header .logo {
        width: 120px;
        max-height: 46px;
    }

    .page-hero {
        margin-top: 76px;
        height: 240px;
    }

    .menu-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        background: white;
        box-shadow: 0 12px 18px rgba(0, 0, 0, .12);
        transition: max-height .25s ease;
    }

    .site-nav a {
        padding: 16px 22px;
        border-top: 1px solid #eee;
    }

    .nav-toggle:checked ~ .site-nav {
        max-height: 320px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 36px 18px 30px;
    }

    .footer-bottom {
        padding: 16px 18px;
    }
}

@media (max-width: 700px) {
    @keyframes encoger {
        0% {
            height: 100svh;
        }

        100% {
            height: 150px;
        }
    }

    @keyframes compactarLogo {
        0% {
            width: min(260px, 76vw);
            max-width: 76vw;
            margin-top: 10px;
            margin-bottom: 10px;
        }

        100% {
            width: 130px;
            max-width: 130px;
            margin-top: 2px;
            margin-bottom: 2px;
        }
    }

    @keyframes compactarSlogan {
        0% {
            margin-bottom: 10px;
            font-size: 1rem;
        }

        100% {
            margin-bottom: 2px;
            font-size: .72rem;
        }
    }

    .home header {
        height: 100svh;
        padding: 0 18px;
    }

    .home .logo {
        width: min(260px, 76vw);
        max-width: 76vw;
    }

    .slogan {
        max-width: 300px;
        line-height: 1.25;
    }

    .cards {
        height: calc(100svh - 150px);
        flex-direction: column;
        transform: translateY(12px);
    }

    .home .card {
        width: 100%;
        height: 50%;
        min-height: 0;
    }

    .overlay {
        opacity: 1;
        padding: 18px;
        background: rgba(255, 255, 255, .78);
    }

    .overlay h2 {
        font-size: 1.35rem;
    }

    .overlay p {
        max-width: 320px;
        font-size: .92rem;
        line-height: 1.35;
    }

    .btn {
        margin-top: 12px;
        padding: 9px 14px;
        font-size: .9rem;
    }
}

@media (max-width: 380px) {
    .overlay h2 {
        font-size: 1.15rem;
    }

    .overlay p {
        font-size: .82rem;
    }

    .btn {
        font-size: .78rem;
    }
}


/* cards */

.portfolio {
  display: flex;
  flex-wrap: wrap;
}

.portfolio h2 {
  flex-basis: 100%;
  text-align: center;
  margin: 30px auto 30px;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 2px;
  color: #111;
  font-family: 'Segoe UI', sans-serif;
}
.card {
  width: 25%;
  overflow: hidden;
  position: relative;
}
.card .content {
  z-index: 2;
  width: 100%;
  position: absolute;
  bottom: -100px;
  transition: all 0.7s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  min-height: 100px;
  background: #1E1E1E;
}
.card .image {
  z-index: 1;
  height: 100%;
}
.card img {
  height: 100%;
  width: 100%;
  transition: all 0.5s ease;
  transform: scale(1.2);
}

.card:hover .content {
  bottom: 0px;
  color: #fff;
}

.card:hover .image img {
  transform: scale(1);
}

.card .content span:first-child {
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  color: #fff;
  font-size: 16px;
}

.card .content span:last-child {
  font-size: 14px;
  color: #B8A37A;
  text-align: center;
  font-weight: 700;
}


@media screen and (max-width: 768px) {
  .card {
  width: 50%;
  }
  .card .content {
    bottom: 0;
  }
}

@media screen and (max-width: 480px) {
  .card {
  width: 100%;
  }
}

/* botón de WhatsApp */
.float-wa{
        position:fixed;
        width:60px;
        height:60px;
        bottom:40px;
        right:40px;
        background-color:#25d366;
        color:#FFF;
        border-radius:50px;
        text-align:center;
        font-size:30px;
        z-index:100;
    }

.contact-main{
    margin-top: 86px;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    scroll-snap-align: start; /* o "center", "end" */
}