:root {
  --bg: #fdfdfd;
  --bg-alt: #f1f5f9;
  --bg-dark: #050b1a;
  --surface: rgba(255, 255, 255, 0.85);
  --surface-top: rgba(255, 255, 255, 0.95);
  --text: #0f172a;
  --text-light: #475569;
  --muted: #94a3b8;
  --primary: #0a1128;
  --primary-light: #1e293b;
  --primary-dark: #020617;
  --primary-glow: rgba(10, 17, 40, 0.08);
  --accent: #1e40af; /* Deep blue Panama */
  --accent-light: #3b82f6;
  --accent-lighter: #93c5fd;
  --accent-glow: rgba(30, 64, 175, 0.15);
  --accent-glow-light: rgba(59, 130, 246, 0.1);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --fire: #ef4444;
  --fire-light: #fb923c;
  --eng: #6366f1;
  --eng-light: #818cf8;
  --gold: #c5a059;
  --gold-light: #e6c88f;
  --border: rgba(15, 23, 42, 0.08);
  --border-light: rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.1);
  --shadow-hover: 0 32px 80px rgba(0,0,0,0.12);
  --shadow-blue: 0 10px 30px rgba(30, 64, 175, 0.25);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1280px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: hidden; width: 100%; }

/* Selection & Scrollbar */
::selection {
  background: var(--accent);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-glow);
  border-radius: 10px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

/* Prevent any element from causing horizontal scroll */
img, video, svg, canvas { max-width: 100%; height: auto; display: block; object-fit: cover; }
.logo-mark img { mix-blend-mode: multiply; filter: brightness(1.1); }
a { text-decoration: none; color: inherit; transition: color 0.25s var(--ease-smooth); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* Fix overflow from absolute positioned elements */
.hero, .section, .site-footer { overflow: hidden; }
.deco-shape { max-width: 100vw; }

/* Global width constraint */
html, body { overflow-x: hidden; }
html { width: 100%; }
body { width: 100%; max-width: 100vw; }

/* Force no horizontal scroll on any element */
* { max-width: 100%; }
.hero-video-wrap, .hero-bg, .hero-mesh, .hero-overlay, .hero-particles {
  left: 0; right: 0; width: 100%;
}

.container { width: min(var(--container), 90%); margin: 0 auto; position: relative; z-index: 1; }

/* ========== RESPONSIVE FIXES ========== */
@media (max-width: 768px) {
  .container { width: 92%; }
  .deco-shape { display: none; }
  .hero-particles { display: none; }
  .about-image-secondary { right: 4px; bottom: -12px; width: 140px; border-width: 3px; }
  .about-badge-card { left: 4px; top: -10px; padding: 14px; }
  .badge-number { font-size: 1.4rem; }
  .process-timeline::before { left: 24px; }
  .step-number { width: 48px; height: 48px; font-size: 0.9rem; }
  .step-content { padding: 18px; }
  .process-step { gap: 16px; }
  .normativas-grid { gap: 32px; }
  .about-grid { gap: 32px; }
  .contact-grid { gap: 32px; }
  .image-strip { gap: 10px; }
  .wa-fab { right: 16px; bottom: 16px; }
  .slider-btn { width: 40px; height: 40px; }
  .testimonial-card { padding: 24px; }
  .testimonial-card::before { font-size: 3rem; top: 12px; left: 16px; }
  .map-overlay-card { max-width: 220px; padding: 14px; bottom: 12px; left: 12px; }
  .partners-grid { gap: 12px; }
  .partner-logo { padding: 14px; }
}

@media (max-width: 480px) {
  .container { width: 94%; }
  .hero-actions .btn { padding: 12px 20px; font-size: 0.88rem; }
  .btn-lg { padding: 14px 24px; font-size: 0.92rem; }
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: 1.45rem; }
  .section-badge { font-size: 0.7rem; padding: 5px 12px; }
  .section-desc { font-size: 0.95rem; }
  .service-card { padding: 28px 22px; }
  .cta-content { padding: 36px 20px; }
  .contact-form-card { padding: 20px; }
  .faq-question { padding: 16px 18px; font-size: 0.9rem; }
  .faq-answer p { padding: 0 18px 16px; }
  .footer-grid { gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding: 16px 0; }
  .footer-legal { gap: 12px; }
  .schedule-card { padding: 24px; }
  .method-info { padding: 24px; }
  .project-image { height: 200px; }
  .project-info { padding: 20px; }
  .image-strip-item { aspect-ratio: 16/10; }
  .stat-number { font-size: 1.8rem; }
  .stat-suffix { font-size: 1.3rem; }
  .hero-stats { gap: 14px; }
  .hero-stats .stat { padding-left: 14px; }
}

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.reveal.reveal-left { transform: translateX(-50px); }
.reveal.reveal-right { transform: translateX(50px); }
.reveal.reveal-scale { transform: scale(0.92); }
.reveal-active {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) !important;
}

.stagger-children .reveal:nth-child(1) { transition-delay: 0.06s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.14s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.22s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.30s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.38s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.46s; }

/* ========== DECORATIVE BLOBS ========== */
.deco-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.deco-shape-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(29,78,216,0.04) 0%, transparent 70%);
  top: 5%; right: -150px;
  animation: floatBlob 14s ease-in-out infinite;
}
.deco-shape-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(59,130,246,0.04) 0%, transparent 70%);
  bottom: 10%; left: -100px;
  animation: floatBlob 12s ease-in-out infinite reverse;
}
.deco-shape-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(212,168,76,0.04) 0%, transparent 70%);
  top: 40%; left: 5%;
  animation: floatBlob 16s ease-in-out infinite 3s;
}
@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(18px, -24px) scale(1.04); }
  66% { transform: translate(-12px, 16px) scale(0.97); }
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.5s var(--ease-out-expo);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  padding: 4px 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  transition: padding 0.35s var(--ease-smooth);
}
.site-header.scrolled .header-inner { padding: 6px 0; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.35s var(--ease-smooth);
  padding: 4px 0;
}
.brand:hover { opacity: 0.85; transform: scale(1.02); }

.logo-mark {
  height: 42px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: transform 0.3s var(--ease-smooth);
}
.logo-mark img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.main-nav a {
  padding: 10px 16px;
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: all 0.25s var(--ease-smooth);
  position: relative;
}
.main-nav a:hover {
  color: var(--accent);
  background: var(--accent-glow-light);
  transform: translateY(-1px);
}
.main-nav a.active {
  color: var(--accent);
  background: var(--accent-glow-light);
  font-weight: 600;
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-cta {
  margin-left: 20px;
  font-weight: 600 !important;
  color: #fff !important;
  background: var(--accent) !important;
  box-shadow: 0 4px 12px rgba(29,78,216,0.2);
}
.nav-cta:hover {
  background: var(--accent-light) !important;
  box-shadow: 0 6px 18px rgba(29,78,216,0.3) !important;
  transform: translateY(-2px) !important;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
  border-radius: var(--radius-xs);
  transition: background 0.2s var(--ease-smooth);
}
.hamburger:hover { background: var(--accent-glow-light); }
.hamburger .bar {
  width: 22px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.35s var(--ease-smooth);
}
.hamburger.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(28px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.45s var(--ease-out-expo);
}
.mobile-menu.open { 
  opacity: 1; 
  visibility: visible; 
  transform: translateY(0);
}
.mobile-menu a {
  font-size: 1.3rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: all 0.3s var(--ease-smooth);
}
.mobile-menu a:hover,
.mobile-menu a.active { 
  background: var(--accent-glow-light); 
  color: var(--accent); 
  transform: scale(1.05); 
}

/* ========== HERO DARK ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  background: var(--primary-dark);
}

/* Video background wrapper */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(0.9) contrast(1.05);
}

/* Fallback gradient when no video */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero:not(.hero-fire):not(.hero-eng):not(.hero-contact) .hero-bg {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
}
.hero-fire .hero-bg {
  background: linear-gradient(135deg, #1a0a0a 0%, #2d1515 40%, #4a1a1a 100%);
}
.hero-eng .hero-bg {
  background: linear-gradient(135deg, #0a0a2d 0%, #151540 40%, #1a1a5a 100%);
}
.hero-contact .hero-bg {
  background: linear-gradient(135deg, #0a1628 0%, #0d1b3e 40%, #162d5a 100%);
}

/* Animated mesh gradient overlay */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(29,78,216,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(59,130,246,0.1) 0%, transparent 40%),
    radial-gradient(ellipse at 60% 80%, rgba(212,168,76,0.08) 0%, transparent 40%);
  animation: meshShift 12s ease-in-out infinite alternate;
}
@keyframes meshShift {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

/* Dark gradient overlay for text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg,
    rgba(6,14,28,0.60) 0%,
    rgba(10,22,40,0.45) 40%,
    rgba(13,27,62,0.40) 70%,
    rgba(13,27,62,0.55) 100%);
}

/* Blue accent line at top */
.hero::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-light), transparent);
  z-index: 3;
  opacity: 0.3;
}

/* Floating particles effect */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
}
.hero-particles::before {
  width: 400px; height: 400px;
  top: 10%; right: 10%;
  animation: floatBlob 14s ease-in-out infinite;
}
.hero-particles::after {
  width: 300px; height: 300px;
  bottom: 15%; left: 15%;
  animation: floatBlob 10s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 800px;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(59,130,246,0.3);
  backdrop-filter: blur(10px);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 28px;
  letter-spacing: 0.3px;
  transition: all 0.3s var(--ease-smooth);
}
.hero-badge:hover {
  background: rgba(59,130,246,0.15);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59,130,246,0.2);
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(59,130,246,0.4); }
  50% { opacity: 0.6; transform: scale(1.3); box-shadow: 0 0 0 6px rgba(59,130,246,0); }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  color: #ffffff;
  letter-spacing: -1.5px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-light) 50%, var(--gold) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s var(--ease-smooth) infinite;
  filter: drop-shadow(0 2px 8px rgba(59,130,246,0.3));
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.gradient-fire {
  background: linear-gradient(135deg, #ffffff 0%, var(--fire-light) 50%, var(--gold) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s var(--ease-smooth) infinite;
  filter: drop-shadow(0 2px 8px rgba(249,115,22,0.3));
}
.gradient-eng {
  background: linear-gradient(135deg, #ffffff 0%, var(--eng-light) 50%, var(--accent-light) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s var(--ease-smooth) infinite;
  filter: drop-shadow(0 2px 8px rgba(99,102,241,0.3));
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 620px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-actions .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(29,78,216,0.4), 0 0 40px rgba(59,130,246,0.15);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-actions .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(29,78,216,0.5), 0 0 60px rgba(59,130,246,0.2);
  transform: translateY(-3px);
}

.hero-actions .btn-outline {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stats .stat {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 20px;
  transition: transform 0.3s var(--ease-smooth);
}
.hero-stats .stat:hover { transform: translateX(4px); }
.hero-stats .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(59,130,246,0.4);
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  display: inline;
}
.stat-suffix {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-light);
  display: inline;
  margin-left: 2px;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s var(--ease-smooth);
}
.hero-scroll:hover { color: var(--accent-light); }
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--accent-light), transparent);
  animation: scrollPulse 2.5s ease infinite;
  box-shadow: 0 0 8px rgba(59,130,246,0.3);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.2; transform: scaleY(0.5); }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 34px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.4s var(--ease-out-expo);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-smooth);
  z-index: -1;
}
.btn:hover::after { transform: translateX(100%); }
.btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.btn:active { transform: translateY(-1px) scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  box-shadow: var(--shadow-blue);
  border-color: rgba(255,255,255,0.1);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  box-shadow: 0 15px 35px rgba(30, 64, 175, 0.4);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  border-color: rgba(255,255,255,0.1);
}
.btn-whatsapp:hover {
  background: linear-gradient(135deg, #128C7E, #25D366);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
}

.btn-outline {
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--accent);
  border: 1.5px solid var(--accent-glow);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: #fff;
  color: var(--accent);
}

.btn-sm { padding: 10px 24px; font-size: 0.88rem; }
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ========== SECTIONS ========== */
.section {
  padding: 110px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-alt);
}
.section-blue {
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border-top: 1px solid var(--blue-200);
  border-bottom: 1px solid var(--blue-200);
}
.section-dark {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
}
.section-dark .section-badge {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}
.section-dark .section-badge::before { background: var(--gold); }
.section-dark .section-title { color: #fff; }
.section-dark .section-desc { color: rgba(255,255,255,0.6); }

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 72px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(30, 64, 175, 0.1);
  transition: all 0.3s var(--ease-out-expo);
}
.section-badge:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--primary);
  letter-spacing: -1.5px;
}
.section-desc {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.7;
}
.section-desc {
  font-size: 1.08rem;
  color: var(--text-light);
  line-height: 1.75;
}

.section-cta {
  text-align: center;
  margin-top: 52px;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text .section-badge,
.about-text .section-title,
.about-text .section-desc { text-align: left; }

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 36px 0;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--surface);
  transition: all 0.35s var(--ease-smooth);
  cursor: default;
}
.feature-item:hover {
  background: var(--blue-50);
  border-color: var(--blue-200);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-xs);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.35s var(--ease-smooth);
}
.feature-item:hover .feature-icon {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: var(--shadow-blue);
}
.feature-item h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}
.feature-item p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.55;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.about-image-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  transition: all 0.4s var(--ease-smooth);
  border: 3px solid var(--blue-100);
}
.about-image-main:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--blue-200);
}
.about-image-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(29,78,216,0.08) 100%);
  pointer-events: none;
}
.about-image-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-smooth);
}
.about-image-main:hover img { transform: scale(1.03); }
.about-image-secondary {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 210px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg);
  transition: all 0.4s var(--ease-smooth);
}
.about-image-secondary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-xl);
}
.about-image-secondary img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}
.about-image-secondary:hover img { transform: scale(1.05); }
.about-badge-card {
  position: absolute;
  top: -16px;
  left: -16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  padding: 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-blue);
  text-align: center;
  transition: all 0.35s var(--ease-smooth);
}
.about-badge-card:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 30px rgba(29,78,216,0.35);
}
.badge-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}
.badge-text {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.9;
  line-height: 1.3;
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue-200);
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 22px;
  transition: all 0.35s var(--ease-smooth);
}
.service-card:hover .service-icon {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: scale(1.08) rotate(-3deg);
  box-shadow: var(--shadow-blue);
}
.fire-icon { color: var(--fire); border-color: rgba(220,38,38,0.2); background: rgba(220,38,38,0.06); }
.fire-icon:hover { color: #fff; background: var(--fire); border-color: var(--fire); }
.eng-icon { color: var(--eng); border-color: rgba(79,70,229,0.2); background: rgba(79,70,229,0.06); }
.eng-icon:hover { color: #fff; background: var(--eng); border-color: var(--eng); }

.service-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
  color: var(--text);
  transition: color 0.3s var(--ease-smooth);
}
.service-card:hover h3 { color: var(--accent); }
.service-card > p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 18px;
}
.service-features {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}
.service-card:hover .service-features {
  opacity: 1;
  max-height: 200px;
}
.service-features li {
  font-size: 0.84rem;
  color: var(--text-light);
  padding: 5px 0 5px 20px;
  position: relative;
}
.service-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  transition: all 0.3s var(--ease-smooth);
  margin-top: 18px;
}
.service-link:hover { gap: 10px; color: var(--blue-800); }
.service-link span { transition: transform 0.3s var(--ease-smooth); }
.service-link:hover span { transform: translateX(4px); }

/* ========== IMAGE GALLERY STRIP ========== */
.image-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 0 20px;
}
.image-strip-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--blue-100);
  transition: all 0.4s var(--ease-smooth);
  aspect-ratio: 4/3;
}
.image-strip-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-200);
}
.image-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-smooth);
}
.image-strip-item:hover img { transform: scale(1.08); }

/* ========== PROCESS ========== */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-light), var(--gold));
  border-radius: 2px;
}
.process-step {
  display: flex;
  gap: 28px;
  padding: 24px 0;
  position: relative;
}
.step-number {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
  z-index: 2;
  transition: all 0.4s var(--ease-smooth);
}
.process-step:hover .step-number {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
  transform: scale(1.1);
}
.step-content {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border-light);
  flex: 1;
  transition: all 0.4s var(--ease-smooth);
}
.process-step:hover .step-content {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
  transform: translateX(6px);
}
.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.step-content > p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 12px;
}
.step-list li {
  font-size: 0.84rem;
  color: var(--text-light);
  padding: 4px 0 4px 18px;
  position: relative;
}
.step-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 8px; height: 2px;
  background: var(--accent);
  border-radius: 1px;
  opacity: 0.5;
}

/* ========== STATS ========== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  animation: floatBlob 14s ease-in-out infinite;
}
.stats-section::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -5%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,76,0.06) 0%, transparent 70%);
  animation: floatBlob 10s ease-in-out infinite reverse;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.stat-card {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.4s var(--ease-smooth);
  cursor: default;
}
.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  border-color: rgba(59,130,246,0.3);
}
.stat-card .stat-icon {
  color: var(--accent-light);
  margin-bottom: 16px;
  transition: all 0.3s var(--ease-smooth);
}
.stat-card:hover .stat-icon {
  color: #fff;
  transform: scale(1.15);
}
.stat-card .stat-number,
.stat-card .stat-suffix { color: #fff; }
.stat-card .stat-label {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
}

/* ========== PROJECTS ========== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.project-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease-smooth);
  cursor: default;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue-200);
}
.project-image { 
  position: relative; 
  height: 280px; 
  overflow: hidden; 
}
.project-image img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.6s var(--ease-smooth); 
}
.project-card:hover .project-image img { transform: scale(1.06); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,62,0.85), rgba(29,78,216,0.6));
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
}
.project-card:hover .project-overlay { opacity: 1; }

.project-info { padding: 26px; }
.project-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
  transition: all 0.3s var(--ease-smooth);
}
.project-card:hover .project-category {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.project-info h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -0.2px;
  color: var(--text);
  transition: color 0.3s var(--ease-smooth);
}
.project-card:hover .project-info h3 { color: var(--accent); }
.project-info p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* ========== PARTNERS ========== */
.partners {
  padding: 80px 0;
  border-top: 1px solid var(--blue-200);
  border-bottom: 1px solid var(--blue-200);
  background: var(--blue-50);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: var(--radius-sm);
  color: var(--primary);
  opacity: 0.25;
  transition: all 0.4s var(--ease-smooth);
  background: var(--surface);
  border: 1px solid var(--blue-100);
}
.partner-logo:hover {
  opacity: 0.7;
  transform: scale(1.08);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
}
.partner-logo svg { width: 100%; height: 36px; }

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 110px 0;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--blue-50) 100%);
  border-top: 1px solid var(--blue-200);
}
.testimonials-slider {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  transition: transform 0.6s var(--ease-out-expo);
}
.testimonial-card {
  min-width: 100%;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 48px;
  border: 1px solid var(--blue-200);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all 0.3s var(--ease-smooth);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px; left: 32px;
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.08;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 20px;
  letter-spacing: 3px;
}
.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 28px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-smooth);
  box-shadow: 0 3px 10px rgba(29,78,216,0.2);
}
.testimonial-card:hover .author-avatar {
  transform: scale(1.08);
  box-shadow: var(--shadow-blue);
}
.author-info strong { display: block; font-size: 0.95rem; color: var(--text); }
.author-info span { font-size: 0.82rem; color: var(--muted); }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.slider-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  transition: all 0.3s var(--ease-smooth);
  box-shadow: var(--shadow-sm);
}
.slider-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: scale(1.1);
  box-shadow: var(--shadow-blue);
}
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue-200);
  opacity: 0.5;
  transition: all 0.3s var(--ease-smooth);
  cursor: pointer;
}
.slider-dot:hover { opacity: 0.8; transform: scale(1.2); }
.slider-dot.active {
  opacity: 1;
  background: var(--accent);
  transform: scale(1.4);
  box-shadow: 0 2px 8px rgba(29,78,216,0.3);
}

/* ========== FAQ ========== */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.3s var(--ease-smooth);
}
.faq-item:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: all 0.25s var(--ease-smooth);
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.35s var(--ease-smooth);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(29,78,216,0.3);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo);
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== CTA ========== */
.cta-section { padding: 110px 0; }
.cta-content {
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 64px 48px;
  border: 1px solid var(--blue-200);
  box-shadow: var(--shadow-lg);
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
}
.cta-content:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--accent-light);
}
.cta-content::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 30%, var(--blue-50) 0%, transparent 50%);
  pointer-events: none;
}
.cta-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  letter-spacing: -0.5px;
  color: var(--primary);
}
.cta-content > p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.cta-fire .cta-content {
  background: linear-gradient(135deg, rgba(220,38,38,0.03), rgba(249,115,22,0.02));
  border-color: rgba(220,38,38,0.15);
}
.cta-eng .cta-content {
  background: linear-gradient(135deg, rgba(79,70,229,0.03), rgba(129,140,248,0.02));
  border-color: rgba(79,70,229,0.15);
}

/* ========== NORMATIVAS ========== */
.normativas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.normas-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.norma-item {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--blue-100);
  transition: all 0.35s var(--ease-smooth);
}
.norma-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}
.norma-code {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}
.norma-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.4;
}
.normativas-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  transition: all 0.4s var(--ease-smooth);
  border: 3px solid var(--blue-100);
}
.normativas-visual:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--blue-200);
}
.normativas-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(29,78,216,0.1) 100%);
  pointer-events: none;
}
.normativas-visual img {
  width: 100%; height: 480px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-smooth);
}
.normativas-visual:hover img { transform: scale(1.03); }

/* ========== SECTORS ========== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sector-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease-smooth);
  cursor: default;
}
.sector-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue-200);
}
.sector-card img {
  width: 100%; height: 200px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}
.sector-card:hover img { transform: scale(1.06); }
.sector-info { padding: 22px; }
.sector-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  transition: color 0.3s var(--ease-smooth);
}
.sector-card:hover .sector-info h3 { color: var(--accent); }
.sector-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* ========== METHOD CARDS ========== */
.method-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
}
.method-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--blue-100);
  transition: all 0.4s var(--ease-smooth);
  cursor: default;
}
.method-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue-200);
}
.method-card:nth-child(even) { direction: rtl; }
.method-card:nth-child(even) > * { direction: ltr; }
.method-visual { overflow: hidden; }
.method-visual img {
  width: 100%; height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-smooth);
}
.method-card:hover .method-visual img { transform: scale(1.05); }
.method-info {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.method-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
  width: fit-content;
  transition: all 0.3s var(--ease-smooth);
}
.method-card:hover .method-tag {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.method-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
  color: var(--text);
}
.method-info > p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
}
.method-list li {
  font-size: 0.84rem;
  color: var(--text-light);
  padding: 4px 0 4px 18px;
  position: relative;
}
.method-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 8px; height: 2px;
  background: var(--accent);
  border-radius: 1px;
  opacity: 0.5;
}

/* ========== TEAM ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-out-expo);
}
.team-card:hover::before { transform: scaleX(1); }
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue-200);
}
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 18px;
  transition: all 0.35s var(--ease-bounce);
  box-shadow: 0 4px 12px rgba(29,78,216,0.2);
}
.team-card:hover .team-avatar {
  transform: scale(1.12);
  box-shadow: var(--shadow-blue);
}
.team-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  transition: color 0.3s var(--ease-smooth);
}
.team-card:hover h3 { color: var(--accent); }
.team-card p {
  font-size: 0.84rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
}
.contact-method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--blue-100);
  background: var(--surface);
  transition: all 0.35s var(--ease-smooth);
  cursor: default;
}
.contact-method:hover {
  background: var(--blue-50);
  border-color: var(--blue-200);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}
.method-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-xs);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.35s var(--ease-smooth);
}
.contact-method:hover .method-icon {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: var(--shadow-blue);
}
.contact-method h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}
.contact-method p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.45;
}
.text-muted { color: var(--muted) !important; font-size: 0.8rem !important; }

.contact-form-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--blue-100);
  box-shadow: var(--shadow-md);
  transition: all 0.4s var(--ease-smooth);
}
.contact-form-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}
.contact-form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  color: var(--primary);
}
.contact-form-card > p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--blue-100);
  background: var(--blue-50);
  font-size: 0.92rem;
  color: var(--text);
  transition: all 0.3s var(--ease-smooth);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-glow);
  transform: translateY(-1px);
}
.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: var(--blue-200);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

/* MAP */
.map-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 420px;
  transition: all 0.4s var(--ease-smooth);
  border: 3px solid var(--blue-100);
}
.map-container:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--blue-200);
}
.map-container img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-smooth);
}
.map-container:hover img { transform: scale(1.03); }
.map-overlay-card {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-width: 300px;
  border: 1px solid var(--blue-100);
  transition: all 0.3s var(--ease-smooth);
}
.map-overlay-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-200);
}
.map-overlay-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary);
}
.map-overlay-card p {
  font-size: 0.84rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

/* SCHEDULE */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}
.schedule-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--blue-100);
  transition: all 0.35s var(--ease-smooth);
}
.schedule-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}
.schedule-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary);
}
.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--blue-100);
  font-size: 0.9rem;
}
.schedule-row strong { color: var(--accent); font-weight: 600; }
.schedule-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -150px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .logo-mark {
  background: transparent;
  height: 38px;
  transition: all 0.3s var(--ease-smooth);
  border-radius: 0;
  box-shadow: none;
}
.footer-brand .logo-mark:hover {
  transform: scale(1.03);
}
.footer-brand .logo-mark img { height: 100%; }
.footer-brand .brand-text { color: #fff; }
.footer-brand > p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 22px;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s var(--ease-smooth);
}
.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(29,78,216,0.4);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.5);
  transition: all 0.25s var(--ease-smooth);
  display: inline-block;
}
.footer-links a:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

.footer-contact ul { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.5);
  transition: all 0.25s var(--ease-smooth);
}
.footer-contact li:hover { color: var(--accent-light); transform: translateX(3px); }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: rgba(255,255,255,0.35); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  position: relative;
  z-index: 1;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.35); transition: all 0.25s var(--ease-smooth); }
.footer-legal a:hover { color: var(--accent-light); }

/* ========== WHATSAPP FAB ========== */
.wa-fab {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.32);
  z-index: 1000;
  transition: all 0.35s var(--ease-smooth);
  animation: waPulse 2.5s ease infinite;
}
.wa-fab:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
}
@keyframes waPulse {
  0% { box-shadow: 0 4px 16px rgba(37,211,102,0.32), 0 0 0 0 rgba(37,211,102,0.25); }
  70% { box-shadow: 0 4px 16px rgba(37,211,102,0.32), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 16px rgba(37,211,102,0.32), 0 0 0 0 rgba(37,211,102,0); }
}

/* ========== GALLERY STRIP ========== */
.image-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.image-strip-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s var(--ease-smooth);
}
.image-strip-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}
.image-strip-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
/* ========== VALUES & GRID REFINEMENTS ========== */
.values {
  background: var(--bg-alt);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  justify-content: center;
}
.value-card {
  background: var(--surface);
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--blue-100);
  text-align: center;
  transition: all 0.4s var(--ease-smooth);
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}
.value-card h3 {
  color: var(--accent);
  margin-bottom: 16px;
  font-size: 1.25rem;
  font-weight: 700;
}
.value-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .image-strip { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .normativas-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: 92vh; }
  .hero-content { padding: 48px 0; }
  .hero-stats { gap: 28px; }
  .hero-scroll { display: none; }
  .hero::before { display: none; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-stats { flex-direction: column; gap: 18px; }

  .section { padding: 76px 0; }
  .section-header { margin-bottom: 44px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { margin-top: 24px; }

  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .image-strip { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }

  .normativas-grid { grid-template-columns: 1fr; }
  .normativas-visual img { height: 300px; }
  .normas-list { grid-template-columns: 1fr; }

  .method-card { grid-template-columns: 1fr; }
  .method-card:nth-child(even) { direction: ltr; }
  .method-visual img { min-height: 220px; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .cta-content { padding: 44px 28px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; letter-spacing: -0.8px; }
  .hero-lead { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { flex-direction: column; gap: 18px; }

  .section-title { font-size: 1.55rem; }
  .sectors-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .image-strip { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-form-card { padding: 24px; }
  .map-container { height: 280px; }

  .wa-fab { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-fab svg { width: 24px; height: 24px; }
}

/* ========== BLOG ENHANCEMENTS ========== */
.post-category-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-glow-light);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s var(--ease-smooth);
    border: 1px solid var(--accent-glow);
}
.post-category-tag:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.text-fire {
    color: var(--fire) !important;
}

.gradient-text {

    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Adjusting blog card height and flex */
.blog-card {
    display: flex;
    flex-direction: column;
}

.blog-main h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}
