/* ================================================================
   CasaFlex — Cotizador CSS
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:     #1a3a5c;
  --primary-light: #2563a8;
  --accent:      #f59e0b;
  --accent-dark: #d97706;
  --success:     #16a34a;
  --danger:      #dc2626;
  --bg:          #f0f4f8;
  --card-bg:     #ffffff;
  --text:        #1e293b;
  --text-muted:  #64748b;
  --border:      #e2e8f0;
  --radius:      14px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(26,58,92,0.10);
  --shadow-lg:   0 8px 40px rgba(26,58,92,0.16);
  --transition:  all 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  background: var(--primary);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.header-logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 48px; width: auto; object-fit: contain; }
.logo-text-fallback {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px; font-weight: 900;
  color: var(--accent); letter-spacing: 2px;
}
.header-trust { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-badge {
  background: rgba(255,255,255,0.12);
  color: #e0eeff; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px; padding: 5px 14px;
  font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 5px;
}
.trust-icon { font-size: 14px; }
.trust-badge-accent {
  background: rgba(245,158,11,0.2) !important;
  color: var(--accent) !important;
  border-color: rgba(245,158,11,0.4) !important;
  font-weight: 700 !important;
}

/* ================================================================
   HERO
   ================================================================ */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2640 40%, #1e4080 100%);
  color: white; padding: 80px 24px 60px;
  display: flex; align-items: center; justify-content: center;
  gap: 60px; flex-wrap: wrap; overflow: hidden; position: relative;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { max-width: 560px; position: relative; }
.hero-eyebrow {
  font-size: 13px; font-weight: 600;
  color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 12px; display: block;
}
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 5vw, 58px); font-weight: 900;
  line-height: 1.1; margin-bottom: 20px;
}
.hero-title .highlight { color: var(--accent); }
.hero-subtitle {
  font-size: 17px; color: #b0c8e8; line-height: 1.7; margin-bottom: 36px;
}
.hero-stats {
  display: flex; align-items: center; gap: 24px; margin-bottom: 36px; flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 28px; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 12px; color: #8eb0d0; text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

.cta-button {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--primary);
  font-size: 17px; font-weight: 800;
  padding: 16px 32px; border-radius: 50px; border: none;
  cursor: pointer; transition: var(--transition);
  box-shadow: 0 4px 20px rgba(245,158,11,0.4);
}
.cta-button:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,158,11,0.5); }

.hero-image { position: relative; }
.hero-house-visual {
  width: 380px; max-width: 100%;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-house-visual svg { width: 100%; height: auto; }

/* ================================================================
   COTIZADOR WRAPPER
   ================================================================ */
.cotizador-wrap {
  max-width: 1280px; margin: 0 auto;
  padding: 60px 24px 80px;
}
.cotizador-header { text-align: center; margin-bottom: 40px; }
.cotizador-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 4vw, 36px); font-weight: 800;
  color: var(--primary); margin-bottom: 10px;
}
.cotizador-header p { color: var(--text-muted); font-size: 16px; }
.cotizador-header .highlight { color: var(--primary-light); }

/* ================================================================
   STEPS NAV
   ================================================================ */
.steps-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 40px; flex-wrap: wrap;
  background: var(--card-bg); border-radius: 60px;
  padding: 14px 24px; box-shadow: var(--shadow);
  overflow-x: auto;
}
.step-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; min-width: 70px;
}
.step-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: #e2e8f0; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; transition: var(--transition);
  position: relative;
}
.step-check { display: none; }
.step-num { display: block; }
.step-item.active .step-circle { background: var(--primary); color: white; box-shadow: 0 4px 12px rgba(26,58,92,0.35); transform: scale(1.12); }
.step-item.completed .step-circle { background: var(--success); }
.step-item.completed .step-check { display: block; }
.step-item.completed .step-num { display: none; }
.step-label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-align: center; white-space: nowrap; }
.step-item.active .step-label, .step-item.completed .step-label { color: var(--primary); }
.step-line { flex: 1; min-width: 24px; max-width: 60px; height: 2px; background: var(--border); margin: 0 4px; margin-bottom: 20px; }

/* ================================================================
   COTIZADOR BODY
   ================================================================ */
.cotizador-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px; align-items: start;
}
@media (max-width: 900px) {
  .cotizador-body { grid-template-columns: 1fr; }
  .quote-sidebar { order: -1; }
}

/* ================================================================
   STEP PANELS
   ================================================================ */
.steps-panel { position: relative; }
.step-panel {
  display: none;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
  animation: slideIn 0.3s ease;
}
.step-panel.active { display: block; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.step-title-area { text-align: center; margin-bottom: 36px; }
.step-icon-big { font-size: 52px; margin-bottom: 12px; }
.step-title-area h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 3vw, 28px); font-weight: 800;
  color: var(--primary); margin-bottom: 10px;
}
.step-title-area p { color: var(--text-muted); font-size: 16px; max-width: 560px; margin: 0 auto; }

/* ================================================================
   KITS GRID
   ================================================================ */
.kits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.kit-card {
  background: var(--card-bg); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 0;
  cursor: pointer; transition: var(--transition);
  overflow: hidden; position: relative;
}
.kit-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(26,58,92,0.18);
}
.kit-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.2), 0 8px 30px rgba(26,58,92,0.2);
}
.kit-card-img {
  width: 100%; aspect-ratio: 4/3; overflow: hidden;
  background: linear-gradient(135deg, #e0f0ff, #f0f8ff);
}
.kit-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kit-card-body { padding: 16px; }
.kit-card-name {
  font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 4px;
}
.kit-card-sqm {
  display: inline-block; background: var(--primary);
  color: white; font-size: 11px; font-weight: 700;
  padding: 2px 10px; border-radius: 20px; margin-bottom: 10px;
}
.kit-card-features {
  font-size: 13px; color: var(--text-muted); margin: 8px 0;
  display: flex; align-items: center; gap: 8px;
}
.kit-card-price {
  font-size: 20px; font-weight: 800; color: var(--primary-light);
}
.kit-card-price span { font-size: 12px; font-weight: 500; color: var(--text-muted); display: block; margin-top: 2px; }
.kit-has-gallery {
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--primary); font-weight: 600;
  text-align: center;
}
.kit-selected-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--success); color: white;
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px;
  display: none;
}
.kit-card.selected .kit-selected-badge { display: block; }
.kit-loading {
  grid-column: 1/-1; text-align: center; padding: 40px; color: var(--text-muted);
}
.spinner {
  width: 36px; height: 36px; border: 3px solid var(--border);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.8s linear infinite; margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================================
   OPTION CARDS
   ================================================================ */
.option-cards-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px;
}
@media (max-width: 600px) { .option-cards-row { grid-template-columns: 1fr; } }

.option-card {
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 28px 20px; text-align: center; cursor: pointer;
  transition: var(--transition); background: var(--card-bg);
}
.option-card:hover { border-color: var(--primary-light); transform: translateY(-3px); box-shadow: var(--shadow); }
.option-card.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, #eef4ff, #f0f8ff);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.12);
}
.opt-icon { font-size: 44px; margin-bottom: 12px; }
.option-card h4 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.option-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.opt-price-tag {
  display: inline-block;
  background: var(--primary); color: white;
  font-size: 15px; font-weight: 700; padding: 6px 18px; border-radius: 20px;
}
.opt-price-tag.free { background: var(--success); }

/* ================================================================
   INFO BOX
   ================================================================ */
.info-box {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fffbea; border: 1px solid #fde68a;
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 28px;
}
.info-icon { font-size: 28px; flex-shrink: 0; }
.info-text { font-size: 14px; color: #7a5c00; line-height: 1.6; }
.info-text strong { color: #5c4000; }

/* ================================================================
   WHAT INCLUDES
   ================================================================ */
.what-includes {
  background: #f8fafd; border-radius: var(--radius); padding: 20px 24px;
}
.what-includes h5 { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.what-includes ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 600px) { .what-includes ul { grid-template-columns: 1fr; } }
.what-includes li { font-size: 14px; color: var(--text); }

/* ================================================================
   STEP 6: QUOTE FORM
   ================================================================ */
.quote-summary-box {
  background: linear-gradient(135deg, #f0f6ff, #e8f2ff);
  border: 1px solid #bfd4f5; border-radius: var(--radius);
  padding: 24px; margin-bottom: 28px;
}
.qsb-title { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.qsb-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 15px;
}
.qsb-item:last-child { border: none; }
.qsb-label { color: var(--text); }
.qsb-price { font-weight: 700; color: var(--primary-light); }
.qsb-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0 0; margin-top: 8px;
}
.qsb-total-label { font-size: 18px; font-weight: 800; color: var(--primary); }
.qsb-total-amount { font-size: 24px; font-weight: 900; color: var(--primary); }

.payment-section { margin-bottom: 28px; }
.payment-section h4, .assembly-section h4, .contact-form-section h4 {
  font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 14px;
}
.payment-options { display: flex; gap: 14px; flex-wrap: wrap; }
.payment-option { cursor: pointer; }
.payment-option input { display: none; }
.payment-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 18px 24px; transition: var(--transition); min-width: 130px;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.payment-icon { font-size: 32px; }
.payment-option input:checked + .payment-card {
  border-color: var(--primary); background: #eef4ff; color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}

.payment-guarantee-box {
  margin-top: 24px; padding: 20px 24px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #86efac; border-radius: 12px;
  display: flex; align-items: center; gap: 16px;
}
.guarantee-icon {
  font-size: 42px; flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.guarantee-content h5 {
  font-size: 18px; font-weight: 800; color: #166534;
  margin: 0 0 6px 0; font-family: 'Montserrat', sans-serif;
}
.guarantee-content p {
  font-size: 14px; color: #15803d; margin: 0; line-height: 1.5;
}
.guarantee-content strong {
  color: #166534; font-weight: 700;
}

.assembly-section { margin-bottom: 28px; }
.assembly-note { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.assembly-toggle { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: 15px; font-weight: 500; }
.toggle-switch { position: relative; display: inline-block; width: 52px; height: 28px; }
.toggle-switch input { display: none; }
.toggle-slider {
  position: absolute; inset: 0; background: #cbd5e1;
  border-radius: 28px; transition: var(--transition); cursor: pointer;
}
.toggle-slider::before {
  content: ''; position: absolute; width: 22px; height: 22px;
  background: white; border-radius: 50%; left: 3px; top: 3px;
  transition: var(--transition); box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); }

#assembly-region-select { margin-top: 12px; }
#assembly-region-select label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
#assembly-region-select select {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: 10px; font-size: 15px; color: var(--text);
  background: white; appearance: none; cursor: pointer;
}
.assembly-price-note { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.hidden { display: none !important; }

.contact-form-section { margin-top: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--text); }
.required { color: var(--danger); }
.form-group input, .form-group select {
  padding: 13px 16px; border: 2px solid var(--border);
  border-radius: 10px; font-size: 15px; color: var(--text);
  transition: var(--transition); background: white;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}
.form-notice {
  display: flex; align-items: center; gap: 8px;
  background: #f0f9f0; border: 1px solid #86efac;
  border-radius: 10px; padding: 12px 16px;
  font-size: 13px; color: #166534; margin-bottom: 20px;
}
.submit-btn {
  width: 100%; padding: 18px; font-size: 17px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white; border: none; border-radius: var(--radius);
  cursor: pointer; transition: var(--transition); display: flex;
  align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 16px rgba(26,58,92,0.3);
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,58,92,0.4); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-spinner {
  width: 22px; height: 22px; border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white; border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ================================================================
   STEP NAVIGATION
   ================================================================ */
.step-nav-buttons {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 24px; padding: 0 4px;
}
.nav-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px; border: none;
  font-size: 15px; font-weight: 700; cursor: pointer; transition: var(--transition);
}
.prev-btn { background: var(--card-bg); color: var(--text); border: 2px solid var(--border); }
.prev-btn:hover { border-color: var(--primary); color: var(--primary); }
.next-btn { background: var(--primary); color: white; box-shadow: 0 4px 14px rgba(26,58,92,0.3); }
.next-btn:hover { background: var(--primary-light); transform: translateX(4px); }

/* ================================================================
   SIDEBAR
   ================================================================ */
.quote-sidebar {
  position: sticky; top: 80px;
}
.sidebar-inner {
  background: var(--card-bg); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.sidebar-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 20px 20px 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.sidebar-header h4 { color: white; font-size: 16px; font-weight: 700; }
.sidebar-step-indicator { color: #a8c8f0; font-size: 12px; font-weight: 600; }
.sidebar-empty { padding: 36px 20px; text-align: center; color: var(--text-muted); }
.empty-icon { font-size: 48px; margin-bottom: 10px; opacity: 0.5; }
.sidebar-items { padding: 12px 0; }
.sidebar-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; border-bottom: 1px solid #f1f5f9;
}
.sidebar-item:last-child { border: none; }
.sb-item-icon { font-size: 22px; flex-shrink: 0; }
.sb-item-info { flex: 1; min-width: 0; }
.sb-item-label { display: block; font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.sb-item-name { display: block; font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-item-price { font-size: 14px; font-weight: 700; color: var(--primary-light); white-space: nowrap; flex-shrink: 0; }
.optional-item .sb-item-icon { opacity: 0.8; }

.sidebar-total {
  background: var(--primary); padding: 18px 20px;
}
.total-row {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px;
}
.total-row span:first-child { color: #a8c8f0; font-size: 13px; font-weight: 600; }
.total-amount { font-size: 22px; font-weight: 900; color: var(--accent); }
.total-note { font-size: 11px; color: #6890b0; }

.sidebar-shipping {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 16px; background: #f0fff4; border-top: 1px solid #bbf7d0;
}
.shipping-icon { font-size: 24px; flex-shrink: 0; }
.shipping-info { font-size: 12px; line-height: 1.5; }
.shipping-info strong { display: block; color: var(--success); font-size: 13px; }
.shipping-info span { color: #166534; }

.sidebar-assembly-note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 16px; background: #fefce8; border-top: 1px solid #fde68a;
  font-size: 12px; line-height: 1.5; color: #7a5c00;
}
.assembly-info-icon { font-size: 20px; flex-shrink: 0; }
.sidebar-assembly-note strong { display: block; color: #5c4000; font-size: 13px; }

.sidebar-trust { padding: 12px 16px; border-top: 1px solid var(--border); }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-muted); padding: 4px 0;
}

/* ================================================================
   MODAL
   ================================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-box {
  background: white; border-radius: var(--radius-lg);
  padding: 48px 40px; max-width: 480px; width: 100%;
  text-align: center; animation: popIn 0.3s cubic-bezier(.175,.885,.32,1.275);
  box-shadow: var(--shadow-lg);
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}
.modal-success-icon { font-size: 72px; margin-bottom: 20px; }
.modal-box h3 { font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.modal-box p { font-size: 15px; color: var(--text-muted); margin-bottom: 10px; }
.modal-quote-num { font-size: 16px; color: var(--text); font-weight: 600; }
.modal-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--primary);
  color: #8eb0d0; padding: 50px 24px 30px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px; align-items: start;
}
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-logo-img { height: 50px; opacity: 0.95; }
.footer-brand-text h4 { font-size: 22px; font-weight: 800; color: white; margin: 0; }
.footer-slogan { font-size: 12px; color: #a8c8e8; margin: 0; font-style: italic; }
.footer-about { font-size: 13px; color: #8eb0d0; line-height: 1.7; }
.footer-info h5 { font-size: 13px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.footer-info p { font-size: 14px; margin-bottom: 8px; color: #a8c8e8; }
.footer-info a { color: var(--accent); text-decoration: none; font-weight: 600; }
.footer-info a:hover { text-decoration: underline; }
.footer-copy { text-align: right; }
.footer-copy p { font-size: 12px; color: #6890b0; margin-bottom: 4px; }
.footer-credits { font-size: 11px; color: #486880; font-style: italic; }

/* ================================================================
   MODAL DE GALERÍA
   ================================================================ */
.gallery-modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.gallery-modal-overlay.active {
  display: flex;
}
.gallery-modal {
  position: relative;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.gallery-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}
.gallery-close:hover {
  background: rgba(0,0,0,0.9);
  transform: scale(1.1);
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  color: white;
  border: none;
  font-size: 32px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-nav:hover {
  background: rgba(0,0,0,0.9);
  transform: translateY(-50%) scale(1.1);
}
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.gallery-image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  padding: 20px;
  overflow: hidden;
}
.gallery-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}
.gallery-info {
  padding: 20px 24px;
  background: white;
  border-top: 1px solid var(--border);
}
.gallery-info h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 4px;
}
.gallery-info p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.gallery-counter {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}
.gallery-thumbnails {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  background: #f8f9fa;
  overflow-x: auto;
  border-top: 1px solid var(--border);
}
.gallery-thumb {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
}
.gallery-thumb:hover {
  border-color: var(--primary-light);
}
.gallery-thumb.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(26,58,92,0.2);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .hero-section { padding: 50px 20px 40px; text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-image { display: none; }
  .step-panel { padding: 24px 20px; }
  .steps-nav { padding: 10px 16px; gap: 0; }
  .step-label { display: none; }
  .cotizador-wrap { padding: 32px 16px 60px; }
  .modal-box { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-copy { text-align: left; }
  .payment-guarantee-box { flex-direction: column; text-align: center; padding: 18px 20px; }
  .guarantee-icon { font-size: 36px; }
  
  /* Modal de galería responsive */
  .gallery-modal-overlay { padding: 10px; }
  .gallery-modal { max-height: 95vh; }
  .gallery-nav { width: 40px; height: 40px; font-size: 24px; }
  .gallery-prev { left: 8px; }
  .gallery-next { right: 8px; }
  .gallery-info { padding: 16px; }
  .gallery-thumbnails { padding: 12px 16px; gap: 8px; }
  .gallery-thumb { width: 60px; height: 45px; }
}

@media (max-width: 480px) {
  .trust-badge { display: none; }
  .trust-badge:first-child { display: flex; }
  .kits-grid { grid-template-columns: 1fr 1fr; }
  .nav-btn span { display: none; }
}

/* ================================================================
   DIFFERENTIATOR STRIP
   ================================================================ */
.diff-strip {
  background: var(--primary);
  border-bottom: 3px solid var(--accent);
}
.diff-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.diff-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 28px; flex: 1; min-width: 200px;
}
.diff-icon-wrap {
  font-size: 28px; flex-shrink: 0;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.diff-text { display: flex; flex-direction: column; gap: 3px; }
.diff-text strong { color: white; font-size: 14px; font-weight: 700; line-height: 1.3; }
.diff-text span { color: #a8c8e8; font-size: 12px; }
.diff-sep { width: 1px; height: 48px; background: rgba(255,255,255,0.15); flex-shrink: 0; }
@media (max-width: 900px) {
  .diff-sep { display: none; }
  .diff-item { padding: 8px 16px; min-width: 160px; }
}
@media (max-width: 600px) {
  .diff-strip { display: none; }
}

/* ================================================================
   PROCESS SECTION
   ================================================================ */
.process-section {
  background: #f8fafd;
  padding: 80px 24px;
  border-bottom: 1px solid var(--border);
}
.process-inner { max-width: 1100px; margin: 0 auto; }
.process-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block;
  background: rgba(37,99,168,0.1); color: var(--primary-light);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  padding: 5px 16px; border-radius: 20px; margin-bottom: 14px;
}
.process-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 4vw, 36px); font-weight: 800;
  color: var(--primary); margin-bottom: 8px;
}
.process-header p { color: var(--text-muted); font-size: 16px; }
.process-steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}
.process-step {
  flex: 1; min-width: 170px; max-width: 215px;
  text-align: center;
  padding: 32px 20px;
  background: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.process-num {
  font-size: 11px; font-weight: 800; color: var(--accent);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px;
}
.process-icon { font-size: 42px; margin-bottom: 14px; }
.process-step h4 {
  font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 8px;
}
.process-step p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.process-arrow {
  font-size: 28px; color: var(--accent); padding: 0 4px;
  align-self: center; opacity: 0.5; flex-shrink: 0; margin-top: -20px;
}
@media (max-width: 860px) {
  .process-section { padding: 50px 20px; }
  .process-steps { gap: 14px; }
  .process-arrow { display: none; }
  .process-step { min-width: 140px; padding: 24px 14px; }
}

/* ================================================================
   KITS SPECS BAR
   ================================================================ */
.kits-specs-bar {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px;
}
.spec-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: #eef4ff; color: var(--primary);
  border: 1px solid #bfd4f5; border-radius: 20px;
  padding: 5px 13px; font-size: 12px; font-weight: 600;
}

/* ================================================================
   KIT DIMENSIONS
   ================================================================ */
.kit-dimensions {
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 4px; display: flex; align-items: center; gap: 4px;
}

/* ================================================================
   FINANCING / MINVU BANNER
   ================================================================ */
.financing-banner {
  display: flex; gap: 16px; align-items: flex-start;
  background: linear-gradient(135deg, #fffbea, #fff7d6);
  border: 1px solid #fde68a; border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 28px;
}
.fin-icon { font-size: 30px; flex-shrink: 0; margin-top: 2px; }
.fin-content h5 {
  font-size: 15px; font-weight: 700; color: #92400e; margin-bottom: 6px;
}
.fin-content p { font-size: 13px; color: #78350f; line-height: 1.6; margin: 0; }
.fin-content a { color: var(--primary-light); font-weight: 600; text-decoration: none; }
.fin-content a:hover { text-decoration: underline; }

/* ================================================================
   FAQ SECTION
   ================================================================ */
.faq-section {
  background: white;
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}
.faq-inner { max-width: 880px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 4vw, 34px); font-weight: 800;
  color: var(--primary); margin-bottom: 8px;
}
.faq-header p { color: var(--text-muted); font-size: 16px; }
.faq-grid { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item.open {
  border-color: var(--primary-light);
  box-shadow: 0 4px 18px rgba(37,99,168,0.1);
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 24px; background: none; border: none;
  cursor: pointer; text-align: left;
  font-size: 15px; font-weight: 600; color: var(--text);
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}
.faq-question:hover { background: #f8fafd; color: var(--primary); }
.faq-item.open .faq-question { background: #f0f6ff; color: var(--primary); }
.faq-arrow {
  flex-shrink: 0; transition: transform 0.3s ease; color: var(--text-muted);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  display: none; padding: 0 24px 20px; border-top: 1px solid var(--border);
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p {
  font-size: 14px; color: var(--text-muted); line-height: 1.75; padding-top: 16px; margin: 0;
}
.faq-answer strong { color: var(--text); }
.faq-answer a { color: var(--primary-light); font-weight: 600; text-decoration: none; }
.faq-answer a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .faq-section { padding: 50px 20px; }
  .faq-question { padding: 16px 18px; font-size: 14px; }
  .faq-answer { padding: 0 18px 16px; }
}

/* ================================================================
   WHATSAPP FLOATING BUTTON
   ================================================================ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  animation: waBounce 2s ease-in-out infinite;
}
@keyframes waBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.whatsapp-btn {
  display: flex; align-items: center; gap: 10px;
  background: #25d366; color: white;
  border-radius: 50px; padding: 14px 22px;
  text-decoration: none; font-weight: 700; font-size: 15px;
  box-shadow: 0 4px 22px rgba(37,211,102,0.5);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.whatsapp-btn:hover {
  background: #1db954; transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
  animation: none;
}
.whatsapp-label { white-space: nowrap; }
@media (max-width: 600px) {
  .whatsapp-float { bottom: 20px; right: 16px; animation: none; }
  .whatsapp-label { display: none; }
  .whatsapp-btn { padding: 14px; border-radius: 50%; width: 56px; height: 56px; justify-content: center; }
}

/* ================================================================
   TESTIMONIOS
   ================================================================ */
.testimonials-section {
  background: var(--primary);
  padding: 80px 24px;
}
.testimonials-inner { max-width: 1100px; margin: 0 auto; }
.testimonials-header { text-align: center; margin-bottom: 48px; }
.testimonials-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 4vw, 36px); font-weight: 800;
  color: white; margin-bottom: 8px;
}
.testimonials-header .section-eyebrow {
  background: rgba(245,158,11,0.2); color: var(--accent);
  border-color: rgba(245,158,11,0.3);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.testimonial-stars { font-size: 18px; color: var(--accent); letter-spacing: 2px; }
.testimonial-text {
  font-size: 14px; color: #c8dcf0; line-height: 1.75;
  font-style: italic; flex: 1;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: var(--primary);
  font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; color: white; font-weight: 700; }
.testimonial-author span  { display: block; font-size: 11px; color: #7090b0; margin-top: 2px; }
@media (max-width: 768px) {
  .testimonials-section { padding: 50px 20px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   KIT PDF DOWNLOAD BAR
   ================================================================ */
.kit-pdf-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  background: linear-gradient(135deg, #eef4ff, #e8f0fe);
  border: 1.5px solid #bfd4f5; border-radius: var(--radius);
  padding: 16px 20px; margin-top: 20px;
}
.kit-pdf-bar-text {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text);
}
.pdf-icon { font-size: 22px; }
.pdf-download-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: white;
  padding: 10px 20px; border-radius: 50px;
  font-size: 13px; font-weight: 700; text-decoration: none;
  transition: var(--transition); white-space: nowrap;
  box-shadow: 0 2px 10px rgba(26,58,92,0.25);
}
.pdf-download-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(26,58,92,0.35);
}
@media (max-width: 600px) {
  .kit-pdf-bar { flex-direction: column; align-items: flex-start; }
  .pdf-download-btn { width: 100%; justify-content: center; }
}

/* ================================================================
   KIT ASSEMBLY PRICE TAG
   ================================================================ */
.kit-assembly-price {
  font-size: 12px; color: var(--success);
  font-weight: 600; margin-top: 4px;
  display: flex; align-items: center; gap: 4px;
}
