@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --color-rosa: #F4C2C2;
  --color-azul: #A8D0E6;
  --color-amarillo: #FBC02D;
  --color-verde: #A3E4D7;
  --color-texto: #444;
  --color-blanco: #ffffff;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--color-texto);
  background-color: #fcfcfc;
  overflow-x: hidden;
}

/* --- ANIMACIONES --- */
@keyframes FadeUpSimple {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes moverFondo {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
main { animation: FadeUpSimple 0.8s ease-out 0.2s both; }

/* --- CABECERA (HEADER) --- */
header {
  background-color: rgba(255, 255, 255, 0.98);
  padding: 0.8rem 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO SUPERIOR */
a.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.3s ease;
}
a.logo-container:hover { transform: scale(1.02); text-decoration: none; }

.logo-img-header {
    height: 55px; /* Tamaño controlado */
    width: auto;
    object-fit: contain;
    border: none;
}

.logo-texto h1 { margin: 0; font-size: 1.4rem; color: #5D9CB3; line-height: 1.2; text-decoration: none; }
.logo-texto span { display: block; font-size: 0.8rem; color: #888; text-decoration: none; }

/* MENÚ DE NAVEGACIÓN */
nav ul { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
nav a { text-decoration: none; color: #666; font-weight: 500; font-size: 0.9rem; padding: 0.6rem 1.2rem; border-radius: 50px; transition: all 0.3s ease; }
nav a:hover, nav a.activo { background-color: var(--color-amarillo); color: #fff; box-shadow: 0 4px 8px rgba(251, 192, 45, 0.3); }

/* --- HERO (HOME - PORTADA PRINCIPAL) --- */
.hero {
    position: relative;
    height: 480px; /* Altura de la portada */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    
    /* FOTO DE FACHADA + FILTRO PASTEL */
    background: linear-gradient(135deg, rgba(244, 194, 194, 0.7), rgba(168, 208, 230, 0.7)), url('img/sede-fachada.jpg');
    background-size: cover;
    background-position: center bottom; /* Enfoca la parte inferior (suelo/entrada) para ver el cartel arriba */
    background-attachment: fixed;
    
    padding-bottom: 50px;
    box-shadow: inset 0 -50px 100px -50px rgba(255,255,255,0.5);
}

.hero h2 {
    font-size: 3.8rem;
    color: #fff;
    text-shadow: 0 3px 8px rgba(93, 156, 179, 0.4); 
    margin: 0 0 1.5rem 0;
    font-weight: 800;
    line-height: 1.1;
    animation: FadeUpSimple 1s ease-out;
}

.hero p {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 600;
    background-color: rgba(255,255,255,0.25); 
    backdrop-filter: blur(5px);
    padding: 12px 35px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.4);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* OLA SVG DECORATIVA */
.custom-shape-divider-bottom-1 { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; transform: rotate(180deg); }
.custom-shape-divider-bottom-1 svg { position: relative; display: block; width: calc(100% + 1.3px); height: 80px; }
.custom-shape-divider-bottom-1 .shape-fill { fill: #fcfcfc; }


/* --- HERO INTERNO (AUMENTADO PARA QUE ENTRE LA OLA) --- */
.hero-inner {
    /* CAMBIO CLAVE: Aumentamos a 400px para dar aire */
    height: 400px; 
    
    /* Centrado del contenido */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    /* Necesario para que la ola se pegue al fondo */
    position: relative; 
    
    /* Colores por defecto (si no usás las clases específicas) */
    background: linear-gradient(135deg, #A8D0E6, #A3E4D7); 
}

/* Títulos internos */
.hero-inner h2 {
    font-size: 3.5rem; /* Un poquito más grande para aprovechar el espacio */
    margin: 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-weight: 700;
    color: white;
    z-index: 2; /* Para que quede ARRIBA de la ola */
}

.hero-inner p {
    font-size: 1.3rem;
    margin-top: 15px;
    font-weight: 500;
    color: white;
    z-index: 2;
}

/* LA OLA (SOLO EN INTERNAS) */
/* Asegurate de tener esto en tu CSS para que la ola se vea bien */
.custom-shape-divider-bottom-1 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px; /* Altura estándar de la ola */
}

.custom-shape-divider-bottom-1 .shape-fill {
    fill: #fcfcfc; /* Coincide con el fondo de la página */
}.hero-inner h2 {
    font-size: 3rem;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-weight: 700;
    animation: FadeUpSimple 1s ease-out;
    color: white;
}

.hero-inner p {
    font-size: 1.2rem;
    margin-top: 10px;
    opacity: 0.95;
    font-weight: 500;
    color: white;
}


/* --- MAIN GENERAL --- */
main { max-width: 1200px; margin: 0 auto; padding: 0 20px 80px 20px; }
.titulo-seccion { text-align: center; color: #5D9CB3; font-size: 2.2rem; margin-bottom: 0.5rem; font-weight: 700; }
.subtitulo-seccion { text-align: center; color: #888; margin-bottom: 4rem; font-weight: 400; }


/* --- TARJETAS HOME (GRID ARREGLADA) --- */
.tarjetas-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 20px 0;
    width: 100%;
}
@media (max-width: 1024px) { .tarjetas-container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tarjetas-container { grid-template-columns: 1fr; } }

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
    position: relative;
    animation: FadeUpSimple 0.8s ease-out both;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-radius: 20px;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }

.flip-card-front, .flip-card-back {
    position: absolute; /* CLAVE: Para que se encimen */
    top: 0; left: 0; width: 100%; height: 100%;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
    border-radius: 20px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 20px; box-sizing: border-box;
}

.flip-card-front { background-color: #ffffff; color: #555; z-index: 2; border: 1px solid #eee; }
.flip-card-back { transform: rotateY(180deg); color: white; z-index: 1; }

.flip-card h3 { margin-bottom: 10px; font-weight: 700; font-size: 1.4rem; }
.flip-card p { font-size: 0.9rem; line-height: 1.4; }
.icono-tarjeta { font-size: 4rem; margin-bottom: 20px; }

/* Bordes y Colores */
.borde-rosa { border-bottom: 8px solid var(--color-rosa); }
.borde-verde { border-bottom: 8px solid var(--color-verde); }
.borde-azul { border-bottom: 8px solid var(--color-azul); }
.borde-amarillo { border-bottom: 8px solid var(--color-amarillo); }

.bg-inicial { background: var(--color-rosa); }
.bg-primaria { background: var(--color-verde); }
.bg-cfi { background: var(--color-azul); }
.bg-inclusion { background: var(--color-amarillo); color: #444 !important; }
.bg-inclusion h3, .bg-inclusion p { color: #444 !important; text-shadow: none; }


/* --- ESTILOS DE CONTACTO E ICONOS --- */
.dato-item { display: flex; align-items: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #f9f9f9; }
.icono-contacto {
    width: 60px; height: 60px; min-width: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; margin-right: 20px; font-size: 2rem;
    transition: transform 0.3s;
}
.ico-azul { background-color: #eef7fc; color: var(--color-azul); }
.ico-verde { background-color: #e7fceb; color: #25D366; }
.ico-rojo { background-color: #fce8e6; color: #EA4335; }
.ico-rosa { background-color: #fcecef; color: #E1306C; }
.icono-svg { width: 28px; height: 28px; fill: currentColor; }

/* --- VENTANAS EMERGENTES (ADMISIONES) --- */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8); z-index: 2000;
    justify-content: center; align-items: center; padding: 20px;
}
.modal-contenido {
    background-color: white; width: 100%; max-width: 800px; height: 90%;
    border-radius: 15px; position: relative; display: flex; flex-direction: column; overflow: hidden;
    animation: FadeUpSimple 0.4s ease-out;
}
.cerrar-modal {
    position: absolute; top: 15px; right: 20px; font-size: 2rem; color: #555;
    cursor: pointer; z-index: 10; background: white; border-radius: 50%;
    width: 40px; height: 40px; text-align: center; line-height: 40px;
}
.iframe-container { flex: 1; width: 100%; height: 100%; border: none; }

/* --- BOTÓN FLOTANTE WHATSAPP --- */
.btn-whatsapp-flotante { position: fixed; bottom: 30px; right: 30px; background-color: #A3E4D7; color: white; width: 65px; height: 65px; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 15px rgba(0,0,0,0.2); z-index: 9999; border: 3px solid white; transition: 0.3s; }
.btn-whatsapp-flotante svg { width: 35px; height: 35px; fill: white; }
.btn-whatsapp-flotante:hover { transform: scale(1.1) rotate(10deg); background-color: #25D366; }

/* --- FOOTER (CORREGIDO) --- */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    color: #888;
    border-top: 1px solid #eee;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.footer-linea-superior {
    display: flex; align-items: center; justify-content: center; gap: 15px; flex-wrap: wrap;
}
.logo-img-footer {
    height: 40px; /* Tamaño ideal */
    width: auto; object-fit: contain; opacity: 0.9;
}
.footer-creditos { margin-top: 5px; font-size: 0.85rem; }
.footer-creditos a { text-decoration: none; color: #5D9CB3; font-weight: 600; transition: color 0.3s; }

.footer-creditos a:hover { color: var(--color-rosa); }
/* --- MENÚ RESPONSIVE (CELULAR) --- */

/* Estilo del botón hamburguesa (oculto en PC, visible en celus) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #5D9CB3; /* Color de las rayitas */
    border-radius: 3px;
    transition: 0.3s;
}

/* Cuando la pantalla es menor a 768px (Tablets y Celulares) */
@media (max-width: 768px) {
    /* Mostramos el botón hamburguesa */
    .hamburger {
        display: flex; 
        z-index: 200; /* Para que quede arriba de todo */
    }

    /* Transformamos el menú en una lista vertical oculta */
    nav ul {
        position: fixed;
        top: 70px; /* Altura del header */
        left: -100%; /* Lo escondemos a la izquierda */
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column; /* Botones uno abajo del otro */
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: 0.4s ease; /* Efecto suave al salir */
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 100;
    }

    /* Clase mágica que activa el menú cuando hacemos clic */
    nav ul.activo {
        left: 0; /* Lo traemos a la vista */
    }

    /* Hacemos los botones más grandes para el dedo */
    nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    nav a {
        font-size: 1.2rem; /* Letra más grande */
        display: block;
        padding: 15px;
    }
}
/* --- BOTÓN FLOTANTE UNIFORMES (IZQUIERDA) --- */
.btn-flotante-uniformes {
    position: fixed; /* Esto hace que flote y acompañe el scroll */
    bottom: 25px;    /* Distancia desde abajo */
    left: 25px;      /* Distancia desde la izquierda */
    background-color: #5D9CB3; /* El celeste característico de tu paleta */
    color: white;
    padding: 12px 20px;
    border-radius: 50px; /* Forma de pastilla redondita */
    display: flex;
    align-items: center;
    gap: 8px; /* Espacio entre el ícono y el texto */
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Asegura que esté por encima de todo el resto */
    transition: all 0.3s ease;
}

.btn-flotante-uniformes:hover {
    transform: translateY(-5px); /* Se levanta un poquito al pasar el mouse */
    background-color: #4a7e91; /* Se oscurece apenitas */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Ajuste para que en celulares no ocupe tanto espacio */
@media (max-width: 768px) {
    .btn-flotante-uniformes {
        bottom: 20px;
        left: 20px;
        padding: 10px 16px;
    }
    
    .texto-btn-uniformes {
        font-size: 0.9rem;
    }
    
    .btn-flotante-uniformes .material-icons {
        font-size: 1.2rem;
    }
}

/* --- PÁGINA UNIFORMES --- */

/* Color del encabezado (Hero) */
.hero-uniformes {
    background: linear-gradient(135deg, #FFB74D, #FFCC80); /* Naranja/Amarillo cálido */
}

/* Espaciados y textos de la sección */
.seccion-taller, .seccion-formulario-pedido {
    padding: 60px 20px;
}

.seccion-formulario-pedido {
    background-color: #fcfcfc; /* Un fondo apenitas gris para despegarlo */
}

.texto-centrado {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.icono-gigante {
    font-size: 4rem;
    color: #5D9CB3;
    margin-bottom: 15px;
}

.titulo-galeria {
    text-align: center;
    font-size: 1.8rem;
    color: #333;
    margin: 50px 0 20px 0;
}

/* Grilla para que las fotos queden emparejadas */
.grilla-fotos-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.foto-tarjeta {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.foto-tarjeta:hover {
    transform: scale(1.02); /* Zoom suave al pasar el mouse */
}

.foto-tarjeta img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* EL TRUCO DEL FORMULARIO DE GOOGLE */
/* Lo metemos en una caja blanca con sombra y le cortamos los bordes feos */
.contenedor-iframe-nativo {
    max-width: 800px;
    margin: 0 auto;
    background-color: transparent;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Sombra elegante */
}

.contenedor-iframe-nativo iframe {
    display: block;
    width: 100%;
    border: none;
    background-color: white; /* Fuerza fondo blanco por si Google tarda en cargar */
}

/* Ajustes para celulares */
@media (max-width: 768px) {
    .grilla-fotos-2 {
        grid-template-columns: 1fr; /* En celular las fotos van una abajo de la otra */
    }
    .contenedor-iframe-nativo {
        box-shadow: none; /* En celular la sombra molesta un poco */
    }
}
/* --- FORMULARIO DE PEDIDOS --- */
.contenedor-formulario {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 700px;
    margin: 0 auto;
}

.grupo-form {
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}

.grupo-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.fila-form {
    display: flex;
    gap: 20px;
}

.form-style {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.form-style:focus {
    outline: none;
    border-color: #5D9CB3;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(93, 156, 179, 0.1);
}

.btn-enviar-pedido {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    border: none;
    background-color: #5D9CB3;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

/* --- MENSAJE DE ÉXITO --- */
.mensaje-oculto {
    display: none; /* Se oculta hasta que envían el formulario */
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.icono-exito {
    font-size: 5rem;
    color: #A3E4D7; /* Verde agua */
    margin-bottom: 10px;
}

.caja-datos-pago {
    background-color: #f8fbfa;
    border: 2px dashed #A3E4D7;
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    text-align: left;
}

.datos-alias {
    font-size: 1.2rem;
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    line-height: 1.6;
}

.demora-texto {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e67e22; /* Naranja para destacar el tiempo */
    font-weight: 600;
}

/* --- BOTÓN DE EMAIL COMPROBANTE (DISEÑO PREMIUM) --- */
.btn-email-comprobante {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #5D9CB3, #3B7A8F); /* Degradado celeste a azul profundo */
    color: white;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800; /* Letra más gordita y legible */
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    margin-top: 20px;
    position: relative;
    overflow: hidden; /* Necesario para el efecto de brillo */
    border: 2px solid rgba(255, 255, 255, 0.2); /* Borde sutil blanco */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Transición con un "rebote" suave */
    
    /* Animación de latido en la sombra para que llame la atención */
    animation: latido-boton 2.5s infinite; 
}

/* El ícono un poquito más grande */
.btn-email-comprobante .material-icons {
    font-size: 1.8rem; 
}

/* El efecto del "rayo de luz" o brillo */
.btn-email-comprobante::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg); /* Inclinamos el rayo de luz */
    transition: all 0.7s ease;
}

/* Lo que pasa cuando le pasás el mouse por arriba */
.btn-email-comprobante:hover {
    transform: translateY(-5px) scale(1.03); /* Se levanta y se agranda un 3% */
    background: linear-gradient(135deg, #4a7e91, #2c5c6d); /* Se oscurece un poco */
    box-shadow: 0 12px 30px rgba(93, 156, 179, 0.6);
    animation: none; /* Frenamos el latido si ya tiene el mouse encima */
}

/* Hacemos que la luz atraviese el botón de izquierda a derecha */
.btn-email-comprobante:hover::before {
    left: 200%;
}

/* La clave de la animación del latido */
@keyframes latido-boton {
    0% { box-shadow: 0 8px 25px rgba(93, 156, 179, 0.3); }
    50% { box-shadow: 0 8px 25px rgba(93, 156, 179, 0.7), 0 0 15px rgba(93, 156, 179, 0.4); }
    100% { box-shadow: 0 8px 25px rgba(93, 156, 179, 0.3); }
}

/* Ajustes para celulares (Incluye lo que ya tenías de los formularios) */
@media (max-width: 768px) {
    .fila-form { flex-direction: column; gap: 0; }
    .contenedor-formulario { padding: 25px 15px; }
    
    .btn-email-comprobante {
        width: 100%; /* Botón ancho en celu */
        font-size: 1.1rem;
        padding: 15px 20px;
    }
}


