/* ==========================================================================
   REVENERGY.CL - HIGH-RETENTION MEP PLATFORM STYLESHEET
   Benchmark Reference: callmilestone.com
   Designed for Mobile-First & Notebook 13"-16" Fullscreen Density
   ========================================================================== */

:root {
  /* Brand Palette */
  --navy-950: #081521;
  --navy-900: #0E2333; /* Official Brand Navy */
  --navy-800: #143047;
  --navy-700: #1E4260;
  --navy-600: #29557C;
  --orange-500: #F26522; /* Official Brand Orange */
  --orange-600: #D84E0F;
  --orange-400: #FF7B3D;
  --orange-100: #FFEDE4;
  --cyan-500: #0284C7;
  --cyan-600: #0369A1;
  --cyan-100: #E0F2FE;
  --emerald-500: #10B981;
  --emerald-600: #059669;

  /* Neutrals */
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --white: #FFFFFF;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows & Elevations */
  --shadow-sm: 0 1px 2px 0 rgba(14, 35, 51, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(14, 35, 51, 0.08), 0 2px 4px -2px rgba(14, 35, 51, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(14, 35, 51, 0.1), 0 4px 6px -4px rgba(14, 35, 51, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(14, 35, 51, 0.12), 0 8px 10px -6px rgba(14, 35, 51, 0.06);
  --shadow-glow-orange: 0 0 25px rgba(242, 101, 34, 0.35);

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Layout */
  --max-width: 1240px;
  --header-height: 74px;
  --mobile-bar-height: 64px;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

body {
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(var(--mobile-bar-height) + env(safe-area-inset-bottom, 0px) + 8px);
  }
}

header, main, section, footer, .container {
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

img, svg, video {
  display: block;
  max-width: 100%;
}

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

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ==========================================================================
   TOP TRUST STRIP (Desktop only)
   ========================================================================== */
.top-announcement {
  background: #06111B;
  color: var(--slate-300);
  font-size: 0.775rem;
  letter-spacing: 0.015em;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

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

.top-announcement .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-announcement-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 500;
  color: var(--slate-200);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--emerald-500);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.top-announcement-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--slate-400);
  font-size: 0.775rem;
}

.top-announcement-right a {
  color: var(--slate-300);
  transition: color var(--transition-fast);
}

.top-announcement-right a:hover {
  color: var(--orange-400);
}

/* ==========================================================================
   STICKY NAVBAR (Milestone Style)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  height: 66px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  gap: 0.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex-shrink: 1;
}

.nav-brand-img {
  height: 28px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.nav-brand:hover .nav-brand-img {
  transform: scale(1.02);
}

@media (min-width: 1024px) {
  .nav-brand-img {
    height: 34px;
    max-width: 290px;
  }
}

.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-700);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--orange-500);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--orange-500);
  transition: width var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.phone-quick-link {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  background: var(--white);
  transition: all var(--transition-fast);
}

@media (min-width: 768px) {
  .phone-quick-link {
    display: flex;
  }
}

.phone-quick-link:hover {
  background: var(--slate-100);
  border-color: var(--slate-300);
}

.btn-cta-quote {
  background: var(--orange-500);
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(242, 101, 34, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-cta-quote svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-cta-quote:hover {
  background: var(--orange-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-orange);
}

.btn-cta-short {
  display: none;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: var(--slate-100);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--navy-900);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Responsive Overrides (declared AFTER base rules to ensure correct CSS cascade) */
@media (max-width: 640px) {
  .site-header .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .nav-brand-img {
    height: 22px;
    max-width: 135px;
  }
  .btn-cta-quote {
    padding: 0.425rem 0.625rem;
    font-size: 0.775rem;
    gap: 0.25rem;
  }
  .btn-cta-quote svg {
    width: 14px;
    height: 14px;
  }
  .btn-cta-full {
    display: none;
  }
  .btn-cta-short {
    display: inline;
  }
  .nav-actions {
    gap: 0.4rem;
  }
  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
    padding: 7px;
    gap: 4px;
  }
}

@media (max-width: 380px) {
  .site-header .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .nav-brand-img {
    height: 19px;
    max-width: 115px;
  }
  .btn-cta-quote {
    padding: 0.35rem 0.5rem;
    font-size: 0.725rem;
    gap: 0.2rem;
  }
  .mobile-menu-toggle {
    width: 32px;
    height: 32px;
    padding: 5px;
  }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 2px solid var(--orange-500);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 999;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer a {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-900);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--slate-100);
}

/* ==========================================================================
   HERO SECTION (Milestone Dual/Triple Switcher Architecture)
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
  color: var(--white);
  padding: 2.25rem 0 3.5rem;
  overflow: hidden;
  overflow-x: clip;
  contain: paint;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 3.5rem 0 4.5rem;
    min-height: calc(100vh - var(--header-height) - 36px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.hero-bg-blueprint {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: 
    linear-gradient(to right, #ffffff 1px, transparent 1px),
    linear-gradient(to bottom, #ffffff 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-glow-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(242, 101, 34, 0.18) 0%, rgba(242, 101, 34, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: -100px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.2) 0%, rgba(2, 132, 199, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-glow-1,
  .hero-glow-2 {
    display: none;
  }
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-200);
  margin-bottom: 1.25rem;
  max-width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero-badge-wrap {
    font-size: 0.725rem;
    padding: 0.35rem 0.65rem;
    line-height: 1.4;
    border-radius: var(--radius-md);
  }
}

.badge-sec-tag {
  color: var(--orange-400);
  font-weight: 800;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-split-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-title {
  font-size: clamp(1.65rem, 4.8vw, 1.95rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.95rem;
  word-break: break-word;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 2.55rem;
  }
}

.hero-title span.text-highlight {
  background: linear-gradient(90deg, #FFFFFF 0%, #E2E8F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span.text-orange {
  color: var(--orange-400);
}

.hero-subtitle {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--slate-300);
  margin-bottom: 1.4rem;
  max-width: 620px;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.05rem;
  }
}

/* Milestone Interactive Dual/Triple Switcher */
.hero-service-selector {
  background: rgba(14, 35, 51, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .hero-service-selector {
    flex-direction: row;
  }
}

.service-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--slate-300);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  text-align: center;
}

.service-tab-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.service-tab-btn.active {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.service-tab-btn.active.tab-orange {
  background: var(--orange-500);
  color: var(--white);
}

.service-tab-btn.active.tab-cyan {
  background: var(--cyan-500);
  color: var(--white);
}

.service-tab-btn.active.tab-navy {
  background: linear-gradient(135deg, var(--white) 0%, var(--slate-100) 100%);
  color: var(--navy-900);
}

/* Hero CTAs */
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .hero-cta-group {
    flex-direction: row;
    align-items: center;
  }
}

.btn-primary-hero {
  background: var(--orange-500);
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.95rem 1.65rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: 0 10px 25px rgba(242, 101, 34, 0.4);
  transition: all var(--transition-fast);
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .btn-primary-hero {
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
  }
}

.btn-primary-hero:hover {
  background: var(--orange-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-orange);
}

.btn-secondary-hero {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 700;
  font-size: 0.975rem;
  padding: 0.95rem 1.45rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all var(--transition-fast);
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--white);
}

/* Quick Deliverables Bar (Dynamic by Switcher) */
.hero-dynamic-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
  .hero-dynamic-specs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.75rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.spec-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Right Side: Interactive Card (Live Estimation Preview) */
.hero-preview-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
}

.preview-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
}

.preview-photo-wrap {
  position: relative;
  height: 190px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.preview-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 35, 51, 0.1) 0%, rgba(14, 35, 51, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.preview-photo-caption {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.preview-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.preview-checklist li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--slate-200);
}

.check-icon-orange {
  color: var(--orange-400);
  flex-shrink: 0;
}

.preview-card-cta {
  width: 100%;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 800;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.preview-card-cta:hover {
  background: var(--slate-100);
  transform: translateY(-1px);
}

/* ==========================================================================
   TRUST BAR (Badges & Official Entities)
   ========================================================================== */
.trust-authority-strip {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 1.5rem 0;
  position: relative;
  z-index: 5;
}

.trust-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .trust-strip-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.trust-title-lead {
  font-size: 0.825rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-logos-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .trust-logos-grid {
    gap: 2.75rem;
  }
}

.trust-badge-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.trust-badge-card:hover {
  background: var(--white);
  border-color: var(--orange-400);
  box-shadow: 0 4px 12px rgba(242, 101, 34, 0.12);
  transform: translateY(-2px);
}

.trust-badge-card img {
  height: 38px;
  max-height: 42px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.trust-badge-card:hover img {
  transform: scale(1.03);
}

/* Quick Metrics Strip */
.metrics-strip {
  background: var(--slate-100);
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--slate-200);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-card {
  text-align: center;
  padding: 0.75rem;
}

.metric-num {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--navy-900);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric-num span.accent {
  color: var(--orange-500);
}

.metric-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.2rem;
}

.metric-desc {
  font-size: 0.775rem;
  color: var(--slate-500);
}

/* ==========================================================================
   BENTO GRID DE ESPECIALIDADES MEP (Technical Architecture)
   ========================================================================== */
.section-bento {
  padding: 4.5rem 0;
  background: var(--slate-50);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-500);
  background: var(--orange-100);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.4rem, 3.8vw, 1.7rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.05rem;
  }
}

.section-description {
  font-size: 0.925rem;
  color: var(--slate-600);
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section-description {
    font-size: 1rem;
  }
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

.bento-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--slate-300);
  transform: translateY(-3px);
}

/* Modulo 1: Eléctrico (Cols 7 on desktop) */
.bento-card-electric {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .bento-card-electric {
    grid-column: span 6;
  }
}

/* Modulo 2: Sanitario (Cols 5 on desktop) */
.bento-card-sanitary {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .bento-card-sanitary {
    grid-column: span 6;
  }
}

/* Modulo 3: El Gran Diferenciador (Full 12 cols, Split Bento Layout) */
.bento-card-integral,
.bento-card-mep-differential {
  grid-column: span 1;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  border: 1px solid var(--navy-700);
}

@media (min-width: 1024px) {
  .bento-card-integral,
  .bento-card-mep-differential {
    grid-column: span 12;
  }
}

.bento-card-integral-content {
  width: 100%;
}

.bento-integral-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .bento-integral-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.integral-perk {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.integral-perk:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(242, 101, 34, 0.4);
}

.integral-perk-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.integral-perk-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.integral-perk-desc {
  font-size: 0.875rem;
  color: var(--slate-300);
  line-height: 1.55;
}

.bento-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.bento-icon-electric {
  background: var(--orange-100);
  color: var(--orange-500);
}

.bento-icon-sanitary {
  background: var(--cyan-100);
  color: var(--cyan-600);
}

.bento-icon-integral,
.bento-icon-mep {
  background: rgba(255, 255, 255, 0.12);
  color: var(--orange-400);
}

.bento-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--navy-900);
}

.bento-card-mep-differential .bento-card-title {
  color: var(--white);
  font-size: 1.75rem;
}

.bento-card-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.bento-card-mep-differential .bento-card-desc {
  color: var(--slate-300);
}

.bento-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.bento-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--slate-700);
}

.bento-card-mep-differential .bento-features-list li {
  color: var(--slate-200);
}

.bento-features-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.bento-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 210px;
  margin-top: auto;
  border: 1px solid var(--slate-200);
}

.bento-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bento-card:hover .bento-img-wrap img {
  transform: scale(1.05);
}

.differential-visual {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.comparison-table th {
  text-align: left;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--slate-400);
  text-transform: uppercase;
  font-size: 0.725rem;
  letter-spacing: 0.05em;
}

.comparison-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.table-revenergy {
  font-weight: 700;
  color: var(--emerald-500);
}

.table-traditional {
  color: var(--slate-400);
}

/* ==========================================================================
   CASOS DE ÉXITO: FICHA TÉCNICA / SOCIAL PROOF INDUSTRIAL
   ========================================================================== */
.section-cases {
  padding: 4.5rem 0;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .cases-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.case-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--orange-500);
}

.case-card-header {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.case-card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-badge-type {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 35, 51, 0.9);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.case-badge-status {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--emerald-600);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.case-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-client-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
}

.case-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-500);
  margin-bottom: 1rem;
}

.case-tech-specs {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
  font-size: 0.825rem;
}

.case-spec-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--slate-200);
  padding-bottom: 0.35rem;
}

.case-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.case-spec-key {
  color: var(--slate-500);
  font-weight: 600;
}

.case-spec-val {
  font-weight: 700;
  color: var(--slate-800);
}

.case-narrative {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Client Logos Wall */
.clients-wall {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-200);
}

.clients-wall-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-400);
  margin-bottom: 1.5rem;
}

.clients-logos-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.client-logo-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
}

.client-logo-item:hover {
  border-color: var(--orange-400);
  box-shadow: 0 6px 18px rgba(242, 101, 34, 0.12);
  transform: translateY(-2px);
}

.client-logo-item img {
  height: 38px;
  max-width: 170px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   COTIZADOR INTERACTIVO POR PASOS (Milestone Conversion Lead Magnet)
   ========================================================================== */
.section-calculator {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--slate-100) 100%);
  position: relative;
}

.calculator-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.calculator-header {
  background: var(--navy-900);
  color: var(--white);
  padding: 2rem;
  text-align: center;
  position: relative;
}

.calculator-header h3 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.calculator-header p {
  color: var(--slate-300);
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto;
}

/* Step Bar */
.wizard-steps-bar {
  display: flex;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wizard-step {
  flex: 1;
  padding: 0.85rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--slate-400);
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
}

.wizard-step.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border-bottom-color: var(--orange-500);
}

.wizard-step.completed {
  color: var(--emerald-500);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.wizard-step.active .step-num {
  background: var(--orange-500);
  color: var(--white);
}

.wizard-step.completed .step-num {
  background: var(--emerald-500);
  color: var(--white);
}

.calculator-body {
  padding: 3rem 2.5rem;
  background: var(--white);
}

@media (max-width: 640px) {
  .calculator-body {
    padding: 2rem 1.25rem;
  }
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.step-instruction {
  margin-bottom: 2rem;
}

.step-tag {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-500);
  background: var(--orange-100);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.step-instruction h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-top: 0.75rem;
  line-height: 1.35;
}

/* Step 1: Type Selection Cards */
.select-cards-grid,
.selection-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 640px) {
  .select-cards-grid,
  .selection-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.select-card-radio {
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  cursor: pointer;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: all var(--transition-fast);
  position: relative;
}

.select-card-radio:hover {
  border-color: var(--slate-300);
  background: var(--slate-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.select-card-radio.selected {
  border-color: var(--orange-500);
  background: #FFF7ED;
  box-shadow: 0 0 0 1px var(--orange-500), 0 4px 14px rgba(242, 101, 34, 0.12);
}

.select-card-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.select-card-name,
.select-card-label {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.3;
}

.select-card-info,
.select-card-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* Step 2: Service & Plans Mode */
.pill-group,
.toggle-pills-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.75rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 640px) {
  .pill-group,
  .toggle-pills-wrap {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.pill-choice {
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.35rem;
  background: var(--white);
  color: var(--slate-700);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

@media (min-width: 640px) {
  .pill-choice {
    flex: 1 1 200px;
    width: auto;
  }
}

.pill-choice:hover {
  border-color: var(--slate-300);
  background: var(--slate-50);
}

.pill-choice.selected {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* Step 3: Dropzone */
.dropzone-box,
.file-dropzone {
  border: 2.5px dashed var(--slate-300);
  border-radius: var(--radius-xl);
  padding: 2.75rem 1.5rem;
  text-align: center;
  background: var(--slate-50);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 2.25rem;
}

.dropzone-box:hover,
.dropzone-box.dragover,
.file-dropzone:hover,
.file-dropzone.dragover {
  border-color: var(--orange-500);
  background: #FFF7ED;
}

.dropzone-icon {
  font-size: 2.6rem;
  margin-bottom: 0.65rem;
  line-height: 1;
}

.dropzone-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.dropzone-sub,
.dropzone-desc {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.4;
}

/* Step 3: Client Form Fields */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-800);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
  font-size: 0.95rem;
  color: var(--slate-800);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.18);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

/* Navigation Buttons */
.calculator-nav-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--slate-200);
}

@media (max-width: 540px) {
  .calculator-nav-buttons {
    flex-direction: column-reverse;
  }
  .calculator-nav-buttons > * {
    width: 100%;
    justify-content: center;
  }
}

/* Success Confirmation State */
.calculator-success-state {
  display: none;
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.success-badge-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #DCFCE7;
  color: var(--emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.65rem;
}

.success-desc {
  font-size: 1rem;
  color: var(--slate-600);
  max-width: 540px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

/* ==========================================================================
   GARANTÍAS CONTRACTUALES Y RESPALDO TÉCNICO INSTITUCIONAL
   ========================================================================== */
.section-guarantees {
  padding: 5rem 0;
  background: var(--white);
}

.guarantees-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .guarantees-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guarantee-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.guarantee-card:hover {
  box-shadow: 0 12px 30px -10px rgba(14, 35, 51, 0.15);
  border-color: var(--navy-800);
  transform: translateY(-3px);
}

.guarantee-card-highlight {
  background: #FFFFFF;
  border-color: rgba(242, 101, 34, 0.35);
  box-shadow: 0 10px 25px -8px rgba(242, 101, 34, 0.12);
}

.guarantee-card-highlight:hover {
  border-color: var(--orange-500);
  box-shadow: 0 16px 35px -8px rgba(242, 101, 34, 0.22);
}

.guarantee-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.icon-blue {
  background: rgba(14, 35, 51, 0.08);
  color: var(--navy-900);
}

.icon-orange {
  background: var(--orange-100);
  color: var(--orange-600);
}

.icon-cyan {
  background: rgba(2, 132, 199, 0.1);
  color: var(--cyan-600);
}

.guarantee-badge {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-500);
  margin-bottom: 0.4rem;
}

.guarantee-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.guarantee-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.guarantee-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-200);
}

.guarantee-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--slate-700);
  line-height: 1.4;
}

.guarantee-checklist .check-icon {
  color: var(--emerald-600);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-img {
  height: 36px;
  max-width: 260px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.6;
  max-width: 380px;
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

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

.footer-links-list a {
  font-size: 0.875rem;
  color: var(--slate-400);
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--slate-300);
  margin-bottom: 0.85rem;
}

.footer-contact-item svg {
  color: var(--orange-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--slate-500);
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
}

/* ==========================================================================
   STICKY BOTTOM ACTION BAR (Milestone Mobile CRO Pattern)
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  height: calc(var(--mobile-bar-height) + env(safe-area-inset-bottom, 0px));
  background: var(--navy-900);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: stretch;
  z-index: 9999;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.mobile-bar-btn {
  flex: 1 1 50%;
  width: 50%;
  max-width: 50%;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 800;
  font-size: 0.825rem;
  text-align: center;
  padding: 0 0.35rem;
  white-space: nowrap;
  box-sizing: border-box;
}

.mobile-bar-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.bar-btn-text-full {
  display: none;
}

.bar-btn-text-short {
  display: inline;
}

@media (min-width: 420px) {
  .mobile-bar-btn {
    font-size: 0.85rem;
    gap: 0.45rem;
    padding: 0 0.5rem;
  }
  .bar-btn-text-short {
    display: none;
  }
  .bar-btn-text-full {
    display: inline;
  }
}

.mobile-bar-call {
  background: var(--navy-800);
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-bar-call:active {
  background: var(--navy-700);
}

.mobile-bar-wa {
  background: var(--emerald-600);
  color: var(--white);
}

.mobile-bar-wa:active {
  background: var(--emerald-500);
}

/* ==========================================================================
   MODAL: QUICK QUOTE / COTIZAR CON PLANOS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 35, 51, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 580px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  background: var(--navy-900);
  color: var(--white);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.modal-close-btn {
  color: var(--slate-300);
  background: rgba(255, 255, 255, 0.1);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
}

/* ==========================================================================
   EQUIPO TÉCNICO Y DIRECCIÓN EJECUTIVA (CallMilestone Style)
   ========================================================================== */
.section-team {
  padding: 5.5rem 0;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-900), var(--orange-500));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--slate-300);
}

.team-card:hover::before {
  opacity: 1;
}

.team-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.team-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  flex-shrink: 0;
  border: 3px solid var(--orange-100);
  box-shadow: var(--shadow-md);
}

.team-avatar-commercial {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  border-color: #FEF3C7;
}

.team-meta h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
}

.team-role {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--orange-600);
  background: var(--orange-100);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.team-bio {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.team-credentials-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.team-credentials-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--slate-700);
  font-weight: 600;
}

.team-credentials-list li svg {
  color: var(--emerald-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.team-contact-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--slate-100);
  color: var(--navy-900);
  transition: all var(--transition-fast);
}

.team-contact-btn:hover {
  background: var(--navy-900);
  color: var(--white);
}

/* ==========================================================================
   FAQ ACCORDION (SEO Snippets & Objection Elimination)
   ========================================================================== */
.section-faq {
  padding: 5.5rem 0;
  background: var(--white);
}

.faq-container {
  max-width: 860px;
  margin: 3rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--slate-50);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--orange-500);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--orange-500);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--slate-200);
  color: var(--slate-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.faq-item.active .faq-icon {
  background: var(--orange-500);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.75rem;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 380px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  margin: 0;
}

/* ==========================================================================
   HERO 4 PRINCIPALES ESPECIALIDADES
   ========================================================================== */
.hero-specialties-block {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 640px) {
  .hero-specialties-block {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-specialties-block {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.hero-specialty-card {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.25rem;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.hero-specialty-card:hover {
  background: rgba(15, 23, 42, 0.92);
  border-color: var(--orange-500);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(242, 101, 34, 0.2);
}

.specialty-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: rgba(242, 101, 34, 0.15);
  border: 1px solid rgba(242, 101, 34, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.hero-specialty-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

.hero-specialty-card p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--slate-300);
  margin-bottom: 0.85rem;
  flex-grow: 1;
}

.specialty-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--orange-400);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.specialty-card-link:hover {
  color: var(--orange-300);
  gap: 0.55rem;
}

/* ==========================================================================
   ESTUDIOS DE ARQUITECTURA Y EMPRESAS VERIFICADAS
   ========================================================================== */
.architect-studios-section {
  margin-top: 3rem;
  padding: 2.25rem;
  background: linear-gradient(135deg, #0A1128 0%, #151F3C 100%);
  border: 1px solid rgba(242, 101, 34, 0.25);
  border-radius: var(--radius-2xl);
  box-shadow: 0 12px 35px rgba(10, 17, 40, 0.25);
}

.architect-studios-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.architect-studios-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(242, 101, 34, 0.2);
  color: var(--orange-400);
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.architect-studios-title {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.architect-studios-desc {
  color: var(--slate-300);
  font-size: 0.9rem;
  max-width: 680px;
  margin: 0 auto;
}

.architect-studios-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .architect-studios-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.architect-studio-card {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--navy-900);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.architect-studio-thumb {
  height: 165px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--slate-900);
  border-bottom: 2px solid var(--orange-500);
}

.architect-thumb-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 17, 40, 0.85);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.architect-studio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.architect-studio-card:hover .architect-studio-thumb img {
  transform: scale(1.08);
}

.architect-studio-body {
  padding: 1.25rem 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.architect-studio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(242, 101, 34, 0.25);
  border-color: var(--orange-400);
}

.architect-studio-logo {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
}

.architect-studio-logo img,
.architect-studio-logo svg {
  max-height: 34px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}

.architect-studio-name {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0.35rem 0 0.25rem;
}

.architect-studio-desc-text {
  font-size: 0.825rem;
  color: var(--slate-600);
  line-height: 1.45;
  margin-bottom: 0.85rem;
  max-width: 320px;
}

.architect-studio-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--slate-100);
  color: #1E40AF;
  border: 1px solid var(--slate-200);
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-top: auto;
  transition: all var(--transition-fast);
}

.architect-studio-card:hover .architect-studio-badge {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: var(--white);
}

/* Quick Service Pills */
.quick-service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.quick-pill {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--slate-300);
  background: var(--white);
  color: var(--slate-700);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-main);
}

.quick-pill:hover {
  border-color: var(--orange-500);
  color: var(--navy-900);
}

.quick-pill.selected {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
  box-shadow: 0 4px 12px rgba(10, 17, 40, 0.2);
}

/* ==========================================================================
   CASO DESTACADO DE ENSAYOS Y MEDICIONES EN TERRENO (FOTOS REALES)
   ========================================================================== */
.field-inspection-featured {
  background: var(--navy-950);
  border: 1px solid rgba(242, 101, 34, 0.3);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-bottom: 2.75rem;
  box-shadow: 0 16px 36px rgba(10, 17, 40, 0.28);
}

.field-inspection-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .field-inspection-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.field-inspection-media {
  background: #060B18;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.field-media-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  aspect-ratio: 3/4;
}

.field-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.field-media-item:hover img {
  transform: scale(1.04);
}

.field-media-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 0.65rem 0.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 17, 40, 0.95) 100%);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.field-media-val {
  background: var(--orange-500);
  color: var(--white);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-family: monospace;
  font-size: 0.85rem;
}

.field-inspection-content {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.field-inspection-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(242, 101, 34, 0.18);
  border: 1px solid rgba(242, 101, 34, 0.35);
  color: var(--orange-400);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  width: fit-content;
}

.field-inspection-title {
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.field-inspection-desc {
  color: var(--slate-300);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.field-tech-specs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.field-tech-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
}

.field-tech-label {
  font-size: 0.7rem;
  color: var(--slate-400);
  text-transform: uppercase;
  font-weight: 700;
  display: block;
}

.field-tech-value {
  font-size: 0.875rem;
  color: var(--white);
  font-weight: 700;
}

/* ==========================================================================
   COTIZADOR TWO-TRACK SWITCHER (TÉCNICA VS RÁPIDA)
   ========================================================================== */
.quote-mode-switcher {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 0.4rem;
  background: var(--slate-100);
  border-radius: var(--radius-xl);
}

@media (min-width: 640px) {
  .quote-mode-switcher {
    grid-template-columns: 1fr 1fr;
  }
}

.quote-mode-tab {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.25rem;
  background: transparent;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  font-family: var(--font-main);
}

.quote-mode-tab .mode-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.quote-mode-tab .mode-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.2;
}

.quote-mode-tab .mode-text small {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-500);
  line-height: 1.3;
  margin-top: 0.15rem;
}

.quote-mode-tab.active {
  background: var(--white);
  border-color: var(--orange-500);
  box-shadow: 0 4px 12px rgba(242, 101, 34, 0.15);
}

.quote-mode-tab.active .mode-text strong {
  color: var(--orange-600);
}

.quick-quote-container {
  display: none;
}

.quick-quote-container.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.tech-quote-container.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.btn-whatsapp-action {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-whatsapp-action:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.45) !important;
  filter: brightness(1.05);
}

.btn-whatsapp-action:active {
  transform: translateY(0);
}



