/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: Tema hijo para Servicios Biocidas Cuarte
Version: 1.2.2
Updated: 2026-06-04
*/

/* ==========================================================================
   SISTEMA DE DISEÑO GLOBAL
   ========================================================================== */
:root {
    --bc-primary: #121212;
    --bc-accent: #136064; 
    --bc-surface: #ffffff;
    --bc-divider: #e0e0e0;
    --bc-font-headings: 'Funnel Sans', sans-serif;
    --bc-font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
h1, h2, h3 { font-family: var(--bc-font-headings) !important; color: var(--bc-primary) !important; font-weight: 800 !important; margin: 0; }
body, p, li, span, label { font-family: var(--bc-font-body) !important; color: #444; }

.page-title, .entry-title { display: none !important; }

/* ==========================================================================
   FIX DEFINITIVO: UNIFICACIÓN DE ESPACIADOS SUPERIORES (LA MATEMÁTICA CORRECTA)
   ========================================================================== */
/* 1. Aniquilamos los márgenes nativos de Astra */
.ast-container, 
.site-main, 
.entry-content, 
#primary, 
#content { 
    padding-top: 0 !important; 
    margin-top: 0 !important; 
}
.entry-content > *:first-child, 
.wp-block-html:first-child {
    margin-top: 0 !important;
}

/* 2. Obligamos a todas las SECCIONES a tocar el techo para que la imagen suba */
.hero-section,
.srv-hero-section,
.sp-hero-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 3. UNIFICACIÓN TEXTOS: 75px (altura header) + 60px (aire) = 135px exactos.
      Le forzamos flex-start para que nunca flote al centro de la imagen. */
.hero-content,
.srv-hero-content,
.sp-hero-content,
.contact-section {
    padding-top: 135px !important;
    justify-content: flex-start !important;
}

/* ==========================================================================
   FIX: LOGOTIPO EN MENÚ MÓVIL (REEMPLAZO DE TEXTO)
   ========================================================================== */
.huge-logo-mobile {
    font-size: 0 !important; 
    color: transparent !important;
    background-image: url('/wp-content/uploads/TU-LOGO-AQUI.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    height: 70px; 
    border-top: none !important; 
    padding-top: 0 !important;
    margin-top: 20px;
    display: block;
}

/* EL HACK FULL-BLEED (Intocable) */
.bc-full-bleed { 
    width: 100vw !important; max-width: 100vw !important; position: relative !important; 
    left: 50% !important; right: 50% !important; margin-left: -50vw !important; margin-right: -50vw !important; clear: both !important;
}
.bc-container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }

/* ==========================================================================
   CABECERA FIJA Y AJUSTADA (HEADER FIXED)
   ========================================================================== */
.custom-site-header {
    background-color: var(--bc-surface) !important;
    border-bottom: 1px solid var(--bc-divider) !important;
    position: fixed !important; 
    top: 0 !important; left: 0 !important; width: 100% !important; z-index: 999999 !important;
}

.site-content { margin-top: 75px !important; }

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

.site-logo { display: flex; align-items: center; height: 45px !important; width: 220px !important; }
.site-logo a { display: flex; align-items: center; height: 100%; width: 100%; text-decoration: none; }
.site-logo img { width: 100% !important; height: 100% !important; object-fit: contain !important; object-position: left center !important; display: block !important; transition: transform 0.3s ease !important; }
.site-logo a:hover img { transform: scale(1.02) !important; }

.desktop-nav ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
.desktop-nav a { font-family: var(--bc-font-body) !important; text-decoration: none; color: #444444; font-weight: 500; font-size: 15px; position: relative; padding-bottom: 5px; transition: color 0.3s ease; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--bc-accent); }
.desktop-nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--bc-accent); transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.desktop-nav a:hover::after, .desktop-nav a.active::after { width: 100%; }

.bc-header-btn { display: inline-block; background-color: var(--bc-primary); color: var(--bc-surface) !important; font-family: var(--bc-font-headings) !important; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; padding: 12px 25px; text-decoration: none; transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.bc-header-btn:hover { background-color: var(--bc-accent); transform: translateY(-2px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); }

.mobile-menu-toggle, .mobile-menu-overlay { display: none; }

/* ==========================================================================
   FOOTER PERSONALIZADO RESPONSIVE
   ========================================================================== */
#colophon { display: none !important; }

.custom-site-footer { background-color: #E6E6E8; color: var(--bc-primary); padding-top: 45px; border-top: 1px solid var(--bc-divider); }
.bc-footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.bc-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 40px; }
.bc-footer-col { display: flex; flex-direction: column; }
.bc-footer-heading { font-family: var(--bc-font-headings) !important; font-size: 16px !important; font-weight: 800 !important; text-transform: uppercase; margin-bottom: 20px !important; letter-spacing: 0.05em; color: var(--bc-primary) !important; }
.bc-footer-col p, .bc-footer-col li, .bc-footer-col a { font-family: var(--bc-font-body) !important; font-size: 14px; color: #4a4a4a; line-height: 1.6; text-decoration: none; transition: color 0.3s ease; }
.bc-footer-col p { margin-bottom: 12px; }
.bc-footer-col ul { list-style: none; padding: 0; margin: 0; }
.bc-footer-col li { margin-bottom: 12px; }
.bc-footer-col a:hover { color: var(--bc-accent); }

.footer-logo-box { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 20px; }
.footer-logo-main, .footer-logo-sub { display: flex; align-items: center; }
.footer-logo-main { width: 180px !important; height: 40px !important; }
.footer-logo-sub { width: 150px !important; height: 30px !important; padding-left: 20px !important; border-left: 1px solid rgba(0, 0, 0, 0.2) !important; }
.footer-logo-main img, .footer-logo-sub img { filter: brightness(0) !important; opacity: 0.9 !important; width: 100% !important; height: 100% !important; object-fit: contain !important; object-position: left center !important; display: block !important; transition: opacity 0.3s ease !important; }
.footer-logo-main:hover img, .footer-logo-sub:hover img { opacity: 1 !important; }

.bc-footer-icons { display: flex; gap: 20px; margin-top: 15px; }
.bc-footer-icons svg { width: 22px; height: 22px; stroke: #4a4a4a; transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.bc-footer-icons a:hover svg { stroke: var(--bc-accent); transform: translateY(-4px) scale(1.1); }

.bc-footer-bottom { border-top: 1px solid #d1d1d1; padding: 20px 0; text-align: left; }
.bc-footer-bottom p { margin: 0; font-size: 13px; color: #666; }

/* ==========================================================================
   HERO HOME & NOSOTROS
   ========================================================================== */
.hero-section { display: block; }
.hero-wrapper { display: flex; flex-direction: row; align-items: stretch; min-height: 550px; width: 100%; }
.hero-content { flex: 0 0 55%; display: flex; flex-direction: column; align-items: flex-start; padding-left: max(20px, calc(50vw - 600px + 20px)); padding-right: 60px; padding-bottom: 60px; background-color: var(--bc-surface); }
.hero-image { flex: 1 1 45%; background-size: cover; background-position: center center; background-repeat: no-repeat; min-height: 550px; }
.hero-content p { font-size: 18px; margin-bottom: 40px; max-width: 500px; }
.bc-badge { font-family: var(--bc-font-headings); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--bc-accent); margin-bottom: 20px; display: inline-block; }

.bc-ticker-container { overflow: hidden; width: 100%; background: var(--bc-surface); padding: 25px 0; border-top: 1px solid var(--bc-divider); border-bottom: 1px solid var(--bc-divider); }
.bc-ticker-track { display: flex; width: max-content; animation: scrollTicker 30s linear infinite; align-items: center; }
.bc-ticker-item { display: flex; align-items: center; gap: 20px; padding: 0 40px; border-right: 1px solid var(--bc-divider); flex-shrink: 0; }
.bc-ticker-icon { display: flex; justify-content: center; align-items: center; color: var(--bc-accent); flex-shrink: 0; }
.bc-ticker-icon svg { width: 50px; height: 50px; }
.bc-ticker-icon img { height: 70px; width: auto; object-fit: contain; }
.bc-ticker-text { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.bc-ticker-title { font-family: var(--bc-font-headings) !important; font-weight: 800; font-size: 15px; color: var(--bc-primary); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.2; margin: 0; }
.bc-ticker-subtitle { font-family: var(--bc-font-body) !important; font-size: 13px; color: #666666; line-height: 1.2; margin: 0; }
@keyframes scrollTicker { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 30px; }
.service-card { padding: 30px; border: 1px solid var(--bc-divider); background: var(--bc-surface); transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--bc-accent); }
.service-link { font-family: var(--bc-font-headings); font-weight: 700; font-size: 13px; color: var(--bc-accent); text-transform: uppercase; text-decoration: none; display: block; margin-top: 20px; transition: color 0.3s ease; }
.service-card:hover .service-link { color: var(--bc-primary); }

.biocides-authority-section { background-color: #0a0a0a; padding: 45px 0; }
.authority-wrapper { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.authority-intro { flex: 1 1 320px; display: flex; flex-direction: column; justify-content: flex-start; }
.authority-title { color: #ffffff !important; font-size: 34px !important; line-height: 1.2; margin-bottom: 20px !important; letter-spacing: -0.02em; }
.authority-divider { width: 60px; height: 4px; background-color: var(--bc-accent); margin-bottom: 25px; }
.authority-text { color: #e0e0e0 !important; font-size: 16px; line-height: 1.6; max-width: 95%; }
.authority-grid { flex: 2 1 600px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.authority-item { border-left: 1px solid rgba(255, 255, 255, 0.15); padding: 25px 25px; background-color: transparent; border-radius: 4px; transition: background-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.4s ease; }
.authority-number { display: inline-block; font-family: var(--bc-font-headings) !important; font-size: 26px; color: var(--bc-accent) !important; font-weight: 700; margin-bottom: 20px; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); transform-origin: bottom left; }
.authority-item-title { color: #ffffff !important; font-size: 20px !important; line-height: 1.3; margin-bottom: 14px !important; letter-spacing: -0.01em; transition: color 0.4s ease; }
.authority-item-text { color: #b3b3b3 !important; font-size: 14.5px; line-height: 1.5; transition: color 0.4s ease; }
.authority-item:hover { background-color: #ffffff; border-left-color: transparent; transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.4); }
.authority-item:hover .authority-number { transform: translateY(-4px) scale(1.05); }
.authority-item:hover .authority-item-title { color: var(--bc-primary) !important; }
.authority-item:hover .authority-item-text { color: #444444 !important; }

.bc-split-container { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
.bc-split-column { width: 50% !important; flex: 0 0 50% !important; position: relative !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; padding: 140px 40px !important; min-height: 600px !important; background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; overflow: hidden; }
.bc-overlay-white { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; opacity: 0 !important; background-color: rgba(255, 255, 255, 0.85) !important; transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; z-index: 1 !important; }
.bc-split-column:hover .bc-overlay-white { opacity: 1 !important; }
.bc-split-content { position: relative !important; z-index: 2 !important; max-width: 550px !important; display: flex !important; flex-direction: column !important; align-items: center !important; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; }
.bc-split-column:hover .bc-split-content { transform: scale(1.03) !important; }
.bc-split-content h2 { color: #ffffff !important; font-size: 38px !important; line-height: 1.2 !important; margin-bottom: 20px !important; font-family: var(--bc-font-headings), sans-serif !important; transition: color 0.5s ease-in-out !important; }
.bc-split-content p { color: #ffffff !important; font-size: 17px !important; line-height: 1.6 !important; margin-bottom: 45px !important; font-weight: 500 !important; font-family: var(--bc-font-body), sans-serif !important; transition: color 0.4s ease-in-out !important; }
.bc-split-column:hover .bc-split-content h2, .bc-split-column:hover .bc-split-content p { color: #000000 !important; }
.bc-btn-black { display: inline-block !important; background-color: #000000 !important; color: #ffffff !important; font-family: var(--bc-font-headings), sans-serif !important; font-weight: 800 !important; font-size: 13px !important; text-transform: uppercase !important; letter-spacing: 0.1em !important; padding: 18px 45px !important; text-decoration: none !important; border: 2px solid #000000 !important; transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; }
.bc-btn-black:hover { background-color: transparent !important; color: #000000 !important; transform: translateY(-4px) !important; box-shadow: 0 15px 25px rgba(0,0,0,0.1) !important; }

.bc-cta-section { background-color: var(--bc-surface) !important; padding: 120px 20px !important; text-align: center !important; }
.bc-cta-container { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; max-width: 850px !important; margin: 0 auto !important; }
.bc-cta-title { color: var(--bc-primary) !important; font-family: var(--bc-font-headings), sans-serif !important; font-size: 52px !important; font-weight: 800 !important; line-height: 1.15 !important; text-transform: uppercase !important; margin-bottom: 35px !important; letter-spacing: -0.01em !important; }
.bc-cta-text { color: #444444 !important; font-family: var(--bc-font-body), sans-serif !important; font-size: 19px !important; line-height: 1.6 !important; margin-bottom: 50px !important; max-width: 760px !important; font-weight: 400 !important; }
.bc-btn-accent { display: inline-block !important; background-color: var(--bc-accent) !important; color: var(--bc-surface) !important; font-family: var(--bc-font-headings), sans-serif !important; font-weight: 700 !important; font-size: 16px !important; text-transform: uppercase !important; letter-spacing: 0.05em !important; padding: 20px 45px !important; text-decoration: none !important; border: none !important; border-radius: 0 !important; transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; }
.bc-btn-accent:hover { background-color: var(--bc-primary) !important; color: var(--bc-surface) !important; transform: translateY(-4px) scale(1.02) !important; box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important; }

/* ==========================================================================
   SISTEMA DE ANIMACIONES ON-SCROLL
   ========================================================================== */
.animate-fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.animate-fade-up.is-visible { opacity: 1; transform: translateY(0); }
.animate-fade-in { opacity: 0; transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.animate-fade-in.is-visible { opacity: 1; }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.30s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.60s; }

/* ==========================================================================
   SOBRE NOSOTROS
   ========================================================================== */
.bc-badge-solid { background-color: #bce6e6; color: var(--bc-primary) !important; padding: 6px 14px; font-weight: 800; letter-spacing: 0.1em; margin-bottom: 25px; }
.trajectory-section { background-color: #f2f2f4; padding: 100px 0 !important; }
.trajectory-wrapper { display: flex; flex-direction: row; gap: 80px; align-items: flex-start; }
.trajectory-stats { flex: 0 0 250px; display: flex; flex-direction: column; gap: 50px; }
.stat-item { border-left: 4px solid var(--bc-accent); padding-left: 20px; transition: transform 0.4s ease; }
.stat-item:hover { transform: translateX(8px); }
.stat-number { display: block; font-family: var(--bc-font-headings) !important; font-size: 46px; font-weight: 800; color: var(--bc-primary); line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; transition: color 0.3s ease; }
.stat-item:hover .stat-number { color: var(--bc-accent); }
.stat-label { display: block; font-family: var(--bc-font-headings) !important; font-size: 13px; font-weight: 700; text-transform: uppercase; color: #555555; letter-spacing: 0.1em; line-height: 1.4; }
.trajectory-content { flex: 1; }
.trajectory-title { font-size: 38px !important; margin-bottom: 40px !important; letter-spacing: -0.02em; }
.trajectory-text-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.trajectory-text-grid p { font-size: 16.5px; line-height: 1.65; margin-bottom: 20px; color: #444444; }
.trajectory-text-grid p:last-child { margin-bottom: 0; }

.infrastructure-section { background-color: #050505; padding: 100px 0 !important; }
.infra-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 90px; }
.infra-text-content { flex: 1; max-width: 650px; }
.infra-title { color: #ffffff !important; font-size: 38px !important; line-height: 1.2; margin-bottom: 25px !important; letter-spacing: -0.02em; }
.infra-desc { color: #a0a0a0 !important; font-size: 17px; line-height: 1.65; max-width: 95%; }
.infra-icons { display: flex; gap: 25px; flex: 0 0 auto; }
.infra-icon-box { width: 130px; height: 130px; background-color: #121212; border: 1px solid rgba(255, 255, 255, 0.08); background-size: 60%; background-position: center; background-repeat: no-repeat; transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.infra-icon-box:hover { border-color: var(--bc-accent); transform: translateY(-5px) rotate(2deg); box-shadow: 0 15px 30px rgba(19, 96, 100, 0.2); }

.infra-divisions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.infra-division-item { border-left: 4px solid rgba(255, 255, 255, 0.1); padding-left: 25px; transition: border-color 0.4s ease; }
.infra-division-item:hover { border-left-color: var(--bc-accent); }
.infra-division-title { color: #555555 !important; font-family: var(--bc-font-headings) !important; font-size: 13px !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px !important; transition: color 0.4s ease; }
.infra-division-item:hover .infra-division-title { color: #ffffff !important; }
.infra-division-line { border: none; height: 1px; background-color: rgba(255, 255, 255, 0.1); margin: 0 0 20px 0; width: 100%; transition: background-color 0.4s ease; }
.infra-division-item:hover .infra-division-line { background-color: rgba(19, 96, 100, 0.5); }
.infra-division-desc { color: #888888 !important; font-size: 14.5px; line-height: 1.6; }

.group-section { background-color: var(--bc-surface); padding: 100px 0 !important; border-top: 1px solid var(--bc-divider); }
.group-wrapper { display: flex; flex-wrap: wrap; gap: 80px; align-items: center; }
.group-info { flex: 1 1 400px; }
.group-main-logo { width: 240px; height: auto; margin-bottom: 30px; display: block; transition: transform 0.4s ease; }
.group-info:hover .group-main-logo { transform: scale(1.03); }
.group-title { font-size: clamp(32px, 4vw, 42px) !important; color: var(--bc-primary) !important; line-height: 1.15 !important; margin-bottom: 20px !important; letter-spacing: -0.02em; }
.group-desc { font-size: 16.5px; line-height: 1.65; color: #444; margin: 0; }
.group-desc strong { color: var(--bc-primary); }
.group-cards { flex: 1 1 500px; display: flex; flex-direction: column; gap: 20px; }
.group-card { display: flex; flex-direction: row; align-items: center; gap: 30px; background-color: #f8f8f9; border: 1px solid var(--bc-divider); padding: 35px; border-radius: 4px; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease; }
.group-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); border-color: var(--bc-accent); }
.group-card-logo { flex: 0 0 120px; display: flex; justify-content: center; align-items: center; }
.group-card-logo img { width: 100%; height: auto; max-height: 80px; object-fit: contain; filter: grayscale(100%); opacity: 0.7; transition: all 0.4s ease; }
.group-card:hover .group-card-logo img { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }
.group-card-content { display: flex; flex-direction: column; }
.group-card-content h3 { font-family: var(--bc-font-headings) !important; font-size: 20px !important; color: var(--bc-primary) !important; margin-bottom: 10px !important; transition: color 0.3s ease; }
.group-card:hover .group-card-content h3 { color: var(--bc-accent) !important; }
.group-card-content p { font-size: 14.5px; line-height: 1.6; color: #555; margin-bottom: 15px; }
.group-card-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--bc-font-headings) !important; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--bc-accent); text-decoration: none; transition: color 0.3s ease; }
.group-card-link:hover { color: var(--bc-primary); }
.group-card-link .link-arrow { transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.group-card:hover .link-arrow { transform: translateX(6px); }

/* ==========================================================================
   SERVICIOS GENERALES Y SIN IMAGEN (Diseño Editorial)
   ========================================================================== */
.srv-hero-section { background-color: #f8f8f9; padding-bottom: 100px !important; overflow: hidden; }
.srv-hero-wrapper { display: flex; flex-wrap: wrap; align-items: stretch; gap: 60px; }
.srv-hero-content { flex: 1 1 500px; padding-right: 20px; text-align: left; padding-bottom: 40px; }
.srv-title-block { position: relative; padding-left: 25px; }
.srv-title-block::before { content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background-color: var(--bc-primary); transform-origin: top; transform: scaleY(0); transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.srv-title-block.is-visible::before { transform: scaleY(1); }
.srv-badge { display: block; font-family: var(--bc-font-headings) !important; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--bc-accent); letter-spacing: 0.1em; margin-bottom: 15px; }
.srv-title { font-size: clamp(38px, 4vw, 46px) !important; line-height: 1.15 !important; margin-bottom: 25px !important; letter-spacing: -0.02em; color: var(--bc-primary) !important; }
.srv-description { font-size: 17px; line-height: 1.65; color: #444444; max-width: 540px; margin: 0; }
.srv-hero-image-col { flex: 1 1 450px; position: relative; }
.srv-hero-image { width: 100%; height: 100%; min-height: 400px; background-size: cover; background-position: center; border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.srv-hero-image:hover { transform: scale(1.02); }

/* Ajustes si Servicios NO tiene imagen */
header.srv-hero-section.srv-hero-no-image { 
    padding-bottom: 20px !important; /* Reduce agresivamente la distancia a la siguiente sección */
}
header.srv-hero-section.srv-hero-no-image .srv-hero-wrapper { 
    justify-content: flex-start; 
}
header.srv-hero-section.srv-hero-no-image .srv-hero-content { 
    flex: 0 0 50% !important; 
    max-width: 650px !important; 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    text-align: left; 
    padding-bottom: 0 !important; /* El texto queda ajustado al ras de la caja */
}
header.srv-hero-section.srv-hero-no-image .srv-title-block { padding-left: 25px !important; display: block !important; }
header.srv-hero-section.srv-hero-no-image .srv-title-block::before { display: block !important; }

/* Resto de componentes Servicios */
.srv-grid-section { background-color: #f8f8f9; padding: 20px 0 100px 0 !important; }
.srv-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.srv-card { background-color: var(--bc-surface); border: 1px solid var(--bc-divider); display: flex; flex-direction: column; overflow: hidden; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease; }
.srv-card:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(0,0,0,0.06); border-color: var(--bc-accent); }
.srv-card-image-wrapper { width: 100%; overflow: hidden; border-bottom: 1px solid var(--bc-divider); }
.srv-card-image { width: 100%; padding-top: 35%; background-color: #eaeaea; background-size: cover; background-position: center; transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.srv-card:hover .srv-card-image { transform: scale(1.08); }
.srv-card-content { padding: 25px 30px; display: flex; flex-direction: column; flex-grow: 1; }
.srv-card-title { font-size: 22px !important; margin-bottom: 12px !important; color: var(--bc-primary) !important; letter-spacing: -0.01em; transition: color 0.3s ease; }
.srv-card:hover .srv-card-title { color: var(--bc-accent) !important; }
.srv-card-desc { font-size: 14.5px; line-height: 1.5; color: #555555; margin-bottom: 20px; flex-grow: 1; }
.srv-card-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bc-primary); font-family: var(--bc-font-headings) !important; font-weight: 800; font-size: 13.5px; letter-spacing: 0.05em; margin-top: auto; transition: color 0.3s ease; }
.srv-card-link .link-text { border-bottom: 2px solid var(--bc-primary); padding-bottom: 2px; transition: border-color 0.3s ease; }
.srv-card-link .link-arrow { font-size: 18px; border-bottom: 2px solid var(--bc-primary); padding-bottom: 2px; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s ease; }
.srv-card:hover .srv-card-link { color: var(--bc-accent); }
.srv-card:hover .srv-card-link .link-text, .srv-card:hover .srv-card-link .link-arrow { border-color: var(--bc-accent); }
.srv-card:hover .srv-card-link .link-arrow { transform: translateX(8px); }

.srv-protocols-section { background-color: var(--bc-accent); padding: 100px 0 !important; color: var(--bc-surface); }
.srv-protocols-maintitle { font-size: clamp(38px, 4vw, 48px) !important; line-height: 1.15 !important; margin-bottom: 45px !important; letter-spacing: -0.02em; color: var(--bc-surface) !important; }
.srv-protocols-divider { border: none; height: 1px; background-color: rgba(255, 255, 255, 0.15); margin: 0 0 60px 0; width: 100%; transition: background-color 0.4s ease; }
.srv-protocols-section:hover .srv-protocols-divider { background-color: rgba(255, 255, 255, 0.3); }
.srv-protocols-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.srv-protocol-item { position: relative; padding: 0 40px; border-left: 1px solid rgba(255, 255, 255, 0.15); transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.srv-protocol-item:first-child { border-left: none; padding-left: 0; }
.srv-protocol-item:hover { transform: translateY(-8px); border-left-color: rgba(255, 255, 255, 0.5); }
.srv-protocol-item:first-child:hover { border-left-color: transparent; }
.protocol-header { display: flex; flex-direction: column; margin-bottom: 25px; }
.protocol-number { font-family: var(--bc-font-headings) !important; font-size: 32px; font-weight: 800; color: var(--bc-primary); margin-bottom: 10px; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.4s ease; }
.srv-protocol-item:hover .protocol-number { transform: translateX(10px) scale(1.1); color: var(--bc-surface); }
.protocol-phase { font-family: var(--bc-font-headings) !important; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255, 255, 255, 0.7); }
.protocol-title { font-size: 24px !important; color: var(--bc-surface) !important; margin-bottom: 20px !important; letter-spacing: -0.01em; }
.protocol-desc { font-size: 15.5px; line-height: 1.65; color: rgba(255, 255, 255, 0.85); }

.srv-sust-section { background-color: #f8f8f9; padding: 100px 0 !important; overflow: hidden; }
.srv-sust-wrapper { display: flex; flex-wrap: wrap; align-items: center; gap: 70px; }
.srv-sust-content { flex: 1 1 450px; padding-right: 20px; }
.srv-sust-title { font-size: clamp(34px, 4vw, 42px) !important; line-height: 1.15 !important; margin-bottom: 25px !important; letter-spacing: -0.02em; color: var(--bc-primary) !important; }
.srv-sust-desc { font-size: 17px; line-height: 1.65; color: #444444; margin-bottom: 45px; }
.srv-sust-stats { display: flex; gap: 60px; }
.sust-stat-item { display: flex; flex-direction: column; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); cursor: default; }
.sust-stat-item:hover { transform: translateY(-6px); }
.sust-stat-number { font-family: var(--bc-font-headings) !important; font-size: 38px; font-weight: 800; color: var(--bc-primary); line-height: 1; margin-bottom: 8px; transition: color 0.4s ease; }
.sust-stat-item:hover .sust-stat-number { color: var(--bc-accent); }
.sust-stat-label { font-family: var(--bc-font-body) !important; font-size: 12px; font-weight: 700; text-transform: uppercase; color: #777777; letter-spacing: 0.05em; }
.srv-sust-image-col { flex: 1 1 500px; position: relative; }
.srv-sust-image-wrapper { position: relative; width: 100%; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.srv-sust-image { width: 100%; padding-top: 80%; background-size: cover; background-position: center; background-color: #eaeaea; transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.srv-sust-image-wrapper:hover .srv-sust-image { transform: scale(1.06); }
.srv-sust-quote { position: absolute; bottom: 0; left: 0; width: 100%; background-color: var(--bc-primary); padding: 35px 45px; box-sizing: border-box; z-index: 2; transition: background-color 0.4s ease; }
.srv-sust-image-wrapper:hover .srv-sust-quote { background-color: var(--bc-accent); }
.srv-sust-quote blockquote { margin: 0; color: var(--bc-surface); font-family: var(--bc-font-headings) !important; font-size: 19px; font-style: italic; font-weight: 700; line-height: 1.4; letter-spacing: 0.02em; }

/* ==========================================================================
   PLANTILLAS INDIVIDUALES DE SERVICIOS (.sp-)
   ========================================================================== */
.sp-badge { display: block; font-family: var(--bc-font-headings) !important; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--bc-accent); letter-spacing: 0.15em; margin-bottom: 20px; }
.sp-btn-black { display: inline-flex; align-items: center; gap: 15px; background-color: var(--bc-primary) !important; color: #ffffff !important; padding: 18px 40px; font-family: var(--bc-font-headings) !important; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none !important; border: none !important; transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; border-radius: 2px; }
.sp-btn-black .btn-text, .sp-btn-black .btn-icon { color: #ffffff !important; transition: all 0.3s ease; }
.sp-btn-black:hover { background-color: var(--bc-accent) !important; transform: translateY(-4px) scale(1.02); box-shadow: 0 15px 30px rgba(19, 96, 100, 0.2) !important; }
.sp-btn-black:hover .btn-icon { transform: translateX(8px); }

.sp-hero-section { background-color: #fafafa; padding-bottom: 100px !important; }
.sp-hero-wrapper { display: flex; flex-wrap: wrap; align-items: stretch; gap: 60px; }
.sp-hero-content { flex: 1 1 450px; padding-right: 30px; text-align: left; padding-bottom: 40px; }
.sp-hero-title { font-size: clamp(34px, 4vw, 46px) !important; line-height: 1.15 !important; margin-bottom: 25px !important; color: var(--bc-primary) !important; letter-spacing: -0.02em; }
.sp-hero-desc { font-size: 17px; line-height: 1.65; color: #555555; margin-bottom: 40px; max-width: 500px; }
.sp-hero-image-col { flex: 1 1 500px; position: relative; }
.sp-image-wrapper { position: relative; width: 100%; height: 100%; }
.sp-main-image { width: 100%; height: 100%; min-height: 400px; padding-top: 75%; background-size: cover; background-position: center; border-radius: 2px; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.sp-image-wrapper:hover .sp-main-image { transform: scale(1.03); }
.sp-cert-box { position: absolute; bottom: -30px; left: -40px; background-color: var(--bc-surface); padding: 35px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); max-width: 320px; border: 1px solid var(--bc-divider); transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.sp-image-wrapper:hover .sp-cert-box { transform: translateY(-8px) scale(1.02); border-color: var(--bc-accent); }
.sp-cert-title { display: block; font-family: var(--bc-font-headings) !important; font-size: 13px; font-weight: 800; color: var(--bc-primary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.sp-cert-text { font-family: var(--bc-font-body) !important; font-size: 14px; font-style: italic; color: #666; line-height: 1.6; margin: 0; }

.sp-catalog-section { background-color: var(--bc-surface); padding: 100px 0 !important; }
.sp-catalog-header { margin-bottom: 60px; max-width: 700px; }
.sp-catalog-title { font-size: 34px !important; color: var(--bc-primary) !important; margin-bottom: 20px !important; display: inline-block; position: relative; }
.sp-catalog-title::after { content: ''; display: block; width: 100%; height: 3px; background-color: var(--bc-accent); margin-top: 15px; transform-origin: left; transform: scaleX(0); transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.sp-catalog-header.is-visible .sp-catalog-title::after { transform: scaleX(1); }
.sp-catalog-desc { font-size: 17px; color: #555555; line-height: 1.6; }
.sp-catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sp-feature-card { background-color: var(--bc-surface); border: 1px solid var(--bc-divider); padding: 40px; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease; }
.sp-feature-card:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(0,0,0,0.06); border-color: var(--bc-accent); }
.sp-card-icon { width: 45px; height: 45px; margin-bottom: 25px; color: var(--bc-primary); transition: color 0.3s ease, transform 0.4s ease; }
.sp-feature-card:hover .sp-card-icon { color: var(--bc-accent); transform: scale(1.1) rotate(5deg); }
.sp-card-icon svg { width: 100%; height: 100%; }
.sp-card-title { font-size: 24px !important; color: var(--bc-primary) !important; margin-bottom: 15px !important; transition: color 0.3s ease; }
.sp-feature-card:hover .sp-card-title { color: var(--bc-accent) !important; }
.sp-card-desc { font-size: 15px; color: #555555; line-height: 1.6; margin-bottom: 25px; }
.sp-card-list { list-style: none; padding: 0; margin: 0; }
.sp-card-list li { position: relative; padding-left: 15px; font-size: 12px; font-weight: 600; text-transform: uppercase; color: #444; margin-bottom: 12px; letter-spacing: 0.05em; transition: transform 0.3s ease, color 0.3s ease; }
.sp-feature-card:hover .sp-card-list li { transform: translateX(3px); color: var(--bc-primary); }
.sp-card-list li::before { content: '•'; position: absolute; left: 0; color: var(--bc-accent); font-size: 16px; top: -2px; }

.sp-method-section { background-color: #f8f8f9; padding: 100px 0 !important; }
.sp-method-header { text-align: center; margin-bottom: 80px; }
.sp-method-maintitle { font-size: 38px !important; color: var(--bc-primary) !important; letter-spacing: -0.01em; }
.sp-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.sp-method-step { position: relative; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.sp-method-step:hover { transform: translateY(-8px); }
.sp-step-number { font-family: var(--bc-font-headings) !important; font-size: 65px; font-weight: 800; color: #e5e5e5; line-height: 1; display: block; margin-bottom: 15px; transition: color 0.4s ease, transform 0.4s ease; transform-origin: left bottom; }
.sp-method-step:hover .sp-step-number { color: var(--bc-accent); opacity: 0.3; transform: scale(1.1); }
.sp-step-title { font-size: 24px !important; color: var(--bc-primary) !important; margin-bottom: 15px !important; transition: color 0.3s ease; }
.sp-method-step:hover .sp-step-title { color: var(--bc-accent) !important; }
.sp-step-desc { font-size: 15.5px; line-height: 1.6; color: #555; }
.sp-step-check { position: absolute; top: 15px; right: 0; width: 35px; height: 35px; color: var(--bc-accent); opacity: 0.8; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.sp-method-step:hover .sp-step-check { transform: scale(1.2) rotate(10deg); opacity: 1; }

.sp-faq-section { background-color: #f2f2f4; padding: 100px 0 !important; }
.sp-faq-wrapper { display: flex; flex-wrap: wrap; gap: 60px; align-items: flex-start; }
.sp-faq-content { flex: 1 1 350px; }
.sp-faq-title { font-size: 34px !important; color: var(--bc-primary) !important; margin-bottom: 20px !important; }
.sp-faq-desc { font-size: 16.5px; color: #555; line-height: 1.6; margin-bottom: 40px; }
.sp-contact-box { background-color: var(--bc-surface); border: 1px solid var(--bc-divider); padding: 30px; max-width: 350px; transition: transform 0.4s ease, border-color 0.4s ease; }
.sp-contact-box:hover { transform: translateY(-5px); border-color: var(--bc-accent); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.sp-contact-label { display: block; font-family: var(--bc-font-headings) !important; font-size: 13px; font-weight: 700; color: var(--bc-accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.sp-contact-phone { font-family: var(--bc-font-headings) !important; font-size: 24px; font-weight: 800; color: var(--bc-primary); text-decoration: none !important; transition: color 0.3s ease, transform 0.3s ease; display: inline-block; }
.sp-contact-box:hover .sp-contact-phone { color: var(--bc-accent); transform: translateX(5px); }
.sp-faq-accordion { flex: 2 1 500px; display: flex; flex-direction: column; gap: 15px; }
.sp-faq-item { background-color: var(--bc-surface); border: 1px solid var(--bc-divider); transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.sp-faq-item:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.03); border-color: #ccc; }
.sp-faq-question { padding: 25px 30px; font-family: var(--bc-font-headings) !important; font-size: 18px; font-weight: 700; color: var(--bc-primary); cursor: pointer; list-style: none; position: relative; transition: color 0.3s ease; }
.sp-faq-question:hover { color: var(--bc-accent); }
.sp-faq-question::-webkit-details-marker { display: none; }
.sp-faq-question::after { content: '+'; position: absolute; right: 30px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--bc-primary); transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.3s ease; }
.sp-faq-item[open] .sp-faq-question::after { transform: translateY(-50%) rotate(45deg); color: var(--bc-accent); }
.sp-faq-item[open] .sp-faq-question { border-bottom: 1px solid var(--bc-divider); color: var(--bc-accent); }
.sp-faq-answer { padding: 25px 30px; background-color: #fafafa; }
.sp-faq-answer p { margin: 0; font-size: 15.5px; color: #555; line-height: 1.6; }

/* ==========================================================================
   PÁGINA CONTACTO: DISEÑO Y BLINDAJE CF7
   ========================================================================== */
.contact-section { background-color: #f8f8f9 !important; min-height: 100vh !important; display: flex !important; align-items: flex-start !important; padding-bottom: 80px !important; }
.contact-section .bc-container { width: 100%; }
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 80px; align-items: stretch; }
.contact-info-col { flex: 1 1 400px; display: flex; flex-direction: column; justify-content: space-between; }
.contact-badge { font-family: var(--bc-font-headings) !important; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--bc-accent); letter-spacing: 0.15em; display: block; margin-bottom: 15px; }
.contact-title { font-size: clamp(38px, 4vw, 48px) !important; color: var(--bc-primary) !important; line-height: 1.15 !important; margin-bottom: 20px !important; letter-spacing: -0.02em; }
.contact-desc { font-size: 16.5px; color: #555; line-height: 1.65; margin-bottom: 30px; }
.contact-details-list { list-style: none; padding: 0; margin: 0 0 30px 0; border-top: 1px solid #e0e0e0; padding-top: 30px; flex-grow: 1; }
.contact-details-list li { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; transition: transform 0.3s ease; }
.contact-details-list li:hover { transform: translateX(8px); }
.contact-icon { width: 24px; color: var(--bc-primary); transition: color 0.3s ease, transform 0.3s ease; }
.contact-details-list li:hover .contact-icon { color: var(--bc-accent); transform: scale(1.1); }
.contact-text strong { display: block; font-family: var(--bc-font-headings) !important; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--bc-primary); letter-spacing: 0.05em; margin-bottom: 5px; }
.contact-text span, .contact-text a { font-size: 15px; color: #555; text-decoration: none; line-height: 1.5; display: block; transition: color 0.3s ease; }
.contact-text a:hover { color: var(--bc-accent); }
.contact-map-wrapper { position: relative; border-radius: 4px; overflow: hidden; filter: grayscale(100%) invert(90%) contrast(85%); transition: filter 0.5s ease, box-shadow 0.5s ease; height: 250px; width: 100%; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.contact-map-wrapper iframe { height: 100% !important; }
.contact-map-wrapper:hover { filter: none; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.map-overlay-btn { position: absolute; bottom: 20px; right: 20px; background: #fff; color: #000; padding: 10px 20px; font-family: var(--bc-font-headings) !important; font-size: 13px; font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-radius: 2px; transition: transform 0.3s ease, background 0.3s ease; }
.map-overlay-btn:hover { background: var(--bc-primary); color: #fff; transform: translateY(-3px); }

.contact-form-col { flex: 1 1 500px; display: flex; flex-direction: column; justify-content: center; }
.form-header { margin-bottom: 30px; }
.form-title { font-size: 26px !important; color: var(--bc-primary) !important; margin-bottom: 10px !important; }
.form-desc { font-size: 15.5px; color: #555; }
.form-box { background: #ffffff !important; padding: 50px 40px !important; border-radius: 8px !important; box-shadow: 0 15px 40px rgba(0,0,0,0.04) !important; border: 1px solid #eaeaea !important; transition: box-shadow 0.4s ease; }
.form-box:hover { box-shadow: 0 25px 60px rgba(0,0,0,0.08) !important; }
.bc-contact-form .form-row { display: flex; gap: 30px; margin-bottom: 0; }
.bc-contact-form .form-group { flex: 1; margin-bottom: 30px; }
.bc-contact-form .wpcf7-form-control-wrap { display: block !important; width: 100% !important; }
.bc-contact-form label { display: block; font-family: var(--bc-font-headings) !important; font-size: 12px !important; font-weight: 800 !important; text-transform: uppercase; color: var(--bc-primary) !important; letter-spacing: 0.05em; margin-bottom: 10px; transition: color 0.3s ease; }
.bc-contact-form input:not([type="submit"]):not([type="checkbox"]), .bc-contact-form textarea, .bc-contact-form select { width: 100% !important; padding: 10px 0 !important; border: none !important; border-bottom: 1px solid #dcdcdc !important; background: transparent !important; font-family: var(--bc-font-body) !important; font-size: 15px !important; color: #333 !important; border-radius: 0 !important; box-shadow: none !important; outline: none !important; -webkit-appearance: none; transition: border-color 0.3s ease, padding-left 0.3s ease; }
.bc-contact-form input::placeholder, .bc-contact-form textarea::placeholder { color: #aaa !important; }
.bc-contact-form input:not([type="submit"]):not([type="checkbox"]):focus, .bc-contact-form textarea:focus, .bc-contact-form select:focus { border-bottom-color: var(--bc-accent) !important; padding-left: 5px !important; }
.bc-contact-form input:not([type="submit"]):not([type="checkbox"]):focus + label { color: var(--bc-accent) !important; }

.select-wrapper { position: relative; }
.select-wrapper::after { content: '▼'; font-size: 10px; color: #999; position: absolute; right: 0; top: 50%; transform: translateY(-50%); pointer-events: none; transition: color 0.3s ease; }
.select-wrapper:hover::after { color: var(--bc-accent); }
.form-checkbox { margin-bottom: 35px; }
.form-checkbox .wpcf7-list-item { margin: 0 !important; display: flex !important; align-items: center !important; gap: 10px; }
.form-checkbox input[type="checkbox"] { width: 16px !important; height: 16px !important; margin: 0 !important; accent-color: var(--bc-accent); }
.form-checkbox .wpcf7-list-item-label { font-family: var(--bc-font-body) !important; font-size: 13px !important; color: #555 !important; font-weight: normal !important; text-transform: none !important; margin: 0 !important; cursor: pointer; transition: color 0.3s ease; }
.form-checkbox:hover .wpcf7-list-item-label { color: var(--bc-primary) !important; }
.form-submit-btn { width: 100% !important; background: var(--bc-primary) !important; color: #fff !important; padding: 20px !important; font-family: var(--bc-font-headings) !important; font-size: 14px !important; font-weight: 800 !important; text-transform: uppercase !important; letter-spacing: 0.05em !important; border: none !important; display: flex !important; justify-content: center !important; align-items: center !important; gap: 10px !important; cursor: pointer !important; border-radius: 2px !important; transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; }
.form-submit-btn:hover { background: var(--bc-accent) !important; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(19, 96, 100, 0.2) !important; }
.form-submit-btn svg { width: 18px; height: 18px; transition: transform 0.4s ease; }
.form-submit-btn:hover svg { transform: translateX(5px); }

/* ==========================================================================
   CONSOLIDACIÓN DE MEDIA QUERIES (MÓVIL)
   ========================================================================== */
@media (max-width: 1100px) {
    .footer-logo-sub { padding-left: 0 !important; border-left: none !important; margin-top: 10px; }
}

@media (max-width: 950px) {
    .desktop-nav, .header-cta { display: none; }
    .bc-header-container { height: 60px; padding: 0 20px; }
    .site-content { margin-top: 60px !important; }
    .site-logo { width: 160px !important; height: 35px !important; }
    .mobile-menu-toggle { display: block; background: transparent !important; border: none !important; padding: 0 !important; width: 30px; height: 22px; position: relative; cursor: pointer; z-index: 1000001; outline: none !important; box-shadow: none !important; }
    .mobile-menu-toggle span { display: block; position: absolute; height: 2px; width: 100%; background-color: var(--bc-primary); transition: all 0.35s ease; left: 0; border-radius: 2px; }
    .mobile-menu-toggle span:nth-child(1) { top: 0; }
    .mobile-menu-toggle span:nth-child(2) { top: 10px; }
    .mobile-menu-toggle span:nth-child(3) { top: 20px; }
    .mobile-menu-toggle.is-active span:nth-child(1) { top: 10px; transform: rotate(45deg); }
    .mobile-menu-toggle.is-active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
    .mobile-menu-toggle.is-active span:nth-child(3) { top: 10px; transform: rotate(-45deg); }
    .mobile-menu-overlay { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: var(--bc-surface); z-index: 999999; padding: 90px 20px 30px; opacity: 0; visibility: hidden; transform: translateY(-20px); transition: all 0.4s ease; box-sizing: border-box; }
    .mobile-menu-overlay.is-active { opacity: 1; visibility: visible; transform: translateY(0); }
    .mobile-nav { flex-grow: 1; margin-top: 10px; }
    .mobile-nav ul { list-style: none; padding: 0; margin: 0; }
    .mobile-nav li { border-bottom: 1px solid var(--bc-divider); }
    .mobile-nav a { display: block; font-family: var(--bc-font-headings) !important; font-size: clamp(38px, 8vw, 60px); font-weight: 800; color: #d1d1d1; text-decoration: none; padding: 12px 0; letter-spacing: -0.03em; transition: color 0.3s ease; line-height: 1; }
    .mobile-nav a:hover, .mobile-nav a:active { color: var(--bc-primary); }
    .mobile-menu-footer { margin-top: auto; padding-bottom: 10px; }
    .contact-info { margin-bottom: 25px; }
    .contact-info p, .contact-info a { font-family: var(--bc-font-headings) !important; color: var(--bc-primary) !important; margin: 6px 0; font-size: 14px; font-weight: 700; text-decoration: none; display: block; }
    .huge-logo-mobile { font-family: var(--bc-font-headings) !important; font-size: clamp(60px, 16vw, 110px); font-weight: 900; color: var(--bc-primary); letter-spacing: -0.05em; border-top: 2px solid var(--bc-primary); padding-top: 8px; line-height: 0.75; text-transform: uppercase; overflow: hidden; }

    .bc-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .brand-col { grid-column: span 2; }
    
    /* UNIFICACIÓN MÓVIL (100px: 60px cabecera + 40px aire) */
    .hero-content, .srv-hero-content, .sp-hero-content, .contact-section { padding-top: 100px !important; }
    
    .hero-wrapper { flex-direction: column; min-height: auto; }
    .hero-content { flex: none; width: 100%; padding-left: 20px; padding-right: 20px; }
    .hero-image { flex: none; width: 100%; min-height: 400px; }
    .srv-hero-section, .sp-hero-section { padding: 0 0 60px 0 !important; }
    .srv-hero-content, .sp-hero-content { padding-right: 0 !important; }
    header.srv-hero-section.srv-hero-no-image { padding-bottom: 30px !important; }
    header.srv-hero-section.srv-hero-no-image .srv-hero-content { flex: 0 0 100% !important; max-width: 100% !important; padding-right: 0 !important; }
    .contact-section { min-height: auto !important; padding-bottom: 60px !important; }

    .value-proposal-grid { grid-template-columns: 1fr; }
    .authority-wrapper { gap: 40px; }
    .authority-grid { grid-template-columns: 1fr; gap: 20px; }
    .authority-item { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.15); padding: 25px 15px; }
    .authority-item:hover { border-top-color: transparent; }
    .bc-split-container { flex-direction: column !important; }
    .bc-split-column { width: 100% !important; flex: 0 0 100% !important; min-height: 450px !important; padding: 80px 20px !important; }
    .bc-split-content h2 { font-size: 32px !important; }
    .bc-vertical-text { display: none !important; }
    .bc-cta-section { padding: 80px 20px !important; }
    .bc-cta-title { font-size: 34px !important; }
    .bc-cta-text { font-size: 16px !important; margin-bottom: 40px !important; }
    .bc-btn-accent { width: 100% !important; padding: 18px 20px !important; font-size: 14px !important; }

    .trajectory-wrapper { flex-direction: column; gap: 60px; }
    .trajectory-stats { flex: none; width: 100%; flex-direction: row; flex-wrap: wrap; gap: 40px; }
    .stat-item { flex: 1 1 150px; }
    .trajectory-text-grid { grid-template-columns: 1fr; gap: 0; }
    .trajectory-col:first-child p:last-child { display: inline; margin-right: 5px; }
    .trajectory-col:last-child p:first-child { display: inline; }
    .infra-header { flex-direction: column; gap: 50px; }
    .infra-text-content { max-width: 100%; }
    .infra-divisions-grid { grid-template-columns: 1fr; gap: 60px; }
    
    .srv-hero-wrapper, .sp-hero-wrapper { gap: 40px; }
    .srv-title-block { padding-left: 20px; }
    .srv-title { font-size: 34px !important; }
    .srv-hero-image { min-height: 300px; }

    .srv-cards-grid { grid-template-columns: 1fr; gap: 20px; }
    .srv-card-image { padding-top: 50%; }
    .srv-card-content { padding: 25px 20px; }
    .srv-protocols-maintitle { font-size: 34px !important; }
    .srv-protocols-grid { grid-template-columns: 1fr; gap: 40px; }
    .srv-protocol-item { padding: 40px 0 0 0; border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.15); }
    .srv-protocol-item:first-child { border-top: none; padding-top: 0; }
    .srv-protocol-item:hover { border-top-color: rgba(255, 255, 255, 0.5); }
    .srv-sust-wrapper { flex-direction: column; gap: 50px; }
    .srv-sust-content { padding-right: 0; }
    .srv-sust-stats { gap: 40px; }
    .srv-sust-image-col { width: 100%; }
    .srv-sust-quote { position: relative; padding: 30px 20px; }
    .srv-sust-quote blockquote { font-size: 16.5px; }
    .srv-sust-image { padding-top: 65%; }
    .srv-final-cta { padding: 60px 20px !important; }
    .srv-cta-box { padding: 60px 20px; }
    .srv-cta-title { font-size: 32px !important; }
    .srv-cta-button { width: 100%; justify-content: center; }
    .group-wrapper { flex-direction: column; gap: 50px; }
    .group-info { flex: none; width: 100%; }
    .group-card { flex-direction: column; text-align: center; gap: 20px; padding: 30px 20px; }
    .group-card-logo { flex: none; width: 140px; margin-bottom: 10px; }
    .sp-cert-box { position: relative; bottom: 0; left: 0; max-width: 100%; margin-top: -20px; width: 90%; margin-left: 5%; }
    .sp-catalog-grid { grid-template-columns: 1fr; }
    .sp-method-grid { grid-template-columns: 1fr; gap: 40px; }
    .sp-step-check { right: auto; left: 80px; top: 10px; }
    .sp-faq-wrapper { flex-direction: column; }
    .sp-faq-accordion { width: 100%; }
    
    .bc-contact-form .form-row { flex-direction: column; gap: 0; }
    .contact-wrapper { flex-direction: column; gap: 50px; }
    .form-box { padding: 30px 20px !important; }
    .contact-map-wrapper { height: 250px; }
}

@media (max-width: 768px) {
    .custom-site-footer { padding-top: 40px; }
    .bc-footer-grid { grid-template-columns: 1fr; gap: 35px; margin-bottom: 30px; }
    .brand-col { grid-column: span 1; }
    .bc-footer-bottom { text-align: center; }
    .footer-logo-box { flex-direction: column; align-items: flex-start; gap: 15px; }
}