/* =========================================================
   RAPIDMANT SERVICES — Sistema visual derivado del logotipo
   Mobile first · WCAG · prefers-reduced-motion
   ========================================================= */
:root {
  color-scheme: light;
  /* Paleta tomada del logotipo oficial */
  --navy-950: #060b33;      /* contorno del logo */
  --navy-900: #0b1a4a;      /* PRIMARY */
  --navy-800: #13286a;
  --blue-700: #2e559a;      /* sombra del wordmark */
  --sky-500: #4aa6ec;       /* SECONDARY (wordmark) */
  --sky-100: #e6f3fd;
  --sky-50: #f3f9ff;
  --gold-500: #f4c445;      /* ACCENT (casco/chaleco) */
  --gold-600: #e2ac1f;
  --gold-100: #fff5d6;
  --red-600: #c62828;       /* solo para señalar emergencia */
  --ink: #0b1a4a;
  --ink-soft: #3e4a6b;
  --line: #dbe5f2;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(11, 26, 74, .25);
  --shadow-sm: 0 4px 14px -6px rgba(11, 26, 74, .2);
  --container: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue-700); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 28px; } }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold-500); color: var(--navy-950); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--gold-500); color: var(--navy-950); box-shadow: 0 6px 0 -1px var(--gold-600), var(--shadow-sm); }
.btn-primary:hover { background: #ffd25e; }
.btn-secondary { background: var(--navy-900); color: #fff; }
.btn-secondary:hover { background: var(--navy-800); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-emergency { background: #fff; color: var(--red-600); border-color: #f3c3c3; }
.btn-emergency:hover { background: var(--red-600); color: #fff; border-color: var(--red-600); }
.btn-whatsapp { background: #1fa855; color: #fff; }
.btn-whatsapp:hover { background: #178c46; }
.btn-block { width: 100%; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11,26,74,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); }
.brand img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--navy-900); object-fit: cover; background: #fff; }
.brand-name { font-weight: 800; font-size: 1.15rem; line-height: 1; letter-spacing: -.02em; }
.brand-name span { display: block; font-size: .64rem; letter-spacing: .28em; color: var(--blue-700); margin-top: 3px; }
.nav { display: none; }
.nav a { color: var(--navy-900); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: var(--sky-50); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { min-height: 44px; padding: .55em 1.1em; font-size: .92rem; }
.header-actions .btn-tecnico { display: none; }
.menu-toggle {
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; cursor: pointer; color: var(--navy-900);
}
.menu-toggle svg { width: 24px; height: 24px; }
@media (min-width: 1024px) {
  .nav { display: flex; gap: 2px; }
  .menu-toggle { display: none; }
  .header-actions .btn-tecnico { display: inline-flex; }
}

.mobile-menu { position: fixed; inset: 68px 0 0 0; background: #fff; z-index: 99; padding: 20px 16px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); visibility: hidden; }
.mobile-menu.is-open { transform: none; visibility: visible; }
.mobile-menu a.mm-link { display: block; padding: 14px 6px; font-size: 1.1rem; font-weight: 700; color: var(--navy-900); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .mm-ctas { display: grid; gap: 10px; margin-top: 22px; }
.mobile-menu .social-links { margin-top: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-50) 0%, #fff 100%); padding: 36px 0 56px; }
.hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,196,69,.22) 0%, rgba(244,196,69,0) 68%);
  right: -220px; top: -120px; pointer-events: none;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .12; pointer-events: none; display: none; }
@media (min-width: 1024px) { .hero-video.is-ready { display: block; } }
.hero-grid { position: relative; display: grid; gap: 28px; align-items: center; }
.hero-logo-card { position: relative; isolation: isolate; background: #fff; border-radius: 32px; padding: 18px; width: min(320px, 78vw); margin: 0 auto; box-shadow: 0 30px 60px -28px rgba(11,26,74,.35), 0 0 0 1px var(--line); animation: floaty 6s ease-in-out infinite; }
.hero-logo-card::after { content: ""; position: absolute; inset: auto 24px -14px 24px; height: 14px; border-radius: 0 0 20px 20px; background: var(--gold-500); z-index: -1; }
.hero-logo { width: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); color: var(--navy-900); font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px var(--gold-100); }
.hero h1 .hl { color: var(--blue-700); background: linear-gradient(transparent 62%, var(--gold-100) 62%); }
.hero-lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 36em; }
.hero-ctas { display: grid; gap: 10px; margin: 22px 0 14px; }
.hero-ctas .btn { width: 100%; }
.hero-note { font-size: .9rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 18px; height: 18px; color: var(--blue-700); }
@media (min-width: 640px) {
  .hero-ctas { grid-template-columns: auto auto; justify-content: start; }
  .hero-ctas .btn { width: auto; }
  .hero-ctas .btn-emergency { grid-column: 1 / -1; justify-self: start; }
}
@media (min-width: 1024px) {
  .hero { padding: 64px 0 88px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero-logo-card { width: 100%; max-width: 440px; padding: 24px; }
  .hero-ctas .btn-emergency { grid-column: auto; }
  .hero-ctas { grid-template-columns: auto auto auto; }
}

/* Selector de intención: Necesito un servicio / Soy técnico */
.intent { margin-top: -28px; position: relative; z-index: 2; }
.intent-grid { display: grid; gap: 12px; }
.intent-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius);
  text-decoration: none; box-shadow: var(--shadow); transition: transform .25s var(--ease);
}
.intent-card:hover { transform: translateY(-3px); }
.intent-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.intent-card .ic svg { width: 28px; height: 28px; }
.intent-card strong { display: block; font-size: 1.12rem; }
.intent-card small { display: block; font-size: .9rem; opacity: .85; }
.intent-card .arrow { margin-left: auto; width: 22px; height: 22px; flex: none; }
.intent-client { background: var(--navy-900); color: #fff; }
.intent-client .ic { background: var(--gold-500); color: var(--navy-950); }
.intent-tech { background: #fff; color: var(--navy-900); border: 2px solid var(--navy-900); }
.intent-tech .ic { background: var(--sky-100); color: var(--blue-700); }
@media (min-width: 768px) { .intent-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Secciones ---------- */
.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy-900); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700); margin-bottom: 10px; }
.section-dark .kicker { color: var(--gold-500); }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }
.section-dark .section-head p { color: #c9d6f2; }
@media (min-width: 1024px) { .section { padding: 96px 0; } }

/* ---------- Tarjetas de servicio ---------- */
.services-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c4d6ee; }
.service-visual { position: relative; height: 128px; background: linear-gradient(135deg, var(--sky-100), #fff); display: grid; place-items: center; overflow: hidden; }
.service-visual::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: var(--gold-500); opacity: .18; right: -40px; bottom: -60px; }
.service-visual svg { width: 76px; height: 76px; position: relative; z-index: 1; color: var(--navy-900); }
.service-card[data-tone="emergency"] .service-visual { background: linear-gradient(135deg, #fde9e9, #fff); }
.service-card[data-tone="admin"] .service-visual { background: linear-gradient(135deg, var(--gold-100), #fff); }
.service-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.service-body .tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy-900); }
.service-body .tag .mini { width: 34px; height: 34px; border-radius: 10px; background: var(--navy-900); color: var(--gold-500); display: grid; place-items: center; }
.service-body .tag .mini svg { width: 18px; height: 18px; }
.service-body p { color: var(--ink-soft); font-size: .95rem; margin: 10px 0 8px; }
.service-body ul { margin: 0 0 16px; padding: 0; list-style: none; font-size: .9rem; color: var(--ink); }
.service-body li { position: relative; padding-left: 22px; margin-bottom: 4px; }
.service-body li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--gold-500); transform: rotate(45deg); }
.service-body .btn { margin-top: auto; min-height: 44px; font-size: .94rem; }

/* ---------- ¿Qué necesitas resolver? ---------- */
.need-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.need-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 16px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line); color: var(--navy-900); font: inherit; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: border-color .2s, background .2s, transform .2s;
}
.need-chip:hover { border-color: var(--sky-500); background: var(--sky-50); transform: translateY(-2px); }
.need-chip svg { width: 20px; height: 20px; color: var(--blue-700); }
.need-chip.urgent svg { color: var(--red-600); }

/* Hogar */
.home-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .home-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .home-grid { grid-template-columns: repeat(6, 1fr); } }
.home-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); padding: 18px 14px; text-align: center; }
.home-item svg { width: 36px; height: 36px; margin: 0 auto 10px; color: var(--gold-500); }
.home-item strong { display: block; color: #fff; }
.home-item small { color: #c9d6f2; font-size: .85rem; }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px 22px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--gold-500); color: var(--navy-950); font-weight: 800; font-size: 1.05rem; margin-bottom: 14px;
}
.step p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* ---------- Emergencias ---------- */
.emergency { position: relative; background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, #1a2f78 100%); color: #fff; overflow: hidden; }
.emergency::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(244,196,69,.08) 0 14px, transparent 14px 28px); mask-image: linear-gradient(90deg, transparent 40%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); }
.emergency-grid { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .emergency-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.badge-urgent { display: inline-flex; align-items: center; gap: 8px; background: var(--red-600); color: #fff; font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.badge-urgent .pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
.emergency h2 { color: #fff; }
.emergency p { color: #d5def4; }
.em-list { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; }
.em-list li { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 12px; font-weight: 600; font-size: .95rem; }
.em-list svg { width: 22px; height: 22px; color: var(--gold-500); flex: none; }
.em-ctas { display: grid; gap: 10px; margin-top: 22px; }
@media (min-width: 640px) { .em-ctas { grid-template-columns: auto auto; justify-content: start; } }
.em-panel { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); position: relative; }
.em-panel img { width: 96px; position: absolute; right: 14px; top: -48px; filter: drop-shadow(0 10px 16px rgba(0,0,0,.3)); border-radius: 50%; border: 3px solid #fff; }
.em-panel h3 { margin-right: 100px; }
.em-panel ol { margin-top: 14px !important; }
.em-panel ol { margin: 0; padding-left: 1.2em; color: var(--ink-soft); }
.em-panel li { margin-bottom: 8px; }
.em-panel .disclaimer { font-size: .82rem; color: var(--ink-soft); margin: 14px 0 0; border-top: 1px dashed var(--line); padding-top: 12px; }

/* ---------- Trabajos / Confianza ---------- */
.works-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }
.work-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.work-media { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.work-media figure { margin: 0; position: relative; }
.work-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.work-media figcaption { position: absolute; left: 8px; top: 8px; background: var(--navy-900); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.work-body { padding: 16px; }
.work-body .cat { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-700); }
.empty-state {
  display: grid; gap: 18px; align-items: center; text-align: center; border: 2px dashed #c4d6ee; border-radius: var(--radius);
  padding: 32px 20px; background: #fff;
}
.empty-state img { width: 110px; margin: 0 auto; border-radius: 50%; border: 3px solid var(--navy-900); }
.empty-state p { color: var(--ink-soft); max-width: 38em; margin: 0 auto; }
@media (min-width: 768px) { .empty-state { grid-template-columns: auto 1fr; text-align: left; padding: 32px; } .empty-state p { margin: 0; } }

.trust-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.trust-item .ti { width: 50px; height: 50px; border-radius: 14px; background: var(--sky-100); color: var(--blue-700); display: grid; place-items: center; margin-bottom: 14px; }
.trust-item .ti svg { width: 26px; height: 26px; }
.trust-item p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.reviews { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 768px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: #fff; border-left: 4px solid var(--gold-500); border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow-sm); }
.review cite { display: block; font-style: normal; font-weight: 700; margin-top: 8px; font-size: .9rem; }

/* ---------- Trámites ---------- */
.admin-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .admin-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.admin-list { display: grid; gap: 12px; }
@media (min-width: 640px) { .admin-list { grid-template-columns: 1fr 1fr; } }
.admin-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; display: flex; gap: 14px; }
.admin-item .ai { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-100); color: var(--navy-900); display: grid; place-items: center; flex: none; }
.admin-item .ai svg { width: 24px; height: 24px; }
.admin-item p { margin: 4px 0 0; font-size: .92rem; color: var(--ink-soft); }
.verbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; padding: 0; list-style: none; }
.verbs li { background: var(--navy-900); color: #fff; font-weight: 600; font-size: .86rem; padding: 6px 12px; border-radius: 999px; }
.legal-note { font-size: .85rem; color: var(--ink-soft); background: var(--sky-50); border-radius: 12px; padding: 12px 14px; border: 1px solid var(--line); }

/* ---------- ¿Eres técnico? (home) ---------- */
.tech-cta { display: grid; gap: 28px; align-items: center; background: linear-gradient(135deg, var(--gold-500), #ffd76a); border-radius: 28px; padding: 32px 22px; position: relative; overflow: hidden; }
.tech-cta h2 { color: var(--navy-950); }
.tech-cta p { color: var(--navy-900); font-size: 1.08rem; }
.tech-cta ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.tech-cta li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--navy-950); }
.tech-cta li svg { width: 22px; height: 22px; flex: none; }
.tech-cta .mascot { width: 200px; margin: 0 auto; border-radius: 50%; border: 5px solid var(--navy-900); background: #fff; }
.tech-cta .btns { display: grid; gap: 10px; }
@media (min-width: 640px) { .tech-cta .btns { grid-template-columns: auto auto; justify-content: start; } }
@media (min-width: 1024px) { .tech-cta { grid-template-columns: 1.3fr .7fr; padding: 56px; } .tech-cta .mascot { width: 280px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #c4d6ee; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 18px; font-weight: 700; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--gold-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23060b33' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 18px 18px; color: var(--ink-soft); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Contacto / Formularios ---------- */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 48px; } }
.contact-card { background: var(--navy-900); color: #fff; border-radius: var(--radius); padding: 26px 22px; }
.contact-card h3 { color: #fff; }
.contact-card p { color: #c9d6f2; }
.contact-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); color: #fff; }
.contact-line svg { width: 22px; height: 22px; color: var(--gold-500); flex: none; }
.contact-line a { color: #fff; font-weight: 700; text-decoration: none; word-break: break-all; }
.contact-line a:hover { text-decoration: underline; }
.contact-card .btn { margin-top: 10px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .form-card { padding: 32px; } }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--navy-900); }
.field .req { color: var(--red-600); }
.field .hint { font-size: .82rem; color: var(--ink-soft); margin-top: 4px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #c8d4e6; border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-500); box-shadow: 0 0 0 4px rgba(74,166,236,.22); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-600); }
.field .error { display: none; color: var(--red-600); font-size: .84rem; font-weight: 600; margin-top: 5px; }
.field.has-error .error { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.check-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .check-grid { grid-template-columns: repeat(3, 1fr); } }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1.5px solid #c8d4e6; border-radius: 12px; cursor: pointer; font-size: .94rem; transition: border-color .2s, background .2s; }
.check:has(input:checked) { border-color: var(--navy-900); background: var(--sky-50); }
.check input { width: 20px; height: 20px; accent-color: var(--navy-900); flex: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: grid; gap: 12px; margin-top: 20px; }
.form-legal { font-size: .8rem; color: var(--ink-soft); margin: 0; }
.form-status { display: none; border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.form-status.is-visible { display: block; }
.form-status.ok { background: #e8f7ee; color: #145a32; border: 1px solid #b8e3c8; }
.form-status.err { background: #fdecec; color: #8a1c1c; border: 1px solid #f3c3c3; }
.form-status .btn { margin-top: 10px; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.form-section-title { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700); margin: 8px 0 -4px; padding-top: 14px; border-top: 1px solid var(--line); }
.form-section-title:first-child { border-top: 0; padding-top: 0; margin-top: 0; }

/* ---------- Social ---------- */
.social-section { text-align: center; }
.tiktok-wrap { display: grid; gap: 16px; justify-content: center; grid-template-columns: repeat(auto-fit, minmax(280px, 325px)); }
.tiktok-placeholder { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-links a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); transition: background .2s, transform .2s; }
.social-links a:hover { background: var(--gold-500); color: var(--navy-950); transform: translateY(-2px); }
.social-links a svg { width: 20px; height: 20px; }
.social-links.on-light a { background: var(--sky-50); color: var(--navy-900); border-color: var(--line); }
.mobile-menu .social-links a { background: var(--sky-50); color: var(--navy-900); border-color: var(--line); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #c9d6f2; padding: 56px 0 110px; font-size: .95rem; }
.footer-grid { display: grid; gap: 30px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } .site-footer { padding-bottom: 40px; } }
.footer-logo { width: 150px; background: #fff; border-radius: 18px; padding: 8px; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #c9d6f2; text-decoration: none; }
.site-footer a:hover { color: var(--gold-500); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .85rem; }

/* ---------- WhatsApp flotante / barra móvil ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90; display: inline-flex; align-items: center; gap: 10px;
  background: #1fa855; color: #fff; text-decoration: none; font-weight: 700; padding: 0 18px 0 14px; height: 56px; border-radius: 999px;
  box-shadow: 0 12px 28px -10px rgba(16,110,52,.7); transition: transform .2s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 28px; height: 28px; }
@media (min-width: 1024px) { .wa-float { height: 52px; } .wa-float .wa-label { display: none; } .wa-float { padding: 0 12px; width: 52px; justify-content: center; } }

/* ---------- Página técnicos ---------- */
.breadcrumb { font-size: .88rem; margin-bottom: 16px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--ink-soft); }
.breadcrumb a { color: var(--blue-700); }
.tech-hero { background: linear-gradient(160deg, var(--navy-950), var(--navy-900) 60%, #1a2f78); color: #fff; padding: 36px 0 64px; position: relative; overflow: hidden; }
.tech-hero::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(244,196,69,.25), transparent 65%); right: -180px; bottom: -220px; }
.tech-hero h1 { color: #fff; }
.tech-hero .breadcrumb a { color: #a9c8f2; }
.tech-hero .breadcrumb li { color: #c9d6f2; }
.tech-hero p.lead { color: #d5def4; font-size: 1.12rem; max-width: 34em; }
.tech-hero-grid { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
.tech-hero-grid .mascot { width: 220px; margin: 0 auto; border-radius: 50%; border: 5px solid var(--gold-500); background: #fff; }
@media (min-width: 1024px) { .tech-hero { padding: 56px 0 96px; } .tech-hero-grid { grid-template-columns: 1.3fr .7fr; } .tech-hero-grid .mascot { width: 300px; } }
.split-highlight { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; max-width: 440px; }
.split-highlight div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 12px 14px; }
.split-highlight strong { display: block; font-size: 1.6rem; color: var(--gold-500); line-height: 1.1; }
.split-highlight small { color: #c9d6f2; }
.spec-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.spec { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.spec svg { width: 20px; height: 20px; color: var(--blue-700); }
.req-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 768px) { .req-list { grid-template-columns: 1fr 1fr; } }
.req-list li { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.req-list svg { width: 22px; height: 22px; color: #1f8a4c; flex: none; margin-top: 2px; }
.status-flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.status-flow span { font-size: .84rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--sky-100); color: var(--navy-900); }
.status-flow i { color: var(--ink-soft); font-style: normal; }

/* ---------- Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-video { display: none !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* Ajustes finos */
.field .check input, .check input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0; border-radius: 4px; }
@media (max-width: 420px) {
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 1rem; }
  .header-actions .btn { padding: .5em .85em; font-size: .84rem; }
}
.field label.check { display: flex; align-items: center; margin: 0; font-weight: 600; }

/* ---------- Formas de pago ---------- */
.pay-band { padding: 28px 0 0; }
.pay-card {
  display: grid; gap: 14px; align-items: center; grid-template-columns: auto 1fr;
  background: var(--sky-50); border: 1.5px solid #c4d6ee; border-radius: var(--radius); padding: 18px;
}
.pay-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--navy-900); color: var(--gold-500); display: grid; place-items: center; }
.pay-ic svg { width: 28px; height: 28px; }
.pay-text h2 { font-size: 1.15rem; margin: 0 0 4px; }
.pay-text p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.pay-chips { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay-chips li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .92rem; color: var(--navy-900); }
.pay-chips svg { width: 20px; height: 20px; color: var(--blue-700); }
@media (min-width: 900px) {
  .pay-card { grid-template-columns: auto 1fr auto; padding: 20px 26px; }
  .pay-chips { grid-column: auto; }
}

/* ---------- ¿No encuentras tu servicio? ---------- */
.not-found {
  margin-top: 24px; display: grid; gap: 16px; align-items: center; text-align: center;
  background: var(--navy-900); color: #fff; border-radius: var(--radius); padding: 24px 20px;
}
.not-found img { width: 72px; margin: 0 auto; border-radius: 50%; border: 3px solid var(--gold-500); background: #fff; }
.not-found h3 { color: #fff; font-size: 1.3rem; margin-bottom: 4px; }
.not-found p { color: #d5def4; margin: 0; }
.not-found .nf-btns { display: grid; gap: 10px; }
.not-found .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.not-found .btn-outline:hover { background: #fff; color: var(--navy-900); }
@media (min-width: 900px) {
  .not-found { grid-template-columns: auto 1fr auto; text-align: left; padding: 26px 30px; }
  .not-found .nf-btns { grid-auto-flow: column; }
}
.chips-note { text-align: center; margin: 22px 0 0; color: var(--ink-soft); font-weight: 600; }
.chips-note a { color: var(--blue-700); }

/* Botón de menú siempre visible (contraste) */
.menu-toggle { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.menu-toggle svg { stroke: currentColor; }

/* =========================================================
   Iconos duotono RapidMant — más visibles y con contraste
   ========================================================= */
.service-visual svg { width: 88px; height: 88px; color: var(--navy-900); filter: drop-shadow(0 6px 10px rgba(11,26,74,.12)); }
.service-body .tag .mini { width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line); color: var(--navy-900); }
.service-body .tag .mini svg { width: 26px; height: 26px; }
.home-item svg { width: 46px; height: 46px; color: #fff; }
.em-list svg { width: 28px; height: 28px; color: #fff; }
.em-list li { padding: 12px 10px; }
.need-chip svg { width: 26px; height: 26px; color: var(--navy-900); }
.need-chip.urgent svg { color: var(--navy-900); }
.trust-item .ti { width: 58px; height: 58px; background: var(--sky-50); border: 1.5px solid var(--line); color: var(--navy-900); }
.trust-item .ti svg { width: 34px; height: 34px; }
.admin-item .ai { width: 50px; height: 50px; background: #fff; border: 1.5px solid var(--line); color: var(--navy-900); }
.admin-item .ai svg { width: 30px; height: 30px; }
.pay-ic { background: #fff; border: 1.5px solid #c4d6ee; color: var(--navy-900); width: 58px; height: 58px; }
.pay-ic svg { width: 34px; height: 34px; }
.pay-chips svg { width: 22px; height: 22px; color: var(--navy-900); }
.hero-note svg { width: 22px; height: 22px; color: var(--navy-900); }
.intent-card .ic { width: 56px; height: 56px; }
.intent-card .ic svg { width: 34px; height: 34px; }
.intent-client .ic { background: #fff; color: var(--navy-900); }
.intent-tech .ic { background: var(--sky-50); border: 1.5px solid var(--line); color: var(--navy-900); }
.spec svg { width: 26px; height: 26px; color: var(--navy-900); }
.req-list svg { width: 26px; height: 26px; color: var(--navy-900); }
.contact-line svg { width: 26px; height: 26px; color: #fff; }
.tech-cta li svg { width: 26px; height: 26px; }
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- Formas de pago (5 métodos) y logos oficiales ---------- */
.pay-chips li { min-height: 44px; }
.pay-chips li svg { width: 24px; height: 24px; }
.pay-chips li.has-logo { padding: 6px 14px; background: #fff; }
.pay-chips li.has-logo .brand-logo { height: 28px; width: auto; max-width: 120px; }
.social-links a.has-logo { background: #fff; border-color: var(--line); }
.social-links a.has-logo .brand-logo { width: 26px; height: 26px; object-fit: contain; }
.social-links a.has-logo:hover { background: #fff; transform: translateY(-2px) scale(1.05); }
@media (min-width: 900px) { .pay-card { grid-template-columns: auto auto 1fr; } .pay-chips { justify-content: flex-end; } }
