/* ==========================================================================
   ACGP - PORTADA MODERNA & DIRECTORIO DE GUÍAS DE PESCA
   Associació Catalana de Guies de Pesca (https://guias-pesca.com)
   ========================================================================== */

/* Contenedor general */
.acgp-page-wrap {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    overflow-x: hidden;
}

/* 1. HERO SECTION DINÁMICO (VÍDEO EN BUCLE + TIPOGRAFÍA ESCULPIDA EN RELIEVE) */
.acgp-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background-color: #061829;
    background-image: url('../img/hero-slide1.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 100px 0 80px;
    overflow: hidden;
}

/* Contenedor del Vídeo de Fondo */
.acgp-hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.acgp-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%);
    filter: saturate(1.18) contrast(1.08) brightness(0.92);
}

/* Overlays Cinematográficos con Doble Gradiente y Viñeteado para Máximo Contraste del Texto */
.acgp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, rgba(6, 24, 41, 0.78) 0%, rgba(6, 24, 41, 0.48) 50%, rgba(6, 24, 41, 0.92) 100%),
        linear-gradient(90deg, rgba(6, 24, 41, 0.92) 0%, rgba(6, 24, 41, 0.72) 55%, rgba(6, 24, 41, 0.42) 100%);
    z-index: 2;
    pointer-events: none;
}

.acgp-hero-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 18% 30%, rgba(0, 168, 150, 0.22) 0%, transparent 55%),
                radial-gradient(circle at 82% 70%, rgba(56, 189, 248, 0.16) 0%, transparent 50%);
    z-index: 3;
    pointer-events: none;
}

.acgp-hero-container {
    position: relative;
    z-index: 5;
    width: 100%;
}

.acgp-hero-content {
    position: relative;
    z-index: 5;
    max-width: 920px;
}

/* Badge en Relieve 3D Esculpido */
.acgp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(0, 168, 150, 0.35) 0%, rgba(6, 24, 41, 0.75) 100%);
    border: 1px solid rgba(56, 189, 248, 0.55);
    border-top: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        inset 0 -1px 2px rgba(0, 0, 0, 0.6),
        0 4px 18px rgba(0, 0, 0, 0.45);
    color: #7dd3fc;
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.acgp-badge-icon {
    font-size: 15px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

/* TIPOGRAFÍA PRINCIPAL EN RELIEVE 3D ESCULPIDO DE ALTO IMPACTO */
.acgp-hero-title {
    font-size: clamp(38px, 5.6vw, 62px);
    font-weight: 900;
    line-height: 1.12;
    margin: 0 0 22px;
    color: #ffffff;
    letter-spacing: -0.025em;
    /* Efecto de relieve 3D multicapa con bisel superior de luz y sombras de profundidad */
    text-shadow: 
        0 1px 1px rgba(255, 255, 255, 0.6),
        0 -1px 1px rgba(0, 0, 0, 0.9),
        1px 2px 2px rgba(0, 0, 0, 0.85),
        2px 3px 6px rgba(0, 0, 0, 0.8),
        0 6px 18px rgba(6, 24, 41, 0.95),
        0 14px 35px rgba(0, 0, 0, 0.95);
}

/* Destacado Metálico en Relieve */
.acgp-hero-title .acgp-relief-highlight {
    display: inline-block;
    background: linear-gradient(135deg, #a7f3d0 0%, #38bdf8 45%, #2dd4bf 80%, #67e8f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    filter: 
        drop-shadow(0 2px 2px rgba(0, 0, 0, 0.95))
        drop-shadow(0 4px 10px rgba(6, 24, 41, 0.9))
        drop-shadow(0 0 22px rgba(56, 189, 248, 0.5));
}

/* Subtítulo Esculpido con Alta Legibilidad sobre Vídeo */
.acgp-hero-subtitle {
    font-size: clamp(17px, 1.9vw, 21px);
    line-height: 1.65;
    color: #f8fafc;
    font-weight: 500;
    margin: 0 0 38px;
    max-width: 780px;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.95),
        0 2px 8px rgba(6, 24, 41, 0.95),
        0 4px 16px rgba(0, 0, 0, 0.85);
}

/* Doble Embudo: Botones de Acción con Bisel y Relieve */
.acgp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 50px;
}

.acgp-btn-hero-primary {
    background: linear-gradient(180deg, #00c9b1 0%, #00a896 50%, #028090 100%);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        inset 0 -2px 0 rgba(0, 0, 0, 0.28),
        0 4px 14px rgba(0, 0, 0, 0.35),
        0 10px 28px rgba(0, 168, 150, 0.45);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    transition: all 0.25s ease;
    cursor: pointer;
}

.acgp-btn-hero-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #02e0c6 0%, #00bda8 50%, #0293a5 100%);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.6),
        0 6px 18px rgba(0, 0, 0, 0.4),
        0 14px 34px rgba(0, 168, 150, 0.6);
    color: #fff !important;
}

.acgp-btn-hero-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.07) 100%);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.45),
        0 6px 20px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    transition: all 0.25s ease;
    cursor: pointer;
}

.acgp-btn-hero-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.14) 100%);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.6),
        0 8px 26px rgba(0, 0, 0, 0.45);
    color: #fff !important;
}

/* Tarjetas Flotantes Glassmorphism en Relieve para Estadísticas */
.acgp-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 760px;
    margin-top: 20px;
}

.acgp-stat-item {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(6, 24, 41, 0.55) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-top: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.3),
        0 8px 24px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 18px 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.acgp-stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.45),
        0 12px 30px rgba(0, 0, 0, 0.5);
}

.acgp-stat-number {
    font-size: 34px;
    font-weight: 900;
    color: #f4a261;
    line-height: 1;
    margin-bottom: 6px;
    text-shadow: 
        0 1px 1px rgba(255, 255, 255, 0.4),
        0 -1px 1px rgba(0, 0, 0, 0.8),
        0 2px 6px rgba(0, 0, 0, 0.8),
        0 6px 18px rgba(0, 168, 150, 0.5);
}

.acgp-stat-label {
    font-size: 13.5px;
    color: #e2e8f0;
    font-weight: 600;
    line-height: 1.35;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* 2. BARRA DE PATROCINADORES DE ALTO NIVEL */
.acgp-sponsors-strip {
    background: #ffffff;
    padding: 24px 0;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.acgp-sponsors-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.acgp-sponsors-title {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 1px;
}

.acgp-sponsors-logos {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.acgp-sponsors-logos a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #334155;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.acgp-sponsors-logos a:hover {
    border-color: #00a896;
    background: #f0fdfa;
    transform: translateY(-2px);
    color: #00a896;
}

.acgp-sponsors-logos img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

/* 3. DIRECTORIO INTERACTIVO DE GUÍAS (EJE CENTRAL) */
.acgp-section {
    padding: 80px 0;
}

.acgp-section-light {
    background-color: #f8fafc;
}

.acgp-section-white {
    background-color: #ffffff;
}

.acgp-section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 45px;
}

.acgp-section-tag {
    display: inline-block;
    color: #00a896;
    background: #ccfbf1;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.acgp-section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: #0a2540;
    margin: 0 0 16px;
    line-height: 1.2;
}

.acgp-section-desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Filtros Interactivos */
.acgp-filters-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.04);
    margin-bottom: 35px;
}

.acgp-search-bar {
    position: relative;
    margin-bottom: 20px;
}

.acgp-search-input {
    width: 100%;
    padding: 14px 18px 14px 46px;
    font-size: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.acgp-search-input:focus {
    border-color: #00a896;
    box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.15);
}

.acgp-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    fill: #94a3b8;
    pointer-events: none;
}

.acgp-filter-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.acgp-pill-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.acgp-filter-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.acgp-filter-btn:hover {
    background: #e2e8f0;
    color: #0a2540;
}

.acgp-filter-btn.active {
    background: #0a2540;
    border-color: #0a2540;
    color: #ffffff;
}

.acgp-zone-select {
    padding: 9px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    outline: none;
    background: #f8fafc;
    cursor: pointer;
}

/* Grid de Guías */
.acgp-guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
}

.acgp-guide-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.acgp-guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(10, 37, 64, 0.1);
    border-color: #00a896;
}

.acgp-card-media {
    position: relative;
    height: 220px;
    background: #0f172a;
    overflow: hidden;
}

.acgp-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.4s ease;
}

.acgp-guide-card:hover .acgp-card-img {
    transform: scale(1.05);
}

/* Badge Oficial ROPEC */
.acgp-ropec-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(10, 37, 64, 0.88);
    backdrop-filter: blur(6px);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
    font-size: 12px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    z-index: 2;
}

.acgp-ropec-badge svg {
    width: 14px;
    height: 14px;
    fill: #38bdf8;
}

.acgp-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.acgp-guide-company {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 800;
    color: #00a896;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

.acgp-guide-name {
    font-size: 20px;
    font-weight: 800;
    color: #0a2540;
    margin: 0 0 12px;
    line-height: 1.3;
}

.acgp-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.acgp-chip {
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
}

.acgp-chip-modalidad {
    background: #e0f2fe;
    color: #0369a1;
}

.acgp-chip-zona {
    background: #fef3c7;
    color: #92400e;
}

.acgp-guide-meta {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 18px;
    line-height: 1.5;
}

.acgp-meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.acgp-meta-line svg {
    width: 14px;
    height: 14px;
    fill: #94a3b8;
    flex-shrink: 0;
}

/* Botones de Acción de la Ficha */
.acgp-card-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.acgp-btn-whatsapp {
    background: #25d366;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.acgp-btn-whatsapp:hover {
    background: #1eb956;
    transform: translateY(-1px);
}

.acgp-btn-phone {
    background: #0a2540;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.acgp-btn-phone:hover {
    background: #134074;
    transform: translateY(-1px);
}

.acgp-btn-detail {
    grid-column: span 2;
    background: #f8fafc;
    color: #0a2540;
    border: 1px solid #cbd5e1;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.acgp-btn-detail:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

/* 4. SECCIÓN SERVICIOS Y ASOCIACIÓN */
.acgp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.acgp-feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.2s ease;
}

.acgp-feature-card:hover {
    transform: translateY(-4px);
    border-color: #00a896;
}

.acgp-feature-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #00a896 0%, #028090 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #ffffff;
}

.acgp-feature-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.acgp-feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0a2540;
    margin: 0 0 12px;
}

.acgp-feature-card p {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Banner de Afiliación para Guías Profesionales */
.acgp-join-banner {
    background: linear-gradient(135deg, #061829 0%, #0a2540 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 32px rgba(6, 24, 41, 0.25);
}

.acgp-join-banner::after {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 168, 150, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.acgp-join-content {
    max-width: 650px;
}

.acgp-join-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    margin: 0 0 12px;
    color: #ffffff;
}

.acgp-join-desc {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.acgp-join-btn {
    background: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(231, 111, 81, 0.35);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.acgp-join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(231, 111, 81, 0.45);
}

/* 5. MÓDULO DUAL: SUGERENCIAS Y CANAL DE DENUNCIAS */
.acgp-services-tabs-wrap {
    max-width: 860px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 37, 64, 0.05);
}

.acgp-tabs-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.acgp-tab-btn {
    background: transparent;
    border: none;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.acgp-tab-btn.active {
    background: #ffffff;
    color: #0a2540;
    border-bottom: 3px solid #00a896;
}

.acgp-tab-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.acgp-tab-pane {
    display: none;
    padding: 36px 32px;
}

.acgp-tab-pane.active {
    display: block;
}

.acgp-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.acgp-form-full {
    grid-column: span 2;
}

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

.acgp-form-group label {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.acgp-form-group input,
.acgp-form-group select,
.acgp-form-group textarea {
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.acgp-form-group input:focus,
.acgp-form-group select:focus,
.acgp-form-group textarea:focus {
    border-color: #00a896;
    box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.15);
}

.acgp-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.acgp-form-submit-btn {
    background: linear-gradient(135deg, #0a2540 0%, #134074 100%);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.acgp-form-submit-btn:hover {
    background: linear-gradient(135deg, #134074 0%, #0a2540 100%);
    transform: translateY(-1px);
}

.acgp-form-alert {
    display: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

.acgp-form-alert.success {
    display: block;
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

.acgp-form-alert.error {
    display: block;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* 6. MODALES INTERACTIVOS (FICHA GUÍA Y AFILIACIÓN) */
.acgp-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(6, 24, 41, 0.78) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 9999998 !important;
    display: none;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-top: calc(var(--acgp-header-height, 118px) + 16px) !important;
    padding-bottom: 24px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    opacity: 0;
    transition: opacity 0.25s ease !important;
    -webkit-overflow-scrolling: touch !important;
}

body.admin-bar .acgp-modal-overlay {
    padding-top: calc(var(--acgp-header-height, 118px) + 48px) !important;
}

.acgp-modal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
}

.acgp-modal-box {
    background: #ffffff;
    border-radius: 18px;
    max-width: 680px;
    width: 100%;
    max-height: calc(100vh - var(--acgp-header-height, 118px) - 36px);
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    animation: acgpModalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

/* FICHA DEL GUÍA: MENOS ALTA Y MÁS ANCHA (2 COLUMNAS HORIZONTALES) */
.acgp-modal-guia-box {
    max-width: 980px !important;
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
    margin: 0 auto !important;
}

.acgp-modal-guia-grid {
    display: grid !important;
    grid-template-columns: 370px 1fr !important;
    width: 100% !important;
    min-height: 440px !important;
    max-height: 530px !important;
    overflow: hidden !important;
}

.acgp-modal-col-photo {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 440px !important;
    background: #061829 !important;
    overflow: hidden !important;
}

.acgp-modal-photo-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 25% !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

.acgp-modal-col-photo:hover .acgp-modal-photo-img {
    transform: scale(1.03) !important;
}

.acgp-modal-photo-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 30px 20px 20px !important;
    background: linear-gradient(180deg, rgba(6, 24, 41, 0) 0%, rgba(6, 24, 41, 0.9) 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.acgp-modal-badge-ropec {
    background: rgba(10, 37, 64, 0.95) !important;
    border: 1.5px solid #38bdf8 !important;
    color: #38bdf8 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    padding: 6px 16px !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
    letter-spacing: 0.5px !important;
}

.acgp-modal-col-content {
    display: flex !important;
    flex-direction: column !important;
    padding: 24px 28px !important;
    background: #ffffff !important;
    overflow-y: auto !important;
    max-height: 530px !important;
    box-sizing: border-box !important;
}

.acgp-modal-guia-header {
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.acgp-modal-company-tag {
    font-size: 11.5px !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    color: #00a896 !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 3px !important;
}

.acgp-modal-title {
    margin: 0 !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0a2540 !important;
    line-height: 1.25 !important;
    font-family: 'Outfit', sans-serif !important;
}

.acgp-modal-guia-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    flex: 1 !important;
}

.acgp-modal-specs-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    background: #f8fafc !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
}

.acgp-spec-label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    margin-bottom: 3px !important;
    letter-spacing: 0.4px !important;
}

.acgp-spec-val {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #0a2540 !important;
    line-height: 1.35 !important;
}

.acgp-modal-lang-row {
    font-size: 13px !important;
    color: #334155 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.acgp-lang-label {
    font-weight: 800 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
}

.acgp-lang-val {
    font-weight: 600 !important;
    color: #0a2540 !important;
}

.acgp-modal-bio-wrap {
    background: #ffffff !important;
}

.acgp-bio-title {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #0a2540 !important;
    margin: 0 0 4px !important;
}

.acgp-bio-text {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    color: #475569 !important;
    margin: 0 !important;
    max-height: 85px !important;
    overflow-y: auto !important;
}

.acgp-modal-web-row {
    font-size: 12.5px !important;
    color: #64748b !important;
}

.acgp-web-link {
    color: #00a896 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.acgp-modal-actions-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-top: auto !important;
    padding-top: 8px !important;
}

.acgp-modal-actions-row .acgp-btn-whatsapp,
.acgp-modal-actions-row .acgp-btn-phone {
    padding: 11px 16px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
}

.acgp-modal-actions-row svg {
    width: 17px !important;
    height: 17px !important;
    fill: #ffffff !important;
}

.acgp-modal-email-row {
    text-align: center !important;
    margin-top: 4px !important;
}

.acgp-email-link {
    color: #64748b !important;
    font-size: 12.5px !important;
    text-decoration: underline !important;
}

@keyframes acgpModalIn {
    from { transform: scale(0.96) translateY(12px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.acgp-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 22px;
    line-height: 1;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.acgp-modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

.acgp-modal-header {
    padding: 28px 32px 18px;
    border-bottom: 1px solid #e2e8f0;
}

.acgp-modal-body {
    padding: 28px 32px;
}

/* Responsive */
@media (max-width: 768px) {
    .acgp-hero {
        padding: 65px 0 50px;
        min-height: 75vh;
    }
    .acgp-hero-title {
        font-size: clamp(30px, 8vw, 42px);
        margin-bottom: 16px;
    }
    .acgp-hero-subtitle {
        font-size: 15.5px;
        margin-bottom: 28px;
    }
    .acgp-hero-actions {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 35px;
    }
    .acgp-btn-hero-primary, .acgp-btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 13px 22px;
    }
    .acgp-hero-stats {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 15px;
    }
    .acgp-stat-item {
        padding: 14px 18px;
    }
    .acgp-stat-number {
        font-size: 28px;
    }
    .acgp-guides-grid {
        grid-template-columns: 1fr;
    }
    .acgp-form-grid {
        grid-template-columns: 1fr;
    }
    .acgp-form-full {
        grid-column: span 1;
    }
    .acgp-tabs-nav {
        grid-template-columns: 1fr;
    }
    .acgp-join-banner {
        padding: 30px 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Ficha del guía en móvil: Debajo de la cabecera fija, manteniendo ancho sin desbordar */
    .acgp-modal-overlay {
        padding-top: calc(var(--acgp-header-height, 125px) + 8px) !important;
        padding-bottom: 20px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    body.admin-bar .acgp-modal-overlay {
        padding-top: calc(var(--acgp-header-height, 125px) + 52px) !important;
    }
    .acgp-modal-guia-box {
        width: 100% !important;
        max-width: 100% !important;
        max-height: calc(100vh - var(--acgp-header-height, 125px) - 24px) !important;
        border-radius: 14px !important;
        margin: 0 auto !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
    }
    .acgp-modal-guia-grid {
        display: flex !important;
        flex-direction: column !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    .acgp-modal-col-photo {
        width: 100% !important;
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
        border-radius: 14px 14px 0 0 !important;
    }
    .acgp-modal-col-content {
        padding: 16px 18px !important;
        max-height: none !important;
        overflow: visible !important;
    }
    .acgp-modal-specs-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 10px 12px !important;
    }
    .acgp-modal-actions-row {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .acgp-modal-close {
        top: 10px !important;
        right: 10px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        color: #0f172a !important;
    }
}


