/* ========================================
   Variables de Color y Configuración
   ======================================== */
:root {
    /* Colores Corporativos - Basados en Logotipo */
    --primary-blue: #2d3e5f;
    --dark-blue: #1a2537;
    --light-blue: #3d5070;
    --gold: #c9a35d;
    --light-gold: #d4b172;
    --dark-gold: #b89552;
    --silver: #b8b8b8;
    --platinum: #e5e4e2;

    /* Escala de Grises */
    --black: #000000;
    --dark-gray: #2a2a2a;
    --medium-gray: #555555;
    --light-gray: #e8e8e8;
    --white: #ffffff;

    /* Tipografía */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;

    /* Espaciado */
    --section-padding: 80px 0;
    --container-padding: 0 20px;

    /* Transiciones */
    --transition: all 0.3s ease;
}

/* ========================================
   Reset y Estilos Base
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ========================================
   Navegación
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 30, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 15px 0;
    background: var(--dark-blue);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    max-width: 250px;
}

.logo:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.logo-image {
    height: 45px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.navbar.scrolled .logo-image {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--gold);
}

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

.btn-agendar {
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    color: var(--dark-blue);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-agendar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Menu Toggle para móvil */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 37, 55, 0.85) 0%,
        rgba(26, 37, 55, 0.75) 50%,
        rgba(26, 37, 55, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--platinum);
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    color: var(--dark-blue);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

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

.btn-secondary:hover {
    background: var(--gold);
    color: var(--dark-blue);
    transform: translateY(-3px);
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid var(--gold);
    cursor: pointer;
    transition: var(--transition);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--gold);
    transform: scale(1.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--gold);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 0; top: 5px; }
    50% { opacity: 1; top: 15px; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--light-gold));
    margin: 0 auto 20px;
}

.section-description {
    font-size: 18px;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    padding: var(--section-padding);
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-subtitle {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.about-text {
    color: var(--medium-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    gap: 25px;
    margin-bottom: 30px;
}

.mv-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--light-gray);
    border-radius: 10px;
    border-left: 4px solid var(--gold);
}

.mv-icon {
    font-size: 32px;
    color: var(--gold);
    min-width: 40px;
}

.mv-content h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.mv-content p {
    color: var(--medium-gray);
    line-height: 1.7;
}

.values h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.values-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.values-list li {
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    gap: 12px;
}

.values-list i {
    color: var(--gold);
    font-size: 18px;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Team Photo Grid */
.team-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    height: 450px;
}

.team-photo-main,
.team-photo-secondary {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    height: 450px;
}

.team-photo-main:hover,
.team-photo-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.team-photo-main {
    grid-column: 1;
    grid-row: 1;
}

.team-photo-secondary {
    grid-column: 2;
    grid-row: 1;
}

.team-photo-main img,
.team-photo-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.team-photo-main img {
    object-position: center 30%;
}

.team-photo-main:hover img,
.team-photo-secondary:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 37, 55, 0.7) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.team-photo-main:hover .photo-overlay,
.team-photo-secondary:hover .photo-overlay {
    opacity: 1;
}

/* Fallback para placeholder si se necesita */
.image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--light-gray), var(--platinum));
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 2px dashed var(--silver);
}

.image-placeholder i {
    font-size: 64px;
    color: var(--silver);
}

.image-placeholder p {
    color: var(--medium-gray);
    text-align: center;
}

/* Team Section */
.team-section {
    margin-top: 60px;
}

.team-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 4px solid var(--gold);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.team-image-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image-placeholder i {
    font-size: 64px;
    color: var(--gold);
}

.team-name {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.team-position {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.team-bio {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--light-gold));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
}

.service-icon i {
    font-size: 32px;
    color: var(--white);
}

.service-card:hover .service-icon i {
    color: var(--dark-blue);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.service-description {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
    color: var(--light-gold);
}

/* ========================================
   Specialties Section
   ======================================== */
.specialties-section {
    padding: var(--section-padding);
    background: var(--white);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.specialty-card {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    padding: 40px 30px;
    border-radius: 10px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    transition: var(--transition);
}

.specialty-card:hover::before {
    top: -25%;
    right: -25%;
}

.specialty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.specialty-number {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 10px;
}

.specialty-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.specialty-card p {
    line-height: 1.8;
    position: relative;
    z-index: 1;
    color: var(--platinum);
}

/* ========================================
   Success Section
   ======================================== */
.success-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    color: var(--white);
}

.success-section .section-tag {
    color: var(--light-gold);
}

.success-section .section-title {
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 48px;
    color: var(--gold);
    margin-bottom: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--platinum);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials */
.testimonials {
    margin-top: 60px;
}

.testimonials-title {
    font-family: var(--font-heading);
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.testimonial-quote {
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 15px;
}

.testimonial-text {
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--platinum);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    color: var(--white);
    font-size: 16px;
}

.testimonial-author span {
    color: var(--gold);
    font-size: 14px;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--gold);
}

.faq-question i {
    font-size: 14px;
    color: var(--gold);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--medium-gray);
    line-height: 1.8;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--dark-blue);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: var(--dark-blue);
}

.contact-details h4 {
    font-size: 18px;
    color: var(--dark-blue);
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-details p {
    color: var(--medium-gray);
    line-height: 1.7;
}

.phone-link {
    color: var(--medium-gray);
    text-decoration: none;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--gold);
}

.social-links {
    margin-top: 40px;
}

.social-links h4 {
    font-size: 18px;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--gold);
    color: var(--dark-blue);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-container {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    background: var(--white);
    border-radius: 5px;
    font-size: 16px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--medium-gray);
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background: var(--light-gray);
    padding: 0 5px;
    color: var(--gold);
}

/* Label para select siempre arriba */
.form-group select + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background: var(--light-gray);
    padding: 0 5px;
    color: var(--gold);
}

.form-group select:focus + label {
    color: var(--gold);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Map */
.map-container h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--dark-blue);
    margin-bottom: 20px;
    text-align: center;
}

.map-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    display: block;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.95;
}

.footer-description {
    color: var(--platinum);
    line-height: 1.7;
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--platinum);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact li {
    color: var(--platinum);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--gold);
    margin-top: 3px;
}

.footer-phone-link {
    color: var(--platinum);
    text-decoration: none;
    transition: var(--transition);
}

.footer-phone-link:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--platinum);
}

.footer-legal {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-legal a {
    color: var(--platinum);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--gold);
}

.footer-legal span {
    color: var(--platinum);
}

/* ========================================
   Animaciones de Scroll
   ======================================== */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Asegurar que el contenido de texto siempre sea visible */
.about-content,
.about-text,
.about-subtitle,
.section-header,
.section-title,
.section-description,
.mission-vision,
.values,
.contact-info,
.contact-form-container,
.faq-container {
    opacity: 1 !important;
    transform: none !important;
}

/* ========================================
   WhatsApp Float Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--dark-blue);
        flex-direction: column;
        padding: 40px 0;
        transition: var(--transition);
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .logo {
        max-width: 220px;
    }

    .logo-image {
        height: 40px;
    }

    .navbar.scrolled .logo-image {
        height: 35px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .team-photo-grid {
        height: 400px;
    }

    .team-photo-main,
    .team-photo-secondary {
        height: 400px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo {
        max-width: 180px;
    }

    .logo-image {
        height: 35px;
    }

    .navbar.scrolled .logo-image {
        height: 32px;
    }

    .footer-logo {
        max-width: 220px;
    }

    .footer-logo-image {
        height: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-indicators {
        bottom: 70px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .section-title {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .team-photo-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 350px 350px;
        height: auto;
        gap: 15px;
    }

    .team-photo-main,
    .team-photo-secondary {
        height: 350px;
    }

    .team-photo-main {
        grid-column: 1;
        grid-row: 1;
    }

    .team-photo-secondary {
        grid-column: 1;
        grid-row: 2;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .specialties-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-logo {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 50px 0;
    }

    .logo {
        max-width: 150px;
    }

    .logo-image {
        height: 30px;
    }

    .navbar.scrolled .logo-image {
        height: 28px;
    }

    .footer-logo {
        max-width: 180px;
    }

    .footer-logo-image {
        height: 35px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-indicators {
        bottom: 60px;
        gap: 8px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .section-title {
        font-size: 28px;
    }

    .team-photo-grid {
        grid-template-rows: 280px 280px;
    }

    .team-photo-main,
    .team-photo-secondary {
        height: 280px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 42px;
    }
}
