/* =========================================================
   ServiTodo — Tema sobrio, profesional, una sola paleta
   ========================================================= */

:root {
  --c-ink:       #0f172a;
  --c-text:      #334155;
  --c-muted:     #64748b;
  --c-border:    #e5e7eb;
  --c-bg:        #ffffff;
  --c-bg-soft:   #f8fafc;

  /* Azul de marca — "Servi" (del logo) */
  --c-brand:     #194189;
  --c-brand-dk:  #122f65;
  --c-brand-bg:  #eaf0f9;
  --c-brand-bd:  #c4d1e8;

  /* Naranja de marca — "Todo" (del logo) */
  --c-accent:    #ed8035;
  --c-accent-dk: #c96719;
  --c-accent-bg: #fdf1e5;
  --c-accent-bd: #f7c79e;

  /* Gradientes de marca */
  --c-grad-brand:  linear-gradient(135deg, var(--c-brand) 0%, var(--c-accent) 100%);
  --c-grad-hero:   linear-gradient(135deg, #eaf0f9 0%, #fff 45%, #fdf1e5 100%);

  --c-success:   #16a34a;
  --c-warning:   #d97706;
  --c-danger:    #dc2626;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow-sm:   0 1px 2px rgba(15, 23, 42, .04);
  --shadow:      0 4px 10px rgba(15, 23, 42, .05);
  --shadow-lg:   0 12px 28px rgba(15, 23, 42, .08);
}

/* ---------- Logo de marca ---------- */
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { display: block; height: 36px; width: auto; }
.brand-logo--sm img {
    height: 63px;
    position: absolute;
}
.brand-logo--lg img { height: 48px; }
.brand-logo--xl img { height: 64px; }

/* En fondos oscuros, el logo se envuelve en una pastilla blanca */
.brand-logo--on-dark {
  background: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  display: inline-flex;
}

/* ---------- Base ---------- */
html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--c-ink);
  font-weight: 700;
  letter-spacing: -0.015em;
}
a { color: var(--c-brand); text-decoration: none; }
a:hover { color: var(--c-brand-dk); text-decoration: none; }
hr { color: var(--c-border); opacity: 1; }

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--c-ink);
  color: #cbd5e1;
  padding: .5rem 0;
  font-size: .82rem;
}
.top-bar a { color: #cbd5e1; text-decoration: none; }
.top-bar a:hover { color: #fff; text-decoration: none; }

/* ---------- Navbar ---------- */
.st-navbar {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  padding: .75rem 0;
}
.st-navbar .navbar-brand {
  display: flex; align-items: center; gap: .6rem;
  color: var(--c-ink); font-size: 1.15rem;
}
.st-navbar .st-logo {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--c-accent);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.st-navbar .nav-link {
  color: var(--c-muted);
  font-weight: 500;
  padding: .5rem .85rem !important;
  font-size: .93rem;
  transition: color .15s ease;
}
.st-navbar .nav-link:hover { color: var(--c-ink); }
.st-navbar .nav-link.active { color: var(--c-ink); }
.st-navbar .dropdown-toggle::after { display: none; }
.st-navbar .dropdown-menu {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: .3rem;
}
.st-navbar .dropdown-item { border-radius: 5px; padding: .5rem .75rem; }
.st-navbar .dropdown-item:hover { background: var(--c-bg-soft); }

/* ---------- Cards ---------- */
.card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: none;
  transition: border-color .15s ease;
}
.card-body { padding: 1.5rem; }
.card-header {
  background: transparent;
  border-bottom: 1px solid var(--c-border);
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: var(--c-ink);
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: var(--radius-sm);
  font-weight: 500;
  padding: .6rem 1.15rem;
  transition: all .15s ease;
  border: 1px solid transparent;
  font-size: .95rem;
}
.btn-primary {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--c-accent-dk); border-color: var(--c-accent-dk); color: #fff; }
.btn-dark {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #fff;
}
.btn-dark:hover { background: #000; border-color: #000; color: #fff; }
.btn-outline-secondary {
  color: var(--c-ink);
  border-color: var(--c-border);
  background: #fff;
}
.btn-outline-secondary:hover { background: var(--c-bg-soft); border-color: var(--c-muted); color: var(--c-ink); }
.btn-success { background: var(--c-success); border-color: var(--c-success); }
.btn-danger  { background: var(--c-danger);  border-color: var(--c-danger); }
.btn-sm { padding: .4rem .85rem; font-size: .85rem; }
.btn-lg { padding: .85rem 1.5rem; font-size: 1rem; }

/* ---------- Forms ---------- */
.form-label { font-weight: 500; color: var(--c-ink); margin-bottom: .35rem; font-size: .92rem; }
.form-control, .form-select {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: .6rem .85rem;
  background: #fff;
  color: var(--c-ink);
  font-size: .95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--c-ink);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, .08);
}
textarea.form-control { padding: .75rem .85rem; line-height: 1.5; }

/* ---------- Tables ---------- */
.table { --bs-table-bg: transparent; color: var(--c-text); margin-bottom: 0; }
.table > :not(caption) > * > * { padding: .85rem 1rem; border-bottom-color: var(--c-border); }
.table thead th {
  background: var(--c-bg-soft);
  font-weight: 600; color: var(--c-muted);
  font-size: .78rem;
  text-transform: uppercase; letter-spacing: .03em;
  border-bottom: 1px solid var(--c-border);
}
.table-hover tbody tr:hover { background: var(--c-bg-soft); }

/* ---------- Badges ---------- */
.badge {
  font-weight: 500;
  padding: .32em .7em;
  border-radius: 999px;
  font-size: .72rem;
}
.badge.bg-success   { background: #dcfce7 !important; color: #166534; }
.badge.bg-warning   { background: #fef3c7 !important; color: #854d0e; }
.badge.bg-info      { background: #dbeafe !important; color: #1e40af; }
.badge.bg-primary   { background: #e0e7ff !important; color: #3730a3; }
.badge.bg-danger    { background: #fee2e2 !important; color: #991b1b; }
.badge.bg-secondary { background: #f1f5f9 !important; color: #475569; }

/* ---------- Alerts ---------- */
.alert {
  border: 1px solid;
  border-radius: var(--radius-sm);
  padding: .85rem 1.1rem;
  font-size: .93rem;
}
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert-danger  { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #854d0e; }
.alert-info    { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

/* =========================================================
   LANDING
   ========================================================= */
.landing-body { background: #fff; }

.landing-hero {
  position: relative;
  padding: 5rem 0 5rem;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}
.landing-hero .hero-blob { display: none; }
.text-brand  { color: var(--c-brand); }
.text-accent { color: var(--c-accent); }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--c-accent-bg);
  color: var(--c-accent-dk);
  padding: .4rem .9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .82rem;
  border: 1px solid var(--c-accent-bd);
}
.hero-badge i { color: var(--c-accent); }
.hero-title .text-accent {
  color: var(--c-accent);
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 1rem 0 1rem;
  color: var(--c-ink);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--c-muted);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.hero-trust {
  color: var(--c-muted);
  font-size: .88rem;
  border-top: 1px solid var(--c-border);
  padding-top: 1.25rem;
  margin-top: 2rem;
}
.hero-trust i { color: var(--c-ink); margin-right: .3rem; }
.hero-trust .vr { background: var(--c-border); opacity: 1; }

.bg-soft { background: var(--c-bg-soft); }
.section-title {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-title .eyebrow {
  display: inline-block;
  color: var(--c-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
  margin-bottom: .5rem;
}
.section-title h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: .75rem;
}
.section-title p { color: var(--c-muted); margin: 0; font-size: 1rem; }

/* Especialidad cards */
.esp-card-link { text-decoration: none; display: block; }
.esp-card-link:hover { text-decoration: none; }
.esp-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
  text-align: center;
  transition: all .15s ease;
  height: 100%;
}
.esp-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(25, 65, 137, .12);
}
.esp-card:hover .esp-icon {
  background: var(--c-accent);
  color: #fff;
}
.esp-card .esp-icon {
  color: var(--c-accent);
  display: inline-flex;
  margin-bottom: .6rem;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: var(--c-accent-bg);
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
  transition: all .15s ease;
}
.esp-card .esp-name {
  font-weight: 600;
  color: var(--c-ink);
  font-size: .96rem;
}

/* Pasos */
.card-step {
  padding: 1.25rem 1.5rem;
  height: 100%;
  border-left: 3px solid var(--c-accent);
  background: #fff;
}
.card-step .step-num {
  font-weight: 700;
  color: var(--c-muted);
  font-size: .78rem;
  letter-spacing: .1em;
  margin-bottom: .5rem;
  text-transform: uppercase;
}
.card-step h5 { margin-bottom: .4rem; color: var(--c-ink); font-size: 1.05rem; }
.card-step p  { color: var(--c-muted); margin: 0; font-size: .92rem; }

/* Trabajos */
.job-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  height: 100%;
}
.job-cat {
  display: inline-flex; align-items: center; gap: .3rem;
  background: var(--c-bg-soft);
  color: var(--c-ink);
  padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 500;
  border: 1px solid var(--c-border);
}
.stars { color: #f59e0b; letter-spacing: 1px; font-size: .85rem; }

/* Testimonios */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  margin: 0;
}
.testimonial-card blockquote {
  font-size: .97rem;
  line-height: 1.6;
  color: var(--c-text);
  margin: .75rem 0 1rem;
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 600;
  font-size: .9rem;
  flex-shrink: 0;
}

/* Técnico cards */
.tec-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.tec-avatar, .tec-avatar-fallback {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-flex;
  align-items: center; justify-content: center;
  border: 1px solid var(--c-border);
}
.tec-avatar-fallback {
  background: var(--c-bg-soft);
  color: var(--c-ink);
  font-weight: 700;
  font-size: 1.6rem;
}

/* Garantías */
.guarantee-card {
  padding: 1.25rem 0;
  height: 100%;
}
.guarantee-card .g-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-accent);
  background: var(--c-accent-bg);
  border: 1px solid var(--c-accent-bd);
  font-size: 1.3rem;
  margin-bottom: .9rem;
}
.guarantee-card h5 { margin-bottom: .4rem; font-size: 1.05rem; }
.guarantee-card p  { color: var(--c-muted); font-size: .92rem; margin: 0; }

/* FAQ */
.faq-accordion .accordion-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm) !important;
  margin-bottom: .6rem;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  font-weight: 600;
  padding: 1rem 1.15rem;
  background: #fff;
  color: var(--c-ink);
  font-size: .97rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--c-bg-soft);
  color: var(--c-ink);
  box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: none; border-color: transparent; }

/* CTA final */
.cta-final {
  padding: 4rem 0;
  background: var(--c-brand);
  color: #fff;
}
.cta-final h2 { color: #fff; font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin-bottom: 1rem; }
.cta-final p  { color: #ffedd5; font-size: 1.05rem; margin-bottom: 1.75rem; }
.cta-final .btn-light { background: #fff; color: var(--c-accent-dk); font-weight: 600; border: none; }
.cta-final .btn-light:hover { background: #f1f5f9; color: var(--c-accent-dk); }
.cta-final .btn-outline-light { border: 1px solid rgba(255,255,255,.5); color: #fff; background: transparent; }
.cta-final .btn-outline-light:hover { background: rgba(255,255,255,.15); color: #fff; }

/* Footer */
.site-footer {
  background: var(--c-ink);
  color: #94a3b8;
  padding: 3rem 0 2rem;
}
.site-footer h6,
.site-footer .footer-title {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .5rem; font-size: .9rem; }
.footer-list a { color: #cbd5e1; text-decoration: none; }
.footer-list a:hover { color: #fff; }
.footer-list i { margin-right: .4rem; color: #94a3b8; }
.site-footer hr { border-color: #1e293b; opacity: 1; }

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 54px; height: 54px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
  text-decoration: none;
  z-index: 1000;
}
.wa-float:hover { color: #fff; text-decoration: none; }

/* =========================================================
   INTERNO (dashboards)
   ========================================================= */
main.container { padding-top: 1.5rem; padding-bottom: 1.5rem; min-height: 60vh; }

/* Stat cards */
.stat-card {
  position: relative;
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid var(--c-border);
  background: #fff;
}
.stat-card .stat-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.stat-card .stat-value {
  font-size: 1.9rem; font-weight: 700;
  color: var(--c-ink); margin-top: .25rem; line-height: 1.1;
}
.stat-card .stat-icon {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  color: var(--c-ink);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
}
.stat-card.success .stat-icon { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.stat-card.warning .stat-icon { background: #fef3c7; color: #854d0e; border-color: #fde68a; }
.stat-card.info    .stat-icon { background: #dbeafe; color: #1e40af; border-color: #bfdbfe; }
.stat-card.danger  .stat-icon { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

/* Auth card */
.auth-card {
  max-width: 440px;
  margin: 3rem auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.auth-card .st-logo {
  width: 52px; height: 52px;
  font-size: 1.4rem;
  background: var(--c-accent);
}
.auth-card .nav-tabs { border-bottom: 1px solid var(--c-border); padding: 0 .5rem; }
.auth-card .nav-tabs .nav-link {
  color: var(--c-muted); font-weight: 500; border: none;
  border-bottom: 2px solid transparent;
  padding: .85rem 1.1rem;
}
.auth-card .nav-tabs .nav-link.active {
  color: var(--c-ink);
  border-bottom-color: var(--c-ink);
  background: transparent;
}

/* Page header */
.page-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap; gap: 1rem;
}
.page-header h1 { font-size: 1.55rem; margin: 0; }
.page-header .subtitle { color: var(--c-muted); font-size: .92rem; margin-top: .15rem; }

/* Admin footer */
footer.st-footer {
  text-align: center; color: var(--c-muted);
  padding: 2rem 1rem; border-top: 1px solid var(--c-border);
  margin-top: 3rem; font-size: .88rem; background: #fff;
}

/* Images */
.img-thumbnail {
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  padding: 3px; background: #fff;
}

/* =========================================================
   /solicitar.php
   ========================================================= */
.step-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff; font-weight: 600; font-size: .85rem;
  flex-shrink: 0;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: .6rem;
}
.cat-btn {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: .9rem .6rem;
  text-align: center;
  cursor: pointer;
  transition: all .12s ease;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
}
.cat-btn:hover { border-color: var(--c-accent); background: var(--c-accent-bg); }
.cat-btn.active {
  border-color: var(--c-accent);
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(237, 128, 53, .25);
}
.cat-btn.active .cat-name { color: #fff; }
.cat-btn.active .cat-ico i { color: #fff; }
.cat-ico { font-size: 1.4rem; line-height: 1; }
.cat-ico i { color: var(--c-ink); }
.cat-name { font-weight: 500; font-size: .85rem; color: var(--c-ink); }

.srv-chip {
  display: flex; align-items: center; gap: .75rem;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  cursor: pointer;
  transition: all .12s ease;
  margin: 0;
  height: 100%;
}
.srv-chip:hover { border-color: var(--c-accent); }
.srv-chip input[type=checkbox] { display: none; }
.srv-dot {
  width: 20px; height: 20px;
  border-radius: 4px;
  border: 1.5px solid var(--c-border);
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .12s ease;
}
.srv-dot::after {
  content: "\f633";
  font-family: 'bootstrap-icons';
  color: #fff; font-size: .8rem; opacity: 0;
  transition: opacity .12s ease;
}
.srv-chip input:checked + .srv-dot {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.srv-chip input:checked + .srv-dot::after { opacity: 1; }
.srv-chip input:checked ~ .srv-text { font-weight: 600; color: var(--c-accent-dk); }
.srv-chip:has(input:checked) { border-color: var(--c-accent); background: var(--c-accent-bg); }
.srv-text { color: var(--c-text); font-size: .93rem; line-height: 1.3; }

/* Responsive */
@media (max-width: 768px) {
  .landing-hero { padding: 3.5rem 0 2.5rem; }
  .cta-final { padding: 3rem 0; }
  .stat-card .stat-value { font-size: 1.5rem; }
}

/* =========================================================
   Mascota + píldoras flotantes del hero
   ========================================================= */
.mascot-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.mascot-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: var(--c-brand-bg);
  filter: blur(2px);
  z-index: 0;
}
.mascot-ring::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 30px 80px rgba(25, 65, 137, .18), 0 8px 24px rgba(237, 128, 53, .12);
}
.mascot-img {
  position: relative;
  z-index: 2;
  width: 88%;
  height: 88%;
  object-fit: contain;
  margin: 6%;
  display: block;
  animation: mascot-float 5s ease-in-out infinite;
}
.mascot-video {
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.share-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.share-row .share-label {
  color: #e2e8f0;
  font-size: .9rem;
  margin-right: .25rem;
}
.share-row .share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.1rem;
  transition: background .15s ease, transform .15s ease;
  text-decoration: none;
}
.share-row .share-btn:hover,
.share-row .share-btn:focus {
  background: rgba(255,255,255,.24);
  transform: translateY(-2px);
}
@keyframes mascot-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.float-pill {
  position: absolute;
  z-index: 3;
  display: flex; align-items: center; gap: .65rem;
  background: #fff;
  border: 1px solid var(--c-border);
  padding: .7rem 1rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08), 0 2px 6px rgba(15, 23, 42, .04);
  min-width: 170px;
  animation: pill-float 4s ease-in-out infinite;
}
.float-pill:nth-child(3n) { animation-delay: -1.2s; }
.float-pill:nth-child(3n+1) { animation-delay: -2.5s; }
@keyframes pill-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.pill-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.05rem;
  flex-shrink: 0;
}
.pill-icon--brand  { background: var(--c-brand); }
.pill-icon--accent { background: var(--c-accent); }
.pill-icon--warn   { background: #f59e0b; }
.pill-value { font-weight: 700; color: var(--c-ink); font-size: .95rem; line-height: 1.15; }
.pill-label { color: var(--c-muted); font-size: .76rem; }

.pill-rating   { top: 8%;  left: -6%; }
.pill-response { top: 46%; right: -8%; }
.pill-shield   { bottom: 6%; left: 10%; }

@media (max-width: 991px) {
  .mascot-stage { max-width: 340px; margin-top: 1rem; }
  .pill-rating   { left: 0; }
  .pill-response { right: 0; }
  .pill-shield   { left: 5%; }
  .float-pill { min-width: 150px; padding: .55rem .85rem; }
  .pill-icon { width: 32px; height: 32px; font-size: .9rem; }
  .pill-value { font-size: .85rem; }
  .pill-label { font-size: .7rem; }
}

/* =========================================================
   Botones complementarios de marca
   ========================================================= */
.btn-accent {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(237, 128, 53, .32);
}
.btn-accent:hover {
  background: var(--c-accent-dk);
  border-color: var(--c-accent-dk);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(237, 128, 53, .4);
}
.btn-wa {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.btn-wa:hover { background: #1fbf5a; border-color: #1fbf5a; color: #fff; }

/* =========================================================
   Polish de cards y secciones
   ========================================================= */
.esp-card .esp-icon { background: var(--c-brand-bg); color: var(--c-brand); }
.esp-card:hover .esp-icon { background: var(--c-brand); color: #fff; }
.esp-card:hover { border-color: var(--c-brand); box-shadow: 0 6px 20px rgba(25, 65, 137, .15); }

.testimonial-card {
  position: relative;
  padding-top: 2.25rem;
}
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: -10px; left: 18px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--c-accent);
  opacity: .25;
  font-weight: 700;
}

/* CTA final — color de marca sólido */
.cta-final {
  background: var(--c-brand);
}
.cta-final p { color: rgba(255, 255, 255, .92); }
.cta-final .btn-light { color: var(--c-brand-dk); background: #fff; }
.cta-final .btn-light:hover { color: var(--c-accent-dk); background: #f1f5f9; }
