/* ==========================================================================
   VARIABLES Y BASE (Fondo Blanco, Azul Corporativo y Gris Técnico)
   ========================================================================== */
:root {
    --primary-blue: #b48969;
    --accent-blue: #B88A4A;
    --hover-blue: #9A6F38;
    --light-blue: #F5EEE5;
    --border-blue: #D8C5AD;

    --bg-white: #FFFFFF;
    --bg-light-gray: #F8F4EF;
    --bg-dark: #3E281C;

    --text-dark: #3E281C;
    --text-muted: #75665B;
    --text-light: #F7F2EC;

    --shadow-sm: 0 2px 4px rgba(62, 40, 28, 0.05);
    --shadow-md: 0 4px 12px rgba(62, 40, 28, 0.08);
    --shadow-lg: 0 10px 25px rgba(62, 40, 28, 0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-curve: 35px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-blue);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ==========================================================================
   ESTRUCTURA Y UTILIDADES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-blue { color: var(--accent-blue); }
.text-white { color: var(--bg-white) !important; }
.text-gray { color: var(--text-muted); }

.section {
    padding: 80px 0;
}

.section-gray {
    background-color: var(--bg-light-gray);
}

.section-dark {
    background-color: var(--bg-dark);
}

.section-header {
    margin-bottom: 50px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 15px;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.grid {
    display: grid;
    gap: 25px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.align-center { align-items: center; }

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: var(--radius-md); }

.btn-primary {
    background-color: var(--accent-blue);
    color: var(--bg-white);
}
.btn-primary:hover {
    background-color: var(--hover-blue);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}
.btn-secondary:hover {
    background-color: #152C69;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}
.btn-outline:hover {
    background-color: var(--light-blue);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--bg-white);
}
.btn-whatsapp:hover {
    background-color: #1EBE5D;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-outline {
    background-color: transparent;
    border-color: #25D366;
    color: #25D366;
}
.btn-whatsapp-outline:hover {
    background-color: rgba(37, 211, 102, 0.1);
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER / NAVEGACIÓN
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 6px 10px;
    border-radius: 6px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-title {
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--accent-blue);
    font-weight: 600;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-blue);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* ==========================================================================
   HERO / PORTADA CON COMPOSICIÓN CURVA
   ========================================================================== */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-white);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--light-blue);
    color: var(--accent-blue);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid var(--border-blue);
}

.hero-title {
    font-size: 2.6rem;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-top: 25px;
    border-top: 1px solid #E2E8F0;
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: #CBD5E1;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.curve-shape {
    position: absolute;
    border-radius: var(--radius-curve);
}

.curve-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-blue) 0%, #DBEAFE 100%);
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    border-radius: 30px;
}

.curve-accent {
    width: 90%;
    height: 90%;
    border: 2px dashed var(--accent-blue);
    border-radius: 30px;
    top: 5%;
    left: 5%;
    opacity: 0.5;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    width: 270px;
}

.theodolite-svg {
    filter: drop-shadow(0 15px 25px rgba(30, 58, 138, 0.15));
}

.hero-card-floating {
    position: absolute;
    bottom: 25px;
    left: 0;
    background: transparent;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    border: none;
    box-shadow: none;
}

.hero-card-floating i {
    color: var(--accent-blue);
    width: 28px;
    height: 28px;
}

.hero-card-floating strong {
    display: none;
    display: block;
    font-size: 0.9rem;
    color: var(--primary-blue);}


.hero-card-floating p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   CARDS DE SOLUCIONES
   ========================================================================== */
.card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
    transition: var(--transition);
}

.card-solution:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-blue);
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-blue);
    color: var(--accent-blue);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-solution h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.card-solution p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.cta-banner {
    margin-top: 50px;
    background-color: var(--primary-blue);
    color: var(--bg-white);
    padding: 30px 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cta-banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-banner-content i {
    width: 40px;
    height: 40px;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.cta-banner h4 {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.cta-banner p {
    color: #94A3B8;
    font-size: 0.95rem;
}

/* ==========================================================================
   SECCIÓN DE SERVICIOS CON BOTONES (TABS INTERACTIVOS)
   ========================================================================== */
.services-interactive {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-top: 30px;
}

.services-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background-color: var(--bg-light-gray);
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn i {
    color: var(--accent-blue);
    width: 20px;
    height: 20px;
}

.tab-btn:hover {
    background-color: var(--light-blue);
    border-color: var(--border-blue);
}

.tab-btn.active {
    background-color: var(--accent-blue);
    color: var(--bg-white);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-md);
}

.tab-btn.active i {
    color: var(--bg-white);
}

.services-content-wrapper {
    background-color: var(--bg-white);
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    min-height: 420px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-header {
    margin-bottom: 20px;
}

.panel-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-blue);
    background-color: var(--light-blue);
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.panel-header h3 {
    font-size: 1.8rem;
}

.panel-intro {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.tab-panel p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.panel-list {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.panel-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 500;
}

.panel-list i {
    color: var(--accent-blue);
    width: 18px;
    height: 18px;
}

.panel-cta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.panel-cta p {
    margin-bottom: 0;
    color: var(--text-dark);
}

/* ==========================================================================
   SECCIÓN PROFESIONAL RESPONSABLE
   ========================================================================== */
.professional-photo-box {
    position: relative;
    padding: 10px;
}

.photo-placeholder {
    width: 100%;
    height: 420px;
    background-color: #1E293B;
    border: 2px dashed #334155;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #94A3B8;
    overflow: hidden;
}

.placeholder-icon {
    width: 64px;
    height: 64px;
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.placeholder-text {
    font-weight: 700;
    color: var(--bg-white);
    font-size: 1.1rem;
}

.placeholder-subtext {
    font-size: 0.85rem;
    margin-top: 4px;
}

.photo-badge {
    position: absolute;
    bottom: -15px;
    right: 30px;
    background-color: var(--accent-blue);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

.professional-details h2 {
    color: var(--bg-white);
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.pro-mat {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.pro-description {
    color: #94A3B8;
    margin-bottom: 25px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-item i {
    color: var(--accent-blue);
    margin-top: 3px;
    flex-shrink: 0;
}

.detail-item strong {
    color: var(--bg-white);
    display: block;
    font-size: 0.9rem;
}

.detail-item p, .detail-item a {
    color: #94A3B8;
    font-size: 0.9rem;
}

.detail-item a:hover {
    color: var(--accent-blue);
}

.social-links-box {
    padding-top: 20px;
    border-top: 1px solid #334155;
}

.social-links-box span {
    display: block;
    font-size: 0.85rem;
    color: #94A3B8;
    margin-bottom: 12px;
}

.social-buttons {
    display: flex;
    gap: 12px;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--bg-white);
    transition: var(--transition);
}

.btn-facebook { background-color: #1877F2; }
.btn-facebook:hover { background-color: #1464C9; transform: translateY(-2px); }

.btn-instagram { background-color: #E4405F; }
.btn-instagram:hover { background-color: #C13584; transform: translateY(-2px); }

/* ==========================================================================
   PROCESO DE TRABAJO
   ========================================================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    background-color: var(--bg-white);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    border: 1px solid #E2E8F0;
    position: relative;
}

.step-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--light-blue);
    -webkit-text-stroke: 2px var(--accent-blue);
    margin-bottom: 10px;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact-box {
    background: linear-gradient(135deg, var(--light-blue) 0%, #FFFFFF 100%);
    border: 2px solid var(--border-blue);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-box h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.contact-box p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-blue);
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.info-item i {
    color: var(--accent-blue);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    color: #94A3B8;
    padding-top: 60px;
    padding-bottom: 30px;
    border-top: 1px solid #334155;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 10px;
    font-size: 0.88rem;
}

.footer-links h4, .footer-contact h4 {
    color: var(--bg-white);
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.88rem;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-socials a {
    color: var(--bg-white);
    background-color: #1E293B;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--accent-blue);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #1E293B;
    font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE (Mobile First Optimizations)
   ========================================================================== */
@media (max-width: 992px) {
    .services-interactive {
        grid-template-columns: 1fr;
    }
    
    .services-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .hero { padding-top: 120px; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-title { font-size: 2rem; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    
    .cta-banner { flex-direction: column; text-align: center; }
    .cta-banner-content { flex-direction: column; }
    
    .nav-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        padding: 40px 20px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        font-size: 1.2rem;
    }
    
    .footer-container { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.75rem; }
    .btn-lg { width: 100%; }
    .services-content-wrapper { padding: 20px; }
    .hero-card-floating { position: relative; bottom: 0; margin-top: 15px; }
}
/* =========================
   SECCIÓN TRABAJOS
========================= */

.trabajos {
    padding: 90px 20px;
    background: #4a3028;
    color: #FFFFFF;
    #profesionales .profesional-card {
    color: #ffffff;}
}
#profesionales {
    background: #4a3028 !important;
    color: #FFFFFF;
}

{
    color: rgba(255, 255, 255, 0.85);
}

#profesionales .profesionales-redes {
    border-top-color: rgba(255, 255, 255, 0.25);
}


.trabajos-contenedor {
    max-width: 1150px;
    margin: 0 auto;
}

.trabajos-encabezado {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.trabajos-etiqueta {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #b58a5a;
}

.trabajos-encabezado h2 {
    margin: 0 0 15px;
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
}

.trabajos-encabezado p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #5f6b76;
}

.galeria-trabajos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.trabajo-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    aspect-ratio: 4 / 3;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.trabajo-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.trabajo-card:hover img {
    transform: scale(1.05);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 800px) {

    .trabajos {
        padding: 70px 18px;
    }

    .trabajos-encabezado h2 {
        font-size: 32px;
    }

    .galeria-trabajos {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

}

@media (max-width: 520px) {

    .trabajos {
        padding: 60px 16px;
    }

    .trabajos-encabezado {
        margin-bottom: 35px;
    }

    .trabajos-encabezado h2 {
        font-size: 29px;
    }

    .trabajos-encabezado p {
        font-size: 15px;
    }

    .galeria-trabajos {
        grid-template-columns: 1fr;
        gap: 16px;
    }

}

/* =========================
   CARRUSEL CINEMATOGRÁFICO
========================= */

.carrusel-cinematografico {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carrusel-imagenes {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    border-radius: 18px;
    background: #e8e1d8;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease;
}

.slide.activo {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}


/* FLECHAS */

.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    width: 48px;
    height: 48px;

    border: none;
    border-radius: 50%;

    background: rgba(92, 64, 51, 0.85);
    color: white;

    font-size: 24px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
}

.carrusel-btn:hover {
    background: #5C4033;
    transform: translateY(-50%) scale(1.08);
}

.carrusel-btn.anterior {
    left: 20px;
}

.carrusel-btn.siguiente {
    right: 20px;
}


/* CONTROLES */

.carrusel-controles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 22px;
}

.contador {
    color: #5C4033;
    font-size: 14px;
    font-weight: 600;
}

.indicadores {
    display: flex;
    gap: 8px;
}

.indicador {
    width: 9px;
    height: 9px;
    padding: 0;

    border: none;
    border-radius: 50%;

    background: #cbbba8;
    cursor: pointer;

    transition: all 0.3s ease;
}

.indicador.activo {
    width: 26px;
    border-radius: 10px;
    background: #B58A5A;
}


/* =========================
   CELULAR
========================= */

@media (max-width: 700px) {

    .carrusel-imagenes {
        height: 400px;
        border-radius: 14px;
    }

    .carrusel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .carrusel-btn.anterior {
        left: 12px;
    }

    .carrusel-btn.siguiente {
        right: 12px;
    }

}

@media (max-width: 480px) {

    .carrusel-imagenes {
        height: 330px;
    }

    .carrusel-controles {
        gap: 15px;
    }

}
/* =========================================
   WHATSAPP FLOTANTE
   ========================================= */

.whatsapp-flotante {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px 18px;
    border-radius: 50px;

    background: #25D366;
    color: #ffffff;

    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-flotante svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.whatsapp-flotante:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

/* Animación suave para llamar la atención */
.whatsapp-flotante {
    animation: whatsapp-pulse 2.8s infinite;
}

@keyframes whatsapp-pulse {
    0%, 70%, 100% {
        transform: scale(1);
    }

    80% {
        transform: scale(1.04);
    }

    85% {
        transform: scale(1);
    }
}

/* Adaptación para celular */
@media (max-width: 600px) {

    .whatsapp-flotante {
        right: 16px;
        bottom: 16px;

        width: 56px;
        height: 56px;
        padding: 0;

        justify-content: center;
        border-radius: 50%;
    }

    .whatsapp-flotante span {
        display: none;
    }

    .whatsapp-flotante svg {
        width: 27px;
        height: 27px;
    }
}
/* =========================================
   HERO CON FOTO DE AGRIMENSURA
   ========================================= */

.hero {
    position: relative;
    background-image:
        linear-gradient(
            90deg,
            rgba(5, 20, 45, 0.88) 0%,
            rgba(5, 20, 45, 0.68) 45%,
            rgba(5, 20, 45, 0.25) 100%
        ),
        url("img/hero.jpg");

    background-size: cover;
    background-position: center 35%;
    color: #ffffff;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    color: #ffffff;
}

.hero-title,
.hero-description {
    color: #ffffff;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

/* Ocultamos el dibujo antiguo del teodolito */
.theodolite-svg {
    display: none;
}
/* =========================================
   PROFESIONALES
   ========================================= */

#profesionales {
    padding: 90px 20px;
}

#profesionales .profesionales-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

#profesionales .section-subtitle {
    display: block;
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

#profesionales .profesionales-header h2 {
    margin-bottom: 15px;
}

#profesionales .profesionales-header p {
    margin: 0;
}


/* EQUIPO */

#profesionales .profesionales-equipo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 55px;
}

#profesionales .profesional-card {
    padding: 35px;
    border-radius: 20px;
}

#profesionales .profesional-etiqueta {
    display: block;
    margin-bottom: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

#profesionales .profesional-card h3 {
    margin: 0 0 12px;
    font-size: 1.6rem;
}

#profesionales .profesional-matricula,
#profesionales .profesional-cargo {
    display: block;
    margin-bottom: 20px;
}

#profesionales .profesional-card p {
    margin: 0;
    line-height: 1.7;
}


/* DATOS */

#profesionales .profesionales-datos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

#profesionales .dato-profesional {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

#profesionales .dato-profesional i {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

#profesionales .dato-profesional strong {
    display: block;
    margin-bottom: 5px;
}

#profesionales .dato-profesional span {
    display: block;
    line-height: 1.5;
}


/* REDES */

#profesionales .profesionales-redes {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

#profesionales .profesionales-redes > span {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

#profesionales .redes-profesionales {
    display: flex;
    gap: 12px;
}

#profesionales .redes-profesionales a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    transition: 0.3s ease;
}


/* =========================================
   CELULAR
   ========================================= */

@media (max-width: 768px) {

    #profesionales {
        padding: 65px 20px;
    }

    #profesionales .profesionales-equipo {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    #profesionales .profesional-card {
        padding: 28px 22px;
    }

    #profesionales .profesional-card h3 {
        font-size: 1.35rem;
    }

    #profesionales .profesionales-datos {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    #profesionales .redes-profesionales {
        flex-wrap: wrap;
    }

}
@media (max-width: 768px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero {
        width: 100%;
        overflow: hidden;
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1.1;
        max-width: 100%;
        word-break: normal;
    }

    .hero p {
        font-size: 18px;
        line-height: 1.5;
        max-width: 100%;
    }

    .hero .container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .hero a,
    .hero button {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* =========================================
   DISEÑO RESPONSIVE REAL - CELULARES
   ========================================= */

@media screen and (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    /* CONTENEDOR GENERAL */
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    /* =========================
       HEADER
       ========================= */

    .header {
        width: 100%;
        overflow: hidden;
    }

    .header-container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    /* =========================
       HERO
       ========================= */

    .hero {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-left: 20px;
        padding-right: 20px;
        margin: 0 auto;

        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0 auto;
        text-align: center;
    }

    /* ETIQUETA */
    .tag-badge {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-left: auto;
        margin-right: auto;

        display: flex;
        align-items: center;
        justify-content: center;

        text-align: center;
        white-space: normal;
        overflow-wrap: break-word;
    }

    /* TÍTULO */
    .hero-title {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        margin-left: auto;
        margin-right: auto;

        text-align: center;

        font-size: clamp(32px, 9vw, 42px);
        line-height: 1.1;
        letter-spacing: -0.5px;

        white-space: normal;
        overflow-wrap: break-word;
    }

    /* DESCRIPCIÓN */
    .hero-description {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        margin-left: auto;
        margin-right: auto;

        text-align: center;

        font-size: clamp(16px, 4.5vw, 18px);
        line-height: 1.55;

        white-space: normal;
        overflow-wrap: break-word;
    }

    /* BOTONES */
    .hero-buttons {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }

    .hero-buttons a,
    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        margin-left: auto;
        margin-right: auto;

        white-space: normal;
        text-align: center;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* ESTADÍSTICAS / RESPALDO PROFESIONAL */
    .hero-stats {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;

        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats > * {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    /* CUALQUIER TEXTO DENTRO DE LAS ESTADÍSTICAS */
    .hero-stats h3,
    .hero-stats h4,
    .hero-stats p,
    .hero-stats span {
        max-width: 100%;
        overflow-wrap: break-word;
        white-space: normal;
    }

    /* IMÁGENES */
    .hero img {
        max-width: 100%;
        height: auto;
    }

    /* TODAS LAS SECCIONES */
    section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* FOOTER */
    .footer {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .azuria-credit {
        width: 100%;
        max-width: 100%;
        text-align: center;
        font-size: 12px;
        line-height: 1.4;
        padding: 18px 20px 22px;
    }
}
media screen and (max-width: 768px) {

    html {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    body {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden !important;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    /* CONTENEDORES */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* =========================
       HERO
       ========================= */

    .hero {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .hero .container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Cualquier contenedor interno del hero */
    .hero-content,
    .hero-text,
    .hero-info,
    .hero-left,
    .hero-right {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    /* ETIQUETA */
    .hero .badge,
    .hero .hero-badge {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        text-align: center !important;
    }

    /* TÍTULO PRINCIPAL */
    .hero h1 {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding-left: 0 !important;
        padding-right: 0 !important;

        font-size: 34px !important;
        line-height: 1.12 !important;
        letter-spacing: -0.5px !important;

        text-align: center !important;

        white-space: normal !important;
        overflow: visible !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    /* TEXTO DEL HERO */
    .hero p {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding-left: 0 !important;
        padding-right: 0 !important;

        font-size: 17px !important;
        line-height: 1.55 !important;

        text-align: center !important;

        white-space: normal !important;
        overflow: visible !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    /* BOTONES */
    .hero a,
    .hero button,
    .hero .btn,
    .hero .btn-primary,
    .hero .btn-secondary {
        display: flex !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin-left: auto !important;
        margin-right: auto !important;

        justify-content: center !important;
        align-items: center !important;

        text-align: center !important;

        white-space: normal !important;
        overflow-wrap: break-word !important;
    }

    /* SECCIONES */
    section {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* IMÁGENES */
    img {
        max-width: 100% !important;
        height: auto;
    }

    /* FOOTER */
    .footer {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .azuria-credit {
        width: 100%;
        max-width: 100%;
        text-align: center;
        font-size: 12px;
        line-height: 1.4;
        padding: 18px 20px 22px;
    }
}


/* CELULARES CHICOS */
@media screen and (max-width: 480px) {

    .hero h1 {
        font-size: 32px !important;
        line-height: 1.12 !important;
        letter-spacing: -0.4px !important;
    }

    .hero p {
        font-size: 17px !important;
        line-height: 1.5 !important;
    }

    .hero .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
/* Manejo de estados del Carrusel */
.carrusel-imagenes .slide {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.carrusel-imagenes .slide.activo {
    display: block;
    opacity: 1;
}