:root {
  --client-max-width: min(1180px, 92vw);
  --client-bg-primary: rgba(248, 251, 255, 0.82);
  --client-radius-xl: clamp(18px, 3vw, 28px);
  --client-border-soft: rgba(13, 31, 99, 0.08);
  --client-shadow-sm: 0 18px 40px rgba(12, 31, 99, 0.08);
  --client-shadow-md: 0 28px 70px rgba(12, 31, 99, 0.12);
}

.client-shell {
  width: min(1200px, 96vw);
  margin: clamp(2.5rem, 5vw, 4rem) auto clamp(3rem, 7vw, 5rem);
  padding-inline: clamp(1rem, 4vw, 2.2rem);
  display: grid;
  gap: clamp(2.4rem, 4vw, 3.6rem);
  color: #06103b;
  isolation: isolate;
}

.client-shell::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  background: radial-gradient(circle at 18% 22%, rgba(99, 102, 241, 0.18), transparent 60%),
    radial-gradient(circle at 82% 16%, rgba(250, 196, 36, 0.18), transparent 62%),
    radial-gradient(circle at 42% 78%, rgba(59, 130, 246, 0.14), transparent 65%),
    linear-gradient(145deg, rgba(248, 251, 255, 0.92), rgba(237, 242, 255, 0.78));
  filter: blur(38px);
  opacity: 0.85;
  z-index: -2;
}

.client-shell::after {
  content: "";
  position: absolute;
  inset: -6% -4%;
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.48);
  filter: blur(62px);
  z-index: -1;
}

@media (max-width: 768px) {
  .client-shell {
    width: 100%;
    padding-inline: clamp(1rem, 5vw, 1.4rem);
  }
}

@media (max-width: 640px) {
  .client-shell {
    padding-inline: 1.1rem;
    margin-top: clamp(1.5rem, 8vw, 2.5rem);
  }

  .client-shell::before,
  .client-shell::after {
    display: none;
  }
}

.client-hero {
  position: relative;
  display: grid;
  gap: clamp(1.8rem, 3vw, 2.6rem);
  padding: clamp(2.4rem, 4vw, 3.4rem);
  border-radius: clamp(28px, 4vw, 42px);
  overflow: hidden;
  box-shadow: var(--client-shadow-md);
  background:
    radial-gradient(circle at 18% 24%, rgba(99, 102, 241, 0.25), transparent 58%),
    radial-gradient(circle at 82% 22%, rgba(14, 165, 233, 0.25), transparent 58%),
    linear-gradient(130deg, rgba(14, 23, 64, 0.95), rgba(17, 94, 140, 0.88));
  color: #fff;
}

.client-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.22), transparent 58%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.client-hero__grid {
  position: relative;
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.4rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}

.client-hero__headline {
  display: grid;
  gap: 1rem;
}

.client-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-weight: 600;
}

.client-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
}

.client-hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
}

.client-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.client-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.client-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 36px rgba(12, 31, 99, 0.22);
}

.client-button--primary {
  background: linear-gradient(120deg, rgba(250, 196, 36, 0.95), rgba(255, 115, 72, 0.95));
  border: none;
}

.client-button--primary:hover {
  background: linear-gradient(120deg, rgba(255, 210, 84, 1), rgba(255, 135, 96, 1));
  box-shadow: 0 24px 40px rgba(12, 31, 99, 0.28);
}

.client-bento {
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.4rem);
}

.client-bento__row {
  display: grid;
  gap: clamp(1.2rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.client-surface {
  position: relative;
  border-radius: var(--client-radius-xl);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--client-shadow-sm);
  overflow: hidden;
  display: grid;
  gap: 1rem;
}

.client-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 18%, rgba(99, 102, 241, 0.16), transparent 65%),
    radial-gradient(circle at 20% 88%, rgba(236, 72, 153, 0.14), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: -1;
}

.client-surface:hover::after {
  opacity: 1;
}

.client-surface__title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: #0d1f51;
}

.client-surface__subtitle {
  font-size: 0.9rem;
  color: rgba(12, 31, 99, 0.64);
}

.client-chipbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.client-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(12, 31, 99, 0.08);
  color: rgba(12, 31, 99, 0.64);
}

.client-metric {
  display: grid;
  gap: 0.35rem;
}

.client-metric__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(12, 31, 99, 0.46);
}

.client-metric__value {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #0d1f51;
}

.client-density {
  display: grid;
  gap: 1.25rem;
  position: relative;
}

.client-density::before {
  content: "";
  position: absolute;
  inset: -28% -12% -24%;
  background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.12), transparent 70%);
  filter: blur(48px);
  opacity: 0.65;
  z-index: -1;
}

.client-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.86);
  border-radius: var(--client-radius-xl);
  overflow: hidden;
  box-shadow: var(--client-shadow-sm);
}

.client-table thead {
  background: rgba(12, 31, 99, 0.08);
  color: rgba(12, 31, 99, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.client-table th,
.client-table td {
  padding: 0.95rem 1.2rem;
}

.client-table tbody tr {
  border-bottom: 1px solid rgba(12, 31, 99, 0.08);
}

.client-table tbody tr:hover {
  background: rgba(236, 244, 255, 0.45);
}

.client-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(12, 31, 99, 0.12);
  color: rgba(12, 31, 99, 0.78);
}

.client-pill--success {
  background: rgba(34, 197, 94, 0.15);
  color: rgba(22, 101, 52, 0.92);
}

.client-pill--warning {
  background: rgba(251, 191, 36, 0.18);
  color: rgba(120, 53, 15, 0.92);
}

.client-pill--danger {
  background: rgba(248, 113, 113, 0.18);
  color: rgba(153, 27, 27, 0.95);
}

.client-pill--info {
  background: rgba(59, 130, 246, 0.18);
  color: rgba(30, 64, 175, 0.95);
}

.client-pill--muted {
  background: rgba(148, 163, 184, 0.16);
  color: rgba(30, 41, 59, 0.7);
}

.client-grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 0.55fr));
  gap: clamp(1.1rem, 2.2vw, 2rem);
}

.client-timeline {
  position: relative;
  display: grid;
  gap: 2rem;
}

.client-timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, rgba(12, 31, 99, 0.12), rgba(12, 31, 99, 0.05));
}

.client-timeline__item {
  position: relative;
  margin-left: 32px;
  padding: 1.8rem 2rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--client-shadow-sm);
}

.client-timeline__item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 22px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98) 0%, rgba(99, 102, 241, 0.85) 65%, rgba(99, 102, 241, 0.45) 100%);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.48);
}

.client-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #0d1f51;
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.client-section-desc {
  max-width: 70ch;
  color: rgba(12, 31, 99, 0.65);
  font-size: 1rem;
}

.client-orbit-grid {
  display: grid;
  gap: clamp(1.8rem, 3vw, 2.4rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.client-orbit {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(18px);
  box-shadow: var(--client-shadow-sm);
}

.client-orbit::after {
  content: "";
  position: absolute;
  inset: -28% -22%;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--cine-accent, #ff7b1a) 22%, rgba(255, 255, 255, 0.3)) 0%, transparent 70%);
  filter: blur(34px);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.client-orbit:hover::after {
  opacity: 0.6;
}

.client-orbit h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d1f51;
}

.client-orbit p {
  margin: 0;
  color: rgba(12, 31, 99, 0.65);
  line-height: 1.6;
}

.client-contact-grid {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.client-contact-card {
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border-radius: 1.8rem;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--client-shadow-sm);
  display: grid;
  gap: 1rem;
}

.client-map {
  border-radius: clamp(1.4rem, 2vw, 1.8rem);
  overflow: hidden;
  box-shadow: var(--client-shadow-md);
}

.client-callout {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2rem);
  border-radius: 1.8rem;
  background: linear-gradient(140deg, rgba(12, 31, 99, 0.9), rgba(36, 99, 235, 0.75));
  color: #fff;
  box-shadow: var(--client-shadow-md);
  overflow: hidden;
}

.client-callout::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 18%, rgba(255, 255, 255, 0.25), transparent 60%);
  opacity: 0.9;
}

.client-callout > * {
  position: relative;
  z-index: 1;
}

.client-callout h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
}

.client-callout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.client-callout .client-button {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.client-callout .client-button:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.client-surface--ghost {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(12, 31, 99, 0.06);
  box-shadow: 0 18px 38px rgba(12, 31, 99, 0.06);
}

.client-surface--accent {
  border: 1px solid rgba(99, 102, 241, 0.24);
  box-shadow: 0 26px 60px rgba(99, 102, 241, 0.18);
  position: relative;
}

.client-surface--accent::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle at 40% 20%, rgba(99, 102, 241, 0.22), transparent 60%),
    radial-gradient(circle at 80% 60%, rgba(56, 189, 248, 0.22), transparent 65%);
  filter: blur(40px);
  opacity: 0.6;
  z-index: -1;
}

.client-flex-center {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.client-overline {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(12, 31, 99, 0.48);
}

.client-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(12, 31, 99, 0.16), transparent);
}

.client-gallery {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.client-gallery img,
.client-gallery iframe {
  width: 100%;
  border-radius: 1.4rem;
  box-shadow: var(--client-shadow-sm);
  background: #fff;
}

.client-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.client-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 1rem;
  background: rgba(12, 31, 99, 0.08);
  color: rgba(12, 31, 99, 0.7);
}

.client-scroll-hint {
  font-size: 0.8rem;
  color: rgba(12, 31, 99, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.client-scroll-hint i {
  color: var(--lenis-accent, #ff7b1a);
}

.client-stats-inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
}

.client-stats-inline .client-metric__value {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.client-layout-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1.55fr);
  gap: clamp(1.8rem, 4vw, 2.6rem);
  align-items: flex-start;
}

@media (max-width: 1024px) {
  .client-layout-body {
    grid-template-columns: 1fr;
  }
}

.client-menu {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 2.3vw, 1.6rem);
  border-radius: clamp(1.6rem, 3vw, 2.2rem);
  min-width: 0;
  background:
    linear-gradient(158deg, rgba(255, 255, 255, 0.88), rgba(245, 249, 255, 0.72)),
    radial-gradient(circle at 12% 18%, rgba(99, 102, 241, 0.18), transparent 55%),
    radial-gradient(circle at 78% 82%, rgba(56, 189, 248, 0.18), transparent 58%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 28px 65px rgba(12, 31, 99, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(22px);
  overflow: hidden;
}

.client-menu::before,
.client-menu::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  z-index: -1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.client-menu::before {
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(circle at 82% 78%, rgba(59, 130, 246, 0.25), transparent 60%);
  filter: blur(28px);
  opacity: 0.65;
}

.client-menu::after {
  border: 1px solid rgba(255, 255, 255, 0.38);
  opacity: 0.4;
}

.client-menu:hover::before {
  opacity: 0.85;
  transform: scale(1.02);
}

.client-menu__group-title {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(12, 31, 99, 0.45);
}

.client-menu__link {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1.1rem;
  border-radius: 1.45rem;
  color: rgba(12, 31, 99, 0.7);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 36px rgba(12, 31, 99, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.client-menu__link::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.client-menu__link-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 1.1rem;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.28), rgba(12, 31, 99, 0.1));
  color: rgba(12, 31, 99, 0.78);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.client-menu__link:hover {
  transform: translateX(6px) translateY(-2px);
  background: rgba(255, 255, 255, 0.62);
  color: rgba(12, 31, 99, 0.92);
  box-shadow: 0 26px 48px rgba(12, 31, 99, 0.12);
}

.client-menu__link:hover::after {
  opacity: 1;
}

.client-menu__link:hover .client-menu__link-icon {
  background: radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.45), rgba(12, 31, 99, 0.12));
  color: rgba(12, 31, 99, 0.95);
  transform: translateX(2px);
  box-shadow: 0 14px 26px rgba(99, 102, 241, 0.2);
}

.client-menu__link-icon svg {
  width: 18px;
  height: 18px;
}

.client-menu__link.is-active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.28), rgba(56, 189, 248, 0.2));
  color: rgba(12, 31, 99, 0.98);
  box-shadow: 0 28px 52px rgba(99, 102, 241, 0.24);
}

.client-menu__link.is-active::after {
  opacity: 1;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.12));
}

.client-menu__link.is-active .client-menu__link-icon {
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.38), rgba(99, 102, 241, 0.32));
  color: rgba(12, 31, 99, 0.94);
  transform: translateX(3px);
}

.client-menu__label {
  display: grid;
  gap: 0.25rem;
}

.client-menu__label span:first-child {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.client-menu__label span:last-child {
  font-size: 0.78rem;
  color: rgba(12, 31, 99, 0.52);
}

.client-menu-mobile {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.65rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0.75rem;
  z-index: 15;
}

.client-menu-mobile a {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.92rem;
  color: rgba(12, 31, 99, 0.68);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.client-menu-mobile a.is-active {
  background: linear-gradient(130deg, rgba(99, 102, 241, 0.18), rgba(56, 189, 248, 0.14));
  color: rgba(12, 31, 99, 0.92);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.18);
}

.client-dashboard {
  display: grid;
  gap: clamp(2.6rem, 5vw, 3.8rem);
  padding-inline: clamp(1rem, 4vw, 2.6rem);
}

@media (max-width: 640px) {
  .client-dashboard {
    padding-inline: 0;
    gap: clamp(2rem, 6vw, 2.6rem);
  }
}

.dashboard-hero {
  position: relative;
  border-radius: clamp(2rem, 4vw, 3rem);
  padding: clamp(2.2rem, 4vw, 3.2rem);
  background:
    radial-gradient(circle at 18% 20%, rgba(56, 189, 248, 0.25), transparent 55%),
    radial-gradient(circle at 82% 12%, rgba(236, 72, 153, 0.22), transparent 55%),
    linear-gradient(135deg, rgba(14, 23, 64, 0.98), rgba(14, 34, 105, 0.92) 45%, rgba(17, 94, 140, 0.88));
  color: #fff;
  overflow: hidden;
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.4rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  box-shadow: 0 35px 90px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dashboard-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.22), transparent 62%);
  opacity: 0.85;
}

.dashboard-hero__content,
.dashboard-hero__stats {
  position: relative;
  z-index: 2;
}

.dashboard-hero__content {
  display: grid;
  gap: clamp(1.2rem, 2.6vw, 1.8rem);
}

.dashboard-hero__title {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dashboard-chip,
.dashboard-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.dashboard-chip {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
}

.dashboard-hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.85);
}

.dashboard-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.dashboard-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.dashboard-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.2rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.dashboard-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 40px rgba(12, 31, 99, 0.28);
}

.dashboard-button--primary {
  background: linear-gradient(120deg, rgba(99, 102, 241, 0.92), rgba(56, 189, 248, 0.86));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 18px 36px rgba(56, 189, 248, 0.32);
}

.dashboard-button--primary:hover {
  background: linear-gradient(120deg, rgba(129, 140, 248, 0.95), rgba(59, 130, 246, 0.88));
}

.dashboard-button--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.dashboard-hero__stats {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.dashboard-stat {
  position: relative;
  padding: 1.4rem 1.6rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(6px);
  display: grid;
  gap: 0.65rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

@media (min-width: 640px) {
  .dashboard-stat {
    min-height: 180px;
  }
}

.dashboard-stat__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
}

.dashboard-stat__label {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(12, 31, 99, 0.55);
}

.dashboard-stat__value {
  font-size: clamp(1.8rem, 3.2vw, 2.2rem);
  font-weight: 700;
  color: #0d1f51;
}

.dashboard-stat__meta,
.dashboard-stat__detail {
  font-size: 0.9rem;
  color: rgba(12, 31, 99, 0.65);
}

.dashboard-stat__link {
  justify-self: flex-start;
  font-size: 0.85rem;
  color: rgba(12, 31, 99, 0.8);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.dashboard-stat__link:hover {
  color: #0d1f51;
  transform: translateX(4px);
}

.dashboard-panels {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(260px, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 1100px) {
  .dashboard-panels {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .dashboard-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    align-items: center;
  }
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 2.55fr) minmax(240px, 1fr);
  gap: clamp(1.8rem, 3vw, 2.4rem);
  align-items: flex-start;
}

.dashboard-menu {
  position: sticky;
  top: clamp(1.2rem, 3vw, 2.4rem);
  z-index: 5;
}

.dashboard-menu .client-menu {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(243, 246, 255, 0.85)),
    radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.18), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(14, 165, 233, 0.15), transparent 55%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

@media (max-width: 1280px) {
  .dashboard-layout {
    grid-template-columns: minmax(220px, 0.5fr) minmax(0, 2fr);
  }
}

@media (max-width: 1024px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-menu {
    position: static;
  }

  .dashboard-side {
    order: 3;
  }
}

.dashboard-main {
  display: grid;
  gap: clamp(1.8rem, 3vw, 2.6rem);
}

.dashboard-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.dashboard-panel__header h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: #0d1f51;
  margin-top: 0.4rem;
}

.dashboard-panel__header p {
  color: rgba(12, 31, 99, 0.64);
}

.dashboard-spotlight {
  border-radius: 2rem;
  padding: clamp(1.6rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--client-shadow-md);
  display: grid;
  gap: clamp(1.4rem, 3vw, 1.9rem);
}

.dashboard-spotlight__body {
  display: grid;
  gap: clamp(1.2rem, 2vw, 1.6rem);
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
}

@media (max-width: 768px) {
  .dashboard-spotlight__body {
    grid-template-columns: 1fr;
  }

  .dashboard-panel__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-spotlight__cta {
    justify-content: flex-start;
  }
}

.dashboard-spotlight__meta h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0d1f51;
  margin: 0.3rem 0;
}

.dashboard-spotlight__meta p {
  margin: 0.3rem 0;
  color: rgba(12, 31, 99, 0.68);
}

.dashboard-spotlight__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.dashboard-spotlight__empty {
  background: rgba(99, 102, 241, 0.08);
  border-radius: 1.6rem;
  padding: 1.6rem;
  border: 1px dashed rgba(99, 102, 241, 0.32);
  display: grid;
  gap: 0.8rem;
}

.dashboard-activity {
  border-radius: 2rem;
  padding: clamp(1.6rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--client-shadow-sm);
  display: grid;
  gap: 1.6rem;
}

.dashboard-activity__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
  position: relative;
}

.dashboard-activity__item {
  position: relative;
  display: grid;
  gap: 0.8rem;
  padding-left: 2.4rem;
}

.dashboard-activity__line {
  position: absolute;
  left: 0.9rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(12, 31, 99, 0.12), rgba(12, 31, 99, 0.05));
}

.dashboard-activity__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(56, 189, 248, 0.7));
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
}

.dashboard-activity__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.dashboard-activity__total {
  font-weight: 700;
  color: #0d1f51;
}

.dashboard-activity__content h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0d1f51;
}

.dashboard-activity__content p {
  margin: 0.35rem 0;
  color: rgba(12, 31, 99, 0.58);
}

.dashboard-activity__actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.dashboard-activity__empty {
  text-align: center;
  padding: 1.8rem;
  border-radius: 1.4rem;
  background: rgba(12, 31, 99, 0.04);
  color: rgba(12, 31, 99, 0.6);
}

.dashboard-pill {
  background: rgba(255, 255, 255, 0.22);
  color: rgba(12, 31, 99, 0.85);
  letter-spacing: 0.16em;
}

.dashboard-pill.client-pill--success {
  background: rgba(34, 197, 94, 0.18);
  color: rgba(22, 101, 52, 0.92);
}

.dashboard-pill.client-pill--warning {
  background: rgba(251, 191, 36, 0.2);
  color: rgba(120, 53, 15, 0.95);
}

.dashboard-pill.client-pill--danger {
  background: rgba(248, 113, 113, 0.2);
  color: rgba(153, 27, 27, 0.95);
}

.dashboard-pill.client-pill--info {
  background: rgba(59, 130, 246, 0.2);
  color: rgba(30, 64, 175, 0.95);
}

.dashboard-pill.client-pill--muted {
  background: rgba(148, 163, 184, 0.18);
  color: rgba(30, 41, 59, 0.7);
}

.dashboard-trends {
  border-radius: 2rem;
  padding: clamp(1.6rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--client-shadow-sm);
  display: grid;
  gap: 1.4rem;
}

.dashboard-trends__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}

.dashboard-trend {
  padding: 1.1rem 1.3rem;
  border-radius: 1.4rem;
  background: rgba(12, 31, 99, 0.04);
  border: 1px solid rgba(12, 31, 99, 0.06);
  box-shadow: 0 14px 28px rgba(12, 31, 99, 0.08);
  display: grid;
  gap: 0.6rem;
}

.dashboard-trend h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #0d1f51;
}

.dashboard-trend p {
  font-size: 0.92rem;
  color: rgba(12, 31, 99, 0.64);
}

.dashboard-side {
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.2rem);
}

.dashboard-modules {
  border-radius: 2rem;
  padding: clamp(1.6rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--client-shadow-sm);
  display: grid;
  gap: 1.4rem;
}

.dashboard-modules__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dashboard-module {
  padding: 1.1rem 1.3rem;
  border-radius: 1.4rem;
  background: rgba(12, 31, 99, 0.05);
  border: 1px solid rgba(12, 31, 99, 0.08);
  box-shadow: 0 16px 28px rgba(12, 31, 99, 0.08);
  display: grid;
  gap: 0.55rem;
  position: relative;
  overflow: hidden;
}

.dashboard-module::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.32), transparent 55%);
  opacity: 0.6;
}

.dashboard-module > * {
  position: relative;
  z-index: 1;
}

.dashboard-module__value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0d1f51;
}

.dashboard-module h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(12, 31, 99, 0.9);
}

.dashboard-module p {
  font-size: 0.9rem;
  color: rgba(12, 31, 99, 0.62);
}

.dashboard-module__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: rgba(12, 31, 99, 0.82);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.dashboard-module__link:hover {
  color: rgba(12, 31, 99, 1);
  transform: translateX(4px);
}

.dashboard-support {
  border-radius: 2rem;
  padding: clamp(1.6rem, 3vw, 2rem);
  background: linear-gradient(140deg, rgba(12, 31, 99, 0.92), rgba(59, 130, 246, 0.82));
  color: #fff;
  box-shadow: 0 28px 60px rgba(12, 31, 99, 0.25);
  display: grid;
  gap: 1.4rem;
}

.dashboard-support header p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.dashboard-support__actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.dashboard-support .dashboard-button {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.dashboard-support .dashboard-button:hover {
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 640px) {
  .dashboard-hero {
    padding: clamp(1.8rem, 8vw, 2.4rem);
  }

  .dashboard-hero__actions,
  .dashboard-spotlight__cta,
  .dashboard-support__actions {
    flex-direction: column;
    width: 100%;
  }

  .dashboard-hero__actions .dashboard-button,
  .dashboard-spotlight__cta .dashboard-button,
  .dashboard-support__actions .dashboard-button {
    width: 100%;
    justify-content: center;
  }

  .dashboard-activity__item {
    padding-left: 0;
  }

  .dashboard-activity__line {
    display: none;
  }
}

@media (max-width: 768px) {
  .dashboard-hero {
    padding: 2rem;
  }

  .dashboard-hero__stats {
    grid-template-columns: 1fr;
  }

  .dashboard-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-panels {
    gap: 2rem;
  }

  .dashboard-button {
    justify-content: center;
  }
}

/* ---------- Servicios ---------- */
.service-page {
  display: grid;
  gap: clamp(2.4rem, 4vw, 3.4rem);
}

.service-hero {
  position: relative;
  padding: clamp(2.6rem, 5vw, 4rem);
  border-radius: clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 18% 20%, rgba(59, 130, 246, 0.2), transparent 58%),
    radial-gradient(circle at 80% 16%, rgba(99, 102, 241, 0.22), transparent 60%),
    linear-gradient(140deg, rgba(12, 31, 99, 0.95), rgba(17, 46, 140, 0.82), rgba(12, 31, 99, 0.95));
  color: #fff;
  overflow: hidden;
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 28%, rgba(255, 255, 255, 0.25), transparent 60%);
  opacity: 0.9;
}

.service-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.4rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.service-hero__content {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
}

.service-hero__title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
}

.service-hero__subtitle {
  max-width: 60ch;
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.82);
}

.service-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.service-hero__meta span i {
  font-size: 0.9rem;
}

.service-hero__sidebar {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
}

.service-hero__card {
  border-radius: 1.6rem;
  padding: clamp(1.2rem, 2.6vw, 1.6rem);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 0.9rem;
  color: #fff;
}

.service-hero__card--hours {
  background: rgba(12, 31, 99, 0.38);
  border-color: rgba(255, 255, 255, 0.18);
}

.service-statboard {
  align-self: stretch;
  display: flex;
  align-items: center;
}

.service-layout {
  display: grid;
  gap: clamp(2rem, 3.4vw, 2.6rem);
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.6rem, 3vw, 2.2rem);
}

.service-card {
  position: relative;
  padding: clamp(1.4rem, 3vw, 1.8rem);
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--client-shadow-sm);
  display: grid;
  gap: 0.8rem;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(12, 31, 99, 0.05);
  pointer-events: none;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0d1f51;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(12, 31, 99, 0.68);
}

.service-card__copy {
  margin-bottom: 1rem;
  display: grid;
  gap: 0.6rem;
}

.service-quicklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.service-quicklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
}

.service-quicklist i {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(12, 31, 99, 0.08);
  color: #0d1f51;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.service-quicklist span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(12, 31, 99, 0.55);
}

.service-quicklist strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  color: #0d1f51;
}

.service-quicklist a.service-link {
  font-size: 1.02rem;
  font-weight: 600;
  color: #0d1f51;
  text-decoration: none;
}

.service-quicklist a.service-link:hover {
  text-decoration: underline;
}

.service-quicklist--dense {
  gap: 0.6rem;
}

.service-quicklist--hours strong {
  color: #0d1f51;
}

.service-quicklist--soft i {
  background: rgba(12, 31, 99, 0.06);
}

.service-hero__card .service-quicklist i {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.service-hero__card .service-quicklist span {
  color: rgba(255, 255, 255, 0.7);
}

.service-hero__card .service-quicklist strong,
.service-hero__card .service-quicklist a.service-link {
  color: #fff;
}

.service-note {
  margin-top: 0.8rem;
  font-size: 0.88rem;
  color: rgba(12, 31, 99, 0.6);
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.service-actions .dashboard-button {
  background: rgba(12, 31, 99, 0.04);
  border-color: rgba(12, 31, 99, 0.12);
  color: rgba(12, 31, 99, 0.82);
}

.service-actions .dashboard-button:hover {
  background: rgba(12, 31, 99, 0.12);
  color: rgba(12, 31, 99, 0.95);
}

.service-faq {
  display: grid;
  gap: 0.8rem;
}

.service-faq__item {
  border-radius: 1.2rem;
  border: 1px solid rgba(12, 31, 99, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 24px rgba(12, 31, 99, 0.08);
  padding: 1rem 1.2rem;
}

.service-faq__item summary {
  cursor: pointer;
  font-weight: 600;
  color: #0d1f51;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-faq__item summary::marker {
  display: none;
}

.service-faq__item p {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: rgba(12, 31, 99, 0.64);
}

.service-form {
  display: grid;
  gap: clamp(1.2rem, 2.2vw, 1.6rem);
  padding: clamp(1.6rem, 3vw, 2rem);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--client-shadow-md);
}

.service-info {
  display: grid;
  gap: 1.2rem;
}

.service-gallery {
  border-radius: clamp(1.6rem, 3vw, 2.2rem);
  overflow: hidden;
  box-shadow: var(--client-shadow-md);
}

.service-gallery img,
.service-gallery iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-gallery--map {
  aspect-ratio: 4 / 3;
  min-height: 260px;
}

.service-gallery--map iframe {
  border: 0;
}


.service-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 1.6rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--client-shadow-sm);
}

.service-table thead {
  background: rgba(12, 31, 99, 0.06);
  color: rgba(12, 31, 99, 0.78);
}

.service-table th,
.service-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  font-size: 0.94rem;
  color: rgba(12, 31, 99, 0.7);
}

.service-table tbody tr + tr {
  border-top: 1px solid rgba(12, 31, 99, 0.08);
}

.service-bento {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-bento__item {
  border-radius: 1.6rem;
  padding: 1.4rem;
  background: rgba(12, 31, 99, 0.05);
  border: 1px solid rgba(12, 31, 99, 0.08);
  display: grid;
  gap: 0.6rem;
}

.service-bento__item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0d1f51;
}

.service-bento__item p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(12, 31, 99, 0.64);
}

.service-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.service-stat {
  border-radius: 1.4rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 32px rgba(12, 31, 99, 0.08);
  display: grid;
  gap: 0.5rem;
}

.service-stat span:first-child {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(12, 31, 99, 0.52);
}

.service-stat strong {
  font-size: 1.5rem;
  color: #0d1f51;
}

@media (max-width: 768px) {
  .service-hero__grid {
    gap: clamp(1.4rem, 4vw, 2rem);
  }

  .service-hero__card {
    padding: clamp(1rem, 4vw, 1.4rem);
  }

  .service-actions .dashboard-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .service-quicklist i {
    width: 32px;
    height: 32px;
  }

  .service-quicklist strong,
  .service-quicklist a.service-link {
    font-size: 0.96rem;
  }

  .service-gallery--map {
    min-height: 220px;
  }
}

.client-form {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(18px);
  box-shadow: var(--client-shadow-sm);
}

.client-form__field {
  display: grid;
  gap: 0.4rem;
}

.client-form__label {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(12, 31, 99, 0.5);
}

.client-input,
.client-textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(12, 31, 99, 0.08);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  color: #0d1f51;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.client-input:focus,
.client-textarea:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.client-textarea {
  min-height: 160px;
  resize: vertical;
}

.client-alert {
  border-radius: 18px;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
}

.client-alert--success {
  background: rgba(16, 185, 129, 0.12);
  color: rgba(6, 95, 70, 0.95);
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.client-alert--error {
  background: rgba(239, 68, 68, 0.12);
  color: rgba(127, 29, 29, 0.95);
  border: 1px solid rgba(248, 113, 113, 0.4);
}

.client-button[disabled],
.client-button[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.client-form--two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.client-form--inline {
  display: grid;
  gap: 1rem;
}

.client-form--responsive {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.client-form__field--span-2 {
  grid-column: 1 / -1;
}

.client-form__actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.client-input-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.client-input-group .client-input {
  flex: 1;
}

.client-input-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(12, 31, 99, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(12, 31, 99, 0.6);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.client-input-icon:hover {
  background: rgba(99, 102, 241, 0.12);
  color: rgba(12, 31, 99, 0.82);
  box-shadow: 0 12px 26px rgba(12, 31, 99, 0.14);
}

.client-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(12, 31, 99, 0.7);
}

.client-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: #3b82f6;
}

.client-password-list {
  margin-top: 0.6rem;
  padding-left: 1rem;
  font-size: 0.78rem;
  color: rgba(12, 31, 99, 0.6);
  list-style: disc;
}

.client-note {
  font-size: 0.85rem;
  color: rgba(12, 31, 99, 0.55);
}

.client-callout--subtle {
  background: linear-gradient(150deg, rgba(12, 31, 99, 0.85), rgba(36, 99, 235, 0.78));
  color: rgba(255, 255, 255, 0.92);
}

.client-orders-grid,
.client-favs-grid,
.client-perfil-sucursales-grid,
.client-sucursales-grid,
.client-sucursal-hours {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.client-order-card {
  display: grid;
  gap: 1rem;
}

.client-order-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.client-order-card__metrics {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.client-order-card__value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0d1f51;
}

.client-order-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-start;
}

.client-order-card__secondary {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.client-order-card__detail {
  margin-top: 0.8rem;
}

.client-order-detail {
  display: grid;
  gap: 1.2rem;
  padding: clamp(1.2rem, 3vw, 1.6rem);
  border-radius: var(--client-radius-xl);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(12, 31, 99, 0.08);
  box-shadow: var(--client-shadow-sm);
}

.client-order-detail__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(12, 31, 99, 0.6);
}

.client-order-detail__grid {
  gap: 1rem;
}

.client-order-detail__card {
  display: grid;
  gap: 0.8rem;
}

.client-order-detail__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(12, 31, 99, 0.7);
}

.client-order-detail__meta li {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}

.client-order-detail__meta span {
  color: rgba(12, 31, 99, 0.5);
}

.client-order-detail__meta strong {
  color: #0d1f51;
}

.client-order-detail__meta-total strong {
  font-size: 1.1rem;
}

.client-order-detail__table {
  overflow-x: auto;
}

.client-order-detail__table table {
  min-width: 100%;
}

.client-order-detail__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.client-order-detail__item-name {
  font-weight: 600;
  color: #0d1f51;
}

.client-order-detail__item-code {
  font-size: 0.75rem;
  color: rgba(12, 31, 99, 0.5);
}

.client-order-detail__item-total {
  font-weight: 600;
  color: #0d1f51;
}

.client-order-detail__empty {
  text-align: center;
  padding: 1rem 0;
  color: rgba(12, 31, 99, 0.45);
}

.client-order-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-start;
  align-items: center;
}

.client-loading {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  background: rgba(12, 31, 99, 0.18);
}

.client-loading__card {
  padding: 1.4rem 2rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--client-shadow-sm);
  font-weight: 600;
  color: #0d1f51;
}

.client-fav-card {
  display: grid;
  gap: 1rem;
}

.client-fav-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.client-sucursal-card {
  display: grid;
  gap: 1rem;
  overflow: hidden;
  padding: 0;
}

.client-sucursal-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.client-sucursal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}

.client-sucursal-card:hover .client-sucursal-card__media img {
  transform: scale(1.05);
}

.client-sucursal-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 31, 99, 0.05), rgba(12, 31, 99, 0.65));
}

.client-sucursal-card__headline {
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: 1.6rem;
  color: #fff;
  display: grid;
  gap: 0.3rem;
}

.client-sucursal-card__headline h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

.client-sucursal-card__headline p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.client-sucursal-card__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.client-sucursal-card__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.client-hero--cover {
  background-size: cover;
  background-position: center;
  position: relative;
}

.client-hero--cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 31, 99, 0.6);
}

.client-hero--cover .client-hero__grid {
  position: relative;
}

.client-sucursal-detail {
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

.client-sucursal-detail__main,
.client-sucursal-detail__sidebar {
  display: grid;
  gap: 1.2rem;
}

.client-sucursal-detail__cta,
.client-sucursal-detail__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.client-sucursal-hours article {
  display: grid;
  gap: 0.5rem;
}

.client-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.client-perfil-sucursal-card {
  display: grid;
  gap: 1rem;
}

.client-perfil-sucursal-card__status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.client-perfil-sucursal-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-start;
}

.client-perfil-sucursal-requests {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.client-perfil-sucursal-requests__item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, auto));
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
}

.client-perfil-sucursal-history__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.client-perfil-sucursal-history__list li {
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(12, 31, 99, 0.06);
}

.client-perfil-sucursal-history__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(12, 31, 99, 0.7);
}

.client-perfil-sucursal-history__select {
  width: 120px;
}

.client-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.client-pagination--small {
  margin-top: 1rem;
}

.client-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 31, 99, 0.45);
  backdrop-filter: blur(6px);
  padding: 2rem clamp(1rem, 4vw, 2rem);
}

.client-modal.hidden {
  display: none;
}

.client-modal__dialog {
  width: min(860px, 96vw);
  border-radius: clamp(1.6rem, 3vw, 2.4rem);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--client-shadow-md);
  display: grid;
  gap: 1.2rem;
  max-height: 90vh;
  overflow: hidden;
}

.client-modal__dialog--wide {
  width: min(900px, 96vw);
}

.client-modal__dialog--narrow {
  width: min(420px, 92vw);
}

.client-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(1.2rem, 3vw, 1.6rem);
  border-bottom: 1px solid rgba(12, 31, 99, 0.08);
}

.client-modal__body {
  padding: clamp(1.2rem, 3vw, 1.8rem);
  overflow-y: auto;
}

.client-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  border-top: 1px solid rgba(12, 31, 99, 0.08);
}

.client-modal__close {
  border: none;
  background: transparent;
  color: rgba(12, 31, 99, 0.6);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.client-modal__close:hover {
  color: rgba(12, 31, 99, 0.9);
}

/* ==========================================================================
   Perfil premium 2026 (home-aligned)
   ========================================================================== */

.sp-profile-shell {
  --sp-brand-blue: var(--sp-azul, #001c64);
  --sp-brand-red: var(--sp-rojo, #bb0811);
  --sp-brand-orange: var(--sp-naranja, #ffa400);
  --sp-surface: #ffffff;
  --sp-surface-soft: #f7f9fe;
  --sp-border: #dce4f4;
  --sp-text: #0f225f;
  --sp-text-soft: #5f6f96;
  position: relative;
  color: var(--sp-text);
}

.sp-profile-shell::before {
  content: "";
  position: absolute;
  inset: -8% -6% auto -6%;
  height: 40%;
  z-index: -1;
  background:
    radial-gradient(circle at 16% 30%, rgba(0, 28, 100, 0.14), transparent 52%),
    radial-gradient(circle at 84% 12%, rgba(255, 164, 0, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 255, 0.9));
}

.sp-profile-layout {
  align-items: start;
}

.sp-profile-hero {
  background:
    radial-gradient(circle at 80% 16%, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(128deg, var(--sp-brand-blue) 0%, #0a2e84 55%, #2748a3 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 30px 80px rgba(0, 28, 100, 0.28);
}

.sp-profile-panel {
  background: var(--sp-surface) !important;
  border-color: var(--sp-border) !important;
  box-shadow: 0 16px 38px rgba(0, 28, 100, 0.08);
}

.sp-profile-sidebar {
  position: sticky;
  top: 1.2rem;
}

.sp-profile-nav,
.sp-profile-nav-mobile__toggle,
.sp-profile-nav-mobile__panel {
  border-color: var(--sp-border) !important;
  background: #ffffff !important;
}

.sp-profile-nav__item {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sp-profile-nav__item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 28, 100, 0.1);
}

.sp-profile-shell .bg-slate-900,
.sp-profile-shell .bg-slate-950 {
  background-color: var(--sp-brand-blue) !important;
}

.sp-profile-shell .hover\:bg-slate-800:hover,
.sp-profile-shell .hover\:bg-slate-700:hover {
  background-color: #0a2e84 !important;
}

.sp-profile-shell .text-indigo-600,
.sp-profile-shell .text-indigo-700 {
  color: var(--sp-brand-blue) !important;
}

.sp-profile-shell .border-indigo-200 {
  border-color: rgba(0, 28, 100, 0.22) !important;
}

.sp-profile-shell .bg-indigo-50,
.sp-profile-shell .bg-indigo-50\/70 {
  background-color: rgba(0, 28, 100, 0.06) !important;
}

.sp-profile-shell .text-rose-600 {
  color: var(--sp-brand-red) !important;
}

.sp-profile-shell .border-rose-200 {
  border-color: rgba(187, 8, 17, 0.26) !important;
}

@media (max-width: 1024px) {
  .sp-profile-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .sp-profile-shell {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .sp-profile-hero {
    border-radius: 1.35rem;
    padding: 1.25rem;
  }

  .sp-profile-panel {
    border-radius: 1.1rem;
    padding: 1rem;
  }
}
