
:root {
    --color-blanco: #ffffff;
    --color-turquesa-oscuro: #2f8f9d;
    --color-turquesa-claro: #5fbec7;
    --color-gris-claro: #d9d9d9;
    --color-gris-medio: #bfbfbf;
    --color-negro: #1a1a1a;
    --color-texto-claro: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --slide-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --slide-primary: #1a365d;
    --slide-dark: #2d3748;
    --slide-secondary: #d69e2e;
    --slide-secondary-light: #edc44d;
    --radius: 12px;
    --slide-transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-negro);
    background: var(--color-blanco);
    overflow-x: hidden;
    line-height: 1.6;
}

/* === NAVIGATION === */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /*background: rgba(255, 255, 255, 0.95);
    background: #83e4ec;*/
    background: linear-gradient(to bottom,
            #83e4ec 0%,
            rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 5%;
    box-shadow: 0 2px 20px rgba(47, 143, 157, 0.1);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-texto h2 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
    color: var(--color-turquesa-oscuro);
}

.logo-texto p {
    font-size: 0.8rem;
    margin-bottom: 0;
    color: var(--color-texto-claro);
}

.logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(47, 143, 157, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    /* opcional: fondo blanco si el logo tiene transparencia */
}

.logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* o 'cover' si quieres que llene todo el círculo */
}

/* .logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-turquesa-oscuro);
    letter-spacing: 0.5px;
}*/

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-negro);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-turquesa-claro);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--color-turquesa-oscuro);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-turquesa-oscuro);
    cursor: pointer;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /*background: linear-gradient(135deg, rgba(47, 143, 157, 0.03) 0%, rgba(95, 190, 199, 0.05) 100%);*/
    background:
        linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .85)),
        url("https://www.stockvault.net/data/2020/12/28/282043/preview16.jpg") center/cover;
    overflow: hidden;
    padding: 2rem 5%;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(95, 190, 199, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(47, 143, 157, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.05);
    }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-symbol {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    color: var(--color-turquesa-oscuro);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: 1px;
}

.hero h1 strong {
    font-weight: 700;
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-negro);
    margin-bottom: 1rem;
    font-style: italic;
    font-weight: 400;
    opacity: 0.85;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--color-negro);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    opacity: 0.75;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--color-turquesa-oscuro), var(--color-turquesa-claro));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(47, 143, 157, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(47, 143, 157, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.scroll-indicator::before {
    content: '↓';
    font-size: 2rem;
    color: var(--color-turquesa-claro);
}

/* === SECTION STYLES === */
section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--color-turquesa-oscuro);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-turquesa-oscuro), var(--color-turquesa-claro));
    margin: 1.5rem auto;
}

.section-subtitle {
    text-align: center;
    font-family: 'Crimson Pro', serif;
    font-size: 1.2rem;
    color: var(--color-negro);
    opacity: 0.7;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Slider */
.hero-section {
    margin-top: 90px;
}

.swiper {
    width: 100%;
    height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--slide-shadow-lg);
}

.swiper-slide {
    position: relative;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 60px 40px 40px;
}

.slide-content h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    max-width: 800px;
}

.slide-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 25px;
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--slide-secondary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--slide-transition);
    border: none;
    cursor: pointer;
    gap: 8px;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--slide-secondary), var(--slide-secondary-light));
    color: var(--slide-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--slide-shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--slide-primary);
    border: 2px solid var(--slide-primary);
}

.btn-secondary:hover {
    background-color: var(--slide-primary);
    color: white;
}

/* === NOSOTROS SECTION === */
.nosotros {
    background: linear-gradient(180deg, var(--color-blanco) 0%, var(--color-gris-claro) 100%);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-top: 4px solid var(--color-turquesa-claro);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(47, 143, 157, 0.02) 0%, rgba(95, 190, 199, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(47, 143, 157, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--color-turquesa-oscuro);
    margin-bottom: 1rem;
    font-weight: 600;
}

.card p {
    line-height: 1.8;
    color: var(--color-negro);
    opacity: 0.8;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.valor-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.valor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(47, 143, 157, 0.15);
}

.valor-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.valor-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--color-turquesa-oscuro);
    font-weight: 600;
}

/* === SERVICIOS SECTION === */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.servicio-card {
    background: linear-gradient(135deg, var(--color-turquesa-oscuro), var(--color-turquesa-claro));
    padding: 3rem 2rem;
    border-radius: 20px;
    color: white;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transition: all 0.6s ease;
}

.servicio-card:hover::before {
    top: -60%;
    right: -60%;
}

.servicio-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(47, 143, 157, 0.4);
}

.servicio-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    position: relative;
}

.servicio-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.servicio-card p {
    line-height: 1.8;
    opacity: 0.95;
}

/* SERVICIOS */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.servicio {
    background: linear-gradient(135deg, var(--color-turquesa-oscuro), var(--color-turquesa-claro));
    padding: 2.5rem 2rem;
    border-radius: 15px;
    color: white;
    text-align: center;
    transition: all 0.3s;
}

.servicio:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(47, 143, 157, 0.4);
}

.servicio-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.servicio h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ANUNCIOS */
.anuncios {
    /*background: linear-gradient(180deg, var(--color-blanco) 0%, rgba(95, 190, 199, 0.05) 100%);*/
    background:
        linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .85)),
        url("img/8.jpeg") center/cover;
}

.anuncios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.anuncio {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border-top: 4px solid var(--color-turquesa-claro);
}

.anuncio:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(47, 143, 157, 0.2);
}

.anuncio.destacado {
    border-top: 4px solid var(--color-turquesa-oscuro);
    background: linear-gradient(180deg, rgba(47, 143, 157, 0.03) 0%, white 40%);
}

.anuncio-header {
    height: 150px;
    background: linear-gradient(135deg, var(--color-turquesa-oscuro), var(--color-turquesa-claro));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
}

.anuncio-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-verde {
    background: #27ae60;
}

.badge-naranja {
    background: #e67e22;
}

.badge-morado {
    background: #9b59b6;
}

.anuncio-body {
    padding: 1.5rem;
}

.anuncio-fecha {
    color: var(--color-turquesa-oscuro);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.anuncio h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--color-negro);
    margin-bottom: 1rem;
}

.anuncio p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.anuncio-detalles {
    background: rgba(95, 190, 199, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--color-turquesa-claro);
    margin-bottom: 1rem;
}

.anuncio-detalles div {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.anuncio-detalles div:last-child {
    margin-bottom: 0;
}

.anuncio-btn {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: var(--color-turquesa-claro);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    transition: all 0.3s;
}

.anuncio-btn:hover {
    background: var(--color-turquesa-oscuro);
    transform: translateY(-2px);
}

.anuncio.destacado .anuncio-btn {
    background: linear-gradient(135deg, var(--color-turquesa-oscuro), var(--color-turquesa-claro));
}

/* === UBICACION SECTION === */
.ubicacion {
    background: var(--color-gris-claro);
}

.ubicacion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ubicacion-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--color-turquesa-oscuro);
    margin-bottom: 1.5rem;
}

.ubicacion-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(47, 143, 157, 0.15);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--color-turquesa-claro);
}

.contact-item a {
    color: var(--color-negro);
    text-decoration: none;
    font-weight: 500;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-turquesa-oscuro), var(--color-turquesa-claro));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
}

/* === PUBLICACIONES SECTION === */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.social-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-card:hover {
    border-color: var(--color-turquesa-claro);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(47, 143, 157, 0.15);
}

.social-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.social-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--color-turquesa-oscuro);
    margin-bottom: 1rem;
}

.social-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 2rem;
    background: var(--color-turquesa-claro);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-turquesa-oscuro);
    transform: scale(1.05);
}

/* === CONTACTO SECTION === */
.contacto {
    background: linear-gradient(180deg, var(--color-blanco) 0%, var(--color-gris-claro) 100%);
}

.contacto-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-turquesa-oscuro);
    margin-bottom: 0.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-gris-claro);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-turquesa-claro);
    box-shadow: 0 0 0 3px rgba(95, 190, 199, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--color-turquesa-oscuro), var(--color-turquesa-claro));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(47, 143, 157, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(47, 143, 157, 0.4);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    text-decoration: none; /* Esto elimina la línea */
    border: none !important;         /* Por si es un borde en lugar de subrayado */
    outline: none;                   /* Quita el recuadro de enfoque al hacer clic */
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

/* === FOOTER === */
footer {
    background: var(--color-turquesa-oscuro);
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    line-height: 1.8;
    opacity: 0.9;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--color-turquesa-claro);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--color-turquesa-claro);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* === SCROLL TO TOP === */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-gris-medio);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--color-turquesa-oscuro);
    transform: translateY(-5px);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    nav {
        padding: 1rem 3%;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 8rem 5% 4rem;
    }

    section {
        padding: 4rem 5%;
    }

    .ubicacion-content {
        grid-template-columns: 1fr;
    }

    .mission-vision-grid,
    .servicios-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* === ANIMATIONS ON SCROLL === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.servicio-icono {
    font-size: 4rem;
    color: var(--color-turquesa-claro);
    margin-bottom: 1.5rem;
}

/*texto de la divinidad*/
/* Línea vertical */
#linea-divina {
    position: fixed;
    top: 100%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #bfbfbf;
    opacity: 0;
    z-index: 2000;
    transform: translateX(-50%);
}


/* Contenedor partículas */
#particulas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2001;
}

/* Bolas */
.bolita {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 1;
}

/* Mensaje bíblico */
#mensaje-biblico {
    position: fixed;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    background: #f6f1e7;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    max-width: 600px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s;
    z-index: 2002;
}

#linea-divina {
    box-shadow: 0 0 10px rgba(191, 191, 191, .9);
}
