/* ==========================================================================
   SIM+ARQ - Sistema de Estilos Principal (CSS Vanilla)
   Ubicación: Culiacán, Sinaloa, México
   Arquitectura, Construcción, Remodelación y Mantenimiento Integral
   ========================================================================== */

/* --- Importación de Fuentes Google Fonts --- */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap");

/* --- Variables y Design Tokens --- */
:root {
  /* Paleta Oficial SIM+ARQ */
  --primary: #123b63;
  --primary-dark: #0a2440;
  --primary-deep: #061729;
  --primary-light: #1d548b;

  /* Acentos de Marca (Dorado de Logotipo) */
  --gold: #d4af37;
  --gold-hover: #b89428;
  --gold-light: #f7e9b8;
  --gold-glow: rgba(212, 175, 55, 0.22);

  /* Botones de Conversión (CRO & WhatsApp) */
  --cta-orange: #ff6b00;
  --cta-orange-hover: #e05e00;
  --whatsapp-green: #25d366;
  --whatsapp-hover: #1da851;

  /* Neutros & Fondos */
  --bg-dark: #0a121d;
  --bg-dark-surface: #111e30;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;

  /* Tipografía */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Fuentes */
  --font-heading: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Bordes & Sombras */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(18, 59, 99, 0.06);
  --shadow-md: 0 10px 30px rgba(18, 59, 99, 0.1);
  --shadow-lg: 0 20px 45px rgba(18, 59, 99, 0.16);
  --shadow-gold: 0 10px 25px rgba(212, 175, 55, 0.3);
  --shadow-orange: 0 10px 25px rgba(255, 107, 0, 0.35);

  /* Transiciones */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

ul {
  list-style: none;
}

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

/* --- Utilidades --- */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}
.text-gold {
  color: var(--gold);
}
.text-orange {
  color: var(--cta-orange);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-hover);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.section-tag.dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
  border-color: rgba(212, 175, 55, 0.4);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title.light {
  color: var(--bg-white);
}

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

.section-subtitle.light {
  color: var(--text-light);
}

/* --- Botones del Sitio (CRO Focus) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cta-orange), #ff8800);
  color: var(--bg-white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(
    135deg,
    var(--cta-orange-hover),
    var(--cta-orange)
  );
  box-shadow: 0 14px 30px rgba(255, 107, 0, 0.45);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--whatsapp-green), #1ebe57);
  color: var(--bg-white);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  background: linear-gradient(
    135deg,
    var(--whatsapp-hover),
    var(--whatsapp-green)
  );
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b89428);
  color: var(--primary-deep);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.45);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.125rem;
}

/* --- Header & Navbar Flotante --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 24, 43, 0.95);
  backdrop-filter: blur(16px);
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

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

/* Brand Logo Styling matching official image */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-symbol {
  width: 48px;
  height: 48px;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--bg-white);
  letter-spacing: 1px;
  line-height: 1;
}

.brand-name span {
  color: var(--gold);
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

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

.nav-links a {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

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

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

.mobile-toggle {
  display: none;
  background: transparent;
  color: var(--bg-white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* --- Hero Section (Pantalla Completa) --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(6, 23, 41, 0.88), rgba(18, 59, 99, 0.75)),
    url("../images/hero_architecture.jpg") center/cover no-repeat;
  color: var(--bg-white);
  padding: 140px 0 80px 0;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--bg-light), transparent);
}

.hero-content {
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-title span {
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: 36px;
  max-width: 720px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.trust-icon {
  width: 24px;
  height: 24px;
  background: var(--gold);
  color: var(--primary-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* --- Stats Bar (Contadores Animados) --- */
.stats-section {
  position: relative;
  z-index: 10;
  margin-top: -50px;
  margin-bottom: 80px;
}

.stats-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border: 1px solid rgba(18, 59, 99, 0.08);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #e2e8f0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number span {
  color: var(--gold);
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* --- Seccion de Servicios --- */
.services-section {
  padding: 60px 0 100px 0;
}

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

.filter-btn {
  background: var(--bg-white);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid #e2e8f0;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

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

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

.service-card:hover .service-img-wrap img {
  transform: scale(1.08);
}

.service-badge-icon {
  position: absolute;
  bottom: -20px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--bg-white);
}

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

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-footer {
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.service-link:hover {
  color: var(--cta-orange);
}

/* --- Por Qué Elegirnos (Diferenciadores) --- */
.why-us-section {
  background: var(--bg-dark);
  color: var(--bg-white);
  padding: 100px 0;
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.why-card {
  background: var(--bg-dark-surface);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.why-icon {
  width: 56px;
  height: 56px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.why-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--bg-white);
}

.why-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- Proceso de Trabajo (Timeline) --- */
.process-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 60px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 auto 20px auto;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  border: 4px solid var(--bg-white);
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 50%;
  width: 100%;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

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

/* --- Galeria & Slider Antes / Despues --- */
.gallery-section {
  padding: 100px 0;
  background: var(--bg-light);
}

/* Before / After Slider Box */
.ba-container {
  max-width: 900px;
  margin: 0 auto 60px auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.ba-header {
  text-align: center;
  margin-bottom: 20px;
}

.ba-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.ba-wrapper {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: var(--radius-md);
  overflow: hidden;
  user-select: none;
}

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

.ba-img-before-wrap {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid var(--gold);
}

.ba-img-before {
  width: 900px;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.ba-badge {
  position: absolute;
  top: 20px;
  padding: 6px 14px;
  background: rgba(10, 24, 43, 0.85);
  color: var(--bg-white);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  z-index: 5;
}

.ba-badge.before {
  left: 20px;
}
.ba-badge.after {
  right: 20px;
}

.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--primary-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  cursor: ew-resize;
  z-index: 10;
}

.ba-range-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 20;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 24, 43, 0.9), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover img {
  transform: scale(1.08);
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-cat {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}

.portfolio-title {
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

/* --- Testimonios --- */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg-white);
}

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

.testimonial-card {
  background: var(--bg-light);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.author-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.author-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- Cobertura Culiacan --- */
.coverage-section {
  padding: 100px 0;
  background: var(--bg-dark);
  color: var(--bg-white);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.coverage-map-box {
  background: var(--bg-dark-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: var(--shadow-lg);
}

.map-placeholder {
  width: 100%;
  height: 320px;
  background: radial-gradient(circle, #1e3a5f 0%, #0a121d 100%);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.map-pulse-pin {
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  position: absolute;
  box-shadow: 0 0 0 rgba(212, 175, 55, 0.4);
  animation: pulsePin 2s infinite;
}

@keyframes pulsePin {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

.coverage-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.coverage-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.coverage-item i {
  color: var(--gold);
}

/* --- Preguntas Frecuentes (FAQ Accordion) --- */
.faq-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.faq-accordion {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-header {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--gold);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-body {
  max-height: 300px;
  padding: 0 28px 24px 28px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* --- CTA Final Banner --- */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(6, 23, 41, 0.92), rgba(18, 59, 99, 0.92)),
    url("../images/hero_architecture.jpg") center/cover no-repeat;
  color: var(--bg-white);
  padding: 90px 0;
  text-align: center;
}

.cta-banner-box {
  max-width: 800px;
  margin: 0 auto;
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner-desc {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 36px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

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

.footer-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-title {
  font-family: var(--font-heading);
  color: var(--bg-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--gold);
  margin-top: 4px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* --- Boton Flotante WhatsApp --- */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp-green);
  color: var(--bg-white);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
}

.floating-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.6);
}

.online-dot {
  width: 10px;
  height: 10px;
  background: #00ff66;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff66;
}

/* --- Modal Cotizador / Presupuesto --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 29, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: var(--transition);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(18, 59, 99, 0.15);
}

/* --- Lightbox Modal --- */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.lightbox-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

/* --- Media Queries (Responsivo Mobile-First) --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .stats-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process-step:not(:last-child)::after {
    display: none;
  }
  .coverage-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mobile-menu {
  position: none;
}

.mobile-toggle {
  display: none;
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--gold);
  }

  .mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-menu a {
    color: var(--bg-white);
    font-size: 1.1rem;
    font-weight: 700;
  }

  .hero {
    padding: 120px 0 60px 0;
    text-align: center;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-trust-grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .stats-card {
    grid-template-columns: 1fr;
  }
  .stat-item::after {
    display: none !important;
  }
  .section-title {
    font-size: 2rem;
  }
  .ba-wrapper {
    height: 300px;
  }
  .ba-img-before {
    width: 100vw;
  }

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