/* ===== RESET Y VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: #ffffff;
    color: #2f3e2e;
    line-height: 1.5;
    overflow-x: hidden;
    padding-top: 80px; /* espacio para el navbar fijo */
}

html {
    scroll-behavior: smooth;
}

:root {
    --verde-profundo: #1f3b2c;
    --verde-oliva: #5a7c5a;
    --crema: #fef7e9;
    --terracota: #b86b4d;
    --gris-claro: #f0f0eb;
    --sombra-suave: 0 20px 30px -10px rgba(0, 20, 10, 0.15);
    --transicion: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ===== UTILIDADES IDIOMA ===== */
.lang-es, .lang-en {
    transition: opacity 0.2s ease;
}
[data-lang="en"] .lang-es { display: none; }
[data-lang="es"] .lang-en { display: none; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /*background: rgba(255, 255, 255, 0.92);*/
    background: linear-gradient(135deg, #006666 15%, white 45%);
    /*background: rgba(255, 255, 255, 0.92);*/
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    z-index: 999;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(90, 124, 90, 0.2);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--verde-profundo);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.logo i {
    color: var(--terracota);
    margin-right: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
}

.nav-menu li a {
    text-decoration: none;
    font-weight: 600;
    color: var(--verde-profundo);
    font-size: 1.1rem;
    transition: var(--transicion);
    position: relative;
    padding-bottom: 5px;
}

.nav-menu li a:hover {
    color: var(--terracota);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--terracota);
    transition: width 0.3s;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* botón idioma dentro del nav */
.nav-lang-toggle {
    background: transparent;
    border: 2px solid var(--verde-oliva);
    padding: 6px 16px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transicion);
    color: var(--verde-profundo);
    margin-left: 1rem;
}
.nav-lang-toggle:hover {
    background: var(--verde-oliva);
    color: white;
    border-color: var(--verde-oliva);
    transform: scale(1.02);
}

/* ===== HERO CON NUEVO DEGRADADO ===== */
.hero {
    min-height: 80vh;
    background: linear-gradient(135deg, #006666 15%, white 45%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /*padding: 2rem 2rem 0rem;   padding inferior 0 para que la onda toque */
    /*padding: 1rem 2rem;*/
}
.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--verde-oliva);
    opacity: 0.03;
    border-radius: 50%;
    bottom: -200px;
    right: -100px;
    pointer-events: none;
}
.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero h1 {
    font-size: clamp(2.3rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--verde-profundo);
    margin-bottom: 1.2rem;
    animation: fadeUp 1s ease;
}
.hero h1 i {
    color: var(--terracota);
    font-size: 0.9em;
    margin-right: 10px;
}
.hero p {
    font-size: 1.3rem;
    color: #3f5842;
    margin-bottom: 2.5rem;
    max-width: 550px;
    animation: fadeUp 1s 0.1s both;
}
.btn-group2 {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeUp 1s 0.2s both;
}
.btn2 {
    display: inline-block;
    padding: 1rem 2.4rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transicion);
    border: 2px solid transparent;
}
.btn2-primary {
    background: var(--terracota);
    color: white;
    box-shadow: 0 10px 15px -8px #1f3b2c;
}
.btn-sms {
    background: var(--terracota);
    /*color: #b86b4d;*/
    color: white;
    box-shadow: 0 10px 15px -8px #1f3b2c;
}
.btn-whatsapp {
    /*background: var(--verde-oliva);*/
    background: var(--terracota);
    /*color: greenyellow;*/
    color: white;
    box-shadow: 0 10px 15px -8px #1f3b2c;
}
.btn2-primary:hover {
    background: white;
    color: var(--verde-profundo);
    transform: translateY(-5px);
    /*                background: #9f5b3f;
                    transform: translateY(-5px);
                    box-shadow: 0 20px 25px -10px var(--terracota);*/
}
.btn2-outline {
    /*                background: transparent;
                    border: 2px solid white;
                    color: white;*/
    background: var(--terracota);
    color: white;
    box-shadow: 0 10px 15px -8px #1f3b2c;
}
.btn2-outline:hover {
    background: white;
    color: var(--verde-profundo);
    transform: translateY(-5px);
}
.hero-img {
    text-align: center;
    animation: float 4s infinite alternate ease-in-out;
}
.hero-img i {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.5);
    filter: drop-shadow(0 20px 15px rgba(0,0,0,0.2));
}

/* ===== ONDA SVG (ahora se funde con el hero) ===== */
.custom-wave {
    display: block;
    width: 100%;
    line-height: 0;
    background: transparent;
    margin-top: -2px; /* elimina espacio */
}
.custom-wave svg {
    display: block;
    width: 100%;
    height: auto;
    fill: #ffffff; /* blanco puro para que empiece la sección blanca */
}

/* ===== SECCIÓN SERVICIOS ===== */
.servicios {
    /*padding: 4rem 2rem 6rem;*/
    background: white;
}
.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--verde-profundo);
    margin-bottom: 1rem;
}
/*.section-sub {
    text-align: center;
    color: #5e6f5e;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}*/
/*.servicios-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}*/
/*.servicio-card {

    background: var(--crema);
    padding: 2rem 1.8rem;
    border-radius: 30px;
    box-shadow: var(--sombra-suave);
    transition: var(--transicion);
    border: 1px solid rgba(90,124,90,0.15);
    opacity: 0;
    transform: translateY(30px);
    animation: aparecer 0.6s forwards;
}*/
.servicio-card:nth-child(1) { animation-delay: 0.1s; }
.servicio-card:nth-child(2) { animation-delay: 0.2s; }
.servicio-card:nth-child(3) { animation-delay: 0.3s; }
.servicio-card:nth-child(4) { animation-delay: 0.4s; }
.servicio-card:nth-child(5) { animation-delay: 0.5s; }
.servicio-card:nth-child(6) { animation-delay: 0.6s; }

.servicio-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: white;
    border-color: var(--terracota);
}
.card-icon {
    font-size: 2.8rem;
    color: var(--terracota);
    margin-bottom: 1.5rem;
}
.servicio-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--verde-profundo);
}
.servicio-card p {
    color: #3f4e3f;
}

/* ===== MISIÓN Y VISIÓN ===== */
.mision-vision {
    padding: 5rem 2rem;
    /*background: var(--gris-claro);*/
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

/*.mv-card {
    background: white;
    border-radius: 40px;
    padding: 3rem 2.5rem;
    flex: 1 1 400px;
    max-width: 550px;
    box-shadow: var(--sombra-suave);
    transition: 0.3s;
    border-bottom: 5px solid var(--terracota);
    opacity: 0;
    transform: scale(0.95);
    animation: aparecer 0.5s 0.2s forwards;
}*/
.mv-card:hover {
    transform: scale(1.02) translateY(-5px);
}
.mv-icon {
    font-size: 3rem;
    color: var(--verde-oliva);
    margin-bottom: 1.5rem;
}
.mv-card h2 {
    font-size: 2.2rem;
    color: var(--verde-profundo);
    margin-bottom: 1.5rem;
}
.mv-card p {
    /*font-size: 1.2rem;*/
    color: #2f3e2e;
    line-height: 1.6;
}

/* ===== NUEVA SECCIÓN DE CONTACTO CON FORMULARIO ===== */
.contacto {
    padding: 5rem 2rem;
    /*background-color: rgb(233, 238, 245)*/
    background: linear-gradient(135deg, #006666 0%, white 40%);
}
.contacto-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contacto-info h3 {
    font-size: 2rem;
    color: var(--verde-profundo);
    margin-bottom: 1.5rem;
}
.contacto-info p {
    font-size: 1.1rem;
    color: #3f4e3f;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.contacto-detalle {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contacto-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}
.contacto-item i {
    width: 40px;
    height: 40px;
    background: var(--verde-profundo);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.contacto-item a {
    color: var(--verde-profundo);
    text-decoration: none;
}
.contacto-item a:hover {
    text-decoration: underline;
}

.contacto-form {
    background: silver;
    /*background: var(--crema);*/
    /*background: linear-gradient(135deg, #006666 0%, white 70%);*/
    padding: 2.5rem;
    border-radius: 40px;
    box-shadow: var(--sombra-suave);
}
.contacto-form h3 {
    font-size: 1.8rem;
    color: var(--verde-profundo);
    margin-bottom: 2rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--verde-profundo);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 30px;
    background: white;
    font-size: 1rem;
    transition: var(--transicion);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--terracota);
    box-shadow: 0 0 0 4px rgba(184, 107, 77, 0.2);
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.btn-submit {
    background: var(--verde-profundo);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transicion);
    width: 100%;
}
.btn-submit:hover {
    background: var(--terracota);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px var(--terracota);
}

/* ===== FOOTER ===== */
footer {
    background: var(--verde-profundo);
    color: #e7efe0;
    padding: 3rem 2rem;
    text-align: center;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-contact i {
    margin: 0 8px;
    color: var(--terracota);
}
.footer-contact a {
    color: white;
    text-decoration: none;
}
.footer-contact a:hover {
    text-decoration: underline;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes aparecer {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-20px); }
}


.img1-hero-img{
    border-style: solid;
    border-radius:50%;
    width: 100%;
}


.collage {
    position: relative;
    width: 400px;        /* Ajusta según el tamaño deseado */
    height: 300px;        /* Altura del contenedor */
    margin: 20px;
}

.circle {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 0 2px white inset; /* Sombra exterior y borde blanco interno opcional */
    border: 4px solid white;  /* Borde blanco para resaltar */
    transition: transform 0.2s ease;
}
/* Posiciones de cada círculo – ajústalas a tu gusto */
.circle1 {
    top: 0px;
    left: 0px;
    background-image: url('../imgs/img001.jpeg'); /* Paisaje */
    /*z-index: 1;*/
}

.circle2 {
    top: 20px;
    left: 200px;
    background-image: url('../imgs/img1.png'); /* Flor */
    z-index: 3;
}

.circle3 {
    top: 20px;
    left: 375px;
    background-image: url('../imgs/006.png'); /* Paisaje */
    z-index: 2;
}
.circle4 {
    top: -150px;
    left: 150px;
    background-image: url('../imgs/img003.webp'); /* Paisaje */
    z-index: 2;
}
.circle5 {
    top: 150px;
    left: 150px;
    background-image: url('../imgs/img005.jpg'); /* Paisaje */
    z-index: 2;
}


.alert-success-difuminado {
    background: linear-gradient(135deg, #006666 0%, white 40%);
    border: 0px;
    border-radius:50% 0% 10% 5px;
    /*border-right:  1px;*/
    /*   opacity: 0.8; */

}


.quienes-somos-alert{
    background: linear-gradient(135deg, #006666 0%, white 40%);
    border: 0px;
    border-radius: 25px;
}
.btn-info-services{
    border-radius: 25px;
}
.btn-message-services{
    border-radius: 25px;
}
.icon-certificate{
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.btn-servicios{
    bottom: 0px;
    margin-bottom: 5px;
}

/*-------------------------------------------------------------------------------*/

.collage {
    position: relative;
    width: 800px;
    height: 500px;
    background: white; /* Fondo blanco que se verá entre las imágenes */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.2s ease;
}

.image:hover {
    transform: scale(1.02);
    z-index: 10;
}

/* Imagen 1: diagonal (izquierda) - con separación */
.img1 {
    clip-path: polygon(0% 0%, 69.7% 0%, 39.7% 100%, 0% 100%);
    background-image:url('../imgs/000.webp');  
}

/* Imagen 2: superior derecha - con separación */
.img2 {
    clip-path: polygon(70.3% 0%, 100% 0%, 100% 49.7%, 40.3% 49.7%);
    background-image: url('../imgs/022.jpg');     
}

/* Imagen 3: inferior - con separación */
.img3 {
    clip-path: polygon(0% 100%, 100% 100%, 100% 50.3%, 39.7% 50.3%, 0% 100%);
    background-image: url('../imgs/022.jpg');  
}



.servicios-grid .card:hover {
    padding: 0.5rem;
    border-radius: 30px;

}


.servicios-grid .card {
    max-width: 100%;     

    /*padding: 5px;*/
    background: var(--crema);
    padding: 0.8rem;
    border-radius: 30px;
    box-shadow: var(--sombra-suave);
    transition: var(--transicion);
    border: 1px solid rgba(90,124,90,0.15);
    opacity: 0;
    transform: translateY(30px);
    animation: aparecer 0.6s forwards;
}

.info-hero{
      animation: fadeUp 1s ease;
}