/* =============================================
   GLP GROUP - Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700;1,800&family=Mulish:wght@300;400;500;600;700;800&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }

body {
  font-family: 'Mulish', sans-serif;
  font-size: 15px;
  color: #2c2c2c;
  line-height: 1.65;
  background: #fff;
}

h1, h2, h3, h4, h5 {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  line-height: 1.15;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── CSS VARIABLES ── */
:root {
  --red:        #f44336;
  --red-h:      #dc2627;
  --dark:       #1e1e1e;
  --dark-2:     #1a1a1a;
  --dark-card:  #111827;
  --dark-3:     #252525;
  --gray-bg:    #f5f5f5;
  --gray-bd:    #e0e0e0;
  --text:       #2c2c2c;
  --text-m:     #666;
  --text-s:     #999;
  --white:      #ffffff;
}

/* ── UTILITIES ── */
.center        { text-align: center; }
.red           { color: var(--red); }
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

/* =============================================
   TOP BAR
   ============================================= */
.topbar {
  background: #000;
  color: #FFF;
  font-size: 12.5px;
  padding: 20px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.topbar-left span,
.topbar-right span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-left span svg,
.topbar-right span svg { opacity: .7; }

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid #333;
}
.topbar-socials a {
  color: #FFF;
  font-size: 13px;
  font-weight: 700;
  transition: color .2s;
}
.topbar-socials a:hover { color: var(--red); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  background: transparent;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: none;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  background-color: #FFF;
  margin-left: clamp(120px, 20vw, 250px);
  border-top-left-radius: clamp(24px, 4vw, 50px);
  border-bottom-left-radius: clamp(24px, 4vw, 50px);
  box-shadow: 0 4px 20px rgba(0,0,0,.10);
  padding: 0 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow', sans-serif;
  font-size: 19px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg { display: block; }

/* Nav links */
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 700;
  color: #444;
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--red); }
.nav-links a.active::after,
.nav-links a:hover::after { transform: scaleX(1); }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.btn-search {
  background: none;
  border: none;
  color: #555;
  padding: 4px;
  transition: color .2s;
}
.btn-search:hover { color: var(--red); }

.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 11px 22px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .3px;
  border: 2px solid var(--red);
  transition: background .2s, color .2s;
  display: inline-block;
}
.btn-primary:hover {
  background: transparent;
  color: var(--red);
}

.btn-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  width: 32px;
  height: 32px;
}
.btn-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}
.btn-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.btn-burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.btn-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(2px);
}
.sidebar-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  box-shadow: -8px 0 40px rgba(0,0,0,.15);
  overflow-y: auto;
}
.mobile-sidebar.active { transform: translateX(0); }

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-bd);
}
.sidebar-head .logo { color: var(--dark); font-size: 16px; }

.sidebar-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background .2s;
  flex-shrink: 0;
}
.sidebar-close:hover { background: var(--gray-bg); }

.sidebar-nav ul { display: flex; flex-direction: column; }
.sidebar-nav ul li a {
  display: flex;
  align-items: center;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--gray-bg);
  transition: color .2s, padding-left .2s;
}
.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active { color: var(--red); padding-left: 8px; }
.sidebar-nav ul li:last-child a { border-bottom: none; }

.sidebar-cta { display: block; text-align: center; margin-top: auto; padding-top: 28px; }

.sidebar-contact {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-bd);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sidebar-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-m);
  font-weight: 500;
}
.sidebar-contact-item svg { flex-shrink: 0; color: var(--red); }
.sidebar-contact-item a   { color: var(--text-m); transition: color .2s; }
.sidebar-contact-item a:hover { color: var(--red); }

.sidebar-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.sidebar-socials a {
  width: 32px;
  height: 32px;
  background: var(--gray-bg);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-m);
  transition: background .2s, color .2s;
}
.sidebar-socials a:hover { background: var(--red); color: #fff; }

body.sidebar-open { overflow: hidden; }

/* =============================================
   HERO (Home)
   ============================================= */
.hero {
  position: relative;
  min-height: 580px;         
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0d0d14;
  margin-top: -70px;  
  padding-top: 70px;   
  min-height: calc(580px + 70px);        
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1600&auto=format&fit=crop')
    center/cover no-repeat;  
  opacity: .55;               
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10,10,18,.96) 0%,
    rgba(10,10,18,.80) 45%,
    rgba(10,10,18,.30) 75%,
    rgba(10,10,18,.10) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 28px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: grid;                       
  grid-template-columns: 1fr auto;      
  gap: 48px;                            
  align-items: center;                 
}

.hero-dot {
  display: inline-block;   
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  margin-bottom: 28px;      
}


.hero-text h1 {             
  font-size: 50px;          
  font-weight: 800;         
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;      
}

.hero-text p {             
  color: #aaa;              
  font-size: 15px;          
  line-height: 1.85;
  max-width: 460px;
  margin-bottom: 0;         
}

.hero-text {
  max-width: 560px;
}

.hero-subtitle {
  color: #e0e0e0;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-person {
  width: 320px;
  height: 420px;
  flex-shrink: 0;
  clip-path: polygon(
    20% 0%, 80% 0%,
    100% 18%, 100% 82%,
    80% 100%, 20% 100%,
    0% 82%, 0% 18%
  );
  overflow: hidden;
}

.hero-person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* =============================================
   ESTE CONSORCIO
   ============================================= */
.este-consorcio {
  padding: 88px 0;
  background: #fff;
}
.este-consorcio .center { display: block; }
.este-consorcio > .container > h2 {
  font-size: 40px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 56px;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.company-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  transition: transform .3s ease, box-shadow .3s ease;
  background: #fff;
}
.company-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.13);
}
.company-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.company-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.company-card:hover .company-card-img img { transform: scale(1.04); }
.company-card-img .card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
}
.company-card-body {
  padding: 18px 22px 22px;
}
.company-card-body h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}
.company-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
  background: var(--gray-bg);
  color: var(--text-m);
  letter-spacing: .4px;
}
.tag.red-tag {
  background: rgba(192,57,43,.1);
  color: var(--red);
}

/* =============================================
   SOBRE GLP GROUP
   ============================================= */
.sobre-glp {
  padding: 88px 0;
  background: var(--gray-bg);
}
.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.sobre-image { position: relative; }
.sobre-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.sobre-badge {
  position: absolute;
  bottom: 28px;
  right: 50px;
  background: var(--dark);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(192,57,43,.4);
}
.sobre-badge .badge-number {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}
.sobre-badge .badge-label {
  font-size: 12px;
  font-weight: 700;
  opacity: .9;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}
.sobre-content h2 {
  font-size: 38px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 20px;
}
.sobre-content h2 em {
  font-style: italic;
  color: var(--red);
}
.sobre-content p {
  color: var(--text-m);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
}
.sobre-divider {
  height: 1px;
  background: var(--gray-bd);
  margin: 32px 0;
}
.stats-row {
  display: flex;
  gap: 16px;
}
.stat-item {
  flex: 1;
  background: #fff;
  text-align: center;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  border-top: 4px solid #F0B429;
  border-right: none;
  margin-right: 0;
  padding-right: 20px;
}
.stat-item:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 20px;
}
.stat-big {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.stat-desc {
  display: block;
  font-size: 13px;
  color: #888;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.45;
}

/* =============================================
   TRES EMPRESAS UNA VISIÓN
   ============================================= */
.tres-empresas {
  padding: 88px 0;
  background: #fff;
}
.tres-empresas > .container > h2 {
  font-size: 40px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
}
.tres-empresas > .container > h2 em {
  font-style: italic;
  color: var(--red);
}
.section-intro {
  color: var(--text-m);
  font-size: 15.5px;
  max-width: 580px;
  margin: 0 auto 52px;
  text-align: center;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vision-card {
  border-radius: 8px;
  border-bottom: 3px solid transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform .3s ease, border-color .3s ease;
}
.vision-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.vision-icon {
  width: 48px;
  height: 48px;
  background: #1f2937;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.vision-card-header {
  background: var(--dark-card);
  padding: 20px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.vision-card-body {
  padding: 0 20px 20px;
}

.vision-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}
.vision-tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  display: block;
}
.vision-card p {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
  margin-bottom: 28px;
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
  transition: gap .2s;
  letter-spacing: .3px;
}
.link-more:hover { gap: 10px; }

/* =============================================
   SERVICIOS ESPECIALIZADOS
   ============================================= */
.servicios {
  padding: 88px 0;
  background: var(--gray-bg);
}
.servicios > .container > h2 {
  font-size: 40px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 36px;
}
.servicios > .container > h2 em {
  font-style: italic;
  color: var(--red);
}

.servicios-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 22px;
  background: #fff;
  border: 2px solid var(--gray-bd);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-m);
  transition: all .2s;
}
.tab-btn:hover,
.tab-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.servicio-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.servicio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
.servicio-img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
}
.servicio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.servicio-card:hover .servicio-img-wrap img { transform: scale(1.05); }
.servicio-empresa-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(17,17,17,.85);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: .5px;
}
.servicio-body {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.servicio-info h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}
.servicio-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: var(--gray-bg);
  color: var(--text-s);
  padding: 3px 9px;
  border-radius: 2px;
}
.servicio-arrow {
  width: 34px;
  height: 34px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 900;
  transition: transform .2s, background .2s;
  text-decoration: none;
}
.servicio-arrow:hover {
  transform: scale(1.12);
  background: var(--red-h);
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: var(--red);
  padding: 32px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-banner-inner p {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  font-family: 'Barlow', sans-serif;
}
.btn-cta {
  background: var(--dark);
  color: #fff;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  transition: background .2s;
  display: inline-block;
}
.btn-cta:hover { background: #2a2a2a; }

/* =============================================
   CONTACTO
   ============================================= */
.contacto {
  padding: 88px 0;
  background: #111827;
}
.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 72px;
  align-items: start;
}
.contacto .section-label { color: var(--red); }
.contacto-info h2 {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}
.contacto-info h2 em {
  font-style: italic;
  color: var(--red);
}
.contacto-info > p {
  color: #FFF;
  font-size: 14.5px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.contact-items { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 40px;
  height: 40px;
  background: #1f2937;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-item strong {
  display: block;
  font-size: 13.5px;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-item p {
  color: #FFF;;
  font-size: 13.5px;
  line-height: 1.65;
}
.contact-item a {
  color: #FFF;
  transition: color .2s;
}
.contact-item a:hover { color: var(--red); }

/* Form */
.contacto-form { 
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-control {
  width: 100%;
  background: #1f2937;
  border: 1px solid #374151;
  color: rgba(255, 255, 255, 0.7);
  padding: 13px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
  outline: none;
}
#text-area {
    resize: none;
}

.form-control::placeholder { color: rgba(255, 255, 255, 0.7); }
.form-control:focus { border-color: var(--red); }
select.form-control option { background: #252525; color: #fff; }
textarea.form-control {
  min-height: 130px;
  resize: vertical;
}
.btn-submit {
  background: #f44336;
  color: var(--dark);
  border: none;
  padding: 15px 32px;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background .2s;
  align-self: flex-start;
}
.btn-submit:hover { background: var(--red-h); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #0B0F19;
  padding: 64px 0 0;
  border-top: 1px solid #222;
}
.footer-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding-bottom: 52px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: 22px;
  max-width: 240px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 34px;
  height: 34px;
  background: #222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 13px;
  font-weight: 800;
  transition: background .2s, color .2s;
}
.footer-socials a:hover { background: var(--red); color: #fff; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--red); }

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid #222;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 12.5px;
  color: var(--red);
  transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--red-h); }

/* =============================================
   HERO SMALL (Inner pages)
   ============================================= */
.hero-small {
  min-height: calc(200px + 70px);
  background: var(--dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: -70px;
  padding-top: 70px;
}
.hero-small .hero-bg {
  background-image: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?w=1400&auto=format&fit=crop');
  opacity: .15;
}
.hero-small .hero-gradient {
  background: rgba(17,17,17,.75);
}
.hero-small-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 28px;
}
.hero-small-content h1 {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.5px;
}
 
/* =============================================
   DETALLE DEL SERVICIO – Layout
   ============================================= */
.servicio-detalle {
  padding: 60px 0 88px;
  background: #fff;
}
.detalle-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 72px;
}

.detalle-layout > aside,
.detalle-content {
  min-width: 0;
}
 
/* Sidebar */
.sidebar-panel {
  background: var(--gray-bg);
  border-radius: 8px;
  overflow: hidden;
  position: sticky;
  top: 86px;
  width: 100%;
  box-sizing: border-box;
}
.sidebar-header {
  background: var(--dark-card);
  padding: 18px 20px;
}
.sidebar-header span {
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.sidebar-menu { padding: 8px 0; }
.sidebar-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-m);
  transition: background .2s, color .2s;
  border-left: 3px solid transparent;
}
.sidebar-menu li a:hover,
.sidebar-menu li.active a {
  background: rgba(192,57,43,.07);
  color: var(--red);
  border-left-color: var(--red);
}
.sidebar-menu li a .chevron {
  font-size: 12px;
  opacity: .5;
}
 
/* Main detalle content */
.detalle-content {}
.detalle-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 28px;
}
.detalle-empresa-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.detalle-content h1 {
  font-size: 36px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 14px;
}
.detalle-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-bd);
}
.detalle-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-m);
}
.detalle-meta-item strong {
  color: var(--dark);
  font-weight: 700;
}
.detalle-meta-dot {
  width: 4px;
  height: 4px;
  background: var(--gray-bd);
  border-radius: 50%;
}
.detalle-description {
  font-size: 15.5px;
  color: var(--text-m);
  line-height: 1.85;
  margin-bottom: 32px;
}
.btn-solicitar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  padding: 14px 30px;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 800;
  transition: background .2s;
}
.btn-solicitar:hover { background: var(--red-h); }
.btn-solicitar .check {
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
 
/* =============================================
   RELACIONADOS
   ============================================= */
.relacionados-section {
  border-top: 1px solid var(--gray-bd);
  padding-top: 56px;
}
.relacionados-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.relacionados-header h3 {
  font-size: 26px;
  font-weight: 900;
  color: var(--dark);
}
.relacionados-nav {
  display: flex;
  gap: 8px;
}
.nav-arrow {
  width: 36px;
  height: 36px;
  border: 2px solid var(--gray-bd);
  border-radius: 50%;
  background: #fff;
  color: var(--text-m);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: border-color .2s, color .2s;
}
.nav-arrow:hover {
  border-color: var(--red);
  color: var(--red);
}
 
.relacionados-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.relacionado-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--gray-bd);
  transition: border-color .2s, box-shadow .2s;
}
.relacionado-card:hover {
  border-color: rgba(192,57,43,.3);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.relacionado-img {
  width: 130px;
  height: 100px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.relacionado-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.relacionado-body { flex: 1; }
.relacionado-empresa {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(192,57,43,.08);
  padding: 3px 9px;
  border-radius: 2px;
  margin-bottom: 8px;
}
.relacionado-body h4 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.relacionado-body p {
  font-size: 13px;
  color: var(--text-m);
  line-height: 1.6;
  margin-bottom: 10px;
}
.relacionado-body a.link-ver {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s;
}
.relacionado-body a.link-ver:hover { gap: 8px; }

/* =============================================
   RESPONSIVE (básico)
   ============================================= */
@media (max-width: 1100px) {
  .hero-person {
    width: 260px;
    height: 350px;
  }
  .btn-primary {
    padding: 3px 4px;
    text-align: center;
  }
  
}

@media (max-width: 960px) {
  .navbar-inner {
    margin-left: 0;
    border-top-left-radius:    0;
    border-bottom-left-radius: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 60px 28px;
  }
  .hero-person { display: none; }

  .companies-grid,
  .vision-grid,
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }

  .sobre-inner    { grid-template-columns: 1fr; gap: 40px; }

  .contacto-inner { grid-template-columns: 1fr; gap: 48px; }

  .footer-inner   { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols    { grid-template-columns: repeat(2, 1fr); }

  .detalle-layout { grid-template-columns: 1fr; gap: 24px; } 
  .detalle-layout > aside { width: 100%; } 
  .sidebar-panel  { position: static; }

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

@media (max-width: 805px) {
  .topbar-inner{
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .navbar-inner {
    padding: 0 20px;
  }
}
@media (max-width: 768px) {

  .nav-links    { display: none; }
  .desktop-only { display: none; }  
  .btn-burger   { display: flex; }
  .topbar { display: none; }

  /* .topbar-left span:first-child { display: none; } */

  .hero { min-height: 420px; }
  .hero-text h1 { font-size: 40px; }

  .footer-cols { grid-template-columns: 1fr; gap: 28px; }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

}
@media (max-width: 560px) {
  /* .topbar-left{
    flex-direction: column ;
    gap: 5px;
  } */
  .sobre-badge    {
    right: 20px;
  }           

}

@media (max-width: 680px) {
  .hero { min-height: 360px; }
  .hero-text h1 { font-size: 32px; }
  .hero-content { padding: 48px 20px; }

  .companies-grid,
  .vision-grid,
  .servicios-grid { grid-template-columns: 1fr; }

  .stats-row {
    flex-direction: column;
    gap: 12px;
  }
  .stat-item {
    padding: 20px;
  }
  .stat-item:last-child { border-bottom: none; }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .form-row          { grid-template-columns: 1fr; }
  .relacionados-grid { grid-template-columns: 1fr; }

  .relacionado-card  { flex-direction: column; }
  .relacionado-img   { width: 100%; height: 160px; }

  .footer-brand p    { max-width: 100%; }
  .footer-bottom-links { gap: 12px; }
}

@media (max-width: 460px) {
  .topbar-inner{
    flex-direction: column;
    gap: 10px;
  }

  .topbar-left{
    align-items: center;
    text-align: center;
  }
  .topbar-left span {
    gap: 1px;
  }

  .detalle-meta {
    flex-direction: column;
  }
  .detalle-meta-dot{
    display: none;
  }
}

@media (max-width: 412px) {
  .btn-primary {
    padding: 4px 4px;
    text-align: center;
  }

  .logo{
    text-align: center;
    gap: 5px;
  }

  .servicios > .container > h2 {
  font-size: 32px;
}
.sobre-badge    {
    right: 5px;
    padding: 8px 15px;
  }  
}

@media (max-width: 300px) { 
  .mobile-sidebar {
    width: 250px;
  }
}
