:root {
  --ink: #24143c;
  --ink-soft: #331f52;
  --purple: #6339a1;
  --purple-light: #8b63c7;
  --lime: #d9ff75;
  --lime-hover: #c9f556;
  --paper: #f6f3ea;
  --paper-card: #fcfaf5;
  --lavender: #e9def7;
  --sage: #e6e9dc;
  --muted: #655c70;
  --border: rgba(36, 20, 60, 0.15);
  --shadow: 0 16px 40px rgba(36, 20, 60, 0.08);
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

a,
summary,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
}

a:focus-visible,
summary:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
}

header,
main,
footer {
  width: min(1180px, calc(100% - 80px));
  margin: auto;
}

.skip {
  position: absolute;
  top: -100px;
  left: 15px;
  background: var(--lime);
  color: var(--ink);
  font-weight: bold;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 100;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* Header & Navigation */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  gap: 24px;
  position: sticky;
  top: 0;
  background: rgba(246, 243, 234, 0.94);
  backdrop-filter: blur(10px);
  z-index: 40;
}

.wordmark {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 3px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-shield {
  width: 58px;
  height: 54px;
  object-fit: contain;
  flex: none;
}

footer .brand-shield {
  width: 44px;
  height: 42px;
}

nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 13px;
}

nav a {
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav-pill {
  background: var(--lavender);
  color: var(--ink);
  border-radius: 30px;
  padding: 8px 16px;
  font-weight: bold;
}

.nav-contact {
  border: 1px solid rgba(36, 20, 60, 0.35);
  background: var(--ink);
  color: var(--paper);
  border-radius: 30px;
  padding: 9px 20px;
  font-weight: bold;
  transition: background 0.2s ease;
}

.nav-contact:hover {
  background: var(--purple);
  text-decoration: none;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 68px;
}

.eyebrow {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -2.5px;
  margin: 0 0 24px;
  font-weight: 500;
}

h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--purple);
}

.lead {
  max-width: 520px;
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-decoration: none;
  background: var(--ink);
  color: var(--paper);
  padding: 15px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: bold;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.button:hover {
  background: var(--purple);
}

.button.lime {
  background: var(--lime);
  color: var(--ink);
}

.button.lime:hover {
  background: var(--lime-hover);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(36, 20, 60, 0.45);
}

.button.secondary:hover {
  background: var(--lavender);
}

.button.ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.button.ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.art {
  min-height: 440px;
  background: var(--ink);
  border-radius: 160px 160px 16px 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  color: var(--paper);
  box-shadow: var(--shadow);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(181, 155, 219, 0.44);
  border-radius: 50%;
  width: 330px;
  height: 330px;
  top: 44px;
  left: calc(50% - 165px);
  animation: pulseOrbit 9s ease-in-out infinite alternate;
}

.orbit:before,
.orbit:after {
  content: "";
  position: absolute;
  inset: 37px;
  border: 1px solid rgba(181, 155, 219, 0.44);
  border-radius: 50%;
}

.orbit:after {
  inset: 77px;
  background: rgba(99, 57, 161, 0.32);
}

@keyframes pulseOrbit {
  0% {
    transform: scale(1) rotate(0deg);
  }
  100% {
    transform: scale(1.05) rotate(8deg);
  }
}

.rise {
  position: absolute;
  top: 82px;
  left: calc(50% - 75px);
  font-family: Georgia, serif;
  font-size: 165px;
  line-height: 1;
  color: var(--lime);
  transform: rotate(-8deg);
}

.art-label {
  position: relative;
  font-size: 12px;
  letter-spacing: 1.5px;
  z-index: 2;
}

.art-label strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 28px;
  letter-spacing: 0;
  font-weight: 400;
  margin-top: 4px;
}

.art-badges {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.art-badge {
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(217, 255, 117, 0.35);
  color: var(--lime);
  text-decoration: none;
}

.art-badge:hover {
  background: rgba(217, 255, 117, 0.2);
}

/* Strip & Impact Metrics */
.strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: bold;
}

.strip span:before {
  content: "✦";
  color: var(--purple);
  margin-right: 10px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.metric-card {
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

.metric-value {
  font-family: Georgia, serif;
  font-size: 34px;
  color: var(--purple);
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* Sections */
.section {
  padding: 76px 0;
}

h2 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.17;
  font-weight: 400;
  margin: 0 0 22px;
  letter-spacing: -0.8px;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.intro p {
  color: var(--muted);
  margin-top: 0;
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 36px;
}

.value {
  padding: 34px;
  background: var(--lavender);
  border-radius: var(--radius-md);
}

.value:last-child {
  background: var(--sage);
}

.value .number {
  font-family: Georgia, serif;
  color: var(--purple);
  font-size: 21px;
}

.value h3 {
  font-size: 24px;
  margin: 12px 0;
}

.value p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 0;
}

/* Catalog Section (Open & Filterable) */
.catalog {
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
  padding: 48px;
  box-shadow: var(--shadow);
}

.catalog .eyebrow {
  color: var(--lime);
}

.catalog-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}

.catalog-top {
  max-width: 640px;
}

.catalog-top p {
  color: #d3c9df;
  margin-bottom: 0;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.filter-btn.active {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.catalog > details > summary {
  list-style: none;
  cursor: pointer;
  background: rgba(217, 255, 117, 0.14);
  color: var(--lime);
  border: 1px solid rgba(217, 255, 117, 0.4);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 24px;
}

.catalog > details > summary::-webkit-details-marker {
  display: none;
}

.catalog > details > summary:after {
  content: "Mostrar soluciones +";
  font-size: 13px;
}

.catalog > details[open] > summary:after {
  content: "Ocultar catálogo −";
}

.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.product {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.product[hidden] {
  display: none !important;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.product .tag {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--purple);
  font-weight: bold;
  text-transform: uppercase;
}

.audience-pill {
  font-size: 11px;
  background: var(--lavender);
  color: var(--ink);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: bold;
}

.product h3 {
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
  margin: 16px 0 12px;
}

.product p,
.product li {
  font-size: 14px;
  color: var(--muted);
}

.product ul {
  padding-left: 18px;
  margin: 0 0 18px;
}

.product-faq {
  margin: 4px 0 20px;
  background: var(--lavender);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.product-faq > summary {
  font-size: 13px;
  font-weight: bold;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.product-faq > summary::-webkit-details-marker {
  display: none;
}

.product-faq > summary:after {
  content: "+";
  color: var(--purple);
  font-size: 18px;
  font-weight: bold;
}

.product-faq[open] > summary:after {
  content: "−";
}

.product-faq p {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.product-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding-top: 8px;
}

.product-actions a,
.product-actions button {
  font-size: 13px;
  font-weight: bold;
  text-underline-offset: 5px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  text-decoration: underline;
}

.product-actions .action-primary {
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

.product-actions .action-primary:hover {
  background: var(--purple);
}

/* Interactive Hub (Diagnóstico, Simulador Patrimonial, Cotizador B2B) */
.interactive-hub {
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
}

.hub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
}

.hub-tab {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hub-tab:hover {
  background: var(--lavender);
}

.hub-tab.active {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
}

.hub-panel {
  display: none;
}

.hub-panel.active {
  display: block;
}

/* Tool 1: Diagnostic Quiz */
.quiz-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: start;
}

.quiz-step {
  margin-bottom: 22px;
}

.quiz-step label.step-title {
  display: block;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 10px;
}

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

.choice-btn {
  text-align: left;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.15s ease;
}

.choice-btn:hover {
  border-color: var(--purple);
  background: var(--lavender);
}

.choice-btn.selected {
  background: var(--purple);
  color: var(--paper);
  border-color: var(--purple);
}

.result-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-md);
  padding: 30px;
}

.result-card .eyebrow {
  color: var(--lime);
}

.result-card h3 {
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  margin: 8px 0 12px;
}

.result-card p {
  color: #dcd3e8;
  font-size: 14px;
}

.result-card ul {
  padding-left: 18px;
  color: #e9def7;
  font-size: 14px;
  margin-bottom: 22px;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Tool 2 & 3: Simulators & Sliders */
.sim-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.control-group {
  background: var(--paper);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.control-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  gap: 12px;
}

.control-header label {
  font-size: 14px;
  font-weight: bold;
}

.control-value {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: bold;
  color: var(--purple);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--purple);
  cursor: pointer;
}

.control-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
}

.sim-summary {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-big-number {
  font-family: Georgia, serif;
  font-size: clamp(32px, 3.6vw, 44px);
  color: var(--lime);
  line-height: 1.1;
  margin: 6px 0 16px;
}

.sim-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

.sim-breakdown div span {
  display: block;
  font-size: 11px;
  color: #cbbce0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sim-breakdown div strong {
  font-size: 18px;
  color: var(--paper);
}

.bar-chart {
  margin: 14px 0 20px;
}

.bar-track {
  height: 16px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
}

.bar-contributions {
  background: var(--purple-light);
  height: 100%;
  transition: width 0.25s ease;
}

.bar-growth {
  background: var(--lime);
  height: 100%;
  transition: width 0.25s ease;
}

.bar-legend {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #d3c9df;
  margin-top: 8px;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

/* Workshops / Live Calendar Section */
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.workshop-card {
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.workshop-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.workshop-badge {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1.2px;
  color: var(--purple);
  text-transform: uppercase;
}

.spots-pill {
  font-size: 11px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--lime);
  color: var(--ink);
}

.workshop-card h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 400;
  margin: 0 0 12px;
}

.workshop-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.workshop-meta strong {
  color: var(--ink);
}

.workshop-card ul {
  padding-left: 18px;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 20px;
}

.workshop-card .button {
  margin-top: auto;
  width: 100%;
  padding: 12px 16px;
  font-size: 13px;
}

/* Cases & FAQ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.case-card {
  background: var(--lavender);
  padding: 28px;
  border-radius: var(--radius-md);
}

.case-card:nth-child(2) {
  background: var(--sage);
}

.case-card .tag {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1.2px;
  color: var(--purple);
  text-transform: uppercase;
}

.case-card h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  margin: 10px 0;
}

.case-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
}

.case-outcome {
  font-size: 13px;
  font-weight: bold;
  color: var(--ink);
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.faq-item {
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.faq-item summary {
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:after {
  content: "+";
  color: var(--purple);
  font-size: 20px;
}

.faq-item[open] summary:after {
  content: "−";
}

.faq-item p {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 0;
}

/* Contact & CRM Form */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: start;
  gap: 54px;
}

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

.contact-direct-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.crm-form-card {
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}

.crm-form-card h3 {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 6px;
}

.crm-form-card > p {
  font-size: 14px;
  margin: 0 0 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13px;
  font-weight: bold;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(36, 20, 60, 0.25);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
}

.prefill-banner {
  background: var(--lavender);
  border-left: 4px solid var(--purple);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.prefill-banner.visible {
  display: flex;
}

.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
}

.form-status.success {
  display: block;
  background: #e3f6d5;
  color: #1c4711;
  border: 1px solid #9fd47b;
}

.form-status.error {
  display: block;
  background: #fde8e8;
  color: #691919;
  border: 1px solid #f5b3b3;
}

.contact-note {
  font-size: 12px;
  text-align: center;
  margin-top: 12px;
}

/* Modal for Embedded Calendly */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(36, 20, 60, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 90;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--paper);
  color: var(--ink);
  width: min(920px, 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  max-height: 92vh;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--paper);
}

.modal-header h3 {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  margin: 0;
}

.modal-close {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  cursor: pointer;
  font-weight: bold;
}

.modal-body {
  height: 640px;
  max-height: calc(92vh - 70px);
  background: #fff;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 12px;
  color: var(--muted);
}

footer .wordmark {
  font-size: 23px;
  color: var(--ink);
}

.affiliation {
  font-size: 11px;
  text-align: right;
  color: var(--muted);
  padding: 0 0 28px;
  margin: 0;
}

footer p {
  margin: 0;
}

/* Responsive */
@media (max-width: 920px) {
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .workshops-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .quiz-grid,
  .sim-layout,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  header,
  main,
  footer {
    width: calc(100% - 40px);
  }
  header {
    padding: 16px 0;
    flex-wrap: wrap;
    position: static;
  }
  .wordmark {
    font-size: 26px;
  }
  .brand-shield {
    width: 50px;
    height: 47px;
  }
  nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 12px;
  }
  nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 0 36px;
  }
  h1 {
    letter-spacing: -1.8px;
  }
  .art {
    min-height: 330px;
    border-radius: 120px 120px 12px 12px;
    padding: 26px;
  }
  .orbit {
    top: 15px;
    width: 260px;
    height: 260px;
    left: calc(50% - 130px);
  }
  .rise {
    top: 40px;
    font-size: 140px;
  }
  .strip {
    flex-wrap: wrap;
    font-size: 10px;
    gap: 12px;
  }
  .section {
    padding: 48px 0;
  }
  .intro,
  .values,
  .products,
  .faq-list,
  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .catalog,
  .interactive-hub,
  .crm-form-card {
    padding: 24px 20px;
  }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .affiliation {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .orbit {
    animation: none;
  }
}

