/* ============================================================
   MATAMOROS 360 - ESTILOS UNIFICADOS
   Variables, páginas de sector (industrial/comercial) y noticias
   ============================================================ */

/* --- VARIABLES BASADAS EN TU LOGO --- */
:root {
    --navy-blue: #0A1D37;   /* Del texto MATAMOROS */
    --logo-green: #67B023;  /* Del arco y flecha del logo */
    --light-green: #A4D037; /* El verde claro del degradado */
    --white: #ffffff;
    --gray-bg: #f4f7f6;
    --text-main: #333333;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--gray-bg);
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

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

.relative {
    position: relative;
    z-index: 2;
}

/* --- NAVBAR MODERNA --- */
.navbar {
    background: var(--white);
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo-container .main-logo {
    height: 80px; /* Tamano ideal para que el logo se vea claro */
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

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

.nav-links a {
    text-decoration: none;
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--logo-green);
}

.nav-links a.active {
    color: var(--logo-green);
    position: relative;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 3px;
    background: var(--logo-green);
    border-radius: 2px;
}

.btn-cta {
    background: var(--navy-blue);
    color: white !important;
    padding: 12px 24px;
    border-radius: 5px;
    border: 2px solid var(--navy-blue);
}

.btn-cta:hover {
    background: transparent !important;
    color: var(--navy-blue) !important;
}

/* Hamburger menu button */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--navy-blue);
    padding: 8px;
}

.hamburger i.fa-xmark { display: none; }
.hamburger.open i.fa-bars { display: none; }
.hamburger.open i.fa-xmark { display: block; }

/* --- CONFIGURACION DEL HERO INDUSTRIAL --- */
.hero {
    position: relative;
    height: 75vh; /* Altura generosa para impacto visual */
    min-height: 400px;
    /* Imagen de industria moderna (puedes cambiar esta URL por tu foto local) */
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

/* El truco del color: Superposicion Azul Marino con transparencia */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente que va del azul solido a uno mas transparente para ver la industria */
    background: linear-gradient(90deg,
                rgba(10, 29, 55, 0.9) 0%,
                rgba(10, 29, 55, 0.7) 50%,
                rgba(10, 29, 55, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Por encima del overlay */
    text-align: center;
    width: 100%;
}

.hero-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 25px;
}

.hero-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 190px;
    height: auto;
    flex-shrink: 0;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem); /* Tamano fluido */
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* El color naranja de acento que te gusto para resaltar */
.highlight {
    color: #FF7F00; /* Naranja vibrante para impacto */
    display: block;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* BUSCADOR ESTILO OEMNEX */
.search-container {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.search-container input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    outline: none;
    color: #333;
}

.btn-search {
    background: #FF7F00;
    color: white;
    border: none;
    padding: 0 40px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s ease;
    border-radius: 2px;
}

.btn-search:hover {
    background: #e67200;
}

.badge {
    background: var(--logo-green);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* --- GRID DE CATEGORIAS --- */
.services-grid {
    padding: 100px 0;
}

/* Compactar secciones del inicio (index.php) */
body.home .services-grid {
    padding: 50px 0;
}

body.home .section-header {
    margin-bottom: 30px;
}

body.home .section-header h2 {
    font-size: 2rem;
}

body.home .news-container {
    padding: 40px 0;
}

body.home .news-grid-modern {
    margin-top: 20px;
}

body.home .bridges-container {
    padding: 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--navy-blue);
}

.section-header p {
    color: #666;
    font-size: 1.05rem;
    margin-top: 10px;
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--logo-green);
    margin: 15px auto;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.feature-card {
    background: white;
    padding: 22px 26px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid #eee;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 14px;
}

.icon-blue { background: rgba(10, 29, 55, 0.1); color: var(--navy-blue); }
.icon-green { background: rgba(103, 176, 35, 0.1); color: var(--logo-green); }
.icon-orange { background: rgba(245, 143, 27, 0.1); color: #f58f1f; }
.icon-dark { background: #333; color: white; }
.icon-teal { background: rgba(0, 148, 143, 0.1); color: #00948f; }

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--navy-blue);
}

.feature-card p {
    margin-bottom: 15px;
}

.link-arrow {
    display: inline-block;
    margin-top: 14px;
    text-decoration: none;
    color: var(--logo-green);
    font-weight: 700;
}

/* --- FOOTER --- */
.main-footer {
    background: var(--navy-blue);
    color: white;
    padding: 60px 0 20px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Convierte el logo a blanco para el fondo oscuro */
}

.visit-counter {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 8px;
}

/* --- CLIMA --- */
.weather-container {
    padding: 40px 0;
}

.weather-container .section-header p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 0;
}

.weather-card {
    background: linear-gradient(135deg, #667eea 0%, #9199ff 50%, #b3c8ff 100%);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    color: white;
}

.weather-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.weather-left {
    display: flex;
    align-items: center;
}

.weather-icon-main {
    font-size: 56px;
    color: #fff;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}

.weather-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.weather-temp-main {
    font-size: 34px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.weather-condition-text {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.95;
    margin-top: 6px;
}

.weather-right {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.weather-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 55px;
}

.weather-item i {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
}

.weather-item div {
    font-size: 17px;
    font-weight: 700;
    color: white;
}

.weather-item small {
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}

/* --- CONTADOR DE VISITAS --- */
.visitas-container {
    padding: 20px 0 10px;
}

.visit-counter-display {
    background: var(--navy-blue);
    color: white;
    padding: 16px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
}

.visit-counter-display i {
    font-size: 18px;
    color: #fff;
}

.visit-counter-display strong {
    color: var(--logo-green);
    font-size: 18px;
}

.separator {
    opacity: 0.5;
}

/* --- RADAR DE CLIMA --- */
.weather-radar-link {
    padding: 15px 0 25px;
}

.radar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--navy-blue), #1a2a4a);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(10, 29, 55, 0.3);
}

.radar-btn:hover {
    background: linear-gradient(135deg, var(--logo-green), #5cb86f);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(103, 176, 35, 0.4);
    color: white;
}

/* ============================================================
   PAGINAS DE SECTOR (Industrial / Comercial)
   ============================================================ */

.page-hero {
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
}

.industrial-bg { background-image: url('images/industrial4.png'); }
.comercial-bg { background-image: url('images/comercia3l.jpg'); }
.educativo-bg { background-image: url('https://images.unsplash.com/photo-1523050630014-51f69e8f0976?q=80&w=1000'); }
.planes-bg { background-image: linear-gradient(rgba(10,29,55,0.7), rgba(10,29,55,0.7)), url('https://images.unsplash.com/photo-1521737607793-d1b4f4f2f2d4?q=80&w=1600'); }
.search-bg { background-image: linear-gradient(rgba(10,29,55,0.65), rgba(10,29,55,0.65)), url('https://images.unsplash.com/photo-1521737607793-d1b4f4f2f2d4?q=80&w=1600'); }
.plaza-bg { background-image: linear-gradient(rgba(10,29,55,0.65), rgba(10,29,55,0.65)), url('https://images.unsplash.com/photo-1483985988355-763728e1935b?q=80&w=1600'); }

.page-hero h1 { font-size: 3rem; margin-bottom: 10px; }
.page-hero h1 span { color: var(--logo-green); }

/* Barra de Filtros */
.filter-bar {
    background: white;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    margin-top: -40px; /* Sube la barra para que flote sobre el hero */
    position: relative;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.filter-bar input { flex: 2; padding: 12px; border: 1px solid #ddd; border-radius: 4px; }
.filter-bar select { flex: 1; padding: 12px; border: 1px solid #ddd; border-radius: 4px; }

/* Grid de Directorio */
.directory-section { padding: 80px 0; }

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* Grid Industrial: 3 anuncios por renglon de 352px */
.industrial-grid {
    display: grid;
    grid-template-columns: repeat(3, 352px);
    gap: 24px;
    justify-content: center;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .industrial-grid {
        grid-template-columns: repeat(2, 352px);
    }
}

@media (max-width: 640px) {
    .industrial-grid {
        grid-template-columns: 352px;
    }
}

/* Tarjeta Industrial */
.industrial-card {
    width: 352px;
    background: white;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

.industrial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.industrial-thumb {
    position: relative;
    width: 352px;
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
}

.industrial-thumb img {
    width: 352px;
    height: 180px;
    object-fit: cover;
    display: block;
}

.industrial-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.industrial-body h3 {
    margin: 0;
    color: var(--navy-blue);
    font-size: 1.05rem;
    line-height: 1.3;
}

.industrial-body p {
    margin: 0;
    color: #555;
    font-size: 0.88rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tarjetas de Proveedores */
.vendor-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}

.vendor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Estilo PLAN FULL */
.plan-full {
    border: 2px solid var(--navy-blue);
    box-shadow: 0 15px 35px rgba(10, 29, 55, 0.1);
}

.plan-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--navy-blue);
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
}

.plan-tag.commercial { background: var(--logo-green); }

.vendor-header { display: flex; gap: 20px; margin-bottom: 20px; align-items: center; }
.vendor-header img { width: 65px; height: 65px; border-radius: 8px; object-fit: cover; }

.category-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy-blue);
    background: rgba(10, 29, 55, 0.1);
    padding: 2px 10px;
    border-radius: 4px;
    margin-top: 5px;
}

.category-tag.comm {
    color: var(--logo-green);
    background: rgba(103, 176, 35, 0.12);
}

.category-tag.edu {
    color: #f58f1f;
    background: rgba(245, 143, 27, 0.1);
}

.vendor-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Botones */
.btn-view {
    background: var(--navy-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-view:hover {
    background: var(--logo-green);
}

.btn-view.comm-btn { background: var(--logo-green); }
.btn-view.comm-btn:hover { background: var(--navy-blue); }

.btn-view.secondary {
    background: transparent;
    border: 2px solid var(--navy-blue);
    color: var(--navy-blue);
}

.btn-view.secondary:hover {
    background: var(--navy-blue);
    color: white;
}

.btn-simple {
    background: transparent;
    border: 2px solid #ddd;
    color: var(--text-main);
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-simple:hover {
    border-color: var(--logo-green);
    color: var(--logo-green);
}

/* Estilo Basico */
.plan-basic { opacity: 0.8; }
.plan-basic h3 { font-size: 1.1rem; }

/* ============================================================
   PAGINA DE NOTICIAS
   ============================================================ */

.news-bg {
    background-image: url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?q=80&w=1000');
}

.news-container {
    padding: 80px 0;
    background: var(--gray-bg);
}

.news-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Versión 2 columnas para el inicio (index.php) */
.news-grid-home {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-grid-home .news-thumb {
    height: 130px;
}

.news-grid-home .news-date {
    padding: 12px 18px;
    font-size: 11px;
}

.news-grid-home .news-body {
    padding: 18px;
}

.news-grid-home .news-body h3 {
    font-size: 1.05rem;
}

.news-grid-home .news-body p {
    font-size: 0.9rem;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    border-top: 4px solid var(--logo-green);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.news-thumb {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.source-tag.src-expreso {
    background: rgba(255, 127, 0, 0.12);
    color: #c25e00;
}

.source-tag.src-mundo {
    background: rgba(201, 6, 6, 0.1);
    color: #C90606;
}

.source-tag.src-hoy {
    background: rgba(103, 176, 35, 0.12);
    color: var(--logo-green);
}

.source-tag.src-google {
    background: rgba(10, 29, 55, 0.1);
    color: var(--navy-blue);
}

.news-date {
    padding: 15px 20px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy-blue);
}

.source-tag {
    background: rgba(103, 176, 35, 0.12);
    color: var(--logo-green);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.news-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-body h3 {
    color: var(--navy-blue);
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-body p {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex: 1;
}

.read-more {
    margin-top: auto;
    text-decoration: none;
    color: var(--logo-green);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--navy-blue);
    gap: 12px;
}

/* ============================================================
   PAGINA DE EMPLEOS (Bolsa de Trabajo)
   ============================================================ */

.jobs-bg {
    background-image: url('https://images.unsplash.com/photo-1521791136364-798a730bb361?q=80&w=1000');
}

.jobs-section {
    padding: 80px 0;
}

.jobs-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Columna de empleos local es más ancha */
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

.section-subtitle {
    margin-bottom: 25px;
    color: var(--navy-blue);
    font-size: 1.5rem;
}

.btn-post {
    display: inline-block;
    margin-top: 20px;
    background: var(--logo-green);
    color: white;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-post:hover {
    background: var(--navy-blue);
}

/* Tarjeta Local */
.job-card-premium {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border: 1px solid #eee;
    border-left: 5px solid var(--logo-green);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.job-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.job-sector {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(10, 29, 55, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--navy-blue);
}

.job-info h3 { margin: 10px 0 5px; color: var(--navy-blue); }
.company-name { color: var(--logo-green); font-weight: 600; margin-bottom: 10px; }
.job-meta { font-size: 13px; color: #777; display: flex; gap: 15px; flex-wrap: wrap; }

.btn-apply {
    background: var(--navy-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-apply:hover {
    background: var(--logo-green);
}

/* Tarjeta Lateral de Google */
.google-jobs-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #ddd;
    margin-bottom: 30px;
}

.google-jobs-card h3 { margin: 15px 0; }

.btn-google {
    display: block;
    background: #4285F4; /* Azul de Google */
    color: white;
    padding: 12px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    margin-top: 20px;
    transition: var(--transition);
}

.btn-google:hover {
    background: #357ae8;
}

/* Formulario de Alta */
.post-job-teaser {
    background: var(--navy-blue);
    color: white;
    padding: 30px;
    border-radius: 12px;
}

.post-job-teaser h4 { margin-bottom: 10px; }

.simple-form input, .simple-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: none;
}

.btn-submit-job {
    width: 100%;
    padding: 12px;
    background: var(--logo-green);
    color: white;
    border: none;
    font-weight: 800;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-submit-job:hover {
    background: var(--light-green);
}

.success-msg {
    background: rgba(103, 176, 35, 0.15);
    color: var(--light-green);
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    border: 1px solid var(--logo-green);
}

/* ============================================================
   PAGINA DE PERFIL DE EMPRESA
   ============================================================ */

.profile-header {
    padding: 100px 0 60px;
    color: white;
    position: relative;
    text-align: left;
    background-size: cover;
    background-position: center;
}

.profile-hero-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.profile-logo-big {
    background: white;
    padding: 10px;
    border-radius: 12px;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.profile-logo-big img {
    max-width: 100%;
    border-radius: 8px;
}

.badge-premium {
    background: #ffd700;
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 10px;
}

.profile-title-info h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 5px;
}

.profile-title-info p {
    opacity: 0.9;
    margin-bottom: 8px;
}

.profile-quick-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 12px;
    font-size: 0.9rem;
}

.profile-quick-stats span {
    background: rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 20px;
}

.profile-body {
    padding-bottom: 60px;
}

.profile-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: -40px; /* Sube un poco el contenido sobre el hero */
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.profile-card, .contact-card, .map-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.profile-card h2, .map-card h3 {
    color: var(--navy-blue);
    margin-bottom: 15px;
}

/* Sidebar */
.btn-whatsapp {
    display: block;
    background: #25d366;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 20px;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #128c7e;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.info-item i {
    color: var(--navy-blue);
    margin-top: 5px;
}

.info-item p {
    color: #666;
}

.info-item a {
    color: var(--logo-green);
    text-decoration: none;
}

/* Galería */
.profile-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.profile-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.profile-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.services-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.services-list li {
    padding: 8px 0;
}

.services-list i {
    color: var(--logo-green);
    margin-right: 8px;
}

/* Mapa y compartir */
.location-text {
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

.social-share {
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.share-buttons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 29, 55, 0.08);
    color: var(--navy-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.share-buttons a:hover {
    background: var(--navy-blue);
    color: white;
}

/* ============================================================
   PUENTES INTERNACIONALES (index.php)
   ============================================================ */
.bridges-container {
    padding: 60px 0;
    background: #f4f6f9;
}

.bridges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.bridge-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--navy-blue);
    transition: var(--transition);
}

.bridge-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.bridge-card h3 {
    color: var(--navy-blue);
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.bridge-card h3 i {
    color: var(--logo-green);
    margin-right: 6px;
}

.bridge-sub {
    color: var(--logo-green);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.bridge-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bridge-info li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.92rem;
    color: #555;
    border-bottom: 1px dashed #eee;
}

.bridge-info li:last-child {
    border-bottom: none;
}

.bridge-info i {
    color: var(--navy-blue);
    margin-top: 4px;
    flex-shrink: 0;
}

.bridge-updated {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--logo-green);
    font-weight: 700;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (max-width: 1024px) {
    .news-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .search-container { flex-direction: column; }

    /* Mostrar hamburger en mobile */
    .hamburger { display: block; }

    /* Ocultar nav-links por defecto en mobile */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 15px 0;
        margin: 0;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    /* Mostrar nav-links cuando esté activo */
    .nav-links.active { display: flex; }

    .nav-links li {
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-links li:last-child { border-bottom: none; }

    .nav-links a { font-size: 15px; }

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

    .page-hero { padding: 60px 0; }
    .page-hero h1 { font-size: 2rem; }

    .filter-bar {
        flex-direction: column;
        margin-top: -30px;
    }
    .filter-bar select { flex: none; }

    .vendor-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .news-grid-modern {
        grid-template-columns: 1fr;
    }
    .news-grid-home {
        grid-template-columns: 1fr;
    }

    .jobs-layout {
        grid-template-columns: 1fr;
    }

    .job-card-premium {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-header { padding: 60px 0 40px; }
    .profile-grid-layout {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    .profile-hero-content {
        flex-direction: column;
        text-align: center;
    }
    .services-list {
        grid-template-columns: 1fr;
    }

    /* Clima responsive */
    .weather-content {
        flex-direction: column;
        text-align: center;
    }

    .weather-right {
        justify-content: center;
    }
}

/* ============================================================
   PLANES
   ============================================================ */
.plans-section {
    padding: 50px 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.plan-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--logo-green);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(103, 176, 35, 0.3);
}

.plan-header h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--navy-blue);
}

.plan-subtitle {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

.plan-price {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.price-amount { color: var(--navy-blue); }
.price-periodo {
    font-size: 14px;
    font-weight: 500;
    color: #888;
}

.plan-features {
    list-style: none;
    flex: 1;
    margin-bottom: 24px;
}

.plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features .text-ok { color: var(--logo-green); }
.plan-features .badge-verify {
    background: var(--logo-green);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
}

.btn-plan {
    display: inline-block;
    text-align: center;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-plan-basic { background: #f8f9fa; color: var(--navy-blue); border-color: #e3e6ea; }
.btn-plan-basic:hover { background: var(--navy-blue); color: white; }

.btn-plan-normal { background: var(--logo-green); color: white; }
.btn-plan-normal:hover { background: #2d8a3a; }

.btn-plan-pro { background: linear-gradient(135deg, var(--navy-blue), #1a2a4a); color: white; border-color: transparent; }
.btn-plan-pro:hover { box-shadow: 0 8px 25px rgba(10,29,55,0.4); }

.btn-plan-elite { background: linear-gradient(135deg, #f58f1f, #ff6b35); color: white; border-color: transparent; }
.btn-plan-elite:hover { box-shadow: 0 8px 25px rgba(245,143,31,0.4); }

/* Tabla Comparativa */
.comparison-section {
    padding: 50px 0;
}

.comparison-table {
    overflow-x: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comparison-table thead {
    background: var(--navy-blue);
    color: white;
}

.comparison-table th {
    padding: 14px 12px;
    text-align: center;
    font-weight: 600;
}

.comparison-table th:first-child { text-align: left; }
.comparison-table th small { font-size: 12px; opacity: 0.8; display: block; }

.comparison-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.comparison-table td:first-child { text-align: left; font-weight: 600; color: var(--navy-blue); }

.comparison-table tbody tr:nth-child(even) { background: #f8f9fa; }

.text-ok { color: var(--logo-green); font-size: 18px; }
.text-no { color: #ccc; font-size: 18px; }

/* Diferenciadores Elite */
.elite-differentiators {
    margin-top: 40px;
    text-align: center;
}

.elite-differentiators h3 {
    margin-bottom: 30px;
    color: var(--navy-blue);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.diff-item {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.diff-icon {
    font-size: 40px;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.diff-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--navy-blue);
    font-size: 15px;
}

.diff-item span {
    font-size: 13px;
    color: #666;
}

/* ============================================================
   BUSCADOR
   ============================================================ */
.search-bar-big {
    margin-top: 30px;
    display: flex;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.search-bar-big input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 16px;
    outline: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search-bar-big .btn-search {
    padding: 14px 32px;
    border-radius: 0 8px 8px 0;
    background: var(--navy-blue);
    color: white;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search-bar-big .btn-search:hover {
    background: var(--logo-green);
}

/* Resultados de búsqueda */
.search-results-section {
    padding: 40px 0 60px;
}

.results-header {
    margin-bottom: 30px;
}

.results-header h2 {
    color: var(--navy-blue);
    font-size: 20px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #777;
}

.no-results h3 {
    margin: 20px 0 10px;
    color: var(--navy-blue);
    font-size: 22px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.search-result-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e3e6ea;
    position: relative;
    transition: all 0.3s ease;
}

.search-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.result-sector {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
}

.result-sector.com {
    background: rgba(103, 176, 35, 0.12);
    color: var(--logo-green);
}

.result-sector.edu {
    background: rgba(245, 143, 27, 0.1);
    color: #f58f1f;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.result-header img {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    object-fit: cover;
}

.result-title h3 {
    font-size: 17px;
    color: var(--navy-blue);
    margin-bottom: 3px;
}

.result-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.result-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
    .search-bar-big {
        flex-direction: column;
        margin-top: 20px;
    }

    .search-bar-big input {
        border-radius: 8px;
    }

    .search-bar-big .btn-search {
        border-radius: 8px;
        margin-top: 10px;
        width: 100%;
    }

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