/* ==================================================
   HERO
================================================== */

.hero {
    min-height: 620px;
    padding: 80px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient( rgba(20, 20, 20, 0.52), rgba(20, 20, 20, 0.52) ), url("../images/flores.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}

    .hero-content h1 {
        margin-bottom: 20px;
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(48px, 7vw, 90px);
        font-weight: 400;
        line-height: 1;
    }

    .hero-content p {
        margin-bottom: 32px;
        font-size: clamp(17px, 2vw, 22px);
        line-height: 1.7;
    }

.hero-highlight {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4em;
    font-style: italic;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background-color: #e8edd6;
    border: 1px solid #e8edd6;
    border-radius: 999px;
    color: #24271e;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

    .hero-button:hover {
        background-color: transparent;
        color: white;
        transform: translateY(-3px);
    }

.hero-button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background-color: transparent;
    border: 1px solid #e8edd6;
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

    .hero-button-outline:hover {
        background-color: #e8edd6;
        color: #24271e;
        transform: translateY(-3px);
    }


/* ==================================================
   SECCIÓN SOBRE NOSOTROS
================================================== */

.about-section {
    padding: 120px 24px;
    background-color: #f7f5ef;
    overflow: hidden;
}

.about-container {
    width: min(100%, 1250px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}

.about-image {
    min-height: 580px;
    position: relative;
}

    .about-image img {
        width: 100%;
        height: 580px;
        position: relative;
        z-index: 2;
        display: block;
        object-fit: cover;
        border-radius: 4px;
    }

.image-decoration {
    width: 70%;
    height: 70%;
    position: absolute;
    right: -25px;
    bottom: -25px;
    background-color: #dfe5c9;
    border-radius: 4px;
}

.about-content {
    max-width: 570px;
}

.section-label {
    display: inline-block;
    margin-bottom: 18px;
    color: #767c60;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.about-content h2 {
    margin-bottom: 28px;
    color: #252525;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.08;
}

    .about-content h2 span {
        display: block;
        color: #7f8767;
        font-style: italic;
    }

.about-content p {
    margin-bottom: 22px;
    color: #5b5b5b;
    font-size: 16px;
    line-height: 1.9;
}

.typing-container {
    min-height: 65px;
    color: #292929 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px !important;
    line-height: 1.5 !important;
}

.typing-cursor {
    color: #7f8767;
    animation: cursorBlink 0.8s infinite;
}

@keyframes cursorBlink {
    0%, 50% {
        opacity: 1;
    }

    51%, 100% {
        opacity: 0;
    }
}

.about-button {
    margin-top: 15px;
    padding-bottom: 7px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid #333333;
    color: #252525;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.3s ease, color 0.3s ease;
}

    .about-button:hover {
        gap: 20px;
        color: #7f8767;
    }


/* ==================================================
   SERVICIOS
================================================== */

.services-section {
    padding: 120px 24px;
    background-color: #ffffff;
}

.services-heading {
    width: min(100%, 700px);
    margin: 0 auto 70px;
    text-align: center;
}

    .services-heading h2 {
        margin-bottom: 20px;
        color: #252525;
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(38px, 5vw, 58px);
        font-weight: 400;
        line-height: 1.15;
    }

    .services-heading p {
        color: #696969;
        font-size: 16px;
        line-height: 1.8;
    }

.services-grid {
    width: min(100%, 1250px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    min-height: 380px;
    padding: 35px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #f7f5ef;
    border: 1px solid transparent;
    border-radius: 3px;
    transition: transform 0.35s ease, background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

    .service-card:hover {
        background-color: #ffffff;
        border-color: #dfe5c9;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
        transform: translateY(-10px);
    }

.service-number {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #babdab;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
}

.service-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e4e9d2;
    border-radius: 50%;
    color: #4d533e;
    font-size: 25px;
    transition: transform 0.35s ease;
}

.service-card:hover .service-icon {
    transform: rotate(-8deg) scale(1.08);
}

.service-card h3 {
    margin-bottom: 18px;
    color: #242424;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 400;
}

.service-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-card h3 a:hover {
    color: #7f8767;
}

.service-card p {
    margin-bottom: 30px;
    color: #696969;
    font-size: 15px;
    line-height: 1.8;
}

.service-card a {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #343434;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: gap 0.3s ease, color 0.3s ease;
}

    .service-card a:hover {
        gap: 16px;
        color: #7b835f;
    }


/* ==================================================
   MENSAJE FINAL
================================================== */

.business-message {
    width: min(calc(100% - 48px), 1250px);
    margin: 0 auto 120px;
    padding: 65px 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    background-color: #20221c;
    border-radius: 5px;
    color: white;
}

    .business-message > div > span {
        display: block;
        margin-bottom: 14px;
        color: #cdd4b2;
        font-size: 12px;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .business-message h2 {
        max-width: 690px;
        margin: 0;
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(35px, 5vw, 58px);
        font-weight: 400;
        line-height: 1.1;
    }

        .business-message h2 em {
            color: #dce4c1;
            font-weight: 400;
        }

.contact-button {
    flex-shrink: 0;
    padding: 15px 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #e8edd6;
    border-radius: 999px;
    color: #252820;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .contact-button:hover {
        background-color: white;
        color: #252820;
        transform: translateY(-3px);
    }


/* ==================================================
   ANIMACIONES AL HACER SCROLL
================================================== */

.reveal-left,
.reveal-right,
.reveal-up {
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-left {
    transform: translateX(-70px);
}

.reveal-right {
    transform: translateX(70px);
}

.reveal-up {
    transform: translateY(60px);
}

.reveal-visible {
    opacity: 1;
    transform: translate(0);
}


/* Retraso progresivo para tarjetas */

.service-card:nth-child(1) {
    transition-delay: 0.05s;
}

.service-card:nth-child(2) {
    transition-delay: 0.15s;
}

.service-card:nth-child(3) {
    transition-delay: 0.25s;
}

.service-card:nth-child(4) {
    transition-delay: 0.35s;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1050px) {

    .about-container {
        gap: 50px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .business-message {
        padding: 55px 45px;
    }
}

@media (max-width: 800px) {

    .about-section,
    .services-section {
        padding-top: 85px;
        padding-bottom: 85px;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-content {
        max-width: 100%;
    }

    .about-image {
        min-height: auto;
    }

        .about-image img {
            height: 460px;
        }

    .business-message {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {

    .hero {
        min-height: 540px;
    }

    .about-section,
    .services-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .about-image img {
        height: 360px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 330px;
    }

    .business-message {
        width: calc(100% - 30px);
        margin-bottom: 80px;
        padding: 45px 28px;
    }

    .contact-button {
        width: 100%;
        justify-content: center;
    }
}
