/* Importar fuente moderna */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
    --dorado: #B48F40;        /* Dorado Logo (Detalles) */
    --naranja: #B48F40;       /* Naranja Logo (Acentos/Botones) */
    --oscuro-puro: #212529;   /* Negro Carbón (Títulos) */
    --cuerpo-texto: #495057;  /* Gris Oscuro (Cuerpo) */
    --gris-nav: #495057;      
    --blanco: #F8F9FA;        /* Blanco Humo (Fondo Principal) */
    --fondo-sec: #E9ECEF;    /* Gris Nube (Fondo Secundario) */
}

/* ===== FIX GLOBAL ===== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--blanco);
    color: var(--cuerpo-texto);
}

/* ===== HEADER ===== */
.main-header {
    background-color: rgba(255, 255, 255, 0.89); /* Fondo claro con opacidad */
    color: var(--oscuro-puro);
    padding: 5px;
    border-bottom: 1px solid var(--fondo-sec);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-area {
    justify-content: center;
    text-align: center;
}

.logo-img {
    height: 50px;
    width: auto;
    border: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

a {
    text-decoration: none;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
    color: var(--oscuro-puro); /* Títulos en Negro Carbón */
}

.brand-sub {
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    letter-spacing: 5px;
    color: var(--dorado); /* Detalles en Dorado Logo */
    text-align: center;
}

/* Menú */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gris-nav);
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a:hover {
    color: var(--naranja); /* Acento Naranja */
}

.nav-menu a.active {
    color: var(--naranja);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: var(--naranja);
    bottom: -5px;
    left: 20%;
}

.arrow {
    font-size: 8px;
    vertical-align: middle;
}

/* ===== HERO ===== */
.hero-fullscreen {
    min-height: 95vh; 
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: unset;
    background-attachment: fixed;
}
.hero-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}
.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.7)
    );
    z-index: 1;
}

.hero-container {
    max-width: 1500px;
    width: 100%;
    padding: 0 ;
    position: relative;
    z-index: 2;
    text-align: left;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    letter-spacing: 1px;
    font-size: 60px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-title span {
    color: #d4af37; /* dorado más visible */
}

.hero-subtitle {
    font-size: 18px;
    color: #e0e0e0;
    margin-top: 15px;
    max-width: 500px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* Botón */
.btn-cta {
    display: inline-block;
    padding: 14px 90px;
    background: linear-gradient(135deg, #B48F40, #d4af37);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #d4af37, #B48F40);
}

/* ===== SECCIONES ===== */
section {
    padding: 100px 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.section-title {
    position: relative;
    text-align: center;
    font-size: 2.5rem;
    color: var(--oscuro-puro);
    margin-bottom: 60px;
    text-transform: uppercase;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--naranja);
    display: block;
    margin: 10px auto 0;
}

.section-subtitle {
    text-align: center;
    font-size: 15px;
    color: #777;
    max-width: 600px;
    margin: -20px auto 50px;
    line-height: 1.6;
}

.MVV-card h3 i {
    color: var(--naranja);
    margin-right: 8px;
}

/* MISION, VISION, VALORES */
.MVV {
    background-color: var(--fondo-sec); /* Gris Nube */
    color: var(--cuerpo-texto);

}

.MVV-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch; /* 🔥 CLAVE */
}


.MVV-card {
    background: white;
    padding: 35px 30px;
    border-radius: 15px;
    min-height: 320px;
    transition: 0.3s;
    border: 1px solid rgba(180, 143, 64, 0.2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);

    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;

    /* 🔥 CLAVE */
    display: flex;
    flex-direction: column;
    justify-content: center; /* centra contenido vertical */
    align-items: center;     /* centra horizontal */
    text-align: center;
}

.MVV-card:nth-child(2) {
    animation-delay: 0.2s;
}

.MVV-card:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.MVV-card:hover {
    transform: translateY(-10px);
    border-color: var(--naranja);
}

.MVV-card h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background: var(--naranja);
    margin: 10px auto 15px; /* centrado debajo */
    border-radius: 2px;
}

/* ===== TITULO PRINCIPAL ===== */
.MVV .section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.MVV-card ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0;
    margin-top: 10px;
}

/* ===== TITULOS DE TARJETAS ===== */
.MVV-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--naranja);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* ===== PARRAFOS ===== */
.MVV-card p {
    font-size: 15px;
    font-weight: 300;
    color: #444;
    text-align: justify;
    line-height: 1.7;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}


.MVV ul {
    list-style: none;
    padding: 0;
    width: 100%;
}

/* ===== LISTA DE VALORES ===== */
.MVV li {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    position: relative;
    padding-left: 22px;
    text-align: left;
}

/* ICONO TIPO CHECK (PRO) */
.MVV li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--naranja);
    font-weight: bold;
}

/* EFECTO SUTIL */
.MVV-card:hover h3 {
    letter-spacing: 2px;
}

.MVV-card p::first-letter {
    font-size: 20px;
    font-weight: 600;
    color: var(--naranja);
}

/* EQUIPO */
.team {
    background-color: var(--blanco); /* Blanco Humo */
    color: var(--cuerpo-texto);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 12px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.team-card:hover {
    transform: translateY(-5px);
}
.team-card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 15px;
}

.team-card h3 {
    margin: 10px 0 5px;
    color: var(--oscuro-puro);
}

.team-card p {
    color: var(--dorado);
    font-weight: 700;
}


.contact-section {
    padding: 80px 20px;
    background: var(--blanco);
    font-family: 'Montserrat', sans-serif;
}

/* GRID */
.contact-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* ===== FORMULARIO ===== */
.contact-form-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-form-box h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--oscuro-puro);
    margin-bottom: 25px;
}

.contact-form-box input,
.contact-form-box textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    transition: 0.3s;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
    border-color: var(--dorado);
    outline: none;
}

/* BOTÓN */
.btn-cta {
    width: 100%;
    background: var(--dorado);
    color: white;
    border: none;
    padding: 14px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cta:hover {
    background: #9a7a33;
}

/* ===== INFO ===== */
.contact-info-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left: 5px solid var(--dorado); /* toque elegante */
}

.contact-info-box h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--oscuro-puro);
    margin-bottom: 30px;
}

/* ===== Mapa ===== */
.map-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left: 5px solid var(--dorado); /* toque elegante */
}


.footer {
    border-top: 3px solid var(--dorado);
    background-color: var(--fondo-sec);
    color: var(--cuerpo-texto);
    padding: 40px 0 0;
    font-family: Arial, sans-serif;
    border-top: 1px solid #ddd;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-section h2,
.footer-section h3 {
    margin-bottom: 15px;
    color: var(--naranja);
}

section {
    padding: 100px 20px;
}

.footer-section p {
    line-height: 1.6;
    font-size: 13px;
    color: #666;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--cuerpo-texto);
    text-decoration: none;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: var(--naranja);
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    margin-top: 30px;
    background-color: var(--oscuro-puro);
    color: white;
    font-size: 14px;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    color: var(--dorado);
    font-size: 16px;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: scale(1.1);
    background: var(--dorado);
    color: white;
    transform: translateY(-3px);
    opacity: 0.8;
}


/* ===== WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float img {
    width: 35px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

