/* === GRAYHAT CORP - MODERN DESIGN SYSTEM === */

/* Fallback elegante cuando una imagen falla */
.hero-bg-image[style*="display: none"] + .hero-bg-overlay,
.hero-bg:has(.hero-bg-image[style*="display: none"]) {
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%) !important;
}

/* Gradiente corporativo como fallback universal */
.bg-fallback {
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B71C1C;
  font-weight: 700;
  font-size: 1.5rem;
}

:root {
  /* Colores Corporativos */
  --ghc-black: #0A0A0A;
  --ghc-dark: #1A1A1A;
  --ghc-red: #B71C1C;
  --ghc-red-hover: #c62828;
  --ghc-white: #FFFFFF;
  --ghc-gray: #F5F5F5;
  --ghc-text: #333333;
  --ghc-text-light: #666666;
  
  /* GH-REDESIGN: Variables GrayHatCorp (alias para compatibilidad) */
  --gh-red: #B71C1C;
  --gh-black: #0A0A0A;
  --gh-dark: #1A1A1A;
  --gh-gray: #2A2A2A;
  --gh-white: #FFFFFF;
  --gh-light: #B0B0B0;
  
  /* Tipografía */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Courier New', monospace;
  
  /* Espaciado */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Transiciones */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --shadow-red: 0 4px 20px rgba(183, 28, 28, 0.4);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--ghc-text);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--ghc-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* === NAVEGACIÓN === */
.nav-modern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: all var(--transition-base);
  border-bottom: 1px solid rgba(183, 28, 28, 0.1);
}

.nav-modern.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ghc-white);
  text-decoration: none;
  letter-spacing: -1px;
}

.nav-logo span {
  color: var(--ghc-red);
}

.nav-menu {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
  align-items: center;
}

.nav-menu a {
  color: var(--ghc-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ghc-red);
  transition: width var(--transition-base);
}

.nav-menu a:hover {
  color: var(--ghc-red);
}

.nav-menu a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--ghc-white);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    border-bottom: 1px solid rgba(183, 28, 28, 0.2);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    font-size: 1.1rem;
    padding: 0.75rem 0;
  }
}

/* === HERO SLIDER === */
.hero__slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.hero__slide.active {
  opacity: 1;
  visibility: visible;
}

.hero__slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero__slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 26, 26, 0.7) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* Slider Controls */
.slider__controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 1rem;
}

.slider__prev,
.slider__next {
  width: 50px;
  height: 50px;
  background: rgba(183, 28, 28, 0.2);
  border: 2px solid #B71C1C;
  border-radius: 50%;
  color: #B71C1C;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  font-size: 1.5rem;
}

.slider__prev:hover,
.slider__next:hover {
  background: #B71C1C;
  color: #fff;
}

/* Particles Container */
#particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-family: var(--font-primary);
}

.btn-primary {
  background: var(--ghc-red);
  color: var(--ghc-white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--ghc-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(183, 28, 28, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--ghc-white);
  border: 2px solid var(--ghc-white);
}

.btn-secondary:hover {
  background: var(--ghc-white);
  color: var(--ghc-black);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

/* Language Switcher */
.lang-btn {
  background: transparent;
  border: 1px solid rgba(183, 28, 28, 0.3);
  color: var(--gh-light);
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border-radius: 4px;
  margin-left: 0.5rem;
}

.lang-btn:hover {
  border-color: var(--ghc-red);
  color: var(--ghc-white);
}

.lang-btn.active {
  background: var(--ghc-red);
  border-color: var(--ghc-red);
  color: var(--ghc-white);
}

/* Hero Badge */
.hero-badge {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(183, 28, 28, 0.15);
  border: 2px solid #B71C1C;
  color: #B71C1C;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  border-radius: 50px;
}

/* Hero Title */
.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #F5F5F5;
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 3rem;
  opacity: 0.9;
  color: rgba(255,255,255,0.9);
}

/* Hero CTA */
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Stats Section */
.stats-section {
  padding: 6rem 2rem;
  background: #F5F5F5;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Stat Card */
.stat-card {
  padding: 2rem;
  background: #1A1A1A;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Stat Number */
.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #B71C1C;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Stat Label */
.stat-label {
  font-size: 1rem;
  color: #888888;
  font-weight: 500;
}

/* Footer */
footer {
  background: #0A0A0A;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid #2A2A2A;
  margin-top: 4rem;
}

/* Contact Section */
.contact-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--ghc-white);
  text-align: center;
  margin-bottom: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact__info {
  background: var(--gh-dark);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(183, 28, 28, 0.1);
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--ghc-white);
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--ghc-red);
  flex-shrink: 0;
}

.contact__social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(183, 28, 28, 0.1);
  border-radius: 8px;
  color: var(--ghc-red);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--ghc-red);
  color: var(--ghc-white);
  transform: translateY(-2px);
}

.map-placeholder {
  margin-top: 2rem;
}

.map-placeholder iframe {
  border-radius: 8px;
  border: 1px solid #2A2A2A;
}

.contact-form {
  background: var(--gh-dark);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(183, 28, 28, 0.1);
}

.contact-form h3 {
  color: var(--ghc-white);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  background: var(--gh-black);
  border: 1px solid #2A2A2A;
  border-radius: 8px;
  color: var(--ghc-white);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ghc-red);
}

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

.form-response {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.form-response.success {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid #4caf50;
  color: #4caf50;
}

.form-response.error {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid #f44336;
  color: #f44336;
}

/* Page Container */
.page-container {
  min-height: calc(100vh - 200px);
}

/* === HEIMDALL ENCABEZADO === */
.hero--video .hero__content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.hero--video .hero__title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero--video .hero__title--accent {
  color: var(--gh-red);
  display: block;
}

/* === GRIDS Y SECCIONES === */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.page-container.bg-alt {
  background: var(--gh-dark);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  color: #fff;
  text-align: center;
}

.content-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.item-card,
.service-card,
.portfolio-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.2s;
}

.item-card:hover,
.service-card:hover,
.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: var(--gh-red);
}

.item-card img,
.portfolio-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.portfolio-card .media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.portfolio-card .body {
  padding: 1rem 0;
}

.fallback,
.fallback-msg {
  text-align: center;
  color: #888;
  grid-column: 1/-1;
  padding: 2rem;
}

.text-center {
  text-align: center;
}

@media (max-width: 768px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }
  .page-container {
    padding: 4rem 1.5rem;
  }
}

/* === REPAIR PATCH === */
.page-container{max-width:1200px;margin:0 auto;padding:5rem 1.5rem;}
.page-container.alt-bg{background:var(--gh-dark);}
.section-title,.page-title{font-size:clamp(1.8rem,4vw,2.5rem);margin-bottom:2rem;color:#fff;text-align:center;}
.content-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;}
.card{background:#111;border:1px solid #2a2a2a;border-radius:8px;padding:1.5rem;transition:transform .2s,border-color .2s;}
.card:hover{transform:translateY(-4px);border-color:var(--gh-red);}
.card-media img{width:100%;height:160px;object-fit:cover;border-radius:4px;margin-bottom:1rem;}
.fallback{grid-column:1/-1;text-align:center;color:#666;padding:2rem;}
@media(max-width:768px){.content-grid{grid-template-columns:1fr;}.page-container{padding:3rem 1rem;}}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* === NAVBAR - GH-REDESIGN Heimdall Style === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(183,28,28,0.2);
  transition: all 0.3s ease;
}

.navbar__container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gh-white);
  text-decoration: none;
}

.navbar__logo--text {
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar__menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar__menu a {
  color: var(--gh-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.navbar__menu a:hover,
.navbar__menu a.active {
  color: var(--gh-red);
}

.navbar__menu a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gh-red);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--gh-white);
}

.navbar__lang-switch { display: flex; align-items: center; gap: 0.5rem; margin-left: 2rem; }
.lang-btn { background: none; border: none; color: var(--gh-light); font-weight: 600; cursor: pointer; padding: 0.3rem 0.5rem; transition: color 0.2s; }
.lang-btn.active { color: var(--gh-red); border-bottom: 2px solid var(--gh-red); }
.lang-divider { color: var(--gh-light); opacity: 0.5; }
@media (max-width: 768px) { .navbar__lang-switch { margin-left: 0; margin-top: 1rem; justify-content: center; } }

.navbar--scrolled {
  background: rgba(10,10,10,0.98);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 2rem;
}

@media (max-width: 768px) {
  .navbar__toggle { display: flex; }
  .navbar__menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--gh-black);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  .navbar__menu.active {
    transform: translateY(0);
  }
}

/* === HERO SECTION === */
.hero-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--ghc-black);
  overflow: hidden;
  padding: 8rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.95) 0%, rgba(26,26,26,0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--ghc-white);
}

.hero-badge {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(183, 28, 28, 0.15);
  border: 2px solid var(--ghc-red);
  color: var(--ghc-red);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  border-radius: 50px;
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(183, 28, 28, 0.3); }
  50% { box-shadow: 0 0 40px rgba(183, 28, 28, 0.6); }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--ghc-red) 0%, #ff5722 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 3rem;
  opacity: 0.9;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* === HERO LAYERS - Orden Z-Index Correcto === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gh-black);
}

/* Capa 1: Video Background */
.hero__video-bg { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: #000; }
.hero__video { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100vw; min-height: 100vh; }
/* Fallback para móviles: desactivar video en <768px para ahorrar batería/datos */
@media (max-width: 768px) { .hero__video { display: none; } .hero__video-bg::before { content: ''; position: absolute; inset: 0; background: url('assets/images/hero-poster.jpg') center/cover no-repeat; } }

/* Capa 2: Overlay Oscuro */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(26,26,26,0.75) 50%, rgba(183,28,28,0.15) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Capa 3: Partículas */
#particles-container,
.particles-container {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

/* Capa 4: Contenido */
.hero__content {
  position: relative;
  z-index: 4;
  text-align: center;
  color: var(--gh-white);
  max-width: 900px;
  padding: 2rem;
}

/* Capa 5: Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: var(--gh-light);
  animation: bounce 2s infinite;
}

/* Tipografía y Botones */
.hero__title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.hero__title--accent {
  color: var(--gh-red);
  display: block;
}
.hero__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--gh-light);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-inline: auto;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn--primary {
  background: var(--gh-red);
  color: white;
  border: 2px solid var(--gh-red);
  box-shadow: 0 4px 15px rgba(183,28,28,0.4);
}
.btn--primary:hover {
  background: #9A1C1C;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(183,28,28,0.6);
}
.btn--secondary {
  background: transparent;
  color: white;
  border: 2px solid var(--gh-light);
}
.btn--secondary:hover {
  border-color: var(--gh-red);
  color: var(--gh-red);
  transform: translateY(-3px);
}

/* Animación Scroll */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero__title { font-size: clamp(2rem, 9vw, 3.5rem); }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__subtitle { font-size: 1rem; padding: 0 1rem; }
}

/* === BOTONES === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--ghc-red);
  color: var(--ghc-white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--ghc-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(183, 28, 28, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--ghc-white);
  border: 2px solid var(--ghc-white);
}

.btn-secondary:hover {
  background: var(--ghc-white);
  color: var(--ghc-black);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
}

/* === STATS SECTION === */
.stats-section {
  padding: var(--spacing-xl) 0;
  background: var(--ghc-gray);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  text-align: center;
}

.stat-card {
  padding: var(--spacing-md);
  background: var(--ghc-white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--ghc-red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--ghc-text-light);
  font-weight: 500;
}

/* === SERVICES SECTION === */
.services-modern {
  padding: var(--spacing-xl) 0;
  background: var(--ghc-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(183, 28, 28, 0.1);
  color: var(--ghc-red);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  border-radius: 50px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--ghc-black);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--ghc-text-light);
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.service-card {
  padding: var(--spacing-md);
  background: var(--ghc-white);
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(183, 28, 28, 0.2);
  border-color: var(--ghc-red);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--spacing-sm);
  color: var(--ghc-red);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--ghc-black);
}

.service-card p {
  margin-bottom: var(--spacing-sm);
  color: var(--ghc-text-light);
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ghc-red);
  text-decoration: none;
  font-weight: 600;
  transition: gap var(--transition-fast);
}

.service-link:hover {
  gap: 1rem;
}

/* === WHY US SECTION === */
.why-us {
  padding: var(--spacing-xl) 0;
  background: var(--ghc-black);
  color: var(--ghc-white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.why-content .section-badge {
  background: rgba(183, 28, 28, 0.2);
  border: 1px solid var(--ghc-red);
}

.why-content .section-title {
  color: var(--ghc-white);
}

.why-content .section-subtitle {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--spacing-md);
}

.why-list {
  margin: var(--spacing-md) 0;
}

.why-item {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.why-icon {
  width: 40px;
  height: 40px;
  background: var(--ghc-red);
  color: var(--ghc-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.why-text h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.why-text p {
  opacity: 0.8;
  line-height: 1.6;
}

.why-image .image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-image img {
  width: 100%;
  height: auto;
  display: block;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(183,28,28,0.2) 0%, transparent 100%);
}

/* === CTA SECTION === */
.cta-modern {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, var(--ghc-red) 0%, var(--ghc-red-hover) 100%);
  text-align: center;
  color: var(--ghc-white);
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto var(--spacing-md);
  opacity: 0.95;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === FOOTER === */
.footer-modern {
  background: var(--ghc-black);
  color: var(--ghc-white);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.footer-brand h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: var(--spacing-xs);
}

.footer-brand h3 span {
  color: var(--ghc-red);
}

.footer-brand p {
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: var(--spacing-sm);
}

.footer-social {
  display: flex;
  gap: var(--spacing-xs);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(183, 28, 28, 0.2);
  border: 1px solid var(--ghc-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ghc-red);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--ghc-red);
  color: var(--ghc-white);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--ghc-white);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: rgba(255,255,255,0.8);
  transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--ghc-red);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--spacing-sm);
  text-align: center;
  opacity: 0.6;
  font-size: 0.875rem;
}

/* === PAGE HEADER (About, Services, etc) === */
.page-header {
  background: var(--ghc-black);
  color: var(--ghc-white);
  padding: 10rem 0 4rem;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: var(--spacing-xs);
  line-height: 1.2;
}

.page-header p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* === ABOUT PAGE === */
.about-content {
  padding: var(--spacing-xl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  color: var(--ghc-black);
}

.about-text p {
  margin-bottom: var(--spacing-sm);
  color: var(--ghc-text-light);
  line-height: 1.8;
}

/* === SERVICES PAGE === */
.services-list {
  padding: var(--spacing-xl) 0;
}

.service-detail {
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--ghc-gray);
  border-radius: 16px;
  border-left: 4px solid var(--ghc-red);
}

.service-detail h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--ghc-black);
}

.service-detail p {
  color: var(--ghc-text-light);
  line-height: 1.8;
}

/* === PORTFOLIO PAGE === */
.page-container { max-width: 1400px; margin: 0 auto; padding: 6rem 2rem; }
.portfolio-section { text-align: center; }
.section-title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; color: var(--gh-white); }
.section-desc { color: var(--gh-light); max-width: 700px; margin: 0 auto 4rem; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}
.portfolio-card {
  background: var(--gh-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0,0,0,0.5); }
.portfolio-card__media { aspect-ratio: 16/9; overflow: hidden; }
.portfolio-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.portfolio-card:hover .portfolio-card__media img { transform: scale(1.05); }
.portfolio-card__content { padding: 1.5rem; text-align: left; }
.portfolio-card__content h3 { margin: 0 0 0.5rem; color: var(--gh-white); font-size: 1.25rem; }
.portfolio-card__content p { color: var(--gh-light); margin-bottom: 1.5rem; line-height: 1.6; }
@media (max-width: 768px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .page-container { padding: 4rem 1.5rem; }
}

/* === CONTACT PAGE === */
.contact-section {
  padding: var(--spacing-xl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.contact-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--ghc-black);
}

.contact-info > p {
  color: var(--ghc-text-light);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.contact-details {
  margin-bottom: var(--spacing-md);
}

.contact-item {
  display: flex;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-sm);
  align-items: flex-start;
}

.contact-item strong {
  color: var(--ghc-black);
  margin-bottom: 0.25rem;
}

.contact-item span {
  color: var(--ghc-text-light);
}

.contact-form {
  background: var(--ghc-gray);
  padding: var(--spacing-md);
  border-radius: 16px;
}

.form-group {
  margin-bottom: var(--spacing-sm);
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--ghc-black);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ghc-red);
}

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

/* === ANIMATIONS === */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* === ABOUT & CONTACT === */
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about__image img,
.contact__map {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--gh-light);
}

.contact__item i {
  color: var(--gh-red);
  width: 20px;
}

.contact__item a {
  color: var(--gh-white);
  text-decoration: none;
  transition: color 0.2s;
}

.contact__item a:hover {
  color: var(--gh-red);
}

.contact__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.contact__social a {
  color: var(--gh-light);
  transition: color 0.2s;
}

.contact__social a:hover {
  color: var(--gh-red);
}

.map-placeholder {
  background: var(--gh-dark);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  color: var(--gh-light);
}

/* === RESPONSIVE === */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--ghc-black);
    flex-direction: column;
    padding: var(--spacing-md);
    gap: var(--spacing-sm);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .mobile-menu-btn {
    display: flex;
  }

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

  .why-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact__map {
    order: -1;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-cta,
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
}

/* === HERO BADGE === */
.hero__badge {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: rgba(183,28,28,0.15);
  border: 1px solid var(--gh-red);
  color: var(--gh-red);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border-radius: 50px;
  animation: glow 3s ease-in-out infinite;
}

/* === STATS BAR === */
.stats-bar {
  background: var(--gh-dark);
  border-top: 1px solid rgba(183,28,28,0.2);
  border-bottom: 1px solid rgba(183,28,28,0.2);
  padding: 2.5rem 0;
}
.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
  padding: 0 2rem;
}
.stats-bar .stat-item { padding: 1rem; }
.stats-bar .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gh-red);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}
.stats-bar .stat-label {
  font-size: 0.95rem;
  color: var(--gh-light);
  font-weight: 500;
}

/* === CARD VARIANTS === */
.card--service {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.card--service .card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  color: var(--gh-red);
}
.card--service .card-icon svg,
.card--service .card-icon i {
  width: 100%;
  height: 100%;
}
.card--service h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--gh-white);
}
.card--service p {
  color: var(--gh-light);
  line-height: 1.7;
}

.card--portfolio {
  overflow: hidden;
  padding: 0;
}
.card--portfolio .card-media {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.card--portfolio .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card--portfolio:hover .card-media img {
  transform: scale(1.05);
}
.card--portfolio .card-body {
  padding: 1.5rem;
}
.card--portfolio .card-body h3 {
  color: var(--gh-white);
  margin-bottom: 0.5rem;
}
.card--portfolio .card-body p {
  color: var(--gh-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.card-link {
  color: var(--gh-red);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}
.card-link:hover {
  text-decoration: underline;
}

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, rgba(183,28,28,0.1) 0%, rgba(10,10,10,0.95) 100%);
  border-top: 1px solid rgba(183,28,28,0.15);
}
.lead {
  font-size: 1.2rem;
  color: var(--gh-light);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

/* === SITE FOOTER (Dynamic) === */
.site-footer {
  background: #050505;
  color: var(--gh-white);
  padding: 4rem 0 0;
  border-top: 1px solid rgba(183,28,28,0.15);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 0 2rem 3rem;
}
.footer-brand .navbar__logo {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gh-white);
  text-decoration: none;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: var(--gh-light);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  max-width: 300px;
}
.footer-brand .footer-social {
  display: flex;
  gap: 0.8rem;
}
.footer-brand .footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(183,28,28,0.15);
  border: 1px solid rgba(183,28,28,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gh-red);
  transition: all 0.2s;
}
.footer-brand .footer-social a:hover {
  background: var(--gh-red);
  color: var(--gh-white);
  transform: translateY(-2px);
}
.footer-brand .footer-social svg {
  width: 16px;
  height: 16px;
}
.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gh-white);
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col ul li a {
  color: var(--gh-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--gh-red);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 2rem;
  text-align: center;
}
.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* === ABOUT PAGE === */
.about-page .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-page .about__text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gh-light);
}
.about-page .about__image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
@media (max-width: 768px) {
  .about-page .about-grid {
    grid-template-columns: 1fr;
  }
}

/* === CONTACT PAGE === */
.contact-page .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-icon {
  width: 22px;
  height: 22px;
  color: var(--gh-red);
  flex-shrink: 0;
}
.contact__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.social-link {
  color: var(--gh-light);
  transition: color 0.2s;
}
.social-link:hover {
  color: var(--gh-red);
}
.social-link svg {
  width: 22px;
  height: 22px;
}
.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--gh-white);
}
.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #111;
  color: var(--gh-white);
  border: 1px solid #333;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--gh-red);
}
.contact-form .form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-response {
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
}
.form-response.success {
  background: rgba(76,175,80,0.15);
  color: #4caf50;
  border: 1px solid rgba(76,175,80,0.3);
}
.form-response.error {
  background: rgba(244,67,54,0.15);
  color: #f44336;
  border: 1px solid rgba(244,67,54,0.3);
}
@media (max-width: 768px) {
  .contact-page .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }

/* === VISION & MISSION === */
.vision-mission-section { padding: 4rem 2rem; }
.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media(max-width: 768px) {
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }
}
.vm-card {
  background: var(--gh-dark);
  border: 1px solid rgba(183,28,28,0.2);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.vm-card:hover {
  transform: translateY(-5px);
  border-color: var(--gh-red);
}
.vm-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  color: var(--gh-red);
}
.vm-icon svg,
.vm-icon i {
  width: 100%;
  height: 100%;
}
.vm-card h3 {
  color: var(--gh-white);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}
.vm-card p {
  color: var(--gh-light);
  line-height: 1.7;
}

/* === TEAM SECTION === */
.team-section { padding: 4rem 2rem; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
@media(max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
.team-card {
  background: var(--gh-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(183,28,28,0.2);
}
.team-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gh-red);
}
.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-placeholder {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gh-red), #8B0000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gh-white);
}
.team-card h4 {
  color: var(--gh-white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.team-role {
  color: var(--gh-red);
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}
.team-bio {
  color: var(--gh-light);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* === CERTIFICATIONS === */
.certifications-section { padding: 4rem 2rem; }
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
@media(max-width: 768px) {
  .certs-grid {
    grid-template-columns: 1fr;
  }
}
.cert-card {
  background: var(--gh-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: transform 0.3s, border-color 0.3s;
}
.cert-card:hover {
  transform: translateY(-5px);
  border-color: var(--gh-red);
}
.cert-card img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
}
.cert-card span {
  color: var(--gh-white);
  font-weight: 600;
  text-align: center;
}

/* === PARTNERS === */
.partners-section { padding: 4rem 2rem; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
@media(max-width: 768px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}
.partner-card {
  background: var(--gh-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: transform 0.3s, border-color 0.3s;
}
.partner-card:hover {
  transform: translateY(-5px);
  border-color: var(--gh-red);
}
.partner-card img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s;
}
.partner-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}
.partner-name {
  color: var(--gh-light);
  font-weight: 600;
  text-align: center;
}

@media (max-width: 768px) {
  .vision-mission-grid,
  .team-grid,
  .certs-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }
}

/* === HERO REFRESH 2026 (ADMIN-COMPATIBLE) === */
.hero--dynamic {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
  background: #06090f;
}

.hero--dynamic .hero__slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero--dynamic .hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.95s ease, visibility 0.95s ease;
}

.hero--dynamic .hero__slide.active {
  opacity: 1;
  visibility: visible;
}

.hero--dynamic .hero__media {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  transform: scale(1);
  transition: transform 9s ease;
}

.hero--dynamic .hero__slide.active .hero__media {
  transform: scale(1.06);
}

.hero--dynamic .hero__media--image {
  background-size: cover;
  background-position: center;
  filter: saturate(1.08) contrast(1.06);
}

.hero--dynamic .hero__media--video {
  object-fit: cover;
  background: #000;
}

.hero--dynamic .hero__slide-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(183, 28, 28, 0.22), transparent 38%),
              linear-gradient(115deg, rgba(0, 0, 0, 0.72) 12%, rgba(3, 8, 20, 0.46) 52%, rgba(0, 0, 0, 0.78) 100%),
              var(--hero-overlay, rgba(6, 10, 18, 0.58));
}

.hero--dynamic .hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 35%, rgba(2, 6, 12, 0.62) 100%);
}

.hero--dynamic #particles-container {
  z-index: 3;
}

.hero--dynamic .hero__content {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(7rem, 12vh, 9rem) 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.hero--dynamic .hero__title {
  max-width: 18ch;
  text-wrap: balance;
  font-size: clamp(2.1rem, 7vw, 5.4rem);
  letter-spacing: -0.03em;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.hero--dynamic .hero__subtitle {
  max-width: 62ch;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1rem;
}

.hero--dynamic .hero__actions {
  margin-top: 2rem;
  gap: 0.9rem;
}

.hero--dynamic .btn--primary {
  background: linear-gradient(135deg, #b71c1c 0%, #8d1212 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 28px rgba(183, 28, 28, 0.4) !important;
}

.hero--dynamic .btn--secondary {
  background: rgba(8, 17, 31, 0.42) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
  backdrop-filter: blur(8px);
}

.hero--dynamic .btn--secondary:hover {
  border-color: #b71c1c !important;
  color: #fff !important;
}

.hero--dynamic .slider__controls {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 4.2vh, 2.6rem);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 6;
}

.hero--dynamic .slider__prev,
.hero--dynamic .slider__next {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(9, 15, 28, 0.55);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.hero--dynamic .slider__prev:hover,
.hero--dynamic .slider__next:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 28, 28, 0.9);
  background: rgba(183, 28, 28, 0.35);
}

.hero--dynamic .slider__dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.6rem;
  border-radius: 999px;
  background: rgba(7, 12, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.hero--dynamic .slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero--dynamic .slider__dot.active {
  width: 24px;
  background: #b71c1c;
}

@media (max-width: 840px) {
  .hero--dynamic .hero__content {
    padding: 6.5rem 1rem 4.8rem;
  }

  .hero--dynamic .slider__controls {
    bottom: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--dynamic .hero__slide,
  .hero--dynamic .hero__media,
  .hero--dynamic .slider__prev,
  .hero--dynamic .slider__next,
  .hero--dynamic .slider__dot {
    transition: none !important;
  }
}
