:root {
  color-scheme: light;
  --ink: #0b1220;
  --navy: #0b1f4a;
  --navy-2: #0f2d63;
  --blue: #2563eb;
  --cyan: #22d3ee;
  --mint: #16c79a;
  --slate: #3b4c64;
  --muted: #64748b;
  --surface: #ffffff;
  --surface-2: #f1f5ff;
  --surface-3: #eef2f8;
  --border: #e2e8f0;
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 10% -10%, #e0ebff 0%, #ffffff 55%, #f7f9fe 100%);
}

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

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

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand img {
  height: 42px;
  width: auto;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  font-weight: 600;
  color: var(--slate);
  flex: 1;
}

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

.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: white;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  display: block;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-header.is-open .nav-toggle span {
  background: transparent;
}

.site-header.is-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.lang-switch {
  display: inline-flex;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.15rem;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.35rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
  border-radius: 999px;
}

.lang-btn.is-active {
  background: var(--ink);
  color: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1;
  appearance: none;
  min-height: 44px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(180deg, #234fd2 0%, #142f86 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
}

.btn--ghost {
  border: 1px solid var(--border);
  background: white;
  color: var(--ink);
}

.btn--secondary {
  background: linear-gradient(180deg, #234fd2 0%, #142f86 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
}

.btn--large {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.hero {
  padding: 5rem 0 3rem;
  background: radial-gradient(900px 420px at 80% -10%, rgba(34, 211, 238, 0.25), transparent 60%);
}

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

.hero-aside {
  display: grid;
  gap: 1.6rem;
  align-items: start;
}

.hero-copy h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.6rem, 3.4vw, 3.6rem);
  margin: 0.6rem 0 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
}

.lead {
  font-size: 1.1rem;
  color: var(--slate);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.6rem 0 1.8rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.metric {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  box-shadow: var(--shadow);
}

.metric-value {
  font-weight: 700;
  color: var(--ink);
}

.metric-label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 45, 99, 0.92));
  padding: 1.2rem;
}

.portal-showcase {
  padding-top: 1rem;
}

.showcase-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.showcase-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.section {
  padding: 4rem 0;
}

.section-heading h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0.5rem 0 0.8rem;
}

.section-heading p {
  color: var(--muted);
  max-width: 680px;
}

.suite {
  background: var(--surface-2);
}

.product-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.product-media {
  background: var(--surface-3);
  border-radius: 18px;
  padding: 0.6rem;
  margin-bottom: 1rem;
}

.product-media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-card h3 {
  margin: 0 0 0.6rem;
  font-family: "Sora", sans-serif;
}

.product-card p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.tag {
  display: inline-flex;
  padding: 0.3rem 0.75rem;
  background: var(--surface-2);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--navy);
  font-weight: 600;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.card-link {
  font-weight: 600;
  color: var(--blue);
}

.card-link:hover {
  color: var(--navy);
}

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

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--slate);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 700;
}

.platform-panel {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.panel-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  color: #f8fafc;
}

.panel-card h3 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
}

.panel-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.panel-metrics span {
  background: rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.architecture {
  background: url("assets/architecture-bg.svg") center/cover no-repeat;
  color: #f8fafc;
}

.architecture-card {
  background: rgba(8, 14, 30, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 720px;
}

.architecture-card p {
  color: #cbd5f5;
}

.architecture-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.architecture-tags span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

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

.use-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.locations {
  background: linear-gradient(180deg, #f7f9fe 0%, #ffffff 100%);
}

.location-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.location-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.location-card h3 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
}

.location-card p {
  color: var(--slate);
}

.location-phone {
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.5rem;
}

.location-map {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
  aspect-ratio: 16 / 9;
}

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

.clients {
  background: linear-gradient(180deg, #f7f9fe 0%, #ffffff 100%);
}

.pyramid {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5ff 100%);
}

.pyramid-stack {
  margin-top: 2rem;
  display: grid;
  gap: 0.8rem;
}

.pyramid-tailor {
  margin-top: 1.6rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(34, 211, 238, 0.14));
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  padding-right: clamp(6rem, 14vw, 11rem);
  isolation: isolate;
}

.pyramid-tailor::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: clamp(7rem, 20vw, 14rem);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 55%,
    rgba(255, 255, 255, 0.9) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.pyramid-tailor::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: clamp(8rem, 24vw, 16rem);
  background: radial-gradient(
    circle at 70% 50%,
    rgba(255, 255, 255, 0.75) 0%,
    rgba(255, 255, 255, 0.45) 45%,
    rgba(255, 255, 255, 0) 78%
  );
  pointer-events: none;
  z-index: 1;
}

.pyramid-tailor h3 {
  margin: 0 0 0.4rem;
  font-family: "Sora", sans-serif;
}

.pyramid-tailor p {
  margin: 0;
  color: var(--slate);
  max-width: 620px;
}

.pyramid-tailor > * {
  position: relative;
  z-index: 2;
}

.pyramid-tailor-logo {
  position: absolute;
  right: clamp(1rem, 2.2vw, 1.8rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.pyramid-tailor-logo img {
  width: clamp(90px, 12vw, 140px);
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 0 22px rgba(255, 255, 255, 0.9));
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 38%, rgba(0, 0, 0, 0.45) 62%, transparent 88%);
  mask-image: radial-gradient(circle at 50% 50%, #000 38%, rgba(0, 0, 0, 0.45) 62%, transparent 88%);
}

.pyramid-tier {
  margin: 0 auto;
  width: var(--tier-width, 100%);
  padding: 0.95rem clamp(1.7rem, 3vw, 2.3rem);
  border-radius: var(--radius-md);
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, var(--tone, 0.18)),
    rgba(34, 211, 238, var(--tone-2, 0.24))
  );
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.pyramid-tier > div:first-child {
  padding-left: clamp(1rem, 2.2vw, 1.8rem);
  padding-right: clamp(0.3rem, 1vw, 0.7rem);
}

.pyramid-tier h3 {
  margin: 0 0 0.25rem;
  font-family: "Sora", sans-serif;
}

.pyramid-tier p {
  margin: 0;
  color: var(--slate);
  max-width: 560px;
}

.pyramid-chips {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-right: clamp(0.4rem, 1.2vw, 0.9rem);
}

.pyramid-chip {
  background: white;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.85rem;
  white-space: nowrap;
}

.tier-1 {
  --tier-width: 44%;
  --tone: 0.28;
  --tone-2: 0.32;
}

.tier-2 {
  --tier-width: 58%;
  --tone: 0.24;
  --tone-2: 0.3;
}

.tier-3 {
  --tier-width: 70%;
  --tone: 0.22;
  --tone-2: 0.28;
}

.tier-4 {
  --tier-width: 85%;
  --tone: 0.2;
  --tone-2: 0.26;
}

.tier-5 {
  --tier-width: 100%;
  --tone: 0.18;
  --tone-2: 0.24;
}

@supports (clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%)) {
  .pyramid-tier {
    clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%);
  }
}

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

.client-logo {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--slate);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 72px;
}

.client-logo img {
  max-width: 140px;
  max-height: 36px;
  object-fit: contain;
}

.client-note {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.2;
}

.training {
  background: var(--surface-2);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.pill-list span {
  background: white;
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink);
}

.training-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 2rem;
  background: linear-gradient(135deg, #0b1f4a, #0f2d63);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  color: #f8fafc;
  box-shadow: var(--shadow);
}

.contact-card p {
  color: #cbd5f5;
}

.contact-card .form-note {
  color: #cbd5f5;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-form {
  background: white;
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  display: grid;
  gap: 1rem;
}

.contact-form h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-weight: 600;
  color: var(--ink);
}

.form-field input,
.form-field textarea,
.form-field select {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: #f8fafc;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid rgba(37, 99, 235, 0.25);
  border-color: rgba(37, 99, 235, 0.65);
  background: white;
}

.form-field .is-invalid {
  border-color: #ef4444;
  background: #fff5f5;
}

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

.form-status.is-error {
  color: #ef4444;
}

.form-status.is-success {
  color: #16a34a;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

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

.form-label {
  font-weight: 600;
  color: var(--ink);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1rem;
  margin-top: 0.5rem;
}

.option-grid label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--slate);
  cursor: pointer;
}

.option-grid input {
  margin-top: 0.15rem;
}

.form-hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.form-group.is-invalid .form-hint {
  color: #dc2626;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
  padding: 1.5rem;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
}

.modal-dialog {
  position: relative;
  width: min(760px, 95vw);
  max-height: 90vh;
  overflow: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
  z-index: 1;
}

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

.modal-header h2 {
  margin: 0.2rem 0 0.4rem;
  font-family: "Sora", sans-serif;
}

.modal-header p {
  margin: 0;
  color: var(--muted);
}

.modal-close {
  border: none;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

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

body.modal-open {
  overflow: hidden;
}

body.landing {
  background: radial-gradient(1100px 520px at 90% -10%, rgba(34, 211, 238, 0.2), transparent 60%), #ffffff;
}

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

.hero-panel {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.hero-panel h3 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
}

.module-illustration {
  width: 100%;
  max-width: 260px;
  margin: 0 auto 1rem;
  display: block;
}

.feature-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.feature-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  color: #f8fafc;
  box-shadow: var(--shadow);
}

.cta-band p {
  color: #cbd5f5;
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.site-footer {
  padding: 3rem 0 1.5rem;
  background: #0b1220;
  color: #e2e8f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 42px;
  margin-bottom: 1rem;
  width: auto;
}

.footer-grid a {
  color: #93c5fd;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: #94a3b8;
}

@media (max-width: 1024px) {
  .header-grid {
    grid-template-columns: auto auto;
    align-items: center;
  }

  .header-shell {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    display: none;
    padding-bottom: 1rem;
  }

  .site-header.is-open .header-shell {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.9rem;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    max-width: 520px;
    margin: 0 auto;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

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

  .pyramid-tier {
    width: 100%;
    clip-path: none;
  }
}

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .pyramid-tailor {
    padding-right: 1.6rem;
  }

  .pyramid-tailor::after {
    display: none;
  }

  .pyramid-tailor-logo {
    position: static;
    transform: none;
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 8vw, 2.8rem);
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero-visual img {
    padding: 0.8rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-heading h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

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

  .product-card,
  .use-card,
  .training-card,
  .card {
    padding: 1.2rem;
  }

  .product-media {
    padding: 0.5rem;
  }

  .pyramid-tier {
    padding: 0.9rem 1.1rem;
  }

  .pyramid-tier h3 {
    font-size: 1.05rem;
  }

  .pyramid-tier p {
    font-size: 0.9rem;
  }

  .pyramid-chip {
    font-size: 0.78rem;
    padding: 0.28rem 0.6rem;
  }

  .pyramid-tailor {
    padding: 1.2rem;
  }

  .pyramid-tailor-logo img {
    width: clamp(84px, 26vw, 120px);
  }

  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .client-logo {
    padding: 0.9rem 0.7rem;
    min-height: 64px;
  }

  .client-note {
    font-size: 0.68rem;
  }

  .pill-list span {
    font-size: 0.78rem;
  }

  .contact-card {
    padding: 1.8rem;
    gap: 1.5rem;
  }

  .contact-form {
    padding: 1.2rem;
  }

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

  .modal-dialog {
    padding: 1.4rem;
  }

  .modal-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .lang-switch {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: clamp(1.9rem, 9vw, 2.4rem);
  }

  .eyebrow {
    letter-spacing: 0.14em;
  }

  .hero-actions {
    gap: 0.8rem;
  }

  .hero-visual img {
    padding: 0.6rem;
  }

  .metric {
    padding: 0.7rem 0.8rem;
  }

  .pyramid-chip {
    font-size: 0.74rem;
  }

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

  .contact-card {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
