
    /* ==========================================================================
     VARIABLES DE ESTILO - INSPIRACIÓN "ORTIZ & ASOCIADOS"
   ========================================================================== */
:root {
    --brand-gold: #cca03a;       /* El tono dorado/ocre de tus botones */
    --brand-gold-hover: #b58d2f; /* Dorado ligeramente más oscuro para interacciones */
    --brand-dark: #000000;       /* Negro puro de tu navbar */
    --text-main: #2d3748;        /* Gris oscuro corporativo para títulos */
    --text-muted: #718096;       /* Gris medio para descripciones breves */
    --bg-light: #ffffff;         /* Fondo blanco dominante como tu panel */
    --bg-section: #f7fafc;       /* Gris ultra claro para romper secciones */
    --border-color: #e2e8f0;     /* Gris suave para bordes de tablas/tarjetas */
    --max-width: 1200px;
    --transition: all 0.25s ease-in-out;
}

/* Base de renderizado */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    margin: 0;
}

/* ==========================================================================
   BOTONES REUTILIZABLES (Estilo exacto a "Crear Nuevo Evento")
   ========================================================================== */
.btn-primary {
    display: inline-block;
    background-color: var(--brand-gold);
    color: #ffffff;
    padding: 11px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
}

.btn-primary:hover {
    background-color: var(--brand-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(204, 160, 58, 0.2);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--brand-gold);
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid var(--brand-gold);
    margin-left: 15px;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-secondary:hover {
    background-color: rgba(204, 160, 58, 0.05);
    color: var(--brand-gold-hover);
    border-color: var(--brand-gold-hover);
}

/* ==========================================================================
   HERO SECTION (Presentación limpia sobre fondo blanco)
   ========================================================================== */
.hero-section {
    max-width: var(--max-width);
    margin: 60px auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--brand-dark);
    margin-bottom: 20px;
}

.hero-content .highlight {
    color: var(--brand-gold);
}

.hero-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-image-container {
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 100%;
    height: 360px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   SECCIÓN DE SERVICIOS (Réplica del formato con línea dorada lateral)
   ========================================================================== */
.services-section {
    padding: 80px 40px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 28px;
    color: var(--brand-dark);
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    text-align: center;
    /*margin-bottom: 50px;  Este está así para los viewport de celular */
    margin: 0 25vw 50px 25vw;
}


@media only screen and (max-width: 450px) {

.section-subtitle {
    margin: auto 0 50px 0;
}
}

@media only screen and (max-width: 767px) {

.section-subtitle {
    margin: auto 0 50px 0;
}
}

.services-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-light);
    padding: 35px 30px;
    border-radius: 6px;
    position: relative; /* Para anclar la línea lateral dorada */
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

/* La línea dorada lateral que tienen tus filas de eventos */
.service-card .card-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--brand-gold);
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    font-size: 18px;
    color: var(--brand-dark);
    margin-bottom: 12px;
    font-weight: 600;
    padding-left: 5px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
    padding-left: 5px;
}

/* ==========================================================================
   CTA BANNER (Bloque intermedio con fondo elegante)
   ========================================================================== */
.cta-banner {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
}

.cta-bg-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    object-fit: cover;
}

/* El degradado usa el negro de tu marca para mantener cohesión */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

.cta-banner-content {
    position: relative;
    z-index: 3;
    padding: 0 20px;
    max-width: 700px;
}

.cta-banner-content h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta-banner-content p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #cbd5e0;
}

/* ==========================================================================
   RESPONSIVO (Optimización para móviles)
   ========================================================================== */
@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 20px;
        margin: 20px auto;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-image-container {
        order: -1; /* Pone la imagen primero en el móvil */
    }

    .hero-img {
        height: 250px;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
        display: block;
    }

    .btn-primary {
        display: block;
        width: 100%;
    }
}


/* ==========================================================================
   SECCIÓN SOBRE NOSOTROS (Diseño de dos columnas inverso al Hero)
   ========================================================================== */
.about-section {
    max-width: var(--max-width);
    margin: 80px auto;
    padding: 0 40px;
}

.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr; /* Imagen izquierda, texto derecha */
    gap: 60px;
    align-items: center;
}

.about-subtitle-upper {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-gold);
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--brand-dark);
    margin-bottom: 25px;
}

.about-content p {
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.about-img {
    width: 100%;
    height: 420px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   SECCIÓN PILARES / VALORES
   ========================================================================== */
.pilars-section {
    background-color: var(--bg-section);
    padding: 90px 40px;
    border-top: 1px solid var(--border-color);
}

.pilars-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Reutiliza la misma estructura visual de las tarjetas de servicios */
.pilar-card {
    background-color: var(--bg-light);
    padding: 40px 35px;
    border-radius: 6px;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.pilar-card .card-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--brand-gold);
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.pilar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.05);
}

.pilar-card h3 {
    font-size: 18px;
    color: var(--brand-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.pilar-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVO (Ajustes para Tablet y Móviles)
   ========================================================================== */
@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr; /* Columna única en móvil */
        text-align: center;
        gap: 35px;
    }

    .about-section {
        margin: 40px auto;
        padding: 0 20px;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .about-img {
        height: 280px; /* Reducción de tamaño para pantallas pequeñas */
    }
    
    .pilars-section {
        padding: 60px 20px;
    }
}

/* ==========================================================================
   SECCIÓN CONTÁCTENOS PREMIUM (ORTIZ & ASOCIADOS)
   ========================================================================== */
.contact-page-container {
    max-width: var(--max-width);
    margin: 60px auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr; /* Bloque info izquierda, Formulario derecha */
    gap: 50px;
}

/* Columna Izquierda: Tarjetas de Información */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 25px 30px;
    position: relative; /* Clave para anclar la línea lateral */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Reutilización de la línea dorada de tus tarjetas de servicios */
.contact-method-card .card-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--brand-gold);
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.contact-method-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.04);
}

.contact-method-card i {
    font-size: 22px;
    color: var(--brand-gold);
    margin-top: 3px;
}

.contact-method-details h3 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-dark);
}

.contact-method-details p {
    margin: 0;
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Contenedor del Mapa Embebido */
.contact-map-box {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 250px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01);
}

/* Columna Derecha: El Formulario */
.contact-form-wrapper {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 45px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

.contact-form-wrapper h2 {
    font-size: 26px;
    font-weight: 600;
    color: var(--brand-dark);
    margin: 0 0 10px 0;
}

.contact-form-wrapper p {
    color: var(--text-muted);
    font-size: 14.5px;
    margin: 0 0 35px 0;
}

/* Grupos y campos del Formulario */
.contact-form-group {
    margin-bottom: 22px;
}

.contact-form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    height: 48px;
    border: 1px solid var(--border-color);
    padding: 0 16px;
    color: var(--text-main);
    border-radius: 6px;
    background-color: #ffffff;
    font-family: inherit;
    font-size: 14.5px;
    box-sizing: border-box;
    transition: var(--transition);
}

.contact-form-group textarea {
    height: 130px;
    padding: 14px 16px;
    resize: vertical;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-color: var(--brand-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(204, 160, 58, 0.1);
}

/* Forzar al botón primario dentro de formularios a ocupar todo el ancho */
.contact-form-wrapper .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
}

/* ==========================================================================
   RESPONSIVO PARA EL MÓVIL
   ========================================================================== */
@media (max-width: 768px) {
    .contact-page-container {
        grid-template-columns: 1fr; /* Una columna en móvil */
        padding: 0 20px;
        margin: 30px auto;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   6. SECCIÓN LISTADO DE SERVICIOS PREMIUM (CON FONDO #f7fafc)
   ========================================================================== */
.our-services-section {
    /* Declaración de la variable local o global */
    --bg-section: #f7fafc; 
    

    border-top: 1px solid var(--border-color);
    background-color: var(--bg-section);
    width: 100%;
    /* Cambiamos margin por padding vertical para que el fondo abrace bien el contenido */
    padding: 90px 0; 
    margin: 0; 
}

/* Nuevo contenedor para centrar el contenido respetando el límite de la web */
.services-premium-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Encabezado elegante centrado */
.services-premium-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-tagline {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.services-main-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0;
}

.services-gold-divider {
    width: 60px;
    height: 2px;
    background-color: var(--brand-gold);
    margin: 15px auto 0 auto;
}

/* Grid de 3 columnas responsivo */
.services-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* Estructura de la tarjeta de servicio (Destaca sobre el fondo gris) */
.service-premium-card {
    background-color: var(--bg-light); /* Asumiendo que es blanco #ffffff */
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Contenedor de la Imagen con zoom interactivo */
.service-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background-color: #000;
}

.service-premium-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Capa sutil sobre la imagen */
.service-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

/* Cuerpo de texto de la tarjeta */
.service-premium-body {
    padding: 30px 25px;
    text-align: left;
}

.service-premium-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--brand-dark);
    margin: 0 0 12px 0;
}

.service-premium-body p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* Enlace tipo flecha elegante */
.service-premium-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-gold);
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.card-arrow-icon {
    display: inline-block;
    transition: transform 0.2s ease;
    margin-left: 4px;
}

/* ==========================================================================
   COMPORTAMIENTO HOVER PREMIUM (ANIMACIONES)
   ========================================================================== */
.service-premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06); /* Sombra un poco más visible sobre el gris */
    border-color: rgba(204, 160, 58, 0.4);
}

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

.service-premium-card:hover .service-img-overlay {
    background: rgba(0, 0, 0, 0.25);
}

.service-premium-card:hover .service-premium-link {
    color: var(--brand-gold-hover);
}

.service-premium-card:hover .card-arrow-icon {
    transform: translateX(4px);
}

/* ==========================================================================
   RESPONSIVO PARA PANTALLAS PEQUEÑAS
   ========================================================================== */
@media (max-width: 768px) {
    .our-services-section {
        padding: 60px 0;
    }
    .services-premium-container {
        padding: 0 20px;
    }
    .services-premium-header {
        margin-bottom: 40px;
    }
    .services-main-title {
        font-size: 26px;
    }
    .services-premium-grid {
        gap: 25px;
    }
}
