/* Variables */
:root {
  --color-bg: #f5f8fc;
  --color-surface: #ffffff;
  --color-surface-alt: #eef4fb;
  --color-border: rgba(19, 38, 67, 0.1);
  --color-text: #132643;
  --color-text-soft: #5d6d85;
  --color-primary: #1769ff;
  --color-primary-deep: #0d4ecc;
  --color-primary-soft: #79b9ff;
  --color-accent: #0db7b3;
  --color-accent-bright: #6ee7ff;
  --color-accent-soft: rgba(13, 183, 179, 0.14);
  --color-success: #138a63;
  --color-shadow: 0 24px 60px rgba(10, 43, 88, 0.12);
  --color-shadow-soft: 0 16px 40px rgba(10, 43, 88, 0.08);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1180px;
  --transition: 220ms ease;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

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

button,
input,
textarea {
  font: inherit;
}

/* Base */
body {
  min-width: 320px;
  background:
    radial-gradient(circle at top right, rgba(23, 105, 255, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(13, 183, 179, 0.1), transparent 24%),
    var(--color-bg);
  color: var(--color-text);
  font-family: "Plus Jakarta Sans", "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 600;
  color: var(--color-text);
  text-wrap: balance;
}

/* Escala tipografica modular (fluida) — jerarquia clara entre niveles */
h1 {
  font-size: clamp(2.1rem, 1.45rem + 2.7vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.25rem);
  line-height: 1.14;
}

h3 {
  font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.25rem);
  line-height: 1.3;
}

h4 {
  font-size: 1rem;
  line-height: 1.4;
}

p {
  color: var(--color-text-soft);
  text-wrap: pretty;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Layout */
.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section,
.hero,
.page-hero {
  position: relative;
}

.section {
  padding: 5.5rem 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.58);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.split-panel,
.page-hero-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Utilities */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(23, 105, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-primary-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

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

.section-heading p {
  margin-top: 1rem;
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--color-primary-deep);
  font-weight: 700;
}

.text-link::after {
  content: "→";
  transition: transform var(--transition);
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Header / Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
  background: rgba(245, 248, 252, 0.78);
  border-bottom: 1px solid rgba(19, 38, 67, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  box-shadow: 0 14px 30px rgba(23, 105, 255, 0.2);
  font-size: 0.92rem;
}

.brand-text {
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a,
.mobile-menu a {
  color: var(--color-text-soft);
  font-weight: 600;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.is-active,
.mobile-menu a:hover,
.mobile-menu a.is-active {
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(19, 38, 67, 0.06);
  background: rgba(255, 255, 255, 0.94);
}

.mobile-menu-inner {
  display: grid;
  gap: 1rem;
  padding: 1rem 0 1.35rem;
}

.nav-cta {
  flex-shrink: 0;
}

/* Hero */
.hero {
  padding: 5rem 0 4.5rem;
}

.hero-home {
  overflow: hidden;
}

.hero-home::before,
.hero-home::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-home::before {
  top: 2rem;
  right: -6rem;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(110, 231, 255, 0.2), transparent 68%);
}

.hero-home::after {
  bottom: -8rem;
  left: -5rem;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(23, 105, 255, 0.16), transparent 70%);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
}

.hero-copy h1,
.page-hero h1 {
  margin-top: 1rem;
  max-width: 16ch;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-gradient-text {
  display: block;
  background: linear-gradient(135deg, #0d4ecc 10%, #1d7bff 42%, #64c7ff 76%, #0db7b3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 660px;
  margin-top: 1.25rem;
  font-size: 1.12rem;
  line-height: 1.75;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.85rem;
}

.hero-highlights span {
  position: relative;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 105, 255, 0.12);
  backdrop-filter: blur(14px);
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

/* Mockup del hero mas compacto (no afecta cards de otras paginas) */
.dashboard-surface .stat-card strong {
  font-size: 1.3rem;
}

.dashboard-surface .stat-card-primary strong {
  font-size: 1.75rem;
}

.dashboard-surface .stat-card span,
.dashboard-surface .insight-card span {
  margin-bottom: 0.35rem;
}

.dashboard-surface .stat-card small {
  margin-top: 0.4rem;
}

.dashboard-shell {
  position: relative;
  padding: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 36px;
  background:
    linear-gradient(160deg, rgba(8, 26, 58, 0.92), rgba(17, 43, 89, 0.86)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  box-shadow: 0 36px 90px rgba(9, 28, 59, 0.22);
  backdrop-filter: blur(24px);
}

.dashboard-shell::before,
.dashboard-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.dashboard-shell::before {
  top: -2.4rem;
  right: -1rem;
  width: 10rem;
  height: 10rem;
  background: radial-gradient(circle, rgba(110, 231, 255, 0.3), transparent 68%);
}

.dashboard-shell::after {
  bottom: 1rem;
  left: -2rem;
  width: 12rem;
  height: 12rem;
  background: radial-gradient(circle, rgba(23, 105, 255, 0.24), transparent 72%);
}

.dashboard-frame {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0.75rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 0.35rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(23, 105, 255, 0.96), rgba(110, 231, 255, 0.82));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(23, 105, 255, 0.25);
}

.sidebar-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.sidebar-dot.is-active {
  width: 0.9rem;
  height: 0.9rem;
  background: linear-gradient(135deg, var(--color-accent-bright), var(--color-primary-soft));
  box-shadow: 0 0 0 6px rgba(110, 231, 255, 0.1);
}

.dashboard-surface {
  padding: 1.1rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(244, 249, 255, 0.98), rgba(231, 240, 251, 0.94)),
    rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.dashboard-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.dashboard-title {
  margin-top: 0.55rem;
  color: var(--color-text);
  font-size: 1.12rem;
  font-weight: 600;
}

.status-pill,
.metric-caption,
.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.status-pill {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(13, 183, 179, 0.12), rgba(23, 105, 255, 0.12));
  color: var(--color-primary-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.metric-caption {
  color: var(--color-text-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

.dashboard-grid {
  display: grid;
  gap: 0.8rem;
}

.dashboard-grid-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0.8rem;
}

.dashboard-grid-detail {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.stat-card {
  padding: 1rem;
  border: 1px solid rgba(19, 38, 67, 0.07);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 254, 0.92));
  box-shadow: 0 20px 44px rgba(16, 36, 66, 0.08);
}

.stat-card span,
.mini-dashboard-card span,
.insight-card span {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--color-text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-card strong,
.mini-dashboard-card strong,
.insight-card strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.25;
}

.stat-card small,
.mini-dashboard-card small,
.insight-card p {
  display: block;
  margin-top: 0.65rem;
  color: var(--color-text-soft);
  font-size: 0.88rem;
}

.stat-card-primary {
  background: linear-gradient(135deg, rgba(13, 78, 204, 0.98), rgba(23, 105, 255, 0.94), rgba(110, 231, 255, 0.9));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 24px 52px rgba(13, 78, 204, 0.3);
}

.stat-card-primary span,
.stat-card-primary small {
  color: rgba(255, 255, 255, 0.78);
}

.stat-card-primary strong {
  font-size: 2.25rem;
}

.analytics-card,
.activity-card {
  padding: 1.05rem;
  border-radius: 26px;
  border: 1px solid rgba(19, 38, 67, 0.07);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 44px rgba(16, 36, 66, 0.08);
}

.card-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.card-heading span {
  display: block;
  color: var(--color-text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-heading strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
}

.trend-badge {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(23, 105, 255, 0.1);
  color: var(--color-primary-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: end;
  gap: 0.6rem;
  height: 108px;
  margin-top: 0.9rem;
  padding: 0.85rem 0 0.35rem;
  border-top: 1px solid rgba(19, 38, 67, 0.06);
}

.chart-bars span {
  height: var(--bar-height);
  min-height: 28%;
  border-radius: 999px 999px 14px 14px;
  background: linear-gradient(180deg, rgba(110, 231, 255, 0.95), rgba(23, 105, 255, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.85rem;
  color: var(--color-text-soft);
  font-size: 0.8rem;
}

.activity-list {
  display: grid;
  gap: 0.65rem;
}

.activity-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(19, 38, 67, 0.06);
}

.activity-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.activity-dot {
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.32rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-bright));
  box-shadow: 0 0 0 6px rgba(23, 105, 255, 0.08);
}

.activity-list strong {
  display: block;
  color: var(--color-text);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.4;
}

.activity-list small {
  display: block;
  margin-top: 0.2rem;
  color: var(--color-text-soft);
  font-size: 0.84rem;
}

.floating-panel {
  position: absolute;
  max-width: 250px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 246, 255, 0.82));
  box-shadow: 0 20px 50px rgba(10, 43, 88, 0.14);
  backdrop-filter: blur(18px);
}

.floating-panel strong {
  display: block;
  margin: 0.25rem 0 0.35rem;
  font-size: 1.02rem;
  line-height: 1.3;
}

.floating-panel small {
  font-size: 0.84rem;
}

.panel-left {
  top: 7rem;
  left: -2.3rem;
}

.panel-right {
  top: 2.5rem;
  right: -2rem;
}

.panel-bottom {
  right: 2rem;
  bottom: 2rem;
}

.page-hero {
  padding: 4.5rem 0 2rem;
}

.mini-dashboard {
  display: grid;
  gap: 1rem;
}

.mini-dashboard-card,
.insight-card,
.detail-box,
.form-shell {
  padding: 1.6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--color-shadow-soft);
}

/* Sections */
.timeline {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-card {
  position: relative;
  padding: 2rem 1.6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--color-shadow-soft);
}

.timeline-step {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  font-weight: 800;
}

.detail-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.detail-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--color-text-soft);
}

.detail-list li::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.insight-panel,
.contact-card-stack {
  display: grid;
  gap: 1rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.4rem;
  border: 1px solid rgba(23, 105, 255, 0.08);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(13, 183, 179, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(23, 105, 255, 0.14), transparent 28%),
    #fff;
  box-shadow: var(--color-shadow);
}

.cta-panel p {
  margin-top: 0.8rem;
}

/* Cards */
.feature-card,
.use-case-card,
.contact-card {
  position: relative;
  padding: 1.7rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--color-shadow-soft);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.feature-card:hover,
.use-case-card:hover,
.contact-card:hover,
.timeline-card:hover,
.mini-dashboard-card:hover,
.insight-card:hover,
.detail-box:hover,
.form-shell:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 105, 255, 0.18);
  box-shadow: 0 22px 46px rgba(10, 43, 88, 0.12);
}

.feature-card h3,
.use-case-card h3,
.contact-card h3,
.timeline-card h3 {
  margin-bottom: 0.8rem;
}

.feature-card.compact {
  padding-top: 1.5rem;
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: var(--color-accent-soft);
  color: var(--color-primary-deep);
  font-weight: 800;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.35rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-deep));
  color: #fff;
  box-shadow: 0 18px 34px rgba(23, 105, 255, 0.24);
}

.button-primary:hover {
  box-shadow: 0 22px 40px rgba(23, 105, 255, 0.3);
}

.button-secondary {
  border-color: rgba(23, 105, 255, 0.16);
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-text);
}

.button-block {
  width: 100%;
}

/* Forms */
.contact-panel h2 {
  margin: 1rem 0 0.8rem;
}

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

.form-row {
  display: grid;
  gap: 0.55rem;
}

.form-row label {
  color: var(--color-text);
  font-weight: 700;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(19, 38, 67, 0.12);
  border-radius: 18px;
  background: #fff;
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(23, 105, 255, 0.46);
  box-shadow: 0 0 0 4px rgba(23, 105, 255, 0.12);
}

.form-alert {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  font-weight: 600;
}

.form-alert.success {
  background: rgba(19, 138, 99, 0.1);
  color: var(--color-success);
}

/* Footer */
.site-footer {
  padding: 4rem 0 2rem;
  background: #10213b;
  color: rgba(255, 255, 255, 0.84);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.brand-footer {
  color: #fff;
}

.footer-copy {
  max-width: 420px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover,
.footer-social a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.68);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.58);
}

/* Responsive */
@media (max-width: 1080px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .page-hero-grid,
  .split-panel,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-copy h1 {
    max-width: 12ch;
  }

  .dashboard-grid-kpis,
  .dashboard-grid-detail {
    grid-template-columns: 1fr;
  }

  .floating-panel {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .nav-desktop,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .grid-3,
  .timeline {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.5rem 0;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

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

  .dashboard-sidebar {
    flex-direction: row;
    justify-content: flex-start;
    padding: 0.9rem 1rem;
  }

  .sidebar-brand {
    margin-bottom: 0;
    margin-right: 0.35rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .site-header {
    padding: 0.85rem 0;
  }

  .brand-mark {
    width: 2.45rem;
    height: 2.45rem;
  }

  .hero-lead,
  .section-heading p {
    font-size: 1rem;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .dashboard-topbar,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-grid,
  .dashboard-grid-kpis,
  .dashboard-grid-detail {
    grid-template-columns: 1fr;
  }

  .dashboard-frame {
    gap: 0.8rem;
  }

  .dashboard-sidebar {
    gap: 0.7rem;
    overflow-x: auto;
  }

  .dashboard-surface {
    padding: 1rem;
  }

  .chart-bars {
    gap: 0.45rem;
    height: 132px;
  }

  .dashboard-shell,
  .feature-card,
  .use-case-card,
  .timeline-card,
  .mini-dashboard-card,
  .detail-box,
  .form-shell,
  .insight-card,
  .contact-card,
  .cta-panel {
    padding: 1.35rem;
  }

  .button-group {
    flex-direction: column;
  }

  .button,
  .button-secondary,
  .button-primary {
    width: 100%;
  }

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