/* ===================================================================
   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: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Open 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 h3, .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; }
}

/* ===================================================================
   PROYECTOS: obras reales con galería de fotos
   =================================================================== */
.featured-obra-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15;
  margin: 14px 0 10px;
  color: #ffffff;
}
.featured-obra-desc { color: #cbd5e1; font-size: 1rem; line-height: 1.6; margin-bottom: 18px; }
.featured-obra-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.featured-obra-pills .hero-pill svg { width: 14px; height: 14px; fill: var(--accent-gold); }

/* Mosaico de 3 fotos en la obra destacada */
.featured-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 380px;
}
.featured-mosaic button {
  padding: 0; border: 2px solid rgba(245, 158, 11, 0.35); border-radius: 12px;
  overflow: hidden; cursor: zoom-in; background: var(--navy-dark);
  transition: border-color var(--transition-fast);
}
.featured-mosaic button:hover { border-color: var(--accent-gold); }
.featured-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.featured-mosaic button:hover img { transform: scale(1.04); }
.featured-mosaic-main { grid-row: 1 / 3; }

/* Portada de cada tarjeta: es un botón que abre la galería */
.obra-cover {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  background: var(--navy-dark); text-align: left; font: inherit;
}
.project-meta-strip span { display: inline-flex; align-items: center; gap: 6px; }
.project-meta-strip svg { width: 14px; height: 14px; fill: var(--accent-gold); flex: none; }

/* Tira de miniaturas */
.obra-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.obra-thumb {
  position: relative; padding: 0; border: 1px solid var(--border-subtle); border-radius: 8px;
  overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--bg-alt);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.obra-thumb:hover { border-color: var(--accent-gold); transform: translateY(-2px); }
.obra-thumb img { width: 100%; height: 100%; object-fit: cover; }
.obra-thumb-mas {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(9, 18, 32, 0.72); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem;
}

.btn { border: 0; cursor: pointer; font-family: var(--font-body); }
.btn-sm { padding: 10px 18px; font-size: 0.86rem; }
.btn-secondary {
  background: #ffffff; color: var(--primary-navy);
  border: 1.5px solid var(--border-subtle);
}
.btn-secondary:hover { border-color: var(--accent-gold); color: var(--text-gold); }
.obra-acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.obra-acciones .btn svg { width: 16px; height: 16px; fill: currentColor; }
.obra-acciones .btn-sm { flex: 1 1 auto; justify-content: center; }

/* Visor de fotos a pantalla completa */
.obra-visor {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; flex-direction: column;
  background: #060c16; color: #fff;
}
.obra-visor[hidden] { display: none; }
.obra-visor-top { display: flex; align-items: center; gap: 16px; padding: 14px 20px; }
.obra-visor-titulo { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; margin: 0; flex: 1; color: #fff; }
.obra-visor-contador { color: var(--accent-gold); font-weight: 700; font-size: 0.95rem; }
.obra-visor-stage { flex: 1; min-height: 0; position: relative; display: flex; align-items: center; justify-content: center; padding: 0 64px; }
.obra-visor-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.obra-visor-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 2rem; line-height: 1;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast);
}
.obra-visor-btn:hover { background: var(--accent-gold); color: var(--primary-navy); }
.obra-visor-prev, .obra-visor-next { position: absolute; top: 50%; transform: translateY(-50%); }
.obra-visor-prev { left: 10px; }
.obra-visor-next { right: 10px; }
.obra-visor-tira { display: flex; gap: 8px; padding: 12px 20px 18px; overflow-x: auto; justify-content: safe center; }
.obra-visor-tira button { flex: none; width: 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; opacity: 0.55; background: none; }
.obra-visor-tira button[aria-current="true"] { border-color: var(--accent-gold); opacity: 1; }
.obra-visor-tira img { width: 100%; height: 100%; object-fit: cover; }
body.visor-abierto { overflow: hidden; }

@media (max-width: 900px) {
  .featured-mosaic { height: 300px; }
}
@media (max-width: 600px) {
  .projects-gallery-grid { grid-template-columns: 1fr; }
  .featured-mosaic { height: 240px; }
  .obra-visor-stage { padding: 0 8px; }
  .obra-visor-prev, .obra-visor-next { width: 40px; height: 40px; background: rgba(6, 12, 22, 0.6); }
  .obra-visor-tira { display: none; }
}

/* Espacio entre el banner y el contenido de Proyectos */
.proyectos-section { padding: 64px 0 80px; }
@media (max-width: 600px) { .proyectos-section { padding: 40px 0 56px; } }

/* Carrusel de obras destacadas: las diapositivas se apilan en la misma celda */
.featured-carrusel { display: grid; margin-bottom: 60px; }
.featured-slide {
  grid-area: 1 / 1;
  margin-bottom: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.featured-slide.is-active { opacity: 1; visibility: visible; }
.carrusel-nav {
  grid-area: 2 / 1;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 20px;
}
.carrusel-dot {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px;
  background: #cbd5e1; cursor: pointer;
  transition: width var(--transition-base), background var(--transition-base);
}
.carrusel-dot.is-active { width: 30px; background: var(--accent-gold); }
.carrusel-flecha {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border-subtle); background: #fff; color: var(--primary-navy);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.carrusel-flecha:hover { border-color: var(--accent-gold); color: var(--text-gold); }

/* Logo sin marco, como en el rediseño */
.logo-wrapper { width: 46px; height: 46px; border: 0; border-radius: 0; background: transparent; }
.logo-img { object-fit: contain; }
.brand-name {
  font-family: 'Archivo', var(--font-heading);
  font-stretch: 85%; font-weight: 750; font-size: 1.2rem; letter-spacing: 0;
}
.brand-sub { font-family: 'Archivo', var(--font-body); font-stretch: 90%; font-size: 0.8rem; font-weight: 500; letter-spacing: 0; }
.footer-logo-img { border: 0; border-radius: 0; background: transparent; object-fit: contain; }
.f-brand-name { font-family: 'Archivo', var(--font-heading); font-stretch: 85%; letter-spacing: 0; }
.f-brand-sub { font-family: 'Archivo', var(--font-body); font-stretch: 90%; letter-spacing: 0; }

/* ===================================================================
   HOME estilo induarq: slider de obras, tarjetas con foto, carrusel
   de proyectos y espacios compactos
   =================================================================== */

/* --- Hero compacto: menos aire entre el menú y el título --- */
.hero-section { min-height: 0; padding: 56px 0 120px; }
.hero-title { font-size: clamp(2.1rem, 4.2vw, 3.1rem); margin-bottom: 18px; }
.hero-subtitle { margin-bottom: 28px; }
.hero-badge { margin-bottom: 14px; }

/* --- Slider de fondo (fotos reales) --- */
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transform: scale(1.04);
  transition: opacity 1.2s ease, transform 6s ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slider .hero-video-overlay {
  background: linear-gradient(90deg, rgba(9, 18, 32, 0.88) 0%, rgba(9, 18, 32, 0.62) 50%, rgba(9, 18, 32, 0.25) 100%);
}

/* --- Rótulo de la obra visible (columna derecha del hero) --- */
.hero-visual { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; align-self: end; gap: 14px; }
.hero-slide-card {
  display: grid; min-width: 300px; max-width: 360px;
  background: rgba(9, 18, 32, 0.78); backdrop-filter: blur(8px);
  border-left: 4px solid var(--accent-gold); border-radius: 10px;
  padding: 16px 20px; color: #fff; text-decoration: none;
  transition: background var(--transition-fast);
}
.hero-slide-card:hover { background: rgba(9, 18, 32, 0.92); }
.hero-slide-info { grid-area: 1 / 1; opacity: 0; transition: opacity 0.6s ease; }
.hero-slide-info.is-active { opacity: 1; }
.hero-slide-tipo { display: block; color: var(--accent-gold); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.hero-slide-info strong { font-family: var(--font-heading); font-size: 1.15rem; line-height: 1.25; }
.hero-slide-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 0.85rem; font-weight: 600; color: #cbd5e1; }
.hero-slide-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.hero-slide-card:hover .hero-slide-link { color: var(--accent-gold); }
.hero-slide-nav { display: flex; gap: 8px; }
.hero-slide-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, 0.45); cursor: pointer; transition: width var(--transition-base), background var(--transition-base); }
.hero-slide-dot.is-active { width: 28px; background: var(--accent-gold); }

/* --- Tarjetas de servicio con foto --- */
.quick-card { padding: 0; overflow: hidden; min-height: 0; }
.quick-card-media { height: 130px; overflow: hidden; background: var(--navy-dark); }
.quick-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.quick-card:hover .quick-card-media img { transform: scale(1.07); }
.quick-card-media--sin-foto {
  background:
    radial-gradient(circle at 30% 20%, rgba(245, 158, 11, 0.25), transparent 55%),
    linear-gradient(135deg, #0f1c30, #1e3355);
}
.quick-card-header { padding: 0 20px; margin: -24px 0 10px; position: relative; align-items: flex-end; }
.quick-card-icon { background: var(--accent-gold); border: 3px solid #fff; box-shadow: 0 6px 14px rgba(9, 18, 32, 0.2); }
.quick-card-icon svg { stroke: var(--navy-dark); color: var(--navy-dark); }
.quick-card-title { padding-bottom: 2px; }
.quick-card-desc { padding: 0 20px; -webkit-line-clamp: 2; min-height: 0; margin-bottom: 12px; }
.quick-card-footer { margin: 0 20px; padding: 10px 0 14px; }

/* --- Carrusel de proyectos ejecutados --- */
.obras-home { padding: 48px 0 56px; background: var(--bg-white); }
.obras-home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.obras-home-head .section-title { margin-bottom: 0; }
.obras-home-nav { display: flex; align-items: center; gap: 10px; }
.obras-home-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 4px 2px 12px;
}
.obras-home-track::-webkit-scrollbar { display: none; }
.obra-slide {
  scroll-snap-align: start; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border-subtle); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-md); text-decoration: none; color: inherit;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.obra-slide:hover { transform: translateY(-5px); box-shadow: var(--shadow-float); border-color: var(--accent-gold); }
.obra-slide-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.obra-slide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.obra-slide:hover .obra-slide-img img { transform: scale(1.06); }
.obra-slide-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; border-top: 3px solid var(--accent-gold); }
.obra-slide-nombre { font-family: var(--font-heading); font-size: 1.05rem; color: var(--primary-navy); line-height: 1.25; }
.obra-slide-lugar { display: inline-flex; align-items: center; gap: 5px; font-size: 0.84rem; color: var(--text-muted); }
.obra-slide-lugar svg { width: 13px; height: 13px; fill: var(--accent-gold); }
.obra-slide-tipo { font-size: 0.84rem; color: var(--text-secondary); }
.obra-slide-tipo b { color: var(--primary-navy); }

/* --- Espacios compactos en todo el home --- */
.services-quick-strip { padding-bottom: 8px; }
.about-section, .services-detail-section, .clients-section, .contact-section { padding: 64px 0; }
.history-section { padding: 56px 0 64px; }
.why-choose-banner { padding: 72px 0; }

@media (max-width: 1100px) {
  .obras-home-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
}
@media (max-width: 900px) {
  .hero-section { padding: 36px 0 100px; }
  .hero-visual { align-items: stretch; align-self: auto; }
  .hero-slide-card { max-width: none; min-width: 0; }
  .hero-slide-nav { justify-content: center; }
  .obras-home-track { grid-auto-columns: 46%; }
}
@media (max-width: 640px) {
  .hero-section { padding: 28px 0 96px; }
  .hero-subtitle { font-size: 0.97rem; line-height: 1.6; }
  .obras-home { padding: 36px 0 40px; }
  .obras-home-track { grid-auto-columns: 82%; gap: 14px; }
  .obras-home-nav .carousel-arrow { display: none; }
  .about-section, .services-detail-section, .clients-section, .contact-section { padding: 44px 0; }
  .history-section { padding: 40px 0 44px; }
  .why-choose-banner { padding: 52px 0; }
}
@media (max-width: 900px) {
  .hero-visual { order: 2; margin-top: 22px; }
  .hero-slide-card { padding: 12px 16px; }
  .hero-slide-info strong { font-size: 1.02rem; }
}

/* ===================================================================
   PROPIEDAD HORIZONTAL (propiedad-horizontal.html)
   =================================================================== */
.ph-hero { background-size: cover; background-position: center; }
.ph-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ph-hero-cta .btn svg, .featured-case-box .btn svg { flex: none; }
.ph-section { padding: 64px 0; background: var(--bg-white); }
.ph-section--gray { background: var(--bg-alt); }
.ph-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.ph-text { color: var(--text-secondary); font-size: 1.02rem; line-height: 1.7; margin-bottom: 18px; }
.ph-check-list { list-style: none; display: grid; gap: 10px; }
.ph-check-list li { display: flex; gap: 10px; color: var(--text-primary); font-weight: 500; }
.ph-intro-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ph-intro-fotos img { width: 100%; height: 340px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-lg); }
.ph-intro-fotos img:last-child { margin-top: 40px; }
.ph-footer { justify-content: flex-end; }
.ph-obras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ph-cta-text { color: #cbd5e1; margin-bottom: 22px; }
@media (max-width: 900px) {
  .ph-intro { grid-template-columns: 1fr; gap: 28px; }
  .ph-intro-fotos img { height: 220px; }
  .ph-obras { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ph-section { padding: 44px 0; }
  .ph-obras { grid-template-columns: 1fr; }
  .ph-intro-fotos img:last-child { margin-top: 20px; }
}

/* ===================================================================
   PROPIEDAD HORIZONTAL v2 — bloques alternados con collage y efectos
   =================================================================== */
/* --- Hero con formulario flotante --- */
.ph2-hero { position: relative; overflow: hidden; background: var(--navy-dark); color: #fff; padding: 56px 0 64px; }
.ph2-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transform: scale(1.06); animation: ph2Zoom 18s ease-out forwards; }
@keyframes ph2Zoom { to { transform: scale(1); } }
.ph2-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(9,18,32,0.95) 15%, rgba(9,18,32,0.55) 70%, rgba(9,18,32,0.75)); }
.ph2-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.ph2-h1 {
  font-family: var(--font-heading); font-weight: 800; line-height: 0.95; letter-spacing: -0.03em;
  font-size: clamp(3rem, 7.5vw, 6rem); margin: 10px 0 18px;
  background: linear-gradient(180deg, #fff 55%, #cbd5e1); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ph2-lema { display: inline-block; color: var(--navy-dark); background: var(--accent-gold); font-weight: 700; font-size: 0.95rem; padding: 7px 14px; border-radius: 6px; margin-bottom: 18px; }
.ph2-intro { color: #cbd5e1; font-size: 1.08rem; max-width: 48ch; line-height: 1.6; }
.ph2-form {
  background: rgba(255,255,255,0.97); color: var(--text-primary); border-radius: 18px; padding: 26px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35); border-top: 5px solid var(--accent-gold);
  display: grid; gap: 6px; animation: ph2Sube 0.8s 0.2s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes ph2Sube { from { opacity: 0; transform: translateY(30px); } }
.ph2-form h2 { font-family: var(--font-heading); font-size: 1.45rem; color: var(--primary-navy); margin-bottom: 8px; }
.ph2-form label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-top: 6px; }
.ph2-form input, .ph2-form select { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--border-subtle); border-radius: 10px; font: inherit; background: #fff; }
.ph2-form input:focus, .ph2-form select:focus { outline: none; border-color: var(--accent-gold); box-shadow: 0 0 0 3px var(--accent-gold-glow); }
.ph2-form .btn { margin-top: 12px; width: 100%; border: 0; cursor: pointer; }
.ph2-form-nota { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }
.ph2-form-nota a { color: var(--text-gold); font-weight: 700; }

/* --- Barra de accesos fija --- */
.ph-accesos { position: sticky; top: 78px; z-index: 40; background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-subtle); box-shadow: 0 6px 20px rgba(9,18,32,0.06); }
.ph-accesos-track { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.ph-accesos-track::-webkit-scrollbar { display: none; }
.ph-acceso { flex: none; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; color: var(--text-secondary); text-decoration: none; transition: background var(--transition-fast), color var(--transition-fast); }
.ph-acceso:hover { color: var(--primary-navy); background: var(--bg-alt); }
.ph-acceso.is-active { background: var(--primary-navy); color: #fff; }

/* --- Bloques alternados --- */
.ph-bloque { position: relative; padding: 80px 0; overflow: hidden; scroll-margin-top: 140px; }
.ph-bloque:nth-child(even) { background: var(--bg-alt); }
.ph-marca {
  position: absolute; top: 18px; right: -10px; z-index: 0; pointer-events: none; white-space: nowrap;
  font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; line-height: 1;
  font-size: clamp(3.5rem, 11vw, 9rem); color: transparent; -webkit-text-stroke: 1.5px rgba(15, 28, 48, 0.08);
}
.ph-bloque--inv .ph-marca { right: auto; left: -10px; }
.ph-bloque-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.ph-bloque--inv .ph-bloque-media { order: 2; }

.ph-collage { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 440px; }
.ph-collage::before { content: ""; position: absolute; left: -18px; bottom: -18px; width: 45%; height: 55%; border: 3px solid var(--accent-gold); border-radius: 18px; z-index: -1; }
.ph-bloque--inv .ph-collage::before { left: auto; right: -18px; }
.ph-foto { padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--navy-dark); box-shadow: var(--shadow-lg); }
.ph-foto img { width: 100%; height: 115%; object-fit: cover; transform: translateY(var(--py, 0px)) scale(1.02); transition: transform 0.6s cubic-bezier(.2,.7,.2,1), filter 0.3s; }
.ph-foto:hover img { transform: translateY(var(--py, 0px)) scale(1.1); filter: brightness(1.08); }
.ph-foto--main { grid-row: 1 / 3; }
.ph-collage--iconos { grid-template-columns: 1fr 1fr; }
.ph-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border-radius: 16px;
  background: radial-gradient(circle at 30% 20%, rgba(245,158,11,0.22), transparent 60%), linear-gradient(135deg, #0f1c30, #1e3355);
  color: var(--accent-gold); box-shadow: var(--shadow-lg); font-weight: 700; text-align: center; padding: 16px;
}
.ph-tile span { color: #fff; font-size: 0.95rem; }
.ph-tile svg { width: 48px; height: 48px; transition: transform 0.4s; }
.ph-tile:hover svg { transform: scale(1.15) rotate(-6deg); }
.ph-tile:first-child { grid-row: 1 / 3; }
.ph-tile:first-child svg { width: 72px; height: 72px; }

.ph-sub { color: var(--text-gold); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em; margin-bottom: 8px; }
.ph-titulo { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; color: var(--primary-navy); margin-bottom: 14px; }
.ph-titulo::after { content: ""; display: block; width: 0; height: 4px; margin-top: 14px; background: var(--accent-gold); border-radius: 4px; transition: width 0.8s 0.3s cubic-bezier(.2,.7,.2,1); }
.ph-bloque.is-visible .ph-titulo::after { width: 72px; }
.ph-desc { color: var(--text-secondary); font-size: 1.02rem; line-height: 1.65; margin-bottom: 20px; }
.ph-lista { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 26px; }
.ph-lista li { position: relative; padding-left: 22px; font-size: 0.95rem; color: var(--text-primary); line-height: 1.4; }
.ph-lista li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 10px; height: 10px; border-radius: 3px; background: var(--accent-gold); transform: rotate(45deg); }
.ph-btn { border: 0; }

/* --- Efecto de entrada al hacer scroll --- */
.reveal .ph-bloque-media { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s, transform 0.8s cubic-bezier(.2,.7,.2,1); }
.ph-bloque--inv.reveal .ph-bloque-media { transform: translateX(40px); }
.reveal .ph-bloque-texto > * { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.reveal .ph-lista li { opacity: 0; transform: translateY(10px); transition: opacity 0.4s calc(0.35s + var(--i) * 0.06s), transform 0.4s calc(0.35s + var(--i) * 0.06s); }
.reveal.is-visible .ph-bloque-media, .reveal.is-visible .ph-bloque-texto > *, .reveal.is-visible .ph-lista li { opacity: 1; transform: none; }
.reveal.is-visible .ph-bloque-texto > :nth-child(2) { transition-delay: 0.08s; }
.reveal.is-visible .ph-bloque-texto > :nth-child(3) { transition-delay: 0.16s; }
.reveal.is-visible .ph-bloque-texto > :nth-child(4) { transition-delay: 0.2s; }
.reveal.is-visible .ph-bloque-texto > :nth-child(5) { transition-delay: 0.3s; }
.ph-cierre-cta.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.7s; }
.ph-cierre-cta.reveal.is-visible { opacity: 1; transform: none; }

/* --- Cierre con cinta de fotos --- */
.ph-cierre { background: var(--navy-dark); color: #fff; padding: 0 0 72px; overflow: hidden; }
.ph-cinta { padding: 26px 0; }
.ph-cinta-track { display: flex; gap: 14px; width: max-content; animation: phCinta 50s linear infinite; }
.ph-cinta:hover .ph-cinta-track { animation-play-state: paused; }
.ph-cinta img { width: 260px; height: 180px; object-fit: cover; border-radius: 12px; opacity: 0.85; }
@keyframes phCinta { to { transform: translateX(-50%); } }
.ph-cierre-cta { text-align: center; padding-top: 30px; }
.ph-cierre-cta h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 10px; }
.ph-cierre-cta p { color: #cbd5e1; margin-bottom: 26px; }
.ph-cierre-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .ph2-hero-bg, .ph2-form, .ph-cinta-track { animation: none; }
  .reveal .ph-bloque-media, .reveal .ph-bloque-texto > *, .reveal .ph-lista li, .ph-cierre-cta.reveal { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 900px) {
  .ph2-hero { padding: 36px 0 44px; }
  .ph2-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .ph-accesos { top: 78px; }
  .ph-bloque { padding: 52px 0; scroll-margin-top: 120px; }
  .ph-bloque-grid { grid-template-columns: 1fr; gap: 32px; }
  .ph-bloque--inv .ph-bloque-media { order: 0; }
  .ph-collage { height: 320px; }
  .ph-collage::before { display: none; }
}
@media (max-width: 600px) {
  .ph-collage { height: 260px; gap: 8px; }
  .ph-lista { grid-template-columns: 1fr; }
  .ph-cinta img { width: 180px; height: 130px; }
  .ph-marca { font-size: 3.2rem; top: 12px; }
}

/* ===================================================================
   VIDEOS DE OBRA (inicio y proyectos)
   =================================================================== */
.video-obra { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--navy-dark); }
.videos-home { padding: 56px 0; background: var(--bg-alt); }
.videos-home-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 24px; align-items: center; }
.videos-home-desc { color: var(--text-secondary); line-height: 1.65; margin: 0 0 22px; }
.video-card { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--border-subtle); }
.video-card .video-obra { aspect-ratio: 9 / 16; max-height: 520px; }
.video-card figcaption { display: grid; gap: 4px; padding: 12px 16px 14px; border-top: 3px solid var(--accent-gold); }
.video-card strong { font-family: var(--font-heading); color: var(--primary-navy); font-size: 1.02rem; }
.video-card-lugar { display: inline-flex; align-items: center; gap: 5px; font-size: 0.84rem; color: var(--text-muted); }
.video-card-lugar svg, .obra-video-meta svg { width: 13px; height: 13px; fill: var(--accent-gold); }
.video-card-tipo { font-size: 0.84rem; color: var(--text-secondary); }

.obra-video-header { aspect-ratio: 4 / 3; background: var(--navy-dark); }
.obra-video-header .video-obra { object-fit: contain; }
.project-tag-pill svg { width: 12px; height: 12px; fill: currentColor; vertical-align: -1px; margin-right: 4px; }
.obra-video-meta { display: grid; gap: 4px; font-size: 0.86rem; color: var(--text-secondary); margin: 0 0 16px; }
.obra-video-meta span { display: block; }
.obra-video-meta svg { vertical-align: -1px; margin-right: 4px; }
.obra-video-meta b { color: var(--primary-navy); }

@media (max-width: 900px) {
  .videos-home-grid { grid-template-columns: 1fr 1fr; }
  .videos-home-texto { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .videos-home { padding: 40px 0; }
  .videos-home-grid { grid-template-columns: 1fr; }
  .video-card .video-obra { max-height: 70vh; }
}

/* =====================================================================
   HOME: 3 PILARES DE VUELTA EN EL HERO
   ===================================================================== */
.hero-visual .hero-pillars-widget {
  position: static;
  width: 100%;
  max-width: 380px;
  margin-left: auto;
}

/* =====================================================================
   VIDEOS DE OBRA CON PROTAGONISMO (franja oscura, videos grandes)
   ===================================================================== */
.videos-pro {
  background: var(--navy-dark);
  color: #fff;
  padding: 72px 0;
  overflow: hidden;
}
.videos-pro-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: center;
}
.videos-pro .section-label { color: var(--accent-gold); }
.videos-pro-titulo {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin: 12px 0 16px;
  color: #fff;
}
.videos-pro-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 42ch;
  margin-bottom: 28px;
}
.videos-pro-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.videos-pro-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.video-pro { margin: 0; }
.video-pro-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 16;
  max-height: 72vh;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  outline: 2px solid rgba(245, 158, 11, 0.35);
}
.video-pro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Botón para activar el sonido (los videos arrancan silenciados) */
.video-pro-sonido {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--accent-gold);
  color: var(--navy-dark);
  font: 600 0.85rem/1 var(--font-body);
  cursor: pointer;
}
.video-pro-sonido svg { width: 16px; height: 16px; fill: currentColor; }
.video-pro-sonido:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.video-pro-sonido[hidden] { display: none; }
.video-pro figcaption { padding: 14px 4px 0; }
.video-pro figcaption strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #fff;
}
.video-pro figcaption span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-top: 4px;
}
.video-pro figcaption svg { width: 14px; height: 14px; fill: var(--accent-gold); }

/* Proyectos: tarjetas de video */
.obra-video-header { aspect-ratio: 4 / 3; background: #000; }
.obra-video-header .video-obra { width: 100%; height: 100%; object-fit: contain; display: block; }
.obra-video-header .project-tag-pill { display: inline-flex; align-items: center; gap: 4px; pointer-events: none; }
.obra-video-header .project-tag-pill svg { width: 12px; height: 12px; fill: currentColor; }
.obra-video-meta { display: grid; gap: 4px; font-size: 0.9rem; color: var(--text-muted, #5b6474); margin: 6px 0 14px; }
.obra-video-meta span { display: inline-flex; align-items: center; gap: 4px; }
.obra-video-meta svg { width: 14px; height: 14px; fill: var(--text-gold); }

/* =====================================================================
   RESPONSIVE: AJUSTES PARA CELULAR
   ===================================================================== */
@media (max-width: 900px) {
  .hero-visual .hero-pillars-widget { max-width: none; }
  .videos-pro { padding: 48px 0; }
  .videos-pro-grid { grid-template-columns: 1fr; gap: 28px; }
  .videos-pro-texto { text-align: left; }
}

@media (max-width: 640px) {
  /* Videos: carrusel horizontal deslizable, uno grande por pantalla */
  .videos-pro-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -20px;
    padding: 0 20px 8px;
    scrollbar-width: none;
  }
  .videos-pro-track::-webkit-scrollbar { display: none; }
  .video-pro { flex: 0 0 82%; scroll-snap-align: center; }
  .video-pro-frame { max-height: 70vh; }
  .videos-pro-btns .btn { flex: 1 1 100%; justify-content: center; }

  /* Cifras: 2 x 2 compactas */
  .stats-banner { grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; }
  .stat-box { flex-direction: column; align-items: flex-start; gap: 8px; }
  .stat-icon { width: 36px; height: 36px; }

  /* Clientes: rejilla de logos en 2 columnas, sin textos largos */
  .clients-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .client-card { padding: 14px; }
  .client-card .client-desc,
  .client-card .client-tag { display: none; }
  .client-card .client-name { font-size: 0.9rem; margin: 8px 0 0; }
  .client-logo-box { height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .videos-pro-track { scroll-behavior: auto; }
}
.obra-video-meta span:last-child { display: block; }

/* =====================================================================
   TIPOGRAFÍA OPEN SANS (la misma del ambiente de prueba, pedida por la
   clienta): letra más liviana y fácil de leer, sin cambiar los colores.
   ===================================================================== */
body { font-weight: 400; }
h1, h2, h3, h4, h5,
.section-title, .hero-title, .page-hero-title, .catalog-title, .quick-card-title,
.project-client-title, .obra-slide-nombre, .featured-obra-title, .ph-titulo, .ph2-h1,
.stat-number, .videos-pro-titulo {
  font-weight: 600;
  letter-spacing: -0.01em;
}
p, li { font-weight: 400; }

/* Título solo para lectores de pantalla y Google (no se ve) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
p.pillar-float-title { margin-top: 0; }
