/* ===================================================================
   TOTAL INGENIERÍA Y CONSTRUCCIONES S.A.S. - DESIGN SYSTEM & STYLES
   Inspired by modern construction layout & premium architectural branding
   =================================================================== */

:root {
  /* Color Palette */
  --primary-navy: #0f1c30;
  --navy-dark: #091220;
  --navy-light: #182a47;
  --navy-surface: #1e3355;
  
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-gold-light: #fef3c7;
  --accent-gold-glow: rgba(245, 158, 11, 0.35);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-gold: #b45309;

  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;

  --border-subtle: #e2e8f0;
  --border-focus: #f59e0b;
  --border-gold: rgba(245, 158, 11, 0.4);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 28, 48, 0.08);
  --shadow-lg: 0 12px 30px -4px rgba(15, 28, 48, 0.12);
  --shadow-gold: 0 8px 24px -4px rgba(245, 158, 11, 0.35);
  --shadow-float: 0 20px 40px -10px rgba(15, 28, 48, 0.18);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Container */
  --max-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-secondary);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ===================================================================
   TOP NOTIFICATION BAR
   =================================================================== */
.top-bar {
  background-color: var(--navy-dark);
  color: #94a3b8;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 50;
}

.top-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-item a:hover {
  color: var(--accent-gold);
}

.top-icon {
  width: 14px;
  height: 14px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.top-phone a {
  color: #f8fafc;
  font-weight: 600;
}

/* ===================================================================
   MAIN NAVBAR
   =================================================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(15, 28, 48, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background-color: rgba(9, 18, 32, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: #0f1c30;
  border: 1.5px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: #cbd5e1;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

.chevron-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.has-dropdown {
  position: relative;
}

.has-dropdown:hover .chevron-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--primary-navy);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 10px;
  padding: 10px 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 9px 18px;
  font-size: 0.88rem;
  color: #e2e8f0;
  transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
  padding-left: 22px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: 9999px;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--navy-dark);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background-color: #fbbf24;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-large {
  padding: 15px 32px;
  font-size: 1rem;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary-play {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary-play:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

.play-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon-wrap svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-gold);
  margin-left: 2px;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-outline-wa {
  background: transparent;
  color: #15803d;
  border: 1.5px solid #22c55e;
}

.btn-outline-wa:hover {
  background: #f0fdf4;
  color: #166534;
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: #ffffff;
  color: var(--navy-dark);
}

.btn-block {
  width: 100%;
}

/* ===================================================================
   HERO SECTION (BuildMax Styled Layout)
   =================================================================== */
/* ===================================================================
   HERO SECTION (Cinematic Video Background & 3 Pillars Layout)
   =================================================================== */
.hero-section {
  position: relative;
  background: #091220;
  color: #ffffff;
  padding: 80px 0 90px;
  overflow: hidden;
  min-height: 820px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Background Video with Sophisticated Dual Overlay */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.85; /* Opacidad equilibrada: visible y dinámico sin deslumbrar */
  filter: brightness(0.90) contrast(1.10);
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Filtro de opacidad azul marino equilibrado: reduce la nitidez excesiva y da textura cinematográfica */
  background: linear-gradient(
    90deg, 
    rgba(9, 18, 32, 0.70) 0%, 
    rgba(9, 18, 32, 0.52) 45%, 
    rgba(9, 18, 32, 0.42) 75%,
    rgba(9, 18, 32, 0.50) 100%
  );
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.badge-line {
  width: 32px;
  height: 3px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

.badge-text {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.35rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.85);
}

.highlight-text {
  color: var(--accent-gold);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #f1f5f9;
  max-width: 540px;
  margin-bottom: 36px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-mobile-trust {
  display: none;
}

/* Hero Visual & Image Card */
.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.hero-main-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 20px;
  border: 1.5px solid rgba(245, 158, 11, 0.25);
  display: block;
}

/* ===================================================================
   CAJA CONTENEDORA INTERACTIVA: NUESTROS 3 PILARES (Hover / Tap Mobile)
   =================================================================== */
.hero-pillars-widget {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 25;
  display: flex;
  flex-direction: column-reverse; /* El botón activador queda en la base y las cartas se abren hacia arriba */
  align-items: flex-end;
  gap: 12px;
}

/* Botón / Caja Activadora Elegante */
.pillars-widget-trigger {
  background: rgba(9, 18, 32, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(245, 158, 11, 0.55);
  border-radius: 50px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 16px rgba(245, 158, 11, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.pillars-widget-trigger:hover,
.hero-pillars-widget.open .pillars-widget-trigger {
  background: rgba(14, 26, 46, 0.98);
  border-color: var(--accent-gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}

/* Indicador con punto de luz pulsante */
.trigger-indicator {
  position: relative;
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trigger-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: block;
}

.trigger-pulse {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.45);
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% { transform: scale(0.6); opacity: 0.9; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.trigger-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.trigger-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245, 158, 11, 0.18);
  color: var(--accent-gold);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.trigger-chevron {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  stroke: var(--accent-gold);
}

.hero-pillars-widget:hover .trigger-chevron,
.hero-pillars-widget.open .trigger-chevron {
  transform: rotate(180deg);
}

/* Contenido Desplegable (Las 3 Tarjetas de Pilares) */
.pillars-drawer-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 350px;
  max-width: 90vw;
  opacity: 0;
  max-height: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), max-height 0.4s ease, visibility 0.35s;
  overflow: visible;
}

/* Revelado fluido con hover o con clase .open (Mobile Tap o Click) */
.hero-pillars-widget:hover .pillars-drawer-content,
.hero-pillars-widget.open .pillars-drawer-content {
  opacity: 1;
  max-height: 520px;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.pillar-floating-card {
  background: rgba(10, 20, 36, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(245, 158, 11, 0.38);
  border-left: 4px solid var(--accent-gold);
  border-radius: 12px;
  padding: 13px 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  transition: all var(--transition-base);
}

.pillar-floating-card:hover {
  transform: translateX(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 25px rgba(245, 158, 11, 0.3);
  background: rgba(15, 28, 48, 0.98);
}

.pillar-float-title {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.3;
}

.pillar-float-title::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
  flex-shrink: 0;
}

.pillar-float-desc {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0;
}

/* ===================================================================
   SERVICES QUICK CAROUSEL (Sobrepuesto en el Hero sin títulos)
   =================================================================== */
.services-quick-strip {
  position: relative;
  margin-top: -65px; /* Sobrepuestas en la base del Hero como en la referencia */
  z-index: 25;
  padding-bottom: 25px;
}

/* Viewport deslizable del Carrusel */
.services-carousel-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 4px 16px 4px;
}

.services-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.services-carousel-track {
  display: flex;
  gap: 18px;
  width: max-content;
  align-items: stretch;
}

/* Tarjetas individuales: Proporción rectangular elegante (280px ancho x 290px alto) */
.quick-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 22px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(9, 18, 32, 0.08);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  flex: 0 0 280px;
  width: 280px;
  scroll-snap-align: start;
  min-height: 290px; /* Formato rectangular vertical estilizado */
}

.quick-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: 0 18px 36px rgba(9, 18, 32, 0.14), 0 0 0 1px rgba(245, 158, 11, 0.25);
}

/* Cabecera con Ícono y Título alineados lado a lado con amplio espacio */
.quick-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.quick-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.quick-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-gold-hover);
  color: var(--accent-gold-hover);
}

.quick-card:hover .quick-card-icon {
  background: var(--accent-gold);
}

.quick-card:hover .quick-card-icon svg {
  stroke: var(--navy-dark);
  color: var(--navy-dark);
}

.quick-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
  line-height: 1.3;
}

/* Descripción fluida, con excelente lectura en formato rectangular */
.quick-card-desc {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
  min-height: 72px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pie de tarjeta estilizado */
.quick-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  margin-top: auto;
}

.quick-card-link-text {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary-navy);
  transition: color 0.2s ease;
}

.quick-card:hover .quick-card-link-text {
  color: var(--accent-gold-hover);
}

.quick-card-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.quick-card-btn svg {
  width: 13px;
  height: 13px;
  stroke: var(--text-muted);
  stroke-width: 2.2;
  fill: none;
}

.quick-card:hover .quick-card-btn {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: translateX(3px);
}

.quick-card:hover .quick-card-btn svg {
  stroke: var(--navy-dark);
}

/* Barra de Navegación Inferior Centrada (Flechas al lado y lado de los Dots) */
.carousel-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border-subtle);
  background: #ffffff;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.carousel-arrow:hover {
  background: var(--primary-navy);
  color: var(--accent-gold);
  border-color: var(--primary-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(9, 18, 32, 0.2);
}

/* Indicadores de Paginación (Dots) */
.carousel-dots-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  width: 22px;
  border-radius: 10px;
  background: var(--accent-gold);
}

/* ===================================================================
   ABOUT SECTION ("We Build Quality and Lasting Value")
   =================================================================== */
.about-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 60px;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.about-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* Orange/Yellow Experience Box matching BuildMax */
.experience-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--accent-gold);
  border-radius: 16px 40px 16px 16px;
  padding: 24px 28px;
  color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
  display: flex;
  flex-direction: column;
}

.exp-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy-dark);
}

.exp-text {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 4px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold-hover);
  margin-bottom: 12px;
}

.label-dash {
  width: 24px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.justify-center {
  justify-content: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.45rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.about-desc {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feat-icon-yellow {
  background: var(--accent-gold-light);
}

.feat-icon-yellow svg {
  width: 22px;
  height: 22px;
  fill: var(--accent-gold-hover);
}

.feat-details h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feat-details p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ===================================================================
   HISTORY & NUMBERS (BuildMax 3-Col Layout & Gold Stats Bar)
   =================================================================== */
.history-section {
  padding: 90px 0 100px;
  background-color: var(--bg-alt);
}

.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 50px;
}

.history-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.history-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.milestone-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.milestone-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.history-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all var(--transition-fast);
}

.history-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: transform var(--transition-fast);
}

.history-link:hover {
  color: var(--accent-gold-hover);
}

.history-link:hover svg {
  transform: translateX(4px);
}

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

.history-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.history-image-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 28, 48, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 12px 18px;
  font-size: 0.85rem;
  border-top: 2px solid var(--accent-gold);
}

.history-image-banner strong {
  color: var(--accent-gold);
}

/* Yellow Banner / Stats Counter matching BuildMax */
.stats-banner {
  background: var(--accent-gold);
  border-radius: 16px;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: var(--shadow-gold);
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(15, 28, 48, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--navy-dark);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1;
}

.stat-number::after {
  content: '+';
}

.stat-box:last-child .stat-number::after {
  content: '%';
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(15, 28, 48, 0.85);
  margin-top: 4px;
}

/* ===================================================================
   DETAILED SERVICES SECTION (Interactive Tabbed Showcase)
   =================================================================== */
.services-detail-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

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

.services-nav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 40px 0 45px;
}

.svc-tab {
  background: var(--bg-alt);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.svc-tab:hover {
  background: #e2e8f0;
  color: var(--text-primary);
}

.svc-tab.active {
  background: var(--navy-dark);
  color: #ffffff;
  border-color: var(--navy-dark);
  box-shadow: 0 4px 12px rgba(15, 28, 48, 0.25);
}

.svc-tab-panels {
  position: relative;
}

.svc-panel {
  display: none;
  animation: fadeInPanel 0.4s ease forwards;
}

.svc-panel.active {
  display: block;
}

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

.svc-panel-content {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px;
}

.badge-accent {
  display: inline-block;
  background: var(--accent-gold-light);
  color: var(--accent-gold-hover);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.svc-panel-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.svc-panel-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.svc-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 30px;
}

.svc-checklist li {
  font-size: 0.9rem;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.chk-icon {
  color: #16a34a;
  font-weight: 800;
  flex-shrink: 0;
}

.svc-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.svc-panel-img-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.panel-feature-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.img-caption-card {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 28, 48, 0.92);
  backdrop-filter: blur(8px);
  padding: 14px 20px;
  color: #cbd5e1;
  font-size: 0.85rem;
  border-top: 2px solid var(--accent-gold);
}

.img-caption-card strong {
  color: #ffffff;
}

/* ===================================================================
   WHY CHOOSE US VIDEO / CALLOUT BANNER (BuildMax Dark CTA)
   =================================================================== */
.why-choose-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 110px 0;
  position: relative;
}

.video-play-pulse {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-gold);
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.video-play-pulse:hover {
  transform: scale(1.08);
}

.play-arrow svg {
  width: 28px;
  height: 28px;
  fill: var(--navy-dark);
  margin-left: 4px;
}

.pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  animation: pulseOut 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

.ring-2 {
  animation-delay: 0.8s;
}

@keyframes pulseOut {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

.why-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.why-subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.why-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.why-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
}

.pill-icon {
  color: var(--accent-gold);
}

.why-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.why-buttons .btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ===================================================================
   CLIENTS SECTION (Page 8 Real Clients Grid & Logo Showcase)
   =================================================================== */
.clients-section {
  padding: 100px 0;
  background-color: var(--bg-alt);
}

/* Continuous Brand Logo Ticker */
.clients-ticker-wrap {
  width: 100%;
  overflow: hidden;
  margin: 36px 0 20px;
  padding: 18px 0;
  position: relative;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 14px;
}

.clients-ticker-wrap::before,
.clients-ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 2;
  pointer-events: none;
}

.clients-ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-alt), transparent);
}

.clients-ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-alt), transparent);
}

.clients-ticker-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: clientsTicker 30s linear infinite;
}

.clients-ticker-track:hover {
  animation-play-state: paused;
}

@keyframes clientsTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  min-width: 130px;
  padding: 6px 14px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-base);
}

.ticker-logo-item:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ticker-logo-item img {
  max-height: 42px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ticker-logo-item.ticker-logo-dark {
  background: var(--navy-dark);
  border-color: rgba(255, 255, 255, 0.12);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.client-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-base);
}

.client-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

/* Real Client Logos Showcase Box */
.client-logo-box {
  width: 100%;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(11, 26, 48, 0.04);
  transition: all var(--transition-base);
}

.client-card:hover .client-logo-box {
  border-color: var(--accent-gold);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.12);
}

.client-real-logo {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.client-card:hover .client-real-logo {
  transform: scale(1.05);
}

/* Paseo San Rafael white transparent logo: stylish dark navy badge for crisp visibility */
.client-logo-box.box-dark-contrast {
  background: var(--navy-dark);
  border-color: rgba(255, 255, 255, 0.12);
}

.client-card:hover .client-logo-box.box-dark-contrast {
  background: #071120;
  border-color: var(--accent-gold);
}

.client-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold-hover);
  background: var(--accent-gold-light);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.client-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.client-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===================================================================
   INTERACTIVE QUOTE ESTIMATOR SECTION
   =================================================================== */
.calculator-section {
  padding: 90px 0;
  background-color: var(--bg-white);
}

.calculator-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid var(--border-gold);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  max-width: 980px;
  margin: 0 auto;
}

.calc-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 12px;
}

.calc-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 650px;
  margin: 0 auto 36px;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.estimate-summary-box {
  background: var(--navy-dark);
  border-radius: 16px;
  padding: 24px 28px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #ffffff;
}

.est-label {
  font-size: 0.88rem;
  color: #cbd5e1;
  display: block;
}

.est-val {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent-gold);
  display: block;
  margin: 4px 0;
}

.est-note {
  font-size: 0.75rem;
  color: #94a3b8;
  display: block;
}

.est-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wa-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ===================================================================
   CONTACT & LEADERSHIP SECTION (Johanna Grass Card)
   =================================================================== */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-alt) 0%, #e2e8f0 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-panel-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact-panel-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Leadership Card for Johanna Grass */
.executive-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-gold);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.exec-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  border: 2px solid var(--accent-gold);
  flex-shrink: 0;
}

.exec-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.exec-role {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold-hover);
}

.exec-company {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.c-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-gold-hover);
}

.c-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.c-text p, .c-text a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.c-text a:hover {
  color: var(--accent-gold-hover);
  text-decoration: underline;
}

/* Contact Form Panel */
.contact-form-panel {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 36px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.form-panel-header {
  margin-bottom: 24px;
}

.form-panel-header h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-panel-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background-color: var(--navy-dark);
  color: #94a3b8;
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1.5px solid var(--accent-gold);
  object-fit: cover;
  background: #0f1c30;
}

.f-brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.f-brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
}

.footer-about-text {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 24px;
  color: #cbd5e1;
}

.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cert-pill {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 4px 10px;
  border-radius: 6px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: all var(--transition-fast);
}

.footer-links li a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.footer-contact-block strong {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-links a:hover {
  color: var(--accent-gold);
}

/* ===================================================================
   FLOATING WHATSAPP
   =================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.wa-btn-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25d366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.wa-btn-circle svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.floating-whatsapp:hover .wa-btn-circle {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

.wa-tooltip {
  background: var(--navy-dark);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-gold);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-base);
}

.floating-whatsapp:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ===================================================================
   MODALS & OVERLAYS
   =================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9, 18, 32, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-float);
  transform: translateY(20px) scale(0.96);
  transition: all var(--transition-base);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--text-primary);
}

.modal-header {
  margin-bottom: 22px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.modal-video-card {
  max-width: 680px;
  padding: 30px;
}

.video-mock-container {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin: 16px 0;
}

.video-mock-poster {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.video-mock-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 28, 48, 0.4) 0%, rgba(15, 28, 48, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #ffffff;
}

.video-mock-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.video-mock-text {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.video-mock-meta {
  font-size: 0.82rem;
  color: #cbd5e1;
}

/* ===================================================================
   TOAST NOTIFICATION
   =================================================================== */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--navy-dark);
  color: #ffffff;
  border-left: 4px solid var(--accent-gold);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 300;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  max-width: 380px;
}

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

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--navy-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-body strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.toast-body p {
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* ===================================================================
   RESPONSIVE DESIGN (Breakpoints)
   =================================================================== */
@media (max-width: 1100px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .history-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .history-col-right {
    grid-column: span 2;
  }

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

@media (max-width: 900px) {
  .top-bar {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-main-img {
    height: 380px;
  }

  .hero-pillars-widget {
    position: static;
    margin-top: 16px;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .pillars-widget-trigger {
    width: 100%;
    justify-content: space-between;
    border-radius: 12px;
    padding: 13px 18px;
  }

  .pillars-drawer-content {
    width: 100%;
    max-width: 100%;
  }

  /* Responsive Services Carousel */
  .services-quick-strip {
    margin-top: 24px;
    padding-bottom: 20px;
  }

  .quick-card {
    flex: 0 0 82vw;
    max-width: 320px;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img {
    height: 380px;
  }

  .experience-badge {
    left: 10px;
    bottom: -20px;
  }

  .svc-panel-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .estimate-summary-box {
    flex-direction: column;
    align-items: stretch;
  }

  .est-actions {
    flex-direction: column;
  }

  .est-actions .btn {
    width: 100%;
  }

  .hamburger-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100%;
    height: calc(100vh - 78px);
    background: var(--navy-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
  }

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

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 16px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    width: 100%;
    margin-top: 6px;
  }

  .btn-quote-nav {
    display: none;
  }
}

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

  .section-title {
    font-size: 1.95rem;
  }

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

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

  .history-col-right {
    grid-column: span 1;
  }

  .stats-banner {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .about-features-grid {
    grid-template-columns: 1fr;
  }

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

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

  .calculator-card {
    padding: 24px 18px;
  }

  .contact-form-panel {
    padding: 24px 18px;
  }

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

/* ===================================================================
   INNER PAGES DESIGN SYSTEM (Servicios, Nosotros, Proyectos, Contacto)
   =================================================================== */

.page-hero {
  position: relative;
  background: linear-gradient(135deg, #091220 0%, #0f1c30 50%, #182a47 100%);
  padding: 130px 0 70px 0;
  overflow: hidden;
  border-bottom: 2px solid rgba(245, 158, 11, 0.2);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(rgba(245, 158, 11, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 50%);
  background-size: 32px 32px, 100% 100%;
  pointer-events: none;
}

.page-hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--accent-gold);
}

.breadcrumbs span.separator {
  color: var(--accent-gold);
}

.breadcrumbs span.current {
  color: var(--accent-gold);
  font-weight: 600;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 860px;
}

.page-hero-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.65;
  max-width: 760px;
  margin-bottom: 26px;
}

.page-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #f8fafc;
  backdrop-filter: blur(8px);
}

.hero-pill svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-gold);
}

/* Category Filter Buttons */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  background: var(--bg-alt);
  color: var(--primary-navy);
  border-color: var(--accent-gold);
}

.filter-btn.active {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(15, 28, 48, 0.15);
}

/* Detailed Service Cards Grid */
.services-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.catalog-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float);
  border-color: var(--accent-gold);
}

.catalog-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.catalog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.catalog-card:hover .catalog-img {
  transform: scale(1.06);
}

.catalog-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 28, 48, 0.88);
  backdrop-filter: blur(6px);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.catalog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.catalog-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.catalog-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.catalog-specs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.catalog-specs-list li {
  font-size: 0.85rem;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.catalog-specs-list .spec-check {
  color: var(--accent-gold);
  font-weight: bold;
}

.catalog-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.catalog-warranty {
  font-size: 0.8rem;
  color: var(--text-gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Technical Comparison Table */
.tech-table-wrap {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.tech-table th {
  background: var(--primary-navy);
  color: #ffffff;
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
}

.tech-table td {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.tech-table tr:hover td {
  background: var(--bg-alt);
}

.tech-table .highlight-col {
  color: var(--accent-gold-hover);
  font-weight: 600;
}

/* Workflow Step Strip */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.process-card {
  background: #ffffff;
  padding: 28px 22px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-base);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.process-step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(245, 158, 11, 0.25);
  line-height: 1;
  margin-bottom: 12px;
}

.process-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.process-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Projects Grid Styles */
.projects-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.project-case-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.project-case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float);
  border-color: var(--accent-gold);
}

.project-img-header {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.project-img-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-case-card:hover .project-img-header img {
  transform: scale(1.05);
}

.project-tag-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent-gold);
  color: var(--primary-navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.project-meta-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(9, 18, 32, 0.9), transparent);
  padding: 12px 18px;
  color: #ffffff;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
}

.project-case-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-client-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.project-scope-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--bg-alt);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 0.82rem;
}

.project-spec-item strong {
  color: var(--primary-navy);
  display: block;
}

.project-spec-item span {
  color: var(--text-muted);
}

/* Featured Case Study Card */
.featured-case-box {
  background: linear-gradient(135deg, #0f1c30 0%, #1e3355 100%);
  border-radius: 16px;
  padding: 40px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: var(--shadow-lg);
  margin-bottom: 60px;
}

.featured-case-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--accent-gold);
}

/* About Us Value Cards & Team Cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.value-card {
  background: #ffffff;
  padding: 30px 24px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-gold-light);
  color: var(--accent-gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Policies & Certifications Grid */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.cert-card {
  background: var(--primary-navy);
  color: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: var(--shadow-md);
}

.cert-card h4 {
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.cert-card p {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto 60px auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--accent-gold);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-arrow {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
  fill: var(--accent-gold);
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base) ease-out;
  padding: 0 22px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* Contact Grid & Map Box */
.contact-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-channel-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.contact-channel-card:hover {
  border-color: var(--accent-gold);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.channel-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--navy-light);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.channel-info h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.channel-info p, .channel-info a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.channel-info a:hover {
  color: var(--accent-gold);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .featured-case-box {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .featured-case-img {
    height: 240px;
  }
  .contact-hub-grid {
    grid-template-columns: 1fr;
  }
  .services-catalog-grid,
  .projects-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   PANELES CON ICONOS (reemplazan las fotografías)
   =================================================================== */
.icon-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--accent-gold);
  background:
    radial-gradient(circle at 25% 20%, rgba(245, 158, 11, 0.16), transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(56, 189, 248, 0.10), transparent 50%),
    linear-gradient(145deg, var(--navy-light) 0%, var(--primary-navy) 60%, var(--navy-dark) 100%);
}

/* Cuadrícula tipo plano técnico */
.icon-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.icon-main {
  position: relative;
  z-index: 2;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.10);
  border: 2px solid var(--border-gold);
  box-shadow: 0 0 0 14px rgba(245, 158, 11, 0.06), 0 0 60px var(--accent-gold-glow);
}

.icon-main svg {
  width: 84px;
  height: 84px;
}

.icon-chip {
  position: absolute;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.28);
  backdrop-filter: blur(4px);
}

.icon-chip svg {
  width: 26px;
  height: 26px;
}

.chip-1 { top: 9%;  left: 9%; }
.chip-2 { top: 9%;  right: 9%; }
.chip-3 { top: 42%; left: 5%; }
.chip-4 { top: 42%; right: 5%; }
.chip-5 { top: 70%; left: 12%; }
.chip-6 { top: 70%; right: 12%; }

/* Paneles con leyenda inferior: subir el icono para que no lo tape */
.icon-panel.has-caption {
  padding-bottom: 64px;
}

.icon-panel.has-caption .icon-main {
  width: 148px;
  height: 148px;
}

.icon-panel.has-caption .icon-main svg {
  width: 74px;
  height: 74px;
}

.icon-panel.history-img {
  padding-bottom: 44px;
}

.icon-panel.history-img .icon-main {
  width: 100px;
  height: 100px;
  box-shadow: 0 0 0 10px rgba(245, 158, 11, 0.06), 0 0 40px var(--accent-gold-glow);
}

.icon-panel.history-img .icon-main svg {
  width: 52px;
  height: 52px;
}

/* Hero / About: mismos radios y bordes que tenía la foto */
.icon-panel.hero-main-img {
  border-radius: 20px;
  border: 1.5px solid rgba(245, 158, 11, 0.25);
}

.icon-panel.about-img {
  border-radius: 20px;
}

/* Póster del video */
.icon-panel.video-mock-poster .icon-main {
  width: 110px;
  height: 110px;
  margin-bottom: 70px;
}

.icon-panel.video-mock-poster .icon-main svg {
  width: 52px;
  height: 52px;
  fill: currentColor;
  stroke: none;
  margin-left: 5px;
}

.icon-panel.video-mock-poster .icon-chip {
  width: 42px;
  height: 42px;
}

.icon-panel.video-mock-poster .chip-1 { top: 14%; left: 14%; }
.icon-panel.video-mock-poster .chip-2 { top: 14%; right: 14%; }
.icon-panel.video-mock-poster .chip-3 { top: 14%; left: 50%; margin-left: -21px; display: none; }

@media (max-width: 1024px) {
  .icon-main { width: 136px; height: 136px; }
  .icon-main svg { width: 68px; height: 68px; }
  .icon-chip { width: 44px; height: 44px; }
  .icon-chip svg { width: 22px; height: 22px; }
}

@media (max-width: 600px) {
  .panel-feature-img.icon-panel { height: 300px; }
  .icon-panel.has-caption .icon-main { width: 112px; height: 112px; }
  .icon-panel.has-caption .icon-main svg { width: 56px; height: 56px; }
  .icon-chip { width: 38px; height: 38px; border-radius: 10px; }
  .icon-chip svg { width: 19px; height: 19px; }
}
