/* ==========================================================================
   INTEGRA - SOLUCIONES TÉCNICAS & ASESORAMIENTO LEGAL (CABA)
   Sistema de Diseño, Obras Realizadas & Dual WhatsApp
   ========================================================================== */

:root {
  /* Paleta Base */
  --bg-primary: #070d18;
  --bg-secondary: #0d172b;
  --bg-tertiary: #13223d;
  
  /* Glassmorphism & Contenedores */
  --bg-glass: rgba(13, 23, 43, 0.72);
  --bg-glass-card: rgba(16, 29, 53, 0.65);
  --bg-glass-hover: rgba(22, 39, 72, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(148, 163, 184, 0.14);
  
  /* Acentos Eléctricos & Periciales */
  --amber-primary: #f59e0b;
  --amber-hover: #d97706;
  --amber-light: #fef3c7;
  --amber-glow: rgba(245, 158, 11, 0.28);
  
  --cyan-primary: #06b6d4;
  --cyan-hover: #0891b2;
  --cyan-light: #cffafe;
  --cyan-glow: rgba(6, 182, 212, 0.32);

  --emerald-success: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  
  /* Tipografía & Textos */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sombras & Elevaciones */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.6);
  --shadow-glow-amber: 0 0 35px -5px rgba(245, 158, 11, 0.35);
  --shadow-glow-cyan: 0 0 35px -5px rgba(6, 182, 212, 0.35);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

/* Contenedor Común */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Iconos SVG Utilitarios */
.icon-sm {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Gradientes de Texto */
.text-gradient-amber {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

/* ==========================================================================
   Top Bar de Credenciales y Contacto Dual
   ========================================================================== */
.top-bar {
  background-color: rgba(5, 10, 19, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 13px;
  position: relative;
  z-index: 101;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-muted);
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
}

.badge-item svg {
  color: var(--amber-primary);
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #a5f3fc;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  transition: all var(--transition-fast);
}

.top-legal-badge:hover {
  background: rgba(6, 182, 212, 0.25);
  color: #fff;
  border-color: var(--cyan-primary);
}

.top-emergency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  transition: all var(--transition-fast);
}

.top-emergency:hover {
  background: rgba(245, 158, 11, 0.25);
  color: #fff;
  border-color: var(--amber-primary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--amber-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulse-amber 2s infinite;
}

@keyframes pulse-amber {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* ==========================================================================
   Navegación Principal (Header)
   ========================================================================== */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(7, 13, 24, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

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

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

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-primary);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.logo-icon svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.4));
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  flex-shrink: 0;
}

.footer-logo-icon svg {
  width: 22px;
  height: 22px;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
  line-height: 1.1;
}

.brand-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--amber-primary);
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 22px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--amber-primary);
}

.nav-link.legal-highlight {
  color: #67e8f9;
  font-weight: 600;
}

.nav-link.legal-highlight:hover {
  color: #fff;
}

.dual-contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 102;
}

.menu-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-primary);
  border-radius: 4px;
  transition: all var(--transition-normal);
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b111e;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.btn-outline {
  background: rgba(19, 34, 61, 0.4);
  border-color: rgba(6, 182, 212, 0.4);
  color: #f1f5f9;
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--cyan-primary);
  background: rgba(6, 182, 212, 0.15);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-cyan);
}

.btn-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(6, 182, 212, 0.55);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 85px 0 95px 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, rgba(19, 34, 61, 0.65) 0%, rgba(7, 13, 24, 1) 75%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.35;
}

.hero-glow-amber {
  top: -50px;
  left: 10%;
  background: var(--amber-primary);
}

.hero-glow-cyan {
  top: 15%;
  right: 5%;
  background: var(--cyan-primary);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--amber-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.18;
  color: #fff;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 34px;
}

.hero-desc strong {
  color: #fff;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 45px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 25px;
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--amber-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

/* Hero Glass Card Preview */
.glass-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.trust-card {
  position: relative;
  border-top: 2px solid var(--amber-primary);
}

.card-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--cyan-primary);
  margin-bottom: 12px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--cyan-primary);
  box-shadow: 0 0 8px var(--cyan-primary);
}

.card-title-sm {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 22px;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.feature-checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.check-icon {
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-checklist strong {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-bottom: 3px;
}

.feature-checklist p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.urgent-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

.urgent-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.urgent-text span {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--amber-light);
}

.urgent-text small {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   Sección de Servicios & Pestañas
   ========================================================================== */
.services-section {
  padding: 90px 0;
  position: relative;
}

.section-heading {
  margin-bottom: 45px;
}

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

.section-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
}

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

/* Switcher de Tabs */
.service-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.service-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.service-tab-btn .tab-icon {
  width: 20px;
  height: 20px;
}

.service-tab-btn:hover {
  background: var(--bg-glass-hover);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.service-tab-btn.active {
  background: var(--amber-primary);
  color: #070d18;
  border-color: var(--amber-primary);
  box-shadow: var(--shadow-glow-amber);
  font-weight: 700;
}

.service-tab-btn.legal-tab.active {
  background: var(--cyan-primary);
  color: #070d18;
  border-color: var(--cyan-primary);
  box-shadow: var(--shadow-glow-cyan);
}

/* Paneles de Contenido */
.tab-panel {
  display: none;
  animation: fadeIn 0.35s ease;
}

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

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

.tab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 35px;
}

/* Service Card */
.service-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.4);
  background: var(--bg-glass-hover);
  box-shadow: var(--shadow-md);
}

.service-card.legal-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
}

.card-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

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

.amber-glow {
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-primary);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.cyan-glow {
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan-primary);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}

.card-list {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.card-list li {
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
  padding-left: 16px;
}

.card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--amber-primary);
  font-weight: bold;
  font-size: 16px;
}

.service-card.legal-card .card-list li::before {
  color: var(--cyan-primary);
}

.card-action-mini {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(6, 182, 212, 0.2);
}

.legal-mini-link {
  color: #67e8f9;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.legal-mini-link:hover {
  color: #fff;
  transform: translateX(3px);
}

/* Banner Destacado para el área Legal */
.legal-hero-banner {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(13, 23, 43, 0.8) 100%);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 30px;
  position: relative;
}

.legal-tag-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--cyan-primary);
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.legal-hero-banner h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.legal-hero-banner p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Strips de llamada a la acción en tabs */
.tab-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-card);
  padding: 22px 30px;
  border-radius: var(--radius-lg);
  gap: 20px;
}

.tab-cta-strip p {
  font-size: 14.5px;
  color: var(--text-muted);
}

.tab-cta-strip strong {
  font-size: 16.5px;
  color: #fff;
}

.legal-cta-strip {
  border-color: rgba(6, 182, 212, 0.35);
  background: rgba(14, 30, 56, 0.85);
}

/* ==========================================================================
   SECCIÓN: Obras & Trabajos Realizados (Portfolio Dinámico)
   ========================================================================== */
.works-section {
  padding: 95px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.works-filter-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.works-filter-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.works-filter-btn:hover {
  background: var(--bg-glass-hover);
  color: #fff;
}

.works-filter-btn.active {
  background: #fff;
  color: #070d18;
  border-color: #fff;
  font-weight: 700;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.work-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-md);
}

.work-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 12px;
}

.work-badge {
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.amber-badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-light);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.cyan-badge {
  background: rgba(6, 182, 212, 0.15);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.work-location {
  color: var(--text-muted);
  font-weight: 500;
}

.work-title {
  font-family: var(--font-heading);
  font-size: 17.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.35;
}

.work-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}

.work-specs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.work-specs strong {
  color: var(--text-secondary);
}

.status-done {
  color: var(--emerald-success);
  font-weight: 700;
}

.works-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-card);
  padding: 22px 30px;
  border-radius: var(--radius-lg);
  gap: 20px;
}

.works-cta-box p {
  font-size: 15.5px;
  color: #fff;
  font-weight: 600;
}

/* ==========================================================================
   SECCIÓN: Nomenclador de Mano de Obra CABA & Aranceles
   ========================================================================== */
.nomenclador-section {
  padding: 85px 0;
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(19, 34, 61, 0.45) 0%, rgba(7, 13, 24, 0.95) 70%);
}

.nomenclador-card {
  max-width: 980px;
  margin: 0 auto;
  border-top: 2px solid var(--amber-primary);
  padding: 42px 36px;
}

.nomenclador-header {
  text-align: center;
  margin-bottom: 38px;
}

.nomenclador-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-light);
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.nomenclador-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.nomenclador-desc {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 16px auto;
  line-height: 1.6;
}

.nomenclador-period-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  color: #67e8f9;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.nomenclador-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 30px;
}

.nomenclador-item {
  background: rgba(8, 14, 26, 0.7);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
}

.nomenclador-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-md);
}

.nomenclador-item.featured-item {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(16, 29, 53, 0.85);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.15);
}

.nom-badge-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #070d18;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.nom-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.nom-item-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.nom-item-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
}

.nom-price {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--amber-primary);
  margin-top: auto;
  margin-bottom: 4px;
}

.nomenclador-item:nth-child(3) .nom-price {
  color: var(--cyan-primary);
}

.nom-footnote {
  font-size: 11.5px;
  color: var(--text-muted);
}

.nomenclador-benefit-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 16px 22px;
  border-radius: var(--radius-md);
}

.benefit-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.benefit-text strong {
  display: block;
  font-size: 14.5px;
  color: #6ee7b7;
  margin-bottom: 2px;
}

.benefit-text p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .nomenclador-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Estimador / Cotizador Interactivo
   ========================================================================== */
.estimator-section {
  padding: 95px 0;
  position: relative;
}

.estimator-box {
  max-width: 860px;
  margin: 0 auto;
  padding: 45px 40px;
  border-top: 2px solid var(--amber-primary);
}

.estimator-header {
  text-align: center;
  margin-bottom: 35px;
}

.estimator-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.estimator-desc {
  font-size: 16px;
  color: var(--text-secondary);
}

.estimator-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: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  background: rgba(8, 14, 26, 0.7);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14.5px;
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--amber-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
  background: rgba(11, 20, 38, 0.9);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

select.form-control option {
  background-color: #0d172b;
  color: #fff;
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

/* Indicador de destino de WhatsApp en el formulario */
.destination-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.destination-indicator.legal-route {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.35);
}

.destination-indicator.legal-route strong {
  color: #67e8f9;
}

.destination-indicator strong {
  color: var(--amber-light);
}

.dest-icon {
  font-size: 18px;
}

.form-submit-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.form-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   Preguntas Frecuentes (FAQ)
   ========================================================================== */
.faq-section {
  padding: 85px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.faq-container {
  max-width: 820px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.open {
  border-color: rgba(245, 158, 11, 0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-chevron {
  font-size: 22px;
  font-weight: 300;
  color: var(--amber-primary);
  transition: transform var(--transition-normal);
}

.faq-item.open .faq-chevron {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 350px;
  padding: 0 24px 22px 24px;
}

.faq-answer p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #040810;
  border-top: 1px solid var(--border-subtle);
  padding: 75px 0 30px 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}

.brand-col .footer-logo {
  margin-bottom: 16px;
}

.footer-bio {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.footer-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--amber-primary);
}

.footer-contact-item {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-link-amber {
  color: var(--amber-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.footer-link-cyan {
  color: #22d3ee;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 25px;
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ==========================================================================
   Botón Flotante de WhatsApp con Desplegable Dual
   ========================================================================== */
.floating-whatsapp-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-options.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.whatsapp-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0f172a;
  border: 1px solid var(--border-card);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.whatsapp-option:hover {
  transform: translateX(-4px);
}

.whatsapp-option.tech-opt:hover {
  border-color: var(--amber-primary);
  background: #172554;
}

.whatsapp-option.legal-opt:hover {
  border-color: var(--cyan-primary);
  background: #0e374e;
}

.opt-icon {
  font-size: 20px;
}

.opt-label {
  display: flex;
  flex-direction: column;
}

.opt-label strong {
  font-size: 13.5px;
  color: #fff;
}

.opt-label small {
  font-size: 11.5px;
  color: var(--text-muted);
}

.floating-whatsapp {
  width: 62px;
  height: 62px;
  background-color: #25d366;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.7);
}

.whatsapp-icon {
  width: 34px;
  height: 34px;
}

.whatsapp-tooltip {
  position: absolute;
  right: 74px;
  background: #0f172a;
  color: #fff;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-card);
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
}

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

/* ==========================================================================
   Diseño Responsivo (Mobile & Tablets)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }

  .hero-title {
    font-size: 32px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(7, 13, 24, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-card);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
  }

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

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

  .nav-actions {
    width: 100%;
  }

  .dual-contact-btn {
    width: 100%;
    justify-content: center;
  }

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

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

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

  .tab-cta-strip {
    flex-direction: column;
    text-align: center;
  }

  .works-cta-box {
    flex-direction: column;
    text-align: center;
  }

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

  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
  }
}
