:root {
  --cds-background: #ffffff;
  --cds-layer-01: #f4f4f4;
  --cds-layer-02: #e0e0e0;
  --cds-text-primary: #161616;
  --cds-text-secondary: #525252;
  --cds-border-subtle: #c6c6c6;
  --cds-interactive: #0f62fe;
  --cds-interactive-hover: #0043ce;
  --cds-interactive-active: #002d9c;
  --cds-blue-10: #edf5ff;
  --cds-dark: #161616;
  --cds-dark-02: #262626;
  --container: 1280px;
  --gutter: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cds-background);
  color: var(--cds-text-primary);
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body::selection {
  background: var(--cds-blue-10);
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-weight: 300;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.16;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

ul {
  margin: 0;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 12px;
}

.container {
  width: min(100% - var(--gutter), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 56px;
  background: var(--cds-dark);
  color: #ffffff;
  border-bottom: 1px solid #393939;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  min-width: 184px;
  padding: 0 32px;
  border-right: 1px solid #393939;
}

.brand img {
  width: 112px;
  max-height: 30px;
  height: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  min-width: 0;
}

.header-nav a,
.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 18px;
  color: #c6c6c6;
  font-size: 0.875rem;
  letter-spacing: 0.16px;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
}

.header-nav a:hover,
.header-cta:hover {
  background: #262626;
  color: #ffffff;
}

.header-cta {
  background: var(--cds-interactive);
  color: #ffffff;
  border-left-color: #393939;
}

.header-cta:hover {
  background: var(--cds-interactive-hover);
}

.section-white,
.section-gray,
.section-dark {
  padding: 80px 0;
}

.section-white {
  background: #ffffff;
}

.section-gray {
  background: var(--cds-layer-01);
}

.section-dark {
  background: var(--cds-dark);
  color: #f4f4f4;
}

.hero {
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 56px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.68) 38%, rgba(0, 0, 0, 0.18) 74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.55)),
    url("assets/hero-conferencia-ejecutiva.jpg") center / cover no-repeat;
  color: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 424px;
  gap: 48px;
  align-items: start;
}

.hero-copy {
  padding-top: 80px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--cds-interactive);
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: 0.75rem;
  line-height: 1.33;
  letter-spacing: 0.32px;
  text-transform: uppercase;
}

.eyebrow-on-dark {
  color: #78a9ff;
}

.hero .eyebrow {
  color: #78a9ff;
}

.hero-lede {
  max-width: 640px;
  margin-top: 24px;
  color: #f4f4f4;
  font-size: 1.25rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  min-width: 180px;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  cursor: pointer;
}

.button span {
  margin-left: 32px;
  font-family: "IBM Plex Mono", Menlo, monospace;
}

.button-primary {
  background: var(--cds-interactive);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--cds-interactive-hover);
}

.button-tertiary {
  color: var(--cds-interactive);
  border-color: var(--cds-interactive);
}

.button-tertiary:hover {
  background: var(--cds-blue-10);
  color: var(--cds-interactive-hover);
}

.hero .button-tertiary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.82);
}

.hero .button-tertiary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.button-on-dark {
  background: #ffffff;
  color: var(--cds-text-primary);
}

.button-on-dark:hover {
  background: var(--cds-layer-02);
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 48px 0 0;
  max-width: 760px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.event-facts div {
  padding: 16px;
  background: rgba(22, 22, 22, 0.28);
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.event-facts div:last-child {
  border-right: 0;
}

.event-facts dt {
  margin-bottom: 8px;
  color: #c6c6c6;
  font-size: 0.75rem;
  letter-spacing: 0.32px;
  text-transform: uppercase;
}

.event-facts dd {
  margin: 0;
  font-weight: 600;
}

.registration-panel {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: rgba(244, 244, 244, 0.96);
  border-top: 4px solid var(--cds-interactive);
  color: var(--cds-text-primary);
}

.panel-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 4px 8px;
  background: var(--cds-blue-10);
  color: var(--cds-interactive);
  border-radius: 24px;
  font-size: 0.75rem;
  letter-spacing: 0.32px;
  text-transform: uppercase;
}

.registration-panel h2 {
  font-size: 1.75rem;
  font-weight: 400;
}

.registration-panel > p {
  margin-top: 12px;
  color: var(--cds-text-secondary);
  font-size: 0.875rem;
  letter-spacing: 0.16px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  background: var(--cds-border-subtle);
}

.countdown div {
  padding: 12px;
  background: #ffffff;
}

.countdown span {
  display: block;
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: 1.25rem;
}

.countdown small {
  color: var(--cds-text-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.32px;
  text-transform: uppercase;
}

#hubspot-form,
#hubspot-form iframe {
  width: 100% !important;
}

#hubspot-form iframe {
  display: block;
  border: 0;
}

.form-fallback {
  margin-top: 16px;
  color: var(--cds-text-secondary);
  font-size: 0.875rem;
}

.form-fallback a {
  color: var(--cds-interactive);
  text-decoration: underline;
}

.privacy-note {
  margin-top: 12px;
  font-size: 0.75rem;
}

.registration-summary {
  margin-top: 18px;
  padding: 20px;
  background: #ffffff;
}

.registration-summary h3 {
  max-width: 280px;
  color: #0f3a56;
  font-size: 1.25rem;
}

.registration-summary p {
  margin-top: 12px;
  color: var(--cds-text-secondary);
  font-size: 0.875rem;
}

.registration-summary ul {
  margin-top: 16px;
  color: var(--cds-text-primary);
  font-size: 0.875rem;
}

.registration-summary li + li {
  margin-top: 8px;
}

.panel-button {
  width: 100%;
  margin-top: 16px;
}

.full-form-section {
  scroll-margin-top: 72px;
}

.full-form-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.full-form-grid > div:first-child {
  position: sticky;
  top: 88px;
}

.full-form-grid > div:first-child p:last-child {
  max-width: 480px;
  margin-top: 24px;
  color: var(--cds-text-secondary);
  font-size: 1.125rem;
}

.full-form-card {
  padding: 32px;
  background: var(--cds-layer-01);
  border-top: 4px solid var(--cds-interactive);
}

.full-form-card #hubspot-form {
  height: auto;
  min-height: 760px;
  overflow: visible;
}

.full-form-card #hubspot-form iframe {
  min-height: 760px;
}

.value-strip {
  padding: 24px 0;
}

.value-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #393939;
}

.value-strip-grid p {
  min-height: 112px;
  padding: 24px;
  background: #262626;
  color: #f4f4f4;
  font-size: 1.125rem;
}

.validation-section {
  padding-bottom: 40px;
}

.validation-header {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: end;
}

.validation-header h2 {
  max-width: 760px;
}

.validation-header > p:last-child {
  color: var(--cds-text-secondary);
  font-size: 1.125rem;
}

.validation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  background: var(--cds-border-subtle);
}

.validation-grid article {
  min-height: 184px;
  padding: 24px;
  background: var(--cds-layer-01);
}

.validation-grid strong {
  display: block;
  color: var(--cds-interactive);
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

.validation-grid span {
  display: block;
  max-width: 280px;
  margin-top: 24px;
  color: var(--cds-text-secondary);
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  margin-top: 1px;
  padding: 32px;
  background: var(--cds-layer-01);
}

.trust-panel p {
  margin-top: 12px;
  color: var(--cds-text-secondary);
}

.logo-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--cds-border-subtle);
}

.logo-placeholder-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 16px;
  background: #ffffff;
  color: #6f6f6f;
  font-size: 0.75rem;
  letter-spacing: 0.32px;
  text-transform: uppercase;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
}

.section-copy {
  color: var(--cds-text-secondary);
  font-size: 1.125rem;
}

.section-copy p + p {
  margin-top: 16px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  background: var(--cds-border-subtle);
}

.tile {
  min-height: 256px;
  padding: 24px;
  background: #ffffff;
}

.tile span {
  display: block;
  margin-bottom: 56px;
  color: var(--cds-interactive);
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: 0.875rem;
  letter-spacing: 0.16px;
}

.tile p {
  margin-top: 16px;
  color: var(--cds-text-secondary);
  font-size: 0.875rem;
  letter-spacing: 0.16px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 88px;
}

.sticky-heading p:last-child {
  margin-top: 24px;
  color: var(--cds-text-secondary);
  font-size: 1.125rem;
}

.section-photo {
  width: 100%;
  margin-top: 32px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 1px;
  background: var(--cds-border-subtle);
}

.check-list div {
  padding: 24px;
  background: var(--cds-layer-01);
}

.check-list p {
  margin-top: 12px;
  color: var(--cds-text-secondary);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--cds-border-subtle);
}

.fit-block {
  padding: 24px;
  background: #ffffff;
}

.fit-block h3 {
  margin-bottom: 16px;
}

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

.agenda {
  display: grid;
  gap: 1px;
  background: var(--cds-border-subtle);
}

.agenda article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 24px;
  background: #ffffff;
}

.agenda time {
  color: var(--cds-interactive);
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: 1.25rem;
}

.agenda p {
  margin-top: 8px;
  color: var(--cds-text-secondary);
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--cds-border-subtle);
}

.speaker-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 448px;
  background: #ffffff;
}

.speaker-card img {
  width: 100%;
  height: 100%;
  min-height: 448px;
  object-fit: cover;
}

.speaker-card div {
  padding: 24px;
}

.speaker-role {
  margin-bottom: 32px;
  color: var(--cds-interactive);
  font-size: 0.75rem;
  letter-spacing: 0.32px;
  text-transform: uppercase;
}

.speaker-card p:last-child {
  margin-top: 16px;
  color: var(--cds-text-secondary);
}

.proof-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding: 48px;
  background: var(--cds-layer-01);
}

.proof-panel p:not(.eyebrow) {
  margin-bottom: 24px;
  color: var(--cds-text-secondary);
  font-size: 1.125rem;
}

.faq-section {
  padding-bottom: 96px;
}

.faq-list {
  display: grid;
  gap: 1px;
  background: var(--cds-border-subtle);
}

details {
  background: #ffffff;
}

summary {
  min-height: 64px;
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
}

details p {
  padding: 0 24px 24px;
  color: var(--cds-text-secondary);
}

.final-cta {
  padding: 64px 0;
}

.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}

.final-grid h2 {
  max-width: 820px;
}

.site-footer {
  padding: 40px 0;
  background: #0b0b0b;
  color: #c6c6c6;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid img {
  width: 180px;
}

.footer-grid p {
  font-size: 0.875rem;
  letter-spacing: 0.16px;
}

.mobile-sticky-cta {
  display: none;
}

.hs-form {
  display: grid;
  gap: 16px;
}

.hs-form-field > label {
  display: block;
  margin-bottom: 8px;
  color: var(--cds-text-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.32px;
  text-transform: uppercase;
}

.hs-input,
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="tel"],
.hs-form select,
.hs-form textarea {
  width: 100% !important;
  min-height: 48px;
  padding: 0 16px;
  background: #ffffff;
  color: var(--cds-text-primary);
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
}

.hs-form textarea {
  min-height: 96px;
  padding-top: 12px;
  resize: vertical;
}

.hs-input:focus,
.hs-form input:focus,
.hs-form select:focus,
.hs-form textarea:focus {
  outline: 2px solid var(--cds-interactive);
  outline-offset: 0;
}

.hs-button,
.hs-submit input[type="submit"] {
  width: 100%;
  min-height: 48px;
  padding: 14px 16px;
  background: var(--cds-interactive);
  color: #ffffff;
  border: 0;
  border-radius: 0;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
}

.hs-button:hover,
.hs-submit input[type="submit"]:hover {
  background: var(--cds-interactive-hover);
}

.hs-error-msgs,
.hs_error_rollup {
  margin: 8px 0 0;
  padding: 0;
  color: #da1e28;
  font-size: 0.75rem;
  list-style: none;
}

.submitted-message {
  padding: 24px;
  background: #ffffff;
  border-left: 4px solid #24a148;
}

@media (max-width: 1056px) {
  :root {
    --gutter: 32px;
  }

  .header-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr;
  }

  .header-cta {
    justify-self: end;
  }

  .hero-grid,
  .two-column,
  .split-layout,
  .validation-header,
  .trust-panel,
  .proof-panel,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .registration-panel,
  .sticky-heading {
    position: static;
  }

  .registration-panel {
    display: block;
    max-height: none;
    overflow: visible;
  }

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

  .full-form-grid > div:first-child {
    position: static;
  }

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

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

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

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

@media (max-width: 720px) {
  :root {
    --gutter: 32px;
  }

  body {
    padding-bottom: 72px;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section-white,
  .section-gray,
  .section-dark,
  .hero {
    padding: 48px 0;
  }

  .site-header {
    min-height: 56px;
  }

  .brand {
    min-width: 136px;
    padding: 0 20px;
  }

  .brand img {
    width: 96px;
    max-height: 26px;
  }

  .header-cta {
    display: none;
  }

  .hero-lede {
    font-size: 1.0625rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .event-facts,
  .value-strip-grid,
  .logo-placeholder-grid,
  .fit-grid,
  .pain-grid {
    grid-template-columns: 1fr;
  }

  .validation-section {
    padding-bottom: 24px;
  }

  .trust-panel {
    padding: 24px;
  }

  .event-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--cds-border-subtle);
  }

  .event-facts div:last-child {
    border-bottom: 0;
  }

  .registration-panel {
    padding: 20px;
  }

  .tile {
    min-height: 224px;
  }

  .agenda article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .speaker-card img {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }

  .proof-panel {
    padding: 24px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 16px;
    background: var(--cds-interactive);
    color: #ffffff;
  }
}
