/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #011F26;
    background-color: #BFB78F;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header simplificado */
.header {
    background: rgba(191, 183, 143, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(1, 31, 38, 0.1);
    padding: 15px 0;
}

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

/* Estilos para el logo en páginas interiores */
.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: #011F26;
    font-weight: 600;
}

.nav-logo h1 a {
    text-decoration: none;
    color: inherit;
}

/* Cambio 2: Eliminar "Arquitecto & Asesor" */
.nav-subtitle {
    display: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #011F26;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 1rem;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background-color: #025E73;
    color: white;
    transform: translateY(-2px);
}

/* Hero principal con imagen de fondo */
.hero-main {
    margin-top: 70px;
    height: 30vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: relative;
    width: 100%;
    height: 350px;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 31, 38, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.6;
}

/* Sección de servicios principales */
.services-main {
    padding: 100px 0;
    background: #BFB78F;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-block {
    background: #A5A692;
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(1, 31, 38, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(1, 31, 38, 0.15);
}

/* Iconos en forma de escudo con tamaño aumentado 30% */
.service-icon-shield {
    width: 156px; /* 120px + 30% */
    height: 182px; /* 140px + 30% */
    margin: 0 auto 2rem;
    background: #025E73;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.service-icon-shield.dark {
    background: #011F26;
}

.service-icon-shield.gray {
    background: #A5A692;
}

.service-icon-shield svg {
    width: 80px;
    height: 80px;
    color: white;
}

.service-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #011F26;
    font-weight: 600;
}

.service-description {
    font-size: 1rem;
    color: #011F26;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-link {
    display: inline-block;
    background: #F2A71B;
    color: #011F26;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.service-link:hover {
    background: #025E73; /* tono más oscuro al pasar el mouse */
    transform: translateY(-2px); /* leve efecto de elevación */
	color: white;
}

/* Sección de contacto simplificada */
.contact-simple {
    padding: 80px 0;
    background: #A5A692;
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    color: #011F26;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #011F26;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-simple {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    color: #011F26;
    font-size: 1rem;
}

.contact-item strong {
    color: #011F26;
}

.contact-item a {
    color: #025E73;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Formulario de contacto */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto 3rem;
    background: #BFB78F;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(1, 31, 38, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #011F26;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid #A5A692;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    background: white;
    color: #011F26;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #025E73;
}

.btn-submit {
    background: #025E73;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #011F26;
}

/* Botones de acción */
.contact-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: #F2A71B;
    color: #011F26;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background: #025E73;
    color: white;
}

.btn-secondary {
    background: #011F26;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background: #025E73;
}

/* Footer simplificado */
.footer-simple {
    background: #011F26;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-simple p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Estilos para páginas interiores */
.hero-interior {
    margin-top: 70px;
    padding: 64px 0; /* Reducido 20% de 80px */
    background: #025E73; /* Cambio 4: Fondo azul */
    text-align: center;
    color: white; /* Texto blanco para contraste */
}

.hero-interior .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-interior .hero-icon {
    width: 156px; /* Aumentado 30% de 120px */
    height: 156px; /* Aumentado 30% de 120px */
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: #F2A71B; /* Cambio 3: Fondo naranja del ícono */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(1, 31, 38, 0.3);
}

.hero-interior .hero-icon svg {
    width: 100px;
    height: 100px;
    color: #025E73; /* Color del ícono para contraste con fondo naranja */
}

.hero-interior .hero-title {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-interior .hero-subtitle {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-interior .hero-description {
    color: white;
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.operativa-hero {
    background: #025E73; /* Fondo azul uniforme */
}

.gestion-hero {
    background: #025E73; /* Fondo azul uniforme */
}

.vision-hero {
    background: #025E73; /* Fondo azul uniforme */
}

/* Contenido principal de páginas interiores */
.main-content {
    padding: 60px 0;
    background: #BFB78F;
}

.intro-section {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-section h2 {
    font-size: 2.2rem;
    color: #011F26;
    margin-bottom: 1.5rem;
}

.intro-section p {
    font-size: 1.2rem;
    color: #011F26;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Metodología */
.metodologia-section {
    background: #A5A692;
    padding: 3rem 0;
    border-radius: 15px;
    margin-bottom: 4rem;
}

.metodologia-section h2 {
    text-align: center;
    color: #011F26;
    margin-bottom: 3rem;
}

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

.metodologia-item {
    background: #BFB78F;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(1, 31, 38, 0.05);
}

.metodologia-item h4 {
    color: #011F26;
    margin-bottom: 1rem;
}

/* Timeline para metodología */
.metodologia-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:not(:last-child):after {
    content: '';
    position: absolute;
    left: 25px;
    top: 50px;
    width: 2px;
    height: 40px;
    background: #A5A692;
}

.timeline-number {
    width: 50px;
    height: 50px;
    background: #025E73;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 2rem;
    flex-shrink: 0;
}

.timeline-content h4 {
    color: #011F26;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #011F26;
    line-height: 1.6;
}

/* Áreas de trabajo */
.areas-trabajo {
    margin-bottom: 4rem;
}

.areas-trabajo > h2 {
    font-size: 2rem;
    color: #011F26;
    text-align: center;
    margin-bottom: 3rem;
}

.area-card {
    background: #A5A692;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(1, 31, 38, 0.08);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(1, 31, 38, 0.12);
}

.area-header {
    background: linear-gradient(135deg, #025E73 0%, #011F26 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.area-header h3 {
    font-size: 1.4rem;
    margin: 0;
}

.area-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.area-content {
    padding: 2rem;
}

.area-description {
    color: #011F26;
    line-height: 1.6;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: #A5A692;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
}

.cta-section h2 {
    color: #011F26;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #011F26;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-block;
    background: #F2A71B;
    color: #011F26;
    padding: 1rem 2.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(242, 167, 27, 0.3);
}

.btn-cta:hover {
    background: #025E73;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 94, 115, 0.4);
}

/* Navegación activa */
.nav-link.active {
    background-color: #025E73;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-block {
        padding: 2rem 1.5rem;
    }
    
    .service-icon-shield {
        width: 130px;
        height: 156px;
    }
    
    .contact-info-simple {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 250px;
        text-align: center;
    }
    
    .hero-interior .hero-icon {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 480px) {
    .hero-main {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .services-main {
        padding: 60px 0;
    }
    
    .contact-simple {
        padding: 60px 0;
    }
    
    .hero-interior {
        padding: 50px 0;
    }
}
.dark {
}
