:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-soft: #fbfcff;
  --text: #172033;
  --muted: #667085;
  --line: #e6e8ef;
  --primary: #1f5eff;
  --primary-dark: #1748c7;
  --primary-soft: rgba(31, 94, 255, 0.08);
  --accent: #10b981;
  --accent-dark: #0f9a6c;
  --accent-soft: rgba(16, 185, 129, 0.10);
  --warning: #f59e0b;
  --danger: #dc2626;
  --shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
  --shadow-soft: 0 8px 24px rgba(16, 24, 40, 0.04);
  --radius: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.wide-container {
  width: min(1320px, calc(100% - 32px));
}

.narrow {
  max-width: 820px;
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

/* =========================
   HEADER
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(16, 24, 40, 0.04);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-right: auto;
  max-width: 250px;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand span {
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-links a {
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .internal-link {
  color: var(--primary);
  font-weight: 800;
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  border: 1px solid var(--primary);
  transition: 0.2s ease;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(31, 94, 255, 0.16);
}

.btn img {
  width: 18px;
  height: 18px;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: #16a34a;
  border-color: #16a34a;
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.18);
}

.btn-whatsapp:hover {
  background: #15803d;
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.btn-secondary:hover {
  background: #f3f5fa;
}

.btn-small {
  padding: 9px 14px;
  font-size: 0.92rem;
}

.inline-link {
  color: var(--primary);
  font-weight: 900;
}

.inline-link:hover {
  color: var(--primary-dark);
}

/* =========================
   TYPOGRAPHY
========================= */
.eyebrow {
  display: inline-flex;
  color: var(--primary);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 4.55rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

h4 {
  margin: 18px 0 8px;
  letter-spacing: -0.02em;
}

/* =========================
   LAYOUT
========================= */
.section {
  padding: 72px 0;
}

.section-alt {
  background: #fff;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading p,
.page-hero p,
.card p,
.note-card p,
.category-card p,
.pricing-card p,
.app-card p,
.app-preview p,
.material-card p,
.notice-card p,
.mini-solution-card span {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.visual-split {
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.cards-grid,
.category-grid,
.pricing-grid,
.apps-grid,
.material-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

.cards-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.featured-services-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.apps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* =========================
   CARDS
========================= */
.card,
.category-card,
.pricing-card,
.note-card,
.contact-form,
.message,
.app-preview,
.app-card,
.material-card,
.notice-card,
.kpi-card,
.chart-card,
.alert-card,
.insight-card,
.mini-solution-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card,
.category-card,
.pricing-card,
.note-card,
.app-preview,
.app-card,
.material-card,
.notice-card,
.kpi-card,
.chart-card,
.alert-card,
.insight-card,
.mini-solution-card {
  padding: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover,
.category-card:hover,
.pricing-card:hover,
.app-preview:hover,
.app-card:hover,
.material-card:hover,
.mini-solution-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(31, 94, 255, 0.22);
}

.accent-card {
  background: linear-gradient(135deg, #ffffff, #f3f7ff);
  border-color: rgba(31, 94, 255, 0.18);
}

.notice-card {
  background: #f8fafc;
}

.rich-text {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.rich-text.clean-text {
  border: 0;
  padding: 0;
  background: transparent;
}

.rich-text.compact {
  padding: 18px;
  margin-bottom: 22px;
}

/* =========================
   HERO LAYERED
========================= */
.hero {
  padding: 72px 0 58px;
  background: #fff;
}

.layered-hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  padding: 0;
  display: flex;
  align-items: center;
  background: #fff;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.98) 23%,
      rgba(255, 255, 255, 0.92) 37%,
      rgba(255, 255, 255, 0.78) 50%,
      rgba(255, 255, 255, 0.32) 66%,
      rgba(255, 255, 255, 0.04) 100%
    ),
    url("../img/hero/hero-tech-background-wide.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
}

.layered-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(247, 248, 251, 0) 0%, rgba(247, 248, 251, 0.92) 100%);
  pointer-events: none;
}

.hero-layer-grid {
  width: min(1380px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
  min-height: 650px;
}

.hero-home-copy {
  max-width: 640px;
  padding: 40px 0;
  position: relative;
  z-index: 4;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #24426f;
  background: rgba(241, 246, 255, 0.96);
  border: 1px solid #dbe8ff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.hero-pill-dot {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(31, 94, 255, 0.12);
}

.hero-home-copy h1 span {
  color: var(--primary);
}

.hero-text {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.hero-mini-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
  max-width: 760px;
}

.trust-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(230, 232, 239, 0.92);
  border-radius: 18px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
}

.trust-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #edf4ff, #ffffff);
  border: 1px solid #d9e7ff;
  box-shadow: 0 8px 20px rgba(31, 94, 255, 0.08);
}

.trust-icon img {
  width: 20px;
  height: 20px;
}

.trust-item strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 900;
  margin-bottom: 3px;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.hero-visual-stage {
  position: relative;
  min-height: 560px;
  width: 100%;
}

.hero-laptop {
  position: absolute;
  right: -35px;
  top: 50%;
  width: min(880px, 112%);
  transform: translateY(-48%);
  filter: drop-shadow(0 28px 38px rgba(16, 24, 40, 0.18));
  z-index: 2;
}

.hero-float {
  position: absolute;
  z-index: 3;
  filter: drop-shadow(0 16px 24px rgba(16, 24, 40, 0.12));
  pointer-events: none;
}

.hero-float-headset {
  width: 96px;
  top: 60px;
  left: 80px;
}

.hero-float-support {
  width: 170px;
  top: 205px;
  left: 75px;
}

.hero-float-website {
  width: 180px;
  top: 95px;
  right: 0;
}

.hero-float-cloud {
  width: 92px;
  left: 120px;
  bottom: 128px;
}

.hero-float-sheet {
  width: 92px;
  right: -2px;
  bottom: 130px;
}

.hero-float-chart {
  width: 260px;
  right: 70px;
  bottom: 64px;
}

/* =========================
   FEATURED SERVICES
========================= */
.services-featured-section {
  padding-top: 44px;
  background: #fff;
}

.featured-service-card {
  min-height: 255px;
  display: flex;
  flex-direction: column;
}

.featured-service-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 4px;
}

.featured-service-card p {
  font-size: 0.92rem;
}

.featured-service-card .price-line {
  margin-top: auto;
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: #f0f4ff;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 14px;
}

.service-icon-svg {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  background: #f0f4ff;
  margin-bottom: 14px;
}

.service-icon-svg img {
  width: 24px;
  height: 24px;
}

.featured-icon-badge {
  background: linear-gradient(135deg, #eff5ff, #ffffff);
  border: 1px solid #dce7ff;
  box-shadow: 0 12px 24px rgba(31, 94, 255, 0.08);
}

.price-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 14px 0;
}

.price-line strong,
.plan-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text);
}

.price-line span,
.monthly {
  color: var(--accent);
  font-weight: 800;
}

.center-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.compact-actions {
  margin-top: 18px;
}

/* =========================
   PROCESS BAND
========================= */
.process-band-section {
  padding: 0 0 60px;
  background: #fff;
}

.process-band {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 0.45fr;
  gap: 22px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-soft);
}

.process-band-intro-visual {
  display: flex;
  align-items: center;
  gap: 14px;
}

.process-main-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 18px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  border: 1px solid #d9e7ff;
  box-shadow: 0 14px 26px rgba(31, 94, 255, 0.08);
}

.process-main-icon img {
  width: 28px;
  height: 28px;
}

.process-band-intro strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
}

.process-band-intro span,
.process-band-steps span {
  color: var(--muted);
  font-size: 0.88rem;
}

.process-band-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.process-step-card {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 12px 12px;
  min-height: 108px;
}

.process-step-number {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 8px 14px rgba(31, 94, 255, 0.22);
}

.process-step-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  border: 1px solid #dce7ff;
}

.process-step-icon img {
  width: 20px;
  height: 20px;
}

.process-band-side {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 6px;
}

.process-band-side strong {
  color: var(--accent-dark);
  font-size: 1.1rem;
  line-height: 1.1;
}

.process-band-side span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* =========================
   MINI SOLUTIONS
========================= */
.apps-strip-section {
  padding-top: 10px;
}

.mini-solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mini-solution-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 20px;
}

.mini-solution-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #eff5ff, #ffffff);
  border: 1px solid #dce7ff;
  box-shadow: 0 12px 22px rgba(31, 94, 255, 0.08);
}

.mini-solution-icon img {
  width: 24px;
  height: 24px;
}

.mini-solution-card strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.mini-solution-card span {
  display: block;
  font-size: 0.86rem;
}

/* =========================
   VISUAL BLOCKS
========================= */
.section-visual-card,
.page-hero-visual {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at 25% 25%, rgba(31, 94, 255, 0.10), transparent 32%),
    radial-gradient(circle at 80% 75%, rgba(16, 185, 129, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff, #f6fbff);
  border: 1px solid rgba(31, 94, 255, 0.12);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding: 20px;
}

.section-visual-img,
.page-hero-visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(16, 24, 40, 0.12));
}

.page-image {
  border-radius: var(--radius);
  margin-bottom: 22px;
  box-shadow: var(--shadow-soft);
}

/* =========================
   CATEGORY / PRICING / PAGE CARDS
========================= */
.category-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
}

.category-card span:last-child {
  margin-top: auto;
  color: var(--primary);
  font-weight: 900;
}

.category-card-visual {
  position: relative;
  overflow: hidden;
}

.category-card-visual::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -44px;
  bottom: -52px;
  border-radius: 50%;
  background: rgba(31, 94, 255, 0.08);
}

.category-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  background: #f0f4ff;
  margin-bottom: 14px;
}

.category-icon img {
  width: 25px;
  height: 25px;
}

.pricing-card {
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(31, 94, 255, 0.32);
  box-shadow: var(--shadow);
}

.pricing-card .tag {
  display: inline-flex;
  margin-bottom: 12px;
  background: #eff5ff;
  color: var(--primary);
  border: 1px solid #dce7ff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 900;
}

.pricing-card ul,
.note-card ul,
.service-card ul,
.check-list,
.notice-card ul {
  padding-left: 18px;
  color: var(--muted);
}

.service-public-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.service-public-meta span {
  background: #f8fafc;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 0.78rem;
  font-weight: 800;
}

/* =========================
   FORMS
========================= */
.contact-form {
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-weight: 800;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 13px;
  font: inherit;
  background: #fbfcff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(31, 94, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.08);
}

textarea {
  resize: vertical;
}

.contact-form > label {
  margin-top: 14px;
  margin-bottom: 14px;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-errors {
  background: #fff3f3;
  color: #b42318;
  border: 1px solid #ffdddd;
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 14px;
}

/* =========================
   FAQ / MESSAGES
========================= */
.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}

summary {
  font-weight: 900;
  cursor: pointer;
}

details p {
  color: var(--muted);
}

.messages {
  padding-top: 18px;
}

.message {
  padding: 14px 16px;
}

.message.success {
  border-color: #bbf7d0;
  color: #166534;
  background: #f0fdf4;
}

.message.error {
  border-color: #fecaca;
  color: #991b1b;
  background: #fef2f2;
}

/* =========================
   PAGE HERO / APPS
========================= */
.page-hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(circle at top left, rgba(31, 94, 255, 0.12), transparent 32%),
    linear-gradient(135deg, #eef4ff, #f6fbff);
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.app-preview-list {
  display: grid;
  gap: 14px;
}

.app-preview a {
  color: var(--primary);
  font-weight: 900;
}

.app-card img {
  border-radius: 18px;
  margin-bottom: 16px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.priority-box {
  background: linear-gradient(135deg, #f8fbff, #eef8ff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

/* =========================
   ANALYTICS MODULE
========================= */
.analytics-hero {
  background: linear-gradient(135deg, #eef4ff, #edfdf7);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.kpi-card span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.kpi-card strong {
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.kpi-card.danger {
  border-color: #fecaca;
  background: #fff7f7;
}

.analytics-charts {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.alert-list {
  display: grid;
  gap: 12px;
}

.alert-card {
  border-color: #fde68a;
  background: #fffbeb;
  font-weight: 800;
}

.analytics-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.analytics-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.analytics-table th,
.analytics-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.analytics-table th {
  background: #f8fafc;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
}

.analytics-table td {
  color: var(--muted);
}

.analytics-table td strong,
.analytics-table a {
  color: var(--text);
  font-weight: 900;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.insight-card span {
  color: var(--primary);
  font-weight: 900;
  font-size: 0.82rem;
}

.insight-card p {
  color: var(--muted);
}

.insight-card.alta,
.insight-card.critica {
  border-color: rgba(31, 94, 255, 0.28);
}

/* =========================
   CLIENT PORTAL
========================= */
.material-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-form p {
  margin: 0 0 14px;
}

.contact-form p label {
  margin-bottom: 6px;
}

.contact-form input[type="file"] {
  background: #fff;
}

.portal-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.portal-status-grid div {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.portal-status-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.portal-status-grid strong {
  font-size: 1rem;
}

.progress-box {
  margin: 18px 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar div {
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
}

.material-card.pending {
  border-color: #fde68a;
  background: #fffbeb;
}

.material-card.received {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.mini-note {
  margin-top: 18px;
}

.quote-acceptance {
  margin-top: 18px;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: #111827;
  color: #fff;
  padding: 46px 0;
}

.site-footer p,
.site-footer a {
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 30px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  background: #16a34a;
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1180px) {
  .featured-services-grid,
  .pricing-grid,
  .mini-solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-layer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 36px;
    padding-bottom: 40px;
  }

  .layered-hero {
    min-height: auto;
  }

  .hero-visual-stage {
    min-height: 420px;
  }

  .hero-laptop {
    right: 50%;
    transform: translate(50%, -46%);
    width: min(820px, 100%);
  }

  .hero-float-headset {
    left: 12%;
  }

  .hero-float-support {
    left: 10%;
  }

  .hero-float-website {
    right: 10%;
  }

  .hero-float-cloud {
    left: 16%;
  }

  .hero-float-sheet {
    right: 12%;
  }

  .hero-float-chart {
    right: 18%;
  }

  .nav-links {
    font-size: 0.88rem;
    gap: 10px;
  }

  .process-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .category-grid,
  .pricing-grid,
  .apps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-services-grid,
  .process-band-steps,
  .mini-solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analytics-charts,
  .insight-grid,
  .material-grid {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-mini-trust {
    grid-template-columns: 1fr;
  }

  .hero-bg-layer {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.94) 42%,
        rgba(255, 255, 255, 0.80) 70%,
        rgba(255, 255, 255, 0.70) 100%
      ),
      url("../img/hero/hero-tech-background-wide.webp");
    background-size: cover;
    background-position: center top;
  }

  .hero-visual-stage {
    min-height: 360px;
  }

  .hero-float-support,
  .hero-float-website,
  .hero-float-chart {
    display: none;
  }

  .hero-float-headset {
    width: 78px;
    left: 6%;
    top: 70px;
  }

  .hero-float-cloud {
    width: 76px;
    left: 8%;
    bottom: 80px;
  }

  .hero-float-sheet {
    width: 76px;
    right: 8%;
    bottom: 82px;
  }

  .brand {
    max-width: 210px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-btn {
    display: block;
  }
}

@media (max-width: 640px) {
  .container,
  .wide-container,
  .hero-layer-grid {
    width: min(100% - 22px, 1320px);
  }

  .section {
    padding: 52px 0;
  }

  h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .cards-grid,
  .featured-services-grid,
  .category-grid,
  .pricing-grid,
  .apps-grid,
  .form-grid,
  .process-grid,
  .portal-status-grid,
  .kpi-grid,
  .process-band-steps,
  .mini-solutions-grid {
    grid-template-columns: 1fr;
  }

  .hero-home-copy {
    max-width: 100%;
    padding: 20px 0 0;
  }

  .hero-visual-stage {
    min-height: 280px;
  }

  .hero-laptop {
    width: 112%;
  }

  .hero-float {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .btn-small {
    display: none;
  }

  .hero-actions,
  .center-actions {
    align-items: stretch;
  }

  .hero-actions .btn,
  .center-actions .btn {
    width: 100%;
  }

  .section-visual-card,
  .page-hero-visual {
    padding: 14px;
  }

  .process-band {
    padding: 18px;
  }
}

/* =========================
   PRINT
========================= */
@media print {
  .site-header,
  .site-footer,
  .whatsapp-float,
  .center-actions,
  .hero-visual-stage,
  .hero-bg-layer {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .section,
  .page-hero {
    padding: 20px 0;
  }

  .note-card,
  .notice-card,
  .analytics-table-wrap {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .container {
    width: 100%;
    max-width: 100%;
  }
}

.page-hero-visual-large {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-visual-large picture,
.page-hero-visual-large img {
  display: block;
  width: 100%;
}

.page-hero-visual-large img {
  max-width: 560px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .service-page-hero .visual-split {
    align-items: center;
    gap: 56px;
  }

  .page-hero-visual-large {
    min-height: 320px;
  }

  .page-hero-visual-large img {
    max-width: 640px;
  }
}

.page-hero-visual-composed {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-hero-panel {
  width: 100%;
  max-width: 560px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,250,255,0.98) 100%);
  border: 1px solid rgba(27, 83, 255, 0.08);
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(11, 23, 57, 0.08);
  padding: 28px;
}

.service-hero-panel-head .eyebrow {
  margin-bottom: 10px;
}

.service-hero-panel-head h3 {
  margin: 0 0 10px;
  font-size: 1.7rem;
  line-height: 1.15;
  color: #0f172a;
}

.service-hero-panel-head p {
  margin: 0;
  color: #5b6475;
  line-height: 1.7;
}

.service-hero-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.service-mini-card {
  background: #ffffff;
  border: 1px solid rgba(27, 83, 255, 0.08);
  border-radius: 18px;
  padding: 16px 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 144px;
}

.service-mini-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
  border: 1px solid rgba(27, 83, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-mini-card-icon img {
  width: 24px;
  height: 24px;
}

.service-mini-card strong {
  font-size: 1rem;
  line-height: 1.2;
  color: #0f172a;
}

.service-mini-card span {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #657084;
}

.service-hero-panel-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.service-hero-panel-footer span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f8fbff;
  border: 1px solid rgba(27, 83, 255, 0.07);
  border-radius: 999px;
  color: #42506a;
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .service-hero-panel {
    max-width: 100%;
    padding: 22px;
  }

  .service-hero-panel-grid {
    grid-template-columns: 1fr;
  }

  .service-mini-card {
    min-height: auto;
  }
}

.app-card-visual-placeholder {
  min-height: 180px;
  border-radius: 18px;
  margin-bottom: 16px;
  padding: 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(31, 94, 255, 0.12), transparent 28%),
    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.13), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f6faff 100%);
  border: 1px solid rgba(31, 94, 255, 0.10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.app-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  border: 1px solid #dce7ff;
  box-shadow: 0 12px 24px rgba(31, 94, 255, 0.08);
}

.app-card-icon img {
  width: 30px;
  height: 30px;
}

.app-card-visual-placeholder strong {
  font-size: 1.15rem;
  color: #0f172a;
}

.app-card-visual-placeholder span {
  color: #667085;
  font-size: 0.92rem;
}

/* Ajuste panel visual de categorías: evita desbordes en mini cards */
.service-hero-panel {
  overflow: hidden;
}

.service-hero-panel-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-mini-card {
  min-width: 0;
  overflow: hidden;
}

.service-mini-card strong,
.service-mini-card span {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.service-mini-card strong {
  font-size: 0.94rem;
  line-height: 1.18;
}

.service-mini-card span {
  font-size: 0.86rem;
  line-height: 1.35;
}

/* En paneles medianos, las mini cards bajan a una columna para mantener legibilidad */
@media (max-width: 1200px) {
  .service-hero-panel-grid {
    grid-template-columns: 1fr;
  }

  .service-mini-card {
    min-height: auto;
    flex-direction: row;
    align-items: center;
  }

  .service-mini-card-icon {
    min-width: 48px;
  }
}