/* ==========================================================================
   VIDRIERÍA VLOOK - ESTILOS PRINCIPALES
   Estilo moderno, cálido, humano y profesional con acentos de cristal
   ========================================================================== */

:root {
  --primary: #0f2b48;
  --primary-light: #1e4976;
  --primary-dark: #091a2c;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --green-whatsapp: #25d366;
  --green-whatsapp-dark: #128c7e;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  
  --border-color: #e2e8f0;
  --border-focus: #93c5fd;
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(15, 43, 72, 0.08);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 43, 72, 0.08), 0 2px 6px -1px rgba(15, 43, 72, 0.04);
  --shadow-lg: 0 12px 28px -6px rgba(15, 43, 72, 0.12), 0 8px 12px -4px rgba(15, 43, 72, 0.06);
  --shadow-xl: 0 20px 40px -10px rgba(15, 43, 72, 0.18);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-bar {
  background: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.top-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.top-bar a:hover {
  color: #ffffff;
}

.top-bar .rating-pill {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.95);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.header-logo-image {
  width: 210px;
  height: 64px;
  object-fit: cover;
  object-position: center 53%;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #1e4976 0%, #0f2b48 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 10px rgba(15, 43, 72, 0.25);
  position: relative;
  overflow: hidden;
}

.logo-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 60%);
  pointer-events: none;
}

.logo-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  padding: 0.4rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-header-cta {
  background: var(--green-whatsapp);
  color: white;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.btn-header-cta:hover {
  background: var(--green-whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  color: white;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(15, 43, 72, 0.06) 0%, transparent 40%),
              #f8fafc;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(30, 73, 118, 0.08);
  color: var(--primary-light);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(30, 73, 118, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

.rating-badge .stars {
  color: #f59e0b;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  color: var(--primary-light);
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

.home-quote-callout {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 580px;
  margin: -0.5rem 0 1.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-left: 5px solid var(--amber);
  border-radius: var(--radius-md);
  background: linear-gradient(110deg, #fff 0%, #fffbeb 100%);
  box-shadow: var(--shadow-md);
}

.home-quote-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.14);
  color: var(--amber-dark);
  font-size: 1.35rem;
}

.home-quote-callout strong {
  display: block;
  color: var(--primary-dark);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.home-quote-callout div > span {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(15, 43, 72, 0.25);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 43, 72, 0.3);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 1.5px solid var(--border-color);
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--primary-light);
  background: var(--bg-card-alt);
  transform: translateY(-2px);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-color);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon {
  width: 36px;
  height: 36px;
  background: #e0f2fe;
  color: #0284c7;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.trust-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.trust-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero Visual / Cards */
.hero-visual {
  position: relative;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid white;
}

.hero-main-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-main-card:hover img {
  transform: scale(1.03);
}

.hero-glass-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(15, 43, 72, 0.95) 0%, rgba(15, 43, 72, 0.6) 60%, transparent 100%);
  color: white;
}

.hero-glass-overlay h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.card-pill-tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.9);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.hero-glass-overlay p {
  font-size: 0.88rem;
  color: #cbd5e1;
}

/* Floating Badges */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10;
  animation: floatSlow 5s ease-in-out infinite;
}

.floating-card-1 {
  top: -20px;
  right: -20px;
}

.floating-card-2 {
  bottom: 30px;
  left: -25px;
  animation-delay: 2.5s;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-card-1 .floating-icon {
  background: #fef3c7;
  color: #d97706;
}

.floating-card-2 .floating-icon {
  background: #dcfce7;
  color: #15803d;
}

.floating-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.floating-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   HUMAN ESSENCE BANNER / POR QUÉ SOMOS DIFERENTES
   ========================================================================== */
.human-touch-strip {
  background: white;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2.5rem 0;
}

.human-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.human-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.human-box-icon {
  width: 46px;
  height: 46px;
  background: #eff6ff;
  border-radius: var(--radius-md);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.human-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.human-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section-padding {
  padding: 5.5rem 0;
}

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

.section-subtitle {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  background: #f8fafc;
}

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

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 73, 118, 0.25);
}

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

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

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

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 43, 72, 0.85);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.service-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.service-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  border-top: 1px dashed var(--border-color);
  padding-top: 1rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.service-features li i {
  color: #10b981;
  font-size: 0.9rem;
}

.service-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg-card-alt);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  width: 100%;
}

.service-card-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ==========================================================================
   COTIZADOR INTERACTIVO (CALCULADORA HUMANA EN 3 PASOS)
   ========================================================================== */
.calculator-section {
  background: linear-gradient(135deg, #091a2c 0%, #0f2b48 50%, #1e4976 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.calculator-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.calc-intro-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.calc-intro-text p {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.home-quote-reminder {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.12);
  color: #fef3c7;
  font-size: 0.95rem;
  font-weight: 700;
}

.home-quote-reminder i {
  color: #fbbf24;
}

.calc-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.calc-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #38bdf8;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content strong {
  display: block;
  font-size: 0.98rem;
  color: white;
}

.step-content span {
  font-size: 0.85rem;
  color: #94a3b8;
}

.calc-human-note {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border-left: 3px solid #f59e0b;
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.calc-human-note img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #f59e0b;
}

.calc-human-note p {
  font-size: 0.85rem;
  color: #e2e8f0;
  margin: 0;
  line-height: 1.45;
}

/* Card del Formulario */
.calc-card {
  background: white;
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.calc-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.calc-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: #f8fafc;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

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

.options-pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.option-pill {
  position: relative;
}

.option-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-pill label {
  display: block;
  padding: 0.55rem 0.5rem;
  text-align: center;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  background: #f8fafc;
  transition: var(--transition);
}

.option-pill input[type="radio"]:checked + label {
  background: #eff6ff;
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}

/* Resumen del cotizador */
.quote-summary-box {
  background: #f1f5f9;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  border: 1px dashed #cbd5e1;
}

.quote-summary-box .summary-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.quote-summary-box .summary-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

.btn-calc-submit {
  width: 100%;
  background: var(--green-whatsapp);
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.btn-calc-submit:hover {
  background: var(--green-whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   RESEÑAS HUMANAS REALES (GOOGLE MAPS)
   ========================================================================== */
.reviews-section {
  background: white;
}

.reviews-header-card {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #dbeafe;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.reviews-score-block {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.score-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1;
}

.score-details .stars {
  color: #f59e0b;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.score-details p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.google-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.google-g-icon {
  width: 20px;
  height: 20px;
}

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

.review-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  background: white;
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.reviewer-location {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.review-stars {
  color: #f59e0b;
  font-size: 0.9rem;
}

.review-quote-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  font-style: italic;
  position: relative;
}

.review-tag-work {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(30, 73, 118, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

/* ==========================================================================
   PORTAFOLIO / GALERÍA DE TRABAJOS REALIZADOS
   ========================================================================== */
.gallery-section {
  background: var(--bg-main);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  background: white;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter-btn:hover, .gallery-filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  background: white;
  cursor: pointer;
  height: 320px;
  group: hover;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 43, 72, 0.95) 0%, rgba(15, 43, 72, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: white;
  transition: var(--transition);
}

.gallery-item-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #38bdf8;
  margin-bottom: 0.3rem;
}

.gallery-item-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.gallery-item-location {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.gallery-cta-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a8a 100%);
  border-radius: var(--radius-xl);
  padding: 2.2rem 2.8rem;
  box-shadow: var(--shadow-md);
  color: white;
}

.gallery-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.gallery-cta-text h3 {
  color: white;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.gallery-cta-text p {
  color: #94a3b8;
  font-size: 0.98rem;
  margin: 0;
}

/* ==========================================================================
   CONOCE A NUESTRO EQUIPO / HISTORIA LOCAL
   ========================================================================== */
.about-section {
  background: white;
  border-top: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 3.5rem;
}

.about-image-stack {
  position: relative;
}

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

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  max-width: 240px;
}

.about-badge-card strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.about-badge-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin: 0;
}

.about-content h2 {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--primary-light);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-text {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-team-quote {
  background: #f8fafc;
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-primary);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.about-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  list-style: none;
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary);
}

.about-checklist li i {
  color: #10b981;
}

/* ==========================================================================
   PREGUNTAS FRECUENTES (FAQ)
   ========================================================================== */
.faq-section {
  background: #f8fafc;
}

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

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

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

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-chevron {
  transition: transform 0.3s ease;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.5rem;
}

.faq-answer p {
  padding-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ==========================================================================
   UBICACIÓN, HORARIO Y CONTACTO
   ========================================================================== */
.contact-section {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-card-info {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.contact-card-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-card-info p.lead {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid var(--border-color);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.detail-text strong {
  display: block;
  font-size: 0.98rem;
  color: var(--primary);
  margin-bottom: 0.15rem;
}

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

.detail-text a:hover {
  color: var(--accent);
}

.map-embed-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 100%;
  min-height: 450px;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
}

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

.footer-brand .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: white;
  padding-left: 4px;
}

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

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP & MODAL LIGHTBOX
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--green-whatsapp);
  color: white;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  font-size: 2rem;
  z-index: 999;
  transition: var(--transition);
  cursor: pointer;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) rotate(5deg);
  background: var(--green-whatsapp-dark);
  color: white;
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background: white;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent white;
}

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

/* Lightbox Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(0,0,0,0.9);
}

.modal-img-container {
  height: 420px;
  background: #000;
}

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

.modal-body {
  padding: 1.5rem;
}

.modal-body h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.modal-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero h1 {
    font-size: 2.7rem;
  }
  .hero-main-card img {
    height: 380px;
  }
  .human-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .header-logo-image {
    width: 180px;
    height: 58px;
  }
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    gap: 1.25rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .mobile-toggle {
    display: block;
  }
  .hero {
    padding: 2.5rem 0 3.5rem;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .human-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .about-checklist {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .floating-card-1 {
    right: 10px;
    top: 10px;
  }
  .floating-card-2 {
    left: 10px;
    bottom: 10px;
  }
}
