/* osirismontes.com - Versión Final Pro + Hero Premium | OPTIMIZADO SIN LÍNEAS INNECESARIAS */

:root {
    --negro-profundo: #000000;
    --negro-claro: #111111;
    --verde: #5CCE59;
    --blanco: #ffffff;
    --transparente-oscuro: rgba(17, 17, 17, 0.7);
    --ancho-maximo: 1200px
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    height: 100%
}

body {
    color: var(--blanco);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;

    min-height: 100dvh;

    background-attachment: fixed;
    background-color: var(--negro-profundo);

    overflow-x: hidden;

    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;

    background: radial-gradient(circle at center,
            var(--negro-claro) 0%,
            var(--negro-profundo) 100%);
}

/* NAV */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    max-width: var(--ancho-maximo);
    margin: 0 auto;
    width: 90%;
    flex-wrap: wrap;
    gap: 1.3rem;
    z-index: 100;
    position: relative;
}

.logo {
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: 2px
}

.logo img {
    max-width: 305px;
    max-height: 107px;
    transform: translateY(+5px);
    transition: filter .3s ease;
}

.logo img:hover {
    filter: drop-shadow(0 0 8px var(--verde)) drop-shadow(0 0 2px rgba(92, 206, 89, 0.4));
}

.logo span {
    color: var(--verde)
}

nav ul {
    list-style: none;
    display: flex;
    text-transform: uppercase;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    color: var(--blanco);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all .3s ease
}

nav a:hover {
    color: var(--verde);
    text-shadow: 0 0 10px rgba(92, 206, 89, .3)
}

/* MENÚ HAMBURGUESA */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 999;
    margin-left: auto;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--blanco);
    transition: .35s ease;
    border-radius: 2px;
}

/* ANIMACIÓN DE MENÚ HAMBURGUESA */

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* MENÚ A PANTALLA COMPLETA CON GLASSMORPHISM */

@media(max-width:1250px) {

    nav ul {
        position: fixed;
        inset: 0;

        flex-direction: column;
        justify-content: center;
        align-items: center;

        background: rgba(17, 17, 17, .75);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);

        transform: translateY(-100%);
        transition: transform .45s ease;

        z-index: 998;
    }

    nav ul.active {
        transform: translateY(0);
    }

    nav ul li {
        margin: 1.5rem 0;
    }

    nav ul a {
        font-size: 2rem;
    }

    .hamburger {
        display: flex;
    }

}

/* BOTONES */
.btn-cta {
    background: transparent;
    border: 2px solid var(--verde);
    color: var(--verde);
    padding: .7rem 1.8rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all .3s ease;
    display: inline-block;
    text-align: center
}

.btn-cta:hover {
    background-color: var(--verde);
    color: var(--blanco);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(92, 206, 89, .4)
}

/* HERO */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    max-width: var(--ancho-maximo);
    margin: 0 auto;
    position: relative;
    text-align: left;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3rem);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--blanco);
}

.hero h2 {
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--blanco);
}

.hero h1 span {
    color: var(--verde);
}

.hero p {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.8rem;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.fancy-orb {
    position: absolute;
    top: 20%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(92, 206, 89, .12) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    animation: floating-orb 10s infinite alternate ease-in-out
}

/* ANIMACIONES */
.fade-up,
.fade-up-delay {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease-out, transform .8s ease-out;
}

.fade-up.visible,
.fade-up-delay.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes floating-orb {
    from {
        transform: translate(0, 0) scale(1)
    }

    to {
        transform: translate(-40px, 80px) scale(1.15)
    }
}

/* SERVICIOS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3.5rem;
    padding: 4rem 0 8rem 0;
    max-width: var(--ancho-maximo);
    margin: 0 auto;
    width: 90%;
    position: relative;
    z-index: 2
}

.card {
    background: var(--transparente-oscuro);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, .08);
    padding: 3.5rem 2.5rem;
    text-align: left;
    border-radius: 15px;
    transition: all .5s ease;
    display: flex;
    flex-direction: column;
    height: 100%
}

.card:hover {
    border-color: var(--verde);
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .7)
}

.card h3 {
    color: var(--blanco);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.2;
    position: relative;
    padding-bottom: 1rem
}

.card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--verde)
}

.card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 2rem;
    flex-grow: 1
}

.service-details {
    list-style: none;
    padding: 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 2rem
}

.service-details li {
    font-size: .95rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, .8);
    position: relative;
    padding-left: 1.8rem;
    line-height: 1.5
}

.service-details li::before {
    content: '→';
    color: var(--verde);
    position: absolute;
    left: 0;
    font-weight: bold
}

.service-details li strong {
    color: var(--verde);
    display: block;
    margin-bottom: .2rem;
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: 1px
}

/* IMAGE FRAME (UNIFICADO) */
.image-frame {
    position: relative;
    border-radius: 17px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .05);
    background: var(--negro-claro);
    aspect-ratio: 2/3;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5)
}

.image-frame:hover {
    box-shadow: var(--verde) 0 0 0 1.5px;
    transition: transform .6s ease;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.05) brightness(.9);
    transition: transform .6s ease
}

.image-frame:hover img {
    transform: scale(1.05)
}

.experience-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--verde), rgba(92, 206, 89, .85));
    color: var(--negro-profundo);
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(8px);
    z-index: 2
}

.experience-badge strong {
    font-size: 1.8rem;
    display: block;
    line-height: 1
}

.experience-badge span {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px
}

/* CONTACTO */
.contact-container {
    max-width: var(--ancho-maximo);
    margin: 0 auto;
    width: 90%;
    padding: 3rem 0;
    position: relative;
    z-index: 2;
    scroll-margin-top: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start
}

.contact-info h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem
}

.contact-info h2 span {
    color: var(--verde)
}

.contact-item {
    margin-top: 2rem
}

.contact-item strong {
    color: var(--verde);
    display: block;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: .3rem
}

.contact-cta .contact-item strong {
    color: var(--blanco);
}

.contact-cta .btn-whatsapp {
    width: 100%;
    justify-content: center;
}

.contact-cta .btn-whatsapp:hover {
    background: var(--verde);
    color: var(--blanco);
}

/* WHATSAPP */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    padding: .8rem 1.5rem;
    background: rgba(92, 206, 89, .1);
    border: 1px solid var(--verde);
    color: var(--verde);
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    font-size: 1.2rem;
    transition: all .3s ease;
    animation: pulse-green 2s infinite
}

.btn-whatsapp:hover {
    background: var(--verde);
    color: var(--negro-profundo);
    transform: scale(1.05)
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(92, 206, 89, .4)
    }

    70% {
        box-shadow: 0 0 0 10px rgba(92, 206, 89, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(92, 206, 89, 0)
    }
}

/* LINKS */
a {
    color: var(--verde);
    text-decoration: none;
    display: inline-block;
    transition: all .25s ease;
}

a:hover {
    color: #fff;
    transform: scale(1.05);
    text-shadow:
        0 0 5px var(--verde),
        0 0 10px var(--verde),
        0 0 20px var(--verde);
}

* {
    -webkit-tap-highlight-color: transparent;
}

a,
button {
    outline: none;
}

/* FORM */
.contact-form form {
    display: flex;
    flex-direction: column
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1.1rem;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    color: var(--blanco);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    appearance: none
}

.contact-form select option {
    background-color: var(--negro-claro);
    color: var(--blanco)
}

.contact-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%235CCE59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem
}

/* FOOTER */
footer {
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding: 4rem 0;
    text-align: center
}

.footer-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, .5)
}

.footer-content p.credito {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, .4);
    letter-spacing: .05em;
}

.footer-logo img {
    max-height: 45px;
    max-width: 200px;
}

.footer-logo img:hover {
    filter: drop-shadow(0 0 2px var(--verde)) drop-shadow(0 0 20px rgba(92, 206, 89, 0.4));
    transition: filter .3s ease;
}

/* RESPONSIVE */
@media(max-width:1050px) {

    nav {
        justify-content: center;
        text-align: center;
        align-items: center;
        flex-wrap: nowrap;
    }

    .logo {
        width: auto;
        margin-bottom: 0;
    }

    .hero {
        text-align: center;
        justify-content: center;
        min-height: 80vh;
    }

    .fancy-orb {
        right: 50%;
        transform: translateX(50%);
        width: 400px;
        height: 400px;
    }

}

@media(max-width:900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center
    }

    .services-grid {
        grid-template-columns: 1fr;
        padding: 6rem 0
    }
}

/* =====================================================
REVIEWS
Sistema en Flex para controlar layout 3 arriba / 2 abajo
===================================================== */

.reviews-container {
    max-width: 1400px;
    scroll-margin-top: 150px;
}

/* Encabezado de sección */

.reviews-header {
    text-align: center;
    margin-bottom: 7rem;
    margin-top: 3rem;
    padding: 0 5%;
    scroll-margin-top: 120px;
}

.reviews-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 1rem;
    color: var(--blanco);
}

.reviews-header h2 span {
    color: var(--verde);
}

.reviews-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, .6);
    max-width: 700px;
    margin: 0 auto;
}

/* GRID FLEX CONTROLADO */

.reviews-grid {

    display: flex;
    flex-wrap: wrap;
    align-items: stretch;

    /* centra las filas */
    justify-content: center;

    gap: 2.5rem;

    max-width: var(--ancho-maximo);
    margin: 2rem auto 0 auto;
}

/* TARJETA DE RESEÑA */

.review-card {

    min-height: 320px;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    gap: 1.5rem;

    /* EXACTAMENTE 3 COLUMNAS */
    flex: 0 0 calc(33.333% - 1.7rem);

    max-width: 500px;

    cursor: pointer;

    background: var(--transparente-oscuro);
    backdrop-filter: blur(12px);

    border: 2px solid rgba(255, 255, 255, .05);
    border-radius: 15px;

    padding: 1.5rem;

    transition: all .4s ease;
}

.review-card:hover,
.review-card.expanded {
    border-color: var(--verde);
    transform: translateY(-5px);
}

/* ESTRELLAS */

.stars {
    color: #f5b301;
    letter-spacing: 2px;
    font-size: 18px;
}

/* TEXTO DE RESEÑA */

.review-body {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .7);

    display: -webkit-box;
    line-clamp: 5;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: 8.5em;
    /* reserva espacio para 5 líneas */
}

.review-card.expanded .review-body {
    line-clamp: unset;
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* FOOTER */

.review-footer {

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: auto;
    padding-top: 1.5rem;

    border-top: 1px solid rgba(255, 255, 255, .05);
}

/* AUTOR */

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
    font-size: .9rem;
    color: var(--blanco);
    line-height: 1.2;
    min-height: 1.2em;
}

.author-info span {
    font-size: .8rem;
    color: var(--verde);
    opacity: .8;
}

/* FOTO PERFIL */

.review-footer img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--verde);
    object-fit: cover;
}

/* RESPONSIVE */

@media(max-width:1100px) {

    .review-card {
        flex: 1 1 calc(50% - 2.5rem);
    }

}

@media(max-width:700px) {

    .review-card {
        flex: 1 1 100%;
    }

}

/* ABOUT */
.about-container {
    max-width: var(--ancho-maximo);
    margin: 0 auto;
    width: 90%;
    padding: 180px 0;
    justify-content: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: top;
}

.about-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    letter-spacing: -.03em
}

.about-content h2 span {
    color: var(--verde);
}

.about-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.consultation-modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 3rem 0
}

.mode-item {
    background: rgba(255, 255, 255, .02);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .05);
    border-left: 3px solid var(--verde)
}

.mode-item strong {
    display: block;
    color: var(--verde);
    font-size: .9rem;
    text-transform: uppercase;
    margin-bottom: .4rem
}

.mode-item p {
    font-size: .9rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .8)
}

@media(max-width:1000px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem
    }

    .consultation-modes {
        grid-template-columns: 1fr;
        text-align: left
    }
}

/* THANKS */
.thanks-page .hero {
    text-align: left;
    min-height: 80vh
}

.preparation-card {
    margin: 2.5rem 0;
    text-align: left;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(92, 206, 89, .2)
}

.preparation-card h3 {
    color: var(--verde);
    font-size: 1.4rem;
    margin-bottom: 1.5rem
}

.preparation-card ul {
    list-style: none;
    padding: 0
}

.preparation-card li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .8);
    position: relative;
    padding-left: 1.5rem
}

.preparation-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--verde)
}

@media(max-width:900px) {
    .thanks-container {
        padding-top: 5rem
    }
}

section {
    max-width: var(--ancho-maximo);
    margin: 0 auto;
    width: 90%;
    scroll-padding-top: 120px;
}

.form-success {
    background: #0a3d2c;
    color: #7fffd4;
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-family: Antonio, sans-serif;
}