/* ============================================================
   GuateBot — styles.css
   ============================================================ */

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

:root {
  --verde: #1f8b4c;
  --verde-oscuro: #146c3a;
  --verde-claro: #2ebd6b;
  --azul: #0b2b4a;
  --azul-medio: #1e3a5f;
  --gris-texto: #4d6a8a;
  --gris-suave: #f8fafc;
  --gris-borde: #e2edf7;
  --whatsapp: #25D366;
  --whatsapp-hover: #1eb955;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--gris-suave);
  color: var(--azul);
  line-height: 1.5;
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ============ HEADER ============ */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 90, 150, 0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--azul);
}

.logo i { color: var(--verde); font-size: 28px; }
.logo span { color: var(--verde); }

nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
  font-weight: 500;
  color: var(--azul-medio);
  font-size: 15px;
}

nav ul li a {
  color: inherit;
  transition: color 0.2s;
}

nav ul li a:hover,
nav ul li a.active { color: var(--verde); }

.dropdown { position: relative; }
.dropdown > a { display: flex; align-items: center; gap: 6px; cursor: pointer; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
  padding: 12px;
  min-width: 280px;
  max-height: 70vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  border: 1px solid var(--gris-borde);
  margin-top: 10px;
  z-index: 200;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li { list-style: none; }
.dropdown-menu .dropdown-cat {
  padding: 12px 14px 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--verde);
  font-weight: 700;
}
.dropdown-menu .dropdown-cat strong { display: flex; align-items: center; gap: 8px; }

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s;
}
.dropdown-menu li a:hover { background: #f0f7fc; color: var(--verde); }
.dropdown-menu li a i { width: 18px; color: var(--verde); }

/* ============ BOTONES ============ */
.btn-primary {
  padding: 12px 28px;
  background: var(--verde);
  border: none;
  border-radius: 40px;
  font-weight: 600;
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 8px 16px -6px rgba(31, 139, 76, 0.3);
  display: inline-block;
}
.btn-primary:hover {
  background: var(--verde-oscuro);
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -8px rgba(31, 139, 76, 0.4);
}

.btn-outline {
  padding: 12px 28px;
  border: 1.5px solid var(--verde);
  border-radius: 40px;
  font-weight: 600;
  color: var(--verde);
  background: transparent;
  transition: all 0.2s;
  cursor: pointer;
  font-size: 15px;
  display: inline-block;
}
.btn-outline:hover { background: var(--verde); color: white; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--whatsapp);
  color: white;
  border-radius: 40px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s;
  box-shadow: 0 10px 20px -8px rgba(37, 211, 102, 0.5);
  border: none;
  cursor: pointer;
}
.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -8px rgba(37, 211, 102, 0.6);
}
.btn-whatsapp i { font-size: 20px; }
.btn-whatsapp.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-whatsapp.w-100 { width: 100%; justify-content: center; }

/* ============ HERO ============ */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(145deg, #ffffff 0%, #f0f7fc 100%);
  border-bottom: 1px solid rgba(31, 139, 76, 0.1);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--azul);
  margin-bottom: 24px;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--verde), var(--verde-claro));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  color: #3b5a7a;
  margin-bottom: 32px;
  max-width: 90%;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; }
.stat-item h3 { font-size: 28px; font-weight: 800; color: var(--verde); }
.stat-item p { font-size: 15px; color: var(--gris-texto); margin-bottom: 0; }

.hero-image {
  background: linear-gradient(135deg, #d9f0e6, #c2e5d9);
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 30px 40px -20px rgba(31, 139, 76, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
.hero-image > i { font-size: 140px; color: var(--verde); opacity: 0.9; }

.chat-bubble-demo {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: white;
  border-radius: 24px;
  padding: 16px 20px;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--azul-medio);
  border: 1px solid rgba(31, 139, 76, 0.2);
}
.chat-bubble-demo i { font-size: 24px; color: var(--verde); }

/* ============ PAGE HEADER ============ */
.page-header {
  padding: 60px 0 50px;
  background: linear-gradient(145deg, #ffffff 0%, #f0f7fc 100%);
  border-bottom: 1px solid rgba(31, 139, 76, 0.1);
  text-align: center;
}
.page-header .breadcrumb {
  font-size: 14px;
  color: #7a97b3;
  margin-bottom: 16px;
}
.page-header .breadcrumb a { color: var(--verde); }
.page-header h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--azul);
  margin-bottom: 16px;
}
.page-header h1 i { color: var(--verde); margin-right: 10px; }
.page-header p {
  font-size: 18px;
  color: var(--gris-texto);
  max-width: 720px;
  margin: 0 auto;
}

/* ============ SECTION TITLE ============ */
.section-title {
  text-align: center;
  margin-bottom: 56px;
}
.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--azul);
  margin-bottom: 12px;
}
.section-title p {
  color: var(--gris-texto);
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto;
}

/* ============ SERVICIOS ============ */
.servicios { padding: 80px 0; background: white; }

.categoria-block { margin-bottom: 60px; }
.categoria-block:last-child { margin-bottom: 0; }

.categoria-titulo {
  font-size: 22px;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid #e7f3ed;
}
.categoria-titulo i {
  width: 44px;
  height: 44px;
  background: #e7f3ed;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde);
  font-size: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--gris-borde);
  border-radius: 22px;
  padding: 28px 22px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02);
  display: block;
  color: inherit;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--verde);
  box-shadow: 0 20px 30px -12px rgba(31, 139, 76, 0.15);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: #e7f3ed;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon i { font-size: 26px; color: var(--verde); }
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--azul);
}
.service-card p {
  color: var(--gris-texto);
  font-size: 14px;
  margin-bottom: 16px;
}
.service-tag {
  display: inline-block;
  background: #f0f7fc;
  color: var(--verde);
  font-weight: 600;
  font-size: 12px;
  padding: 5px 13px;
  border-radius: 40px;
}

/* ============ RUBROS ============ */
.marketplace { padding: 80px 0; background: #f0f7fc; }
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.market-card {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--gris-borde);
  transition: all 0.25s;
  display: block;
  color: inherit;
}
.market-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -12px rgba(31, 139, 76, 0.12);
  border-color: var(--verde);
}
.market-thumb {
  height: 120px;
  background: linear-gradient(135deg, #e7f3ed, #cde9dc);
  display: flex;
  align-items: center;
  justify-content: center;
}
.market-thumb i { font-size: 46px; color: var(--verde); opacity: 0.85; }
.market-body { padding: 22px; }
.market-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 8px;
}
.market-body p { font-size: 14px; color: var(--gris-texto); line-height: 1.5; }

.market-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--verde);
  font-weight: 600;
  font-size: 13px;
  transition: gap 0.2s;
}
.market-card:hover .market-link {
  gap: 10px;
}
.market-link i {
  font-size: 11px;
}

/* ============ BENEFICIOS ============ */
.beneficios { padding: 80px 0; background: white; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.benefit-item {
  background: #f8fbfe;
  padding: 32px 24px;
  border-radius: 22px;
  border: 1px solid var(--gris-borde);
  text-align: center;
  transition: all 0.25s;
}
.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 24px -12px rgba(31, 139, 76, 0.15);
}
.benefit-item i { font-size: 32px; color: var(--verde); margin-bottom: 18px; }
.benefit-item h4 { font-size: 18px; font-weight: 700; color: var(--azul); margin-bottom: 10px; }
.benefit-item p { font-size: 14px; color: var(--gris-texto); }

/* ============ CONTENT SECTION ============ */
.content-section { padding: 70px 0; background: white; }
.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}
.content-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--azul);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.content-text > p {
  font-size: 16px;
  color: var(--gris-texto);
  margin-bottom: 24px;
}
.feature-list { list-style: none; margin-bottom: 32px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--azul-medio);
}
.feature-list li i { color: var(--verde); font-size: 18px; margin-top: 2px; }
.cta-inline { margin-top: 20px; }

/* ============ CHAT MOCKUP ============ */
.chat-mockup {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 30px 50px -20px rgba(0, 50, 30, 0.25);
  border: 1px solid #d0e6db;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}
.chat-header {
  background: var(--verde);
  padding: 18px 20px;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-header i { font-size: 24px; }
.chat-header span { font-weight: 600; }

.chat-body {
  padding: 20px;
  background: #f7fcf9;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.message {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
}
.message.bot {
  background: white;
  border: 1px solid #cde6d9;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: var(--azul-medio);
}
.message.user {
  background: var(--verde);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-input-mock {
  display: flex;
  padding: 12px 16px;
  background: white;
  border-top: 1px solid #d0e6db;
  align-items: center;
  gap: 10px;
}
.chat-input-mock input {
  flex: 1;
  border: none;
  background: #f0f7fc;
  padding: 12px 16px;
  border-radius: 40px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.chat-input-mock i {
  color: var(--verde);
  font-size: 20px;
  background: #e7f3ed;
  padding: 10px;
  border-radius: 50%;
}

/* ============ CASOS DE USO ============ */
.casos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.caso-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: white;
  border: 1px solid var(--gris-borde);
  border-radius: 14px;
  transition: all 0.2s;
}
.caso-item:hover {
  border-color: var(--verde);
  background: #f5fbf8;
  transform: translateX(4px);
}
.caso-item i {
  color: var(--verde);
  font-size: 18px;
  flex-shrink: 0;
}
.caso-item span {
  font-size: 15px;
  color: var(--azul-medio);
  font-weight: 500;
}

/* ============ PROCESO ============ */
.proceso { padding: 80px 0; background: white; }
.proceso-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.proceso-paso {
  background: #f8fbfe;
  border: 1px solid var(--gris-borde);
  border-radius: 22px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.25s;
}
.proceso-paso:hover {
  transform: translateY(-4px);
  border-color: var(--verde);
  box-shadow: 0 16px 24px -12px rgba(31, 139, 76, 0.15);
}
.proceso-num {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--verde), var(--verde-claro));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 18px;
}
.proceso-paso h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 10px;
}
.proceso-paso p {
  font-size: 14px;
  color: var(--gris-texto);
  line-height: 1.5;
}

/* ============ FAQ (ACORDEÓN) ============ */
.faq-section { padding: 80px 0; background: #f0f7fc; }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 22px;
  border: 1px solid var(--gris-borde);
  overflow: hidden;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.05);
}

.faq-list .accordion-item {
  border-bottom: 1px solid var(--gris-borde);
}

.faq-list .accordion-item:last-child {
  border-bottom: none;
}

.faq-list .accordion-button {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 26px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--azul);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: inherit;
  transition: all 0.2s;
}

.faq-list .accordion-button:hover {
  background: #f5fbf8;
  color: var(--verde);
}

.faq-list .accordion-button span {
  flex: 1;
}

.faq-list .accordion-button i {
  color: var(--verde);
  transition: transform 0.25s;
  flex-shrink: 0;
  font-size: 14px;
}

.faq-list .accordion-item.open .accordion-button {
  background: #f5fbf8;
  color: var(--verde);
}

.faq-list .accordion-item.open .accordion-button i {
  transform: rotate(180deg);
}

.faq-list .accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--gris-texto);
  font-size: 15px;
  line-height: 1.6;
  padding: 0 26px;
}

.faq-list .accordion-item.open .accordion-body {
  max-height: 500px;
  padding: 0 26px 24px;
}

/* ============ CTA ============ */
.cta {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--azul), #1a4a6e);
  color: white;
  text-align: center;
}
.cta h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.cta p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ FOOTER ============ */
footer {
  background: #0b1e33;
  color: #b0c8dd;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  font-size: 26px;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.footer-logo i { color: var(--verde-claro); }
.footer-logo span { color: var(--verde-claro); }

.footer-about p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 300px;
  color: #9bb5cc;
}
.footer-contact {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--verde-claro);
  font-weight: 600;
  font-size: 15px;
}
.footer-contact a:hover { color: #4dd88a; }

.footer-col h4 {
  color: white;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  color: #9bb5cc;
  font-size: 15px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--verde-claro); }
.footer-col ul li a strong { color: var(--verde-claro); }

.footer-bottom {
  border-top: 1px solid #1e3a5f;
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
  color: #7a97b3;
}

/* ============ WHATSAPP FLOTANTE ============ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background: var(--whatsapp);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 12px 24px -6px rgba(37, 211, 102, 0.5);
  z-index: 200;
  transition: all 0.25s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 16px 30px -6px rgba(37, 211, 102, 0.7);
}

/* ============ COTIZADOR ============ */
.cotizador-rango {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  background: white;
  padding: 18px 36px;
  border-radius: 60px;
  margin-top: 28px;
  box-shadow: 0 10px 30px -10px rgba(31, 139, 76, 0.2);
  border: 1px solid rgba(31, 139, 76, 0.15);
}
.rango-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.rango-item span {
  font-size: 12px;
  color: var(--gris-texto);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.rango-item strong {
  font-size: 26px;
  font-weight: 800;
  color: var(--verde);
  letter-spacing: -0.5px;
}
.rango-divisor {
  width: 1px;
  height: 40px;
  background: var(--gris-borde);
}

.cotizador-section { padding: 60px 0 80px; background: #f0f7fc; }

.cotizador-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.cotizador-opciones { display: flex; flex-direction: column; gap: 24px; }

.cotizador-paso {
  background: white;
  border-radius: 22px;
  padding: 26px;
  border: 1px solid var(--gris-borde);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.paso-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.paso-num {
  width: 34px;
  height: 34px;
  background: var(--verde);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.paso-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--azul);
  letter-spacing: -0.3px;
}
.paso-ayuda {
  font-size: 13.5px;
  color: #7a97b3;
  margin: 0 0 18px 48px;
  line-height: 1.5;
}

.opciones-radio,
.opciones-check { display: grid; gap: 10px; }
.opciones-check { grid-template-columns: 1fr 1fr; }

.opcion-radio,
.opcion-check { position: relative; cursor: pointer; display: block; }
.opcion-radio input,
.opcion-check input { position: absolute; opacity: 0; pointer-events: none; }

.opcion-radio .opcion-contenido,
.opcion-check .opcion-contenido {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--gris-borde);
  border-radius: 14px;
  background: #fafcfe;
  transition: all 0.15s;
  font-size: 14px;
  line-height: 1.4;
  height: 100%;
}
.opcion-check .opcion-contenido i {
  font-size: 20px;
  color: var(--verde);
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}
.opcion-contenido strong {
  display: block;
  color: var(--azul);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.opcion-contenido span {
  display: block;
  color: var(--gris-texto);
  font-size: 12.5px;
}
.opcion-radio:hover .opcion-contenido,
.opcion-check:hover .opcion-contenido {
  border-color: var(--verde-claro);
  background: #f5fbf8;
}
.opcion-radio input:checked + .opcion-contenido,
.opcion-check input:checked + .opcion-contenido {
  border-color: var(--verde);
  background: #eaf7f0;
  box-shadow: 0 0 0 3px rgba(31, 139, 76, 0.08);
}
.opcion-check input:disabled + .opcion-contenido {
  opacity: 0.7;
  cursor: not-allowed;
  background: #f0f7fc;
}

.badge-popular {
  display: inline-block;
  background: var(--verde);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-style: normal;
  vertical-align: middle;
}

.cotizador-resumen { position: sticky; top: 100px; }

.resumen-card {
  background: white;
  border-radius: 22px;
  padding: 26px;
  border: 2px solid var(--verde);
  box-shadow: 0 20px 40px -20px rgba(31, 139, 76, 0.25);
}
.resumen-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gris-borde);
}
.resumen-card h3 i { color: var(--verde); }

.resumen-items {
  min-height: 60px;
  max-height: 320px;
  overflow-y: auto;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.resumen-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 8px 10px;
  background: #f5fbf8;
  border-radius: 8px;
  color: var(--azul-medio);
  border-left: 3px solid var(--verde);
  line-height: 1.35;
}
.resumen-item strong {
  color: var(--verde);
  font-weight: 700;
  white-space: nowrap;
  font-size: 12.5px;
}
.resumen-vacio {
  color: #b0c8dd;
  font-size: 13px;
  text-align: center;
  padding: 20px 0;
  font-style: italic;
}

.resumen-totales {
  border-top: 1px solid var(--gris-borde);
  padding-top: 16px;
  margin-bottom: 20px;
}
.resumen-linea {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--gris-texto);
}
.resumen-linea strong { font-size: 15px; color: var(--azul); }
.resumen-setup strong { color: var(--azul); }
.resumen-mensual strong { color: var(--verde); }

.resumen-total {
  border-top: 2px dashed var(--gris-borde);
  margin-top: 8px;
  padding-top: 14px;
  font-weight: 700;
}
.resumen-total span {
  font-size: 15px;
  color: var(--azul);
  font-weight: 700;
}
.resumen-total strong {
  font-size: 24px;
  color: var(--verde);
  font-weight: 800;
}

.resumen-acciones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-reset {
  background: transparent;
  border: 1.5px solid var(--gris-borde);
  border-radius: 40px;
  padding: 10px;
  font-size: 13px;
  color: var(--gris-texto);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-reset:hover { border-color: var(--verde); color: var(--verde); }

.resumen-nota {
  font-size: 11.5px;
  color: #9bb5cc;
  margin-top: 14px;
  text-align: center;
  line-height: 1.5;
}
.resumen-nota i { color: var(--verde); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-grid, .content-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .hero p { max-width: 100%; }
  .hero-image { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav ul { display: none; }
  .page-header h1 { font-size: 32px; }
  .cotizador-grid { grid-template-columns: 1fr; }
  .cotizador-resumen { position: static; }
  .opciones-check { grid-template-columns: 1fr; }
  .cotizador-rango { flex-direction: column; gap: 12px; padding: 18px 24px; }
  .rango-divisor { width: 60px; height: 1px; }
}

@media (max-width: 550px) {
  .hero h1 { font-size: 30px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .services-grid { grid-template-columns: 1fr; }
  .section-title h2 { font-size: 26px; }
  .page-header h1 { font-size: 26px; }
  .marketplace-grid { grid-template-columns: 1fr; }
  .whatsapp-float { width: 56px; height: 56px; font-size: 28px; bottom: 20px; right: 20px; }
  .categoria-titulo { font-size: 18px; }
  .cotizador-paso { padding: 20px 16px; }
  .paso-ayuda { margin-left: 0; }
  .resumen-card { padding: 20px 16px; }
  .resumen-total strong { font-size: 20px; }
  .faq-list .accordion-button { padding: 18px 20px; font-size: 15px; }
  .faq-list .accordion-item.open .accordion-body { padding: 0 20px 20px; }
}