/* --- RESET Y BASE --- */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #1d1d1f;
  background: #f5f5f7;
}

/* --- MENÚ APPLE --- */
.menu-bar {
  width: 100%;
  left: 0; right: 0; top: 0;
  position: sticky;
  background: rgba(24,24,24,0.8);
  color: #fff;
  box-shadow: 0 2px 8px #0001;
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 56px;
  box-sizing: border-box;
}
.logo {
  font-size: 2em;
  color: #fff;
  text-decoration: none;
  font-family: 'San Francisco', 'Segoe UI', 'Arial', sans-serif;
  letter-spacing: 2px;
  margin-right: 32px;
  padding-left: 8px;
}
.menu-links {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-family: 'San Francisco', 'Segoe UI', 'Arial', sans-serif;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.menu-link:hover,
.menu-link:focus {
  background: #fff2;
  color: #00b4ff;
}
.menu-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: 0;
  padding-right: 0;
}
.menu-icons a,
.menu-icons a i {
  color: #fff !important;
  font-size: 1.2rem;
  transition: color 0.2s;
}
.menu-icons a:hover,
.menu-icons a:focus,
.menu-icons a:active {
  color: #00b4ff !important;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5em;
  margin-left: 8px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.hamburger:hover,
.hamburger:focus {
  background: #fff2;
  color: #00b4ff;
}

/* --- MENÚ MÓVIL --- */
#appleMobileMenu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 80vw;
  max-width: 280px;
  height: 100vh;
  background: rgba(24,24,24,0.92);
  color: #fff;
  z-index: 200;
  box-shadow: 2px 0 16px #0002;
  transform: translateX(-100%);
  transition: transform 0.3s;
  flex-direction: column;
  padding-top: 12px;
  backdrop-filter: blur(8px);
}
#appleMobileMenu.open {
  display: flex;
  transform: translateX(0);
}
#appleMobileMenu .mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
}
#appleMobileMenu .menu-link {
  font-size: 1.1rem;
  padding: 10px 0;
  border-radius: 0;
  border-bottom: 1px solid #222;
}
#closeMobileMenu {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.7rem;
  position: absolute;
  top: 6px;
  right: 10px;
  cursor: pointer;
  z-index: 10;
}
#menuOverlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #0007;
  z-index: 150;
  opacity: 0;
  transition: opacity 0.3s;
}
#menuOverlay.active {
  display: block;
  opacity: 1;
}
body.menu-open {
  overflow: hidden;
}

/* Responsive: menú móvil */
@media (max-width: 900px) {
  .menu-bar {
    height: 44px;
    min-height: 44px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .logo {
    font-size: 1.3em;
    margin-right: 12px;
    height: 44px;
  }
  .menu-links {
    display: none;
  }
  .menu-icons {
    gap: 8px;
    margin-right: 0;
    padding-right: 0;
  }
  .hamburger {
    display: block;
    font-size: 1.5em;
    margin-left: 8px;
  }
  #appleMobileMenu {
    width: 90vw;
    max-width: 280px;
    padding-top: 12px;
  }
  .mobile-menu-inner {
    padding: 12px;
    gap: 10px;
  }
}

/* --- DROPDOWN REPARACIONES --- */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown > .menu-link {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(24,24,24,0.98);
  min-width: 200px;
  box-shadow: 0 8px 32px #0004;
  border-radius: 12px;
  z-index: 999;
  top: 100%;
  left: 0;
  flex-direction: column;
  padding: 10px 0;
}
.dropdown-content .menu-link {
  color: #fff;
  padding: 12px 22px;
  border-radius: 0;
  font-size: 1.05em;
  border-bottom: 1px solid #222;
  display: block;
}
.dropdown-content .menu-link:last-child {
  border-bottom: none;
}
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: flex;
}

/* --- SLIDER HERO --- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 520px;
  overflow: hidden;
  background: #000;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.38) 50%, rgba(0,0,0,0.62) 100%);
  z-index: 3;
  display: block !important;
}
.hero-content {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  text-align: center !important;
  z-index: 10 !important;
  width: 90% !important;
  max-width: 860px !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #fff;
}
.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  margin: 0 0 0.6em 0;
}
.hero-eyebrow:empty { display: none; }
.hero-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.1 !important;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5) !important;
  margin: 0 0 0.4em 0 !important;
  background: transparent !important;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.4rem) !important;
  color: rgba(255,255,255,0.88) !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4) !important;
  margin: 0 auto 1.8em auto !important;
  max-width: 640px !important;
  background: transparent !important;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  background: #25d366;
  color: #fff !important;
  text-decoration: none;
  padding: 0.85em 1.8em;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
  border: none;
}
.btn-hero-primary:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  color: #fff !important;
  text-decoration: none;
  padding: 0.85em 1.8em;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.5);
  transition: background 0.2s, transform 0.2s;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}
.slider-prev,
.slider-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: rgba(255,255,255,0.12) !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.4) !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  font-size: 1.2rem !important;
  cursor: pointer !important;
  z-index: 25 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s !important;
  padding: 0 !important;
}
.slider-prev { left: 20px !important; }
.slider-next { right: 20px !important; }
.slider-prev:hover,
.slider-next:hover {
  background: rgba(255,255,255,0.28) !important;
}
.slider-dots {
  position: absolute !important;
  bottom: 24px !important;
  left: 0 !important;
  right: 0 !important;
  text-align: center !important;
  z-index: 20 !important;
  display: block !important;
  line-height: 1 !important;
}
.slider-dot {
  display: inline-block !important;
  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  min-height: 10px !important;
  max-width: 10px !important;
  max-height: 10px !important;
  margin: 0 5px !important;
  padding: 0 !important;
  background: rgba(255,255,255,0.35) !important;
  border-radius: 50% !important;
  border: none !important;
  cursor: pointer;
  box-sizing: border-box !important;
  vertical-align: middle !important;
  transition: background 0.2s, transform 0.2s !important;
}
.slider-dot.active {
  background: #fff !important;
  transform: scale(1.35) !important;
}

/* --- TARJETAS DE SERVICIOS --- */
.servicios-grid {
  max-width: 1100px;
  margin: 2em auto;
  padding: 0 1em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5em;
}
.servicio-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.servicio-card:hover {
  transform: translateY(-4px);
}
.servicio-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}
.servicio-content {
  padding: 1.5em;
}
.servicio-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 0.8em;
  color: #1d1d1f;
}
.servicio-desc {
  color: #555;
  margin-bottom: 1.5em;
}
.servicio-btn {
  background: #0071e3;
  color: #fff;
  border: none;
  padding: 0.8em 2em;
  border-radius: 24px;
  font-weight: 500;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.servicio-btn:hover {
  background: #005bb5;
}

/* --- FORMULARIOS --- */
.form-container {
  max-width: 600px;
  margin: 2em auto;
  background: #fff;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.form-group { margin-bottom: 1.5em; }
.form-label { display: block; margin-bottom: 0.5em; font-weight: 500; }
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.8em;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9em;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #0071e3;
}
.submit-btn {
  background: #0071e3;
  color: #fff;
  padding: 0.8em 2em;
  border: none;
  border-radius: 24px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.submit-btn:hover { background: #005bb5; }

/* --- CARDS Y PANELES CENTRADOS --- */
.panel-container, .card-centered, .diagnostico-card {
  max-width: 600px;
  margin: 2.5em auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px #0002;
  padding: 2.2em 1.5em;
  text-align: center;
}
@media (max-width: 700px) {
  .panel-container, .card-centered, .diagnostico-card {
    max-width: 98vw;
    padding: 1.2em 0.5em;
  }
}

/* --- BOTONES Y FORMULARIOS MODERNOS --- */
input[type="text"], input[type="number"], input[type="color"], select, textarea {
  border-radius: 8px;
  border: 1px solid #d0d0d0;
  padding: 0.7em 1em;
  font-size: 1em;
  margin-bottom: 0.7em;
  background: #f7f7fa;
  transition: border 0.2s;
}
input:focus, select:focus, textarea:focus {
  border-color: #0071e3;
  outline: none;
}
button, .btn-edit, .btn-delete, .submit-btn {
  border-radius: 24px;
  padding: 0.7em 2em;
  font-size: 1em;
  font-weight: 600;
  border: none;
  background: #1976d2;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
button:hover, .btn-edit:hover, .submit-btn:hover { background: #1251a3; }
.btn-delete { background: #e53935; }
.btn-delete:hover { background: #b30000; }

/* --- SEPARADORES Y BADGES EN MENÚ --- */
.menu-separator {
  height: 1px;
  background: #fff3;
  margin: 0.5em 0;
  border-radius: 2px;
}
.menu-badge {
  display: inline-block;
  background: #e53935;
  color: #fff;
  font-size: 0.8em;
  border-radius: 8px;
  padding: 2px 8px;
  margin-left: 6px;
  font-weight: 600;
}

/* --- TABLAS Y OTROS --- */
.dark-table {
  background: #181c23;
  color: #f1f1f1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px #0003;
}
.dark-table th, .dark-table td {
  border: none;
  padding: 10px 8px;
}
.dark-table th {
  background: #23272f;
  color: #fff;
  font-weight: 600;
}
.dark-table tr:nth-child(even) { background: #20242b; }
.dark-table tr:nth-child(odd)  { background: #181c23; }
.slider-thumb {
  max-width: 60px;
  border-radius: 6px;
  box-shadow: 0 2px 8px #0002;
}
.btn-edit, .btn-delete {
  padding: 4px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin: 0 2px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-edit { background: #0071e3; color: #fff; }
.btn-edit:hover { background: #005bb5; }
.btn-delete { background: #e00; color: #fff; }
.btn-delete:hover { background: #b30000; }
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.badge-success { background: #1db954; color: #fff; }
.badge-danger  { background: #e00;    color: #fff; }
.promo-preview {
  font-weight: bold;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 8px;
  background: #23272f;
}

/* ===== SERVICIOS PAGE ===== */
.srv-hero {
  background: linear-gradient(160deg, #f5f5f7 0%, #fff 65%);
  padding: 4.5em 1.5em 3em;
  text-align: center;
}
.srv-eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .15em;
  color: #0066cc; text-transform: uppercase; margin: 0 0 .5em;
}
.srv-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 900;
  color: #1d1d1f; margin: 0 0 .7em; line-height: 1.1;
}
.srv-hero-sub {
  font-size: 1.1em; color: #555; max-width: 600px;
  margin: 0 auto 2em; line-height: 1.6;
}
.srv-badges {
  display: flex; gap: .7em; justify-content: center; flex-wrap: wrap;
}
.srv-badge {
  background: #f0f0f0; color: #444; border-radius: 50px;
  padding: .4em 1.1em; font-size: .85em; font-weight: 600;
  border: 1px solid #e0e0e0;
}
/* Tabs nav */
.srv-tabs-wrap {
  background: #fff; border-bottom: 1px solid #e5e5e7;
  position: sticky; top: 56px; z-index: 50;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.srv-tabs {
  max-width: 1100px; margin: 0 auto;
  display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.srv-tabs::-webkit-scrollbar { display: none; }
.srv-tab {
  flex-shrink: 0; padding: 1em 1.5em; font-size: .9em; font-weight: 600;
  color: #555; background: none; border: none; cursor: pointer;
  border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.srv-tab:hover { color: #1d1d1f; }
.srv-tab.active { color: #1d1d1f; border-bottom-color: #1d1d1f; }
/* Secciones */
.srv-seccion { display: none; padding: 4em 1.5em; background: #fff; }
.srv-seccion.active { display: block; }
.srv-contenedor { max-width: 1100px; margin: 0 auto; }
/* Layout 2 col */
.srv-layout {
  display: grid; grid-template-columns: 1fr 280px; gap: 3em; align-items: start;
}
.srv-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #1d1d1f; margin: .2em 0 .8em; }
.srv-intro { color: #555; font-size: 1.05em; margin-bottom: 1.5em; line-height: 1.6; }
/* Mini grid */
.srv-mini-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .8em; margin-bottom: 1.8em;
}
.srv-mini-card {
  background: #f5f5f7; border-radius: 12px; padding: 1em 1.2em;
  transition: background .15s;
}
.srv-mini-card:hover { background: #ebebeb; }
.srv-mini-card strong { font-size: .95em; color: #1d1d1f; display: block; margin-bottom: .2em; }
.srv-mini-card span { font-size: .82em; color: #666; }
/* Precio card — sin sombra azul */
.srv-precio-card {
  background: #fff; border-radius: 20px; padding: 2.5em 2em;
  text-align: center; box-shadow: 0 4px 24px rgba(0,0,0,.08);
  border: 1px solid #e5e5e7; position: sticky; top: 120px;
}
.srv-precio-icon { font-size: 2.8em; margin-bottom: .5em; }
.srv-precio-desde { font-size: .9em; color: #666; margin-bottom: .1em; }
.srv-precio-valor { font-size: 3.5em; font-weight: 900; color: #0066cc; line-height: 1; }
.srv-precio-nota { font-size: .82em; color: #888; margin-top: .6em; line-height: 1.6; }
.srv-precio-btn {
  display: block; margin-top: 1.5em; background: #0066cc; color: #fff !important;
  padding: .9em 1.5em; border-radius: 50px; font-weight: 700;
  text-decoration: none; transition: background .2s;
}
.srv-precio-btn:hover { background: #004fa3; }
/* Proceso */
.srv-section-gray { background: #f5f5f7; padding: 4em 1.5em; }
.srv-section-titulo { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: #1d1d1f; margin: .2em 0 1.5em; }
.srv-proceso-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2em;
}
.srv-paso {
  background: #fff; border-radius: 16px; padding: 1.8em 1.5em;
  transition: transform .2s, box-shadow .2s;
}
.srv-paso:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.srv-paso-num { font-size: 2.2em; font-weight: 900; color: #0066cc; line-height: 1; margin-bottom: .4em; }
.srv-paso h3 { font-size: 1em; font-weight: 700; margin: 0 0 .5em; }
.srv-paso p { font-size: .9em; color: #555; margin: 0; line-height: 1.6; }
/* Diferencias */
.srv-dif-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2em;
}
.srv-dif-card {
  background: #fff; border-radius: 16px; padding: 1.8em 1.5em;
  transition: transform .2s, box-shadow .2s;
}
.srv-dif-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.srv-dif-icon { font-size: 1.8em; margin-bottom: .5em; }
.srv-dif-card h3 { font-size: 1em; font-weight: 700; margin: 0 0 .4em; color: #1d1d1f; }
.srv-dif-card p { font-size: .9em; color: #555; margin: 0; line-height: 1.6; }
/* FAQ */
.srv-faq-wrap { padding: 4em 1.5em; background: #fff; }
.srv-faq-lista { display: flex; flex-direction: column; gap: .5em; max-width: 720px; margin: 0 auto; }
.srv-faq-item { border: 1px solid #e5e5e7; border-radius: 12px; overflow: hidden; }
.srv-faq-q {
  width: 100%; background: none; border: none; padding: 1.1em 1.4em;
  text-align: left; font-size: 1em; font-weight: 600; color: #1d1d1f;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 1em; transition: background .15s;
}
.srv-faq-q:hover { background: #f5f5f7; }
.srv-faq-icon { font-size: 1.4em; font-weight: 300; color: #0066cc; flex-shrink: 0; transition: transform .25s; line-height: 1; }
.srv-faq-item.open .srv-faq-icon { transform: rotate(45deg); }
.srv-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; padding: 0 1.4em; }
.srv-faq-item.open .srv-faq-a { max-height: 200px; padding: .2em 1.4em 1.2em; }
.srv-faq-a p { margin: 0; font-size: .95em; color: #555; line-height: 1.7; }
/* CTA */
.srv-cta {
  background: linear-gradient(135deg, #0066cc, #004fa3);
  color: #fff; text-align: center; padding: 5em 1.5em;
}
.srv-cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; margin: 0 0 .7em; }
.srv-cta p { opacity: .85; font-size: 1.1em; margin: 0 0 2em; }
.srv-cta-btn {
  background: #fff; color: #0066cc !important; font-size: 1.1em;
  padding: 1em 2.4em; border-radius: 50px; font-weight: 800;
  text-decoration: none; display: inline-block; transition: opacity .2s, transform .2s;
}
.srv-cta-btn:hover { opacity: .9; transform: translateY(-2px); }
/* Responsive servicios */
@media(max-width:900px) {
  .srv-layout { grid-template-columns: 1fr; }
  .srv-precio-card { position: static; order: -1; max-width: 400px; margin: 0 auto 2em; }
}
@media(max-width:600px) {
  .srv-hero { padding: 3em 1em 2em; }
  .srv-seccion { padding: 2.5em 1em; }
  .srv-section-gray { padding: 2.5em 1em; }
  .srv-faq-wrap { padding: 2.5em 1em; }
  .srv-cta { padding: 3em 1em; }
  .srv-mini-grid { grid-template-columns: 1fr 1fr; }
  .srv-proceso-grid { grid-template-columns: 1fr 1fr; gap: 1em; }
  .srv-dif-grid { grid-template-columns: 1fr; }
  .srv-tab { padding: .8em 1em; font-size: .82em; }
}
@media(max-width:400px) {
  .srv-mini-grid { grid-template-columns: 1fr; }
  .srv-proceso-grid { grid-template-columns: 1fr; }
}

/* ===== PROMO PILL ===== */
.promo-pill {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  background: linear-gradient(90deg, #ff6b00, #ffb300);
  color: #fff;
  font-size: .75em;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .35em 1em;
  border-radius: 50px;
  margin-bottom: 1em;
  box-shadow: 0 3px 12px rgba(255,107,0,.4);
  animation: pillGlow 2.5s ease-in-out infinite;
}
.promo-pill:empty { display: none; }
@keyframes pillGlow {
  0%,100% { box-shadow: 0 3px 12px rgba(255,107,0,.4); }
  50%      { box-shadow: 0 4px 18px rgba(255,107,0,.7); }
}

/* ===== HOME SECTIONS ===== */
.strip-cta { background:#0066cc; color:#fff; padding:.8em 1.5em; }
.strip-inner { max-width:1100px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.8em; font-size:.95em; }
.btn-strip { background:#fff; color:#0066cc; padding:.5em 1.2em; border-radius:20px; font-weight:700; text-decoration:none; white-space:nowrap; transition:opacity .2s; }
.btn-strip:hover { opacity:.85; }
.seccion-contenedor { max-width:1100px; margin:0 auto; padding:0 1.5em; }
.seccion-eyebrow { font-size:.75rem; font-weight:700; letter-spacing:.15em; color:#0066cc; text-transform:uppercase; margin:0 0 .4em; }
.seccion-titulo { font-size:clamp(1.6rem,3.5vw,2.4rem); font-weight:800; color:#1d1d1f; margin:0 0 1.5em; }
/* Dispositivos */
.seccion-dispositivos { padding:4em 0 3em; background:#fff; }
.dispositivos-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(175px,1fr)); gap:1em; }
.disp-card { display:flex; flex-direction:column; background:#f5f5f7; border-radius:16px; padding:1.5em 1.2em; text-decoration:none; color:#1d1d1f; transition:transform .2s, box-shadow .2s; position:relative; overflow:hidden; }
.disp-card:hover { transform:translateY(-5px); box-shadow:0 16px 40px rgba(0,0,0,.1); background:#fff; }
.disp-icon { font-size:2.2em; margin-bottom:.5em; }
.disp-nombre { font-size:1.1em; font-weight:700; margin-bottom:.2em; }
.disp-desc { font-size:.82em; color:#666; margin-bottom:.8em; flex-grow:1; }
.disp-precio { font-size:.9em; font-weight:700; color:#0066cc; }
.disp-arrow { position:absolute; bottom:1em; right:1.2em; font-size:1.1em; color:#0066cc; transition:transform .2s; }
.disp-card:hover .disp-arrow { transform:translateX(5px); }
/* MacBook section */
.seccion-macbook { padding:4em 0; background:#f5f5f7; }
.macbook-layout { display:grid; grid-template-columns:1fr 260px; gap:3em; align-items:start; }
.macbook-info h2 { font-size:clamp(1.6rem,3vw,2.2rem); font-weight:800; color:#1d1d1f; margin:.2em 0 .8em; }
.macbook-intro { color:#555; font-size:1.05em; margin-bottom:1.5em; line-height:1.6; }
.servicio-lista { list-style:none; padding:0; margin:0 0 2em; display:flex; flex-direction:column; gap:.9em; }
.servicio-lista li { display:flex; align-items:flex-start; gap:.8em; }
.check-circle { background:#0066cc; color:#fff; border-radius:50%; width:22px; height:22px; display:flex; align-items:center; justify-content:center; font-size:.72em; font-weight:700; flex-shrink:0; margin-top:2px; }
.servicio-lista li div { display:flex; flex-direction:column; gap:.15em; }
.servicio-lista li strong { font-size:1em; color:#1d1d1f; }
.servicio-lista li span { font-size:.88em; color:#666; }
.precio-card { background:#fff; border-radius:20px; padding:2.5em 2em; text-align:center; box-shadow:0 4px 24px rgba(0,0,0,.08); }
.precio-icono { font-size:2.5em; margin-bottom:.5em; }
.precio-desde { font-size:.9em; color:#666; margin-bottom:.2em; }
.precio-valor { font-size:3em; font-weight:900; color:#0066cc; line-height:1; }
.precio-nota { font-size:.8em; color:#888; margin-top:.8em; line-height:1.5; }
/* Proceso */
.seccion-proceso { padding:4em 0; background:#fff; }
.proceso-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1.5em; }
.paso-card { background:#f5f5f7; border-radius:16px; padding:2em 1.5em; transition:transform .2s, box-shadow .2s; }
.paso-card:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(0,0,0,.08); background:#fff; }
.paso-num { font-size:2.5em; font-weight:900; color:#0066cc; line-height:1; margin-bottom:.3em; }
.paso-card h3 { font-size:1.05em; font-weight:700; margin:0 0 .5em; color:#1d1d1f; }
.paso-card p { font-size:.9em; color:#555; margin:0; line-height:1.6; }
/* Diferencias */
.seccion-diferencias { padding:4em 0; background:#f5f5f7; }
.diferencias-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:1.5em; }
.diferencia-card { background:#fff; border-radius:16px; padding:2em 1.5em; transition:transform .2s, box-shadow .2s; }
.diferencia-card:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(0,0,0,.08); }
.dif-icon { font-size:1.8em; margin-bottom:.6em; }
.diferencia-card h3 { font-size:1em; font-weight:700; margin:0 0 .5em; color:#1d1d1f; }
.diferencia-card p { font-size:.9em; color:#555; margin:0; line-height:1.6; }
/* FAQ */
.seccion-faq { padding:4em 0; background:#fff; }
.faq-lista { display:flex; flex-direction:column; gap:.5em; }
.faq-item { border:1px solid #e5e5e7; border-radius:12px; overflow:hidden; }
.faq-pregunta { width:100%; background:none; border:none; padding:1.1em 1.4em; text-align:left; font-size:1em; font-weight:600; color:#1d1d1f; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:1em; transition:background .15s; }
.faq-pregunta:hover { background:#f5f5f7; }
.faq-icon { font-size:1.4em; font-weight:300; color:#0066cc; flex-shrink:0; transition:transform .25s; line-height:1; }
.faq-item.open .faq-icon { transform:rotate(45deg); }
.faq-respuesta { max-height:0; overflow:hidden; transition:max-height .3s ease, padding .3s ease; padding:0 1.4em; }
.faq-item.open .faq-respuesta { max-height:200px; padding:.2em 1.4em 1.2em; }
.faq-respuesta p { margin:0; font-size:.95em; color:#555; line-height:1.7; }
/* CTA final */
.seccion-cta-final { padding:5em 1.5em; background:linear-gradient(135deg,#0066cc,#004fa3); color:#fff; text-align:center; }
.seccion-cta-final h2 { font-size:clamp(1.8rem,3.5vw,2.5rem); font-weight:800; margin:0 0 .7em; }
.seccion-cta-final p { font-size:1.1em; opacity:.85; margin:0 0 2em; }
/* Botones home */
.btn-primario { display:inline-block; background:#0066cc; color:#fff !important; text-decoration:none; padding:.85em 1.8em; border-radius:50px; font-weight:700; font-size:1em; transition:background .2s, transform .2s; }
.btn-primario:hover { background:#004fa3; transform:translateY(-2px); }
.btn-cta-final { background:#fff; color:#0066cc !important; font-size:1.1em; padding:1em 2.4em; border-radius:50px; font-weight:800; text-decoration:none; display:inline-block; transition:opacity .2s, transform .2s; }
.btn-cta-final:hover { opacity:.9; transform:translateY(-2px); }
/* Responsive home */
@media(max-width:960px) {
  .macbook-layout { grid-template-columns:1fr; }
  .precio-card { order:-1; max-width:360px; margin:0 auto 2em; }
  .dispositivos-grid { grid-template-columns:repeat(3,1fr); }
}
@media(max-width:600px) {
  .strip-inner { justify-content:center; text-align:center; }
  .dispositivos-grid { grid-template-columns:repeat(2,1fr); }
  .diferencias-grid { grid-template-columns:1fr; }
  .seccion-dispositivos,.seccion-macbook,.seccion-proceso,.seccion-diferencias,.seccion-faq { padding:2.5em 0; }
  .seccion-contenedor { padding:0 1em; }
  .proceso-grid { grid-template-columns:1fr 1fr; gap:1em; }
  .seccion-cta-final { padding:3em 1em; }
  .seccion-titulo { margin-bottom:1em; }
}
@media(max-width:400px) {
  .dispositivos-grid { grid-template-columns:1fr 1fr; }
  .proceso-grid { grid-template-columns:1fr; }
}

/* --- RESPONSIVE SLIDER --- */
@media (max-width: 700px) {
  .hero-slider { height: 80vh; min-height: 480px; }
  .hero-content { width: 92% !important; }
  .hero-content h1 { font-size: clamp(1.8rem, 7vw, 2.6rem) !important; }
  .hero-subtitle { font-size: 0.95rem !important; margin-bottom: 1.2em !important; }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    font-size: 0.9rem !important;
    padding: 0.8em 1.6em !important;
    width: auto !important;
    min-width: 180px;
    max-width: 260px;
    justify-content: center;
  }
  .slider-prev, .slider-next { width: 36px !important; height: 36px !important; font-size: 1rem !important; }
}

/* ── Search Overlay (global – cargado en <head> para que aplique en todas las páginas) ── */
#srch-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
#srch-overlay.open { display: flex; }
#srch-box {
  background: #1a1a1a;
  border-radius: 16px;
  width: 100%;
  max-width: 620px;
  margin: 0 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
  overflow: hidden;
}
#srch-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #2a2a2a;
}
#srch-input-wrap i { color: #888; font-size: 1.1rem; flex-shrink: 0; }
#srch-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.1rem;
  font-family: inherit;
}
#srch-input::placeholder { color: #555; }
#srch-close {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: .8rem;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: inherit;
  transition: color .15s;
}
#srch-close:hover { color: #fff; }
#srch-results { max-height: 420px; overflow-y: auto; }
.srch-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  text-decoration: none;
  color: #e0e0e0;
  transition: background .15s;
  border-bottom: 1px solid #222;
}
.srch-item:last-child { border-bottom: none; }
.srch-item:hover { background: #252525; color: #fff; }
.srch-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  background: #2a2a2a;
  flex-shrink: 0;
}
.srch-item-info { flex: 1; min-width: 0; }
.srch-item-nombre { font-size: .95rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srch-item-precio { font-size: .82rem; color: #f97316; margin-top: 2px; }
.srch-item-arrow { color: #444; font-size: .85rem; flex-shrink: 0; }
.srch-item:hover .srch-item-arrow { color: #f97316; }
#srch-empty { padding: 28px 20px; text-align: center; color: #555; font-size: .9rem; }
#srch-footer { padding: 12px 20px; border-top: 1px solid #2a2a2a; }
#srch-footer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #888;
  font-size: .82rem;
  text-decoration: none;
  transition: color .15s;
}
#srch-footer a:hover { color: #f97316; }
#srch-loading { padding: 20px; text-align: center; color: #555; font-size: .85rem; }
