/* ═══════════════════════════════════════════════════════════════════
   COCO ON — ENHANCEMENTS CSS (10 MEJORAS DE CONVERSIÓN & SEO)
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. DUAL-FUNNEL HERO SWITCHER ── */
.hero-funnel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.5rem auto 2.5rem;
  max-width: 720px;
  width: 100%;
  z-index: 10;
  position: relative;
}
.hero-funnel-switch {
  display: inline-flex;
  background: rgba(7, 14, 7, 0.85);
  border: 1px solid rgba(0, 255, 65, 0.25);
  border-radius: 50px;
  padding: 4px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -5px rgba(0,0,0,0.6), 0 0 20px rgba(0, 255, 65, 0.15);
  gap: 4px;
}
.funnel-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.funnel-btn:hover {
  color: #fff;
}
.funnel-btn.active {
  background: linear-gradient(135deg, var(--neon), var(--lime));
  color: #000;
  box-shadow: 0 4px 18px rgba(0, 255, 65, 0.35);
  font-weight: 700;
}
.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.8rem;
}
.btn-hero-quote {
  background: linear-gradient(135deg, var(--neon), var(--lime));
  color: #000;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 255, 65, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-hero-quote:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 255, 65, 0.4);
}
.btn-hero-call {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 179, 0.35);
  color: var(--mint);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-hero-call:hover {
  background: rgba(0, 255, 179, 0.15);
  border-color: var(--mint);
  transform: translateY(-3px);
  color: #fff;
}

/* ── 2. COTIZADOR INTERACTIVO ── */
#cotizador {
  padding: 5rem 2rem;
  position: relative;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cotizador-card {
  max-width: 1080px;
  margin: 0 auto;
  background: rgba(8, 16, 8, 0.85);
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px -15px rgba(0,0,0,0.8), 0 0 50px rgba(0, 255, 65, 0.08);
}
.cotizador-header {
  text-align: center;
  margin-bottom: 2rem;
}
.badge-pill {
  display: inline-block;
  background: rgba(0, 255, 65, 0.12);
  border: 1px solid rgba(0, 255, 65, 0.3);
  color: var(--neon);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}
.cotizador-header h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff, var(--neon));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cotizador-header p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}
.cotizador-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.cot-tab-btn {
  background: rgba(12, 21, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  padding: 0.75rem 1.8rem;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.cot-tab-btn.active {
  border-color: var(--neon);
  color: #fff;
  background: rgba(0, 255, 65, 0.1);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.15);
}
.cot-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--neon);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.cot-grid-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.9rem;
}
.cot-opt-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem;
  background: rgba(5, 10, 5, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.cot-opt-card:hover {
  border-color: rgba(0, 255, 65, 0.3);
  background: rgba(0, 255, 65, 0.04);
}
.cot-opt-card.active {
  border-color: var(--neon);
  background: rgba(0, 255, 65, 0.08);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.15);
}
.opt-radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  margin-top: 3px;
  transition: all 0.2s;
}
.cot-opt-card.active .opt-radio-circle {
  border-color: var(--neon);
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
}
.opt-content h4 {
  font-size: 0.98rem;
  color: #fff;
  margin-bottom: 0.25rem;
}
.opt-content p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}

.cot-radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
}
.cot-radio-card {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: rgba(5, 10, 5, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.cot-radio-card input {
  display: none;
}
.cot-radio-card.selected {
  border-color: var(--lime);
  background: rgba(170, 255, 0, 0.07);
}
.radio-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  margin-bottom: 0.2rem;
}
.radio-desc {
  font-size: 0.78rem;
  color: var(--muted);
}

.cot-select-wrap select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(5, 10, 5, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  outline: none;
}
.cot-select-wrap select:focus {
  border-color: var(--neon);
}

.cot-result-box {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.06), rgba(0, 255, 179, 0.03));
  border: 1px solid rgba(0, 255, 179, 0.3);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}
@media(max-width: 860px) {
  .cot-result-box { grid-template-columns: 1fr; }
}
.cot-res-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cot-res-price {
  margin: 0.4rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.price-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  background: linear-gradient(135deg, var(--neon), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.price-tax {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}
.cot-res-time {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--mint);
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
}
.cot-includes {
  list-style: none;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}
.cot-includes li {
  margin-bottom: 0.2rem;
}

.cot-action-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.8rem;
}
.cot-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}
@media(max-width: 480px) {
  .cot-input-row { grid-template-columns: 1fr; }
}
.cot-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
}
.cot-input:focus {
  outline: none;
  border-color: var(--neon);
}
.cot-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.btn-wa-direct {
  background: #25D366;
  color: #000;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}
.btn-wa-direct:hover {
  transform: translateY(-2px);
  background: #2fe673;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}
.btn-cal-direct {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-cal-direct:hover {
  border-color: var(--neon);
  color: var(--neon);
}
.cot-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.6rem;
  text-align: center;
}

/* ── 3. BEFORE & AFTER INTERACTIVE SLIDER ── */
#before-after-section {
  padding: 5rem 2rem;
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}
.ba-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media(max-width: 880px) {
  .ba-grid { grid-template-columns: 1fr; }
}
.ba-split-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 65, 0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
  user-select: none;
  cursor: ew-resize;
  background: #020503;
}
.ba-layer-before, .ba-layer-after {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.ba-layer-after {
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
  transition: clip-path 0.05s ease-out;
}
.ba-badge-label {
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}
.ba-label-before {
  left: 1rem;
  background: rgba(0,0,0,0.7);
  color: #bbb;
  border: 1px solid rgba(255,255,255,0.15);
}
.ba-label-after {
  right: 1rem;
  background: rgba(0, 255, 65, 0.2);
  color: var(--neon);
  border: 1px solid rgba(0, 255, 65, 0.5);
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--neon);
  box-shadow: 0 0 15px var(--neon);
  pointer-events: none;
  z-index: 5;
}
.ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--neon);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 0 20px var(--neon);
}
.ba-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.ba-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: rgba(0, 255, 179, 0.1);
  border: 1px solid rgba(0, 255, 179, 0.3);
  color: var(--mint);
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* ── 4. LIVE AI ASSISTANT SANDBOX ── */
#ai-sandbox-section {
  padding: 5rem 2rem;
  background: var(--bg);
  position: relative;
}
.ai-box-card {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(7, 14, 7, 0.95);
  border: 1px solid rgba(0, 255, 179, 0.25);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 40px rgba(0, 255, 179, 0.08);
}
.ai-box-header {
  padding: 1.2rem 1.6rem;
  background: rgba(12, 24, 12, 0.9);
  border-bottom: 1px solid rgba(0, 255, 65, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ai-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 255, 65, 0.15);
  border: 1px solid var(--neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.ai-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon);
  border: 2px solid #000;
}
.ai-header-info {
  flex: 1;
  margin-left: 1rem;
}
.ai-header-title {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
}
.ai-tag {
  font-size: 0.65rem;
  background: rgba(0, 255, 65, 0.2);
  color: var(--neon);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  text-transform: uppercase;
}
.ai-header-sub {
  font-size: 0.78rem;
  color: var(--muted);
}
.btn-clear-chat {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-clear-chat:hover {
  color: #fff;
  border-color: #fff;
}
.ai-box-messages {
  height: 320px;
  overflow-y: auto;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ai-msg {
  display: flex;
  max-width: 82%;
}
.ai-msg.bot {
  align-self: flex-start;
}
.ai-msg.user {
  align-self: flex-end;
}
.ai-msg.bot .msg-bubble {
  background: rgba(15, 28, 15, 0.9);
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: 14px 14px 14px 2px;
  color: #e6f2e6;
}
.ai-msg.user .msg-bubble {
  background: linear-gradient(135deg, var(--neon), var(--lime));
  color: #000;
  font-weight: 500;
  border-radius: 14px 14px 2px 14px;
}
.msg-bubble {
  padding: 0.85rem 1.15rem;
  font-size: 0.88rem;
  line-height: 1.5;
}
.msg-bubble a {
  color: var(--neon);
  text-decoration: underline;
}
.ai-msg.user .msg-bubble a {
  color: #000;
}
.ai-quick-chips {
  padding: 0.6rem 1.2rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  background: rgba(4, 9, 4, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.ai-chip {
  background: rgba(15, 28, 15, 0.8);
  border: 1px solid rgba(0, 255, 65, 0.2);
  color: var(--muted);
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}
.ai-chip:hover {
  border-color: var(--neon);
  color: var(--neon);
  background: rgba(0, 255, 65, 0.1);
}
.ai-input-bar {
  padding: 1rem 1.2rem;
  display: flex;
  gap: 0.6rem;
  background: rgba(8, 16, 8, 0.95);
  border-top: 1px solid rgba(0, 255, 65, 0.15);
}
.ai-input-bar input {
  flex: 1;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 0.75rem 1.2rem;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  outline: none;
}
.ai-input-bar input:focus {
  border-color: var(--neon);
}
.btn-send-ai {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon), var(--lime));
  color: #000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.btn-send-ai:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

/* ── 5. BOOKING MODAL (15 MIN CALL) ── */
.booking-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.booking-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.booking-modal-shell {
  background: #081008;
  border: 1px solid rgba(0, 255, 179, 0.35);
  border-radius: 20px;
  max-width: 540px;
  width: 100%;
  padding: 2.2rem;
  position: relative;
  box-shadow: 0 30px 70px rgba(0,0,0,0.9), 0 0 50px rgba(0, 255, 65, 0.15);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.booking-modal-overlay.show .booking-modal-shell {
  transform: translateY(0);
}
.booking-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}
.booking-modal-close:hover { color: #fff; }
.booking-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mint);
  background: rgba(0, 255, 179, 0.1);
  border: 1px solid rgba(0, 255, 179, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}
.booking-header h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  color: #fff;
}
.booking-header p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.4rem;
}
.booking-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
@media(max-width: 480px) {
  .booking-form-row { grid-template-columns: 1fr; }
}
.b-group {
  margin-bottom: 0.9rem;
}
.b-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--neon);
  margin-bottom: 0.35rem;
}
.b-group input, .b-group select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
}
.b-group input:focus, .b-group select:focus {
  outline: none;
  border-color: var(--neon);
}
.btn-booking-confirm {
  width: 100%;
  background: linear-gradient(135deg, var(--neon), var(--lime));
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: all 0.25s;
}
.btn-booking-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 255, 65, 0.35);
}
.b-note {
  font-size: 0.74rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.6rem;
}

/* ── 6. GOOGLE REVIEWS VERIFICADAS & GARANTÍA ── */
.reviews-summary-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.2rem 2rem;
  background: rgba(7, 14, 7, 0.8);
  border: 1px solid rgba(0, 255, 65, 0.15);
  border-radius: 50px;
  max-width: 680px;
  margin: 0 auto 3rem;
  backdrop-filter: blur(10px);
}
.gr-score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}
.gr-stars {
  color: #FFD700;
  letter-spacing: 2px;
  font-size: 1rem;
}
.gr-badge-link {
  color: var(--neon);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.gr-badge-link:hover { text-decoration: underline; }

/* ── 7. HUB DE GUÍAS EDITORIALES ── */
.guias-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
.guia-card {
  background: rgba(8, 16, 8, 0.75);
  border: 1px solid rgba(0, 255, 65, 0.15);
  border-radius: 14px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.guia-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon);
  background: rgba(0, 255, 65, 0.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}
.guia-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--neon);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.guia-card h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.guia-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.guia-card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mint);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* WPO Optimizations */
#servicios, #portfolio, #materiales, #sobre-mi, #proceso, #testimonios, #contacto, #cotizador, #before-after-section, #ai-sandbox-section, #pack-apertura, #mockup-express-section, #roi-section, #ia-diagnostic-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

/* ═══════════════════════════════════════════════════════════════════
   8. RESPONSIVE MASTER OVERRIDES (100% ADAPTABLE A CUALQUIER DISPOSITIVO)
   ═══════════════════════════════════════════════════════════════════ */

/* Prevención global de desbordamiento horizontal y solapes */
html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

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

/* Touch optimizado para móviles (sin latencia de tap de 300ms) */
a, button, input, select, textarea, .cot-opt-card, .cot-radio-card, .mockup-type-btn, .roi-zona-btn, .diag-friccion-btn {
  touch-action: manipulation;
}

/* Inputs con tamaño mínimo de 16px en móvil para evitar zoom involuntario en iOS */
@media screen and (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* ── MOCKUP EXPRESS RESPONSIVE ── */
.mockup-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.mockup-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.6rem;
}
@media (max-width: 680px) {
  .mockup-form-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .mockup-box {
    padding: 1.4rem 1.1rem !important;
  }
  .mockup-types-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 380px) {
  .mockup-types-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── ROI CALCULATOR RESPONSIVE ── */
.roi-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.8rem;
  align-items: center;
}
@media (max-width: 780px) {
  .roi-main-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .roi-box {
    padding: 1.4rem 1.1rem !important;
  }
}

/* ── IA DIAGNOSTIC RESPONSIVE ── */
.diag-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}
@media (max-width: 680px) {
  .diag-results-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .diag-box {
    padding: 1.4rem 1.1rem !important;
  }
}

/* ── DUAL-FUNNEL HERO RESPONSIVE ── */
@media (max-width: 580px) {
  .hero-funnel-switch {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 330px;
    border-radius: 16px;
    padding: 6px;
  }
  .funnel-btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .btn-hero-quote, .btn-hero-call {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.85rem 1.4rem;
    font-size: 0.88rem;
  }
}

/* ── COTIZADOR RESPONSIVE ── */
@media (max-width: 768px) {
  #cotizador {
    padding: 3rem 1rem !important;
  }
  .cotizador-card {
    padding: 1.4rem 1.1rem !important;
    border-radius: 16px !important;
  }
  .cot-grid-options {
    grid-template-columns: 1fr !important;
  }
  .cot-radio-group {
    grid-template-columns: 1fr !important;
  }
  .cot-tab-btn {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    flex: 1;
    text-align: center;
  }
  .cot-result-box {
    padding: 1.4rem 1.1rem !important;
    border-radius: 14px !important;
  }
}

/* ── BEFORE & AFTER RESPONSIVE ── */
@media (max-width: 680px) {
  #before-after-section {
    padding: 3rem 1rem !important;
  }
  .ba-split-card {
    aspect-ratio: 4/3 !important;
  }
  .ba-handle-circle {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .ba-badge-label {
    top: 0.6rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.65rem;
  }
  .ba-label-before { left: 0.6rem; }
  .ba-label-after { right: 0.6rem; }
}

/* ── REVIEWS & TRUST BAR RESPONSIVE ── */
@media (max-width: 580px) {
  .reviews-summary-bar {
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 2rem;
  }
}

/* ── FLOTANTE WHATSAPP RESPONSIVE ── */
@media (max-width: 600px) {
  .float-wa {
    bottom: 1.2rem !important;
    left: 1.2rem !important;
    width: 52px !important;
    height: 52px !important;
  }
  .float-wa svg {
    width: 28px !important;
    height: 28px !important;
  }
}

/* ── AI SANDBOX RESPONSIVE ── */
@media (max-width: 600px) {
  #ai-sandbox-section {
    padding: 3rem 1rem !important;
  }
  .ai-box-messages {
    height: 280px !important;
    padding: 1rem !important;
  }
  .ai-msg {
    max-width: 92% !important;
  }
  .msg-bubble {
    padding: 0.7rem 0.9rem !important;
    font-size: 0.84rem !important;
  }
}

