@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

/* Estilos específicos de la Landing Page */
:root {
    --landing-primary: #4e7599;
    /* Azul Oscuro Piuquén */
    --landing-secondary: #eaa85e;
    /* Naranja Piuquén */
    --landing-light-blue: #75b0d6;
    /* Azul Claro Piuquén */
    --landing-sand: #f3d08e;
    /* Arena Piuquén */
    --landing-gradient: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-light-blue) 45%, var(--landing-sand) 80%, var(--landing-secondary) 100%);
    --landing-bg: #F8FAFC;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    /* Compensa la altura del header fijo */
}

body {
    background-color: var(--landing-bg);
    font-family: 'Lato', 'Segoe UI', Roboto, sans-serif;
    font-weight: 300; /* Cuerpos de texto: Lato - Light */
    color: var(--landing-primary);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600; /* Titulares: Lato - SemiBold */
}

.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.landing-logo {
    height: 75px;
}

.landing-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.landing-nav a {
    text-decoration: none;
    color: var(--landing-primary);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.landing-nav a:hover {
    color: var(--landing-secondary);
}

.btn-ingresar {
    background: #4a7fa8;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(74, 127, 168, 0.25);
}

.btn-ingresar:hover {
    background: #38678d;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(56, 103, 141, 0.35);
}

.hero {
    position: relative;
    background: url('../foto_portada.jpeg') center/cover no-repeat;
    min-height: 75vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    color: white;
    overflow: hidden;
    padding-top: 4rem;
    padding-left: 5%;
    padding-right: 0;
    padding-bottom: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.15);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    padding: 3.5rem 4rem;
    background: rgba(117, 176, 214, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 50px 0 0 0;
    box-shadow: -5px -5px 25px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3rem;
    align-items: center;
    margin-left: auto;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 0;
    line-height: 1.2;
    font-weight: 600;
    color: #ffffff;
    text-shadow: none;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-shadow: none;
    font-weight: 400;
    color: #ffffff;
}

.hero p:last-child {
    margin-bottom: 0;
}

.section {
    padding: 5rem 5%;
}

.section-light {
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    color: var(--landing-primary);
    margin-bottom: 3rem;
    font-weight: 600;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--landing-primary);
}

.value-icon {
    font-size: 3.5rem;
    color: var(--landing-primary);
    margin-bottom: 1.5rem;
}

.value-title {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-text {
    color: var(--landing-primary);
    line-height: 1.7;
    font-size: 1.05rem;
}

.areas-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.area-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.area-img-container {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.area-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.area-card:hover .area-img {
    transform: scale(1.06);
}

.area-content {
    padding: 2.5rem 2.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.area-title {
    font-size: 1.8rem;
    color: var(--landing-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.center-title {
    text-align: center;
    justify-content: center;
}

.area-text {
    color: var(--landing-primary);
    line-height: 1.75;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.area-btn-wrapper {
    margin-top: auto;
    padding-top: 1.8rem;
    display: flex;
    justify-content: center;
}

.area-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.85rem 2.2rem;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.landing-footer {
    background-color: #0f172a; /* Slate 900 base for dark mode feel */
    color: white;
    padding: 5rem 5% 2rem;
    font-family: 'Lato', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
    text-align: left;
}

.map-column {
    min-width: 200px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.brand-column {
    max-width: 320px;
}

.footer-logo {
    max-width: 100%;
    max-height: 48px;
    height: auto;
    object-fit: contain;
    align-self: flex-start;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-about {
    color: #a0aab5;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #a0aab5;
    background-color: rgba(255, 255, 255, 0.05);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: white;
    background-color: var(--landing-primary);
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600; /* Titulares: Lato - SemiBold */
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--landing-gradient);
    border-radius: 2px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #a0aab5;
}

.footer-links a {
    color: #a0aab5;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--landing-light-blue);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a {
    color: #a0aab5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--landing-light-blue);
}

.footer-contact i {
    color: var(--landing-secondary);
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    margin: 3rem auto 1.5rem;
    max-width: 1200px;
}

.footer-text {
    color: #7e8b9b;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 1100px) {
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 992px) {
    .landing-nav {
        display: none;
        /* Hide nav on small screens to avoid wrapping issues */
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 2.5rem 2rem;
        border-radius: 40px 0 0 0;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 5%;
    }

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

    .landing-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
}