:root {
  color-scheme: light;
  --ink: #211f1b;
  --muted: #69645b;
  --paper: #f7f2e8;
  --paper-strong: #efe3d1;
  --white: #fffdf8;
  --line: #ded4c4;
  --red: #b9362d;
  --red-dark: #8f261f;
  --green: #28684f;
  --cobalt: #2455a6;
  --amber: #d7902e;
  --shadow: 0 20px 50px rgba(33, 31, 27, 0.14);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 6px;
  background: var(--white);
  padding: 10px 14px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: rgba(26, 25, 22, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
}

.brand-logo {
  width: 70px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  background: #050505;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--amber));
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.site-nav a {
  border-radius: 6px;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  outline: none;
}

.header-cta,
.btn,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 750;
}

.header-cta {
  padding: 0 16px;
  color: var(--white);
  background: var(--red);
}

.header-cta svg,
.btn svg,
.menu-toggle svg,
.signal-item svg,
.service-card svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 76svh;
  margin-top: -76px;
  padding: 158px 24px 88px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(20, 18, 16, 0.9) 0%, rgba(20, 18, 16, 0.7) 40%, rgba(20, 18, 16, 0.24) 72%),
    linear-gradient(0deg, rgba(33, 31, 27, 0.55), rgba(33, 31, 27, 0.05) 42%),
    url("assets/hero-eventos-bogota.png") center / cover no-repeat;
}

.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd29a;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

p {
  line-height: 1.65;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-width: 154px;
  padding: 0 18px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 14px 30px rgba(185, 54, 45, 0.26);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  color: var(--ink);
  background: var(--paper-strong);
  border: 1px solid var(--line);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 1px;
  max-width: 720px;
  margin: 46px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-metrics div {
  min-height: 100px;
  padding: 18px;
  background: rgba(26, 25, 22, 0.25);
}

.hero-metrics dt {
  margin-bottom: 6px;
  color: #ffd29a;
  font-size: 28px;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100% - 48px, var(--max));
  margin: -36px auto 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.signal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  padding: 20px;
  color: var(--ink);
}

.signal-item + .signal-item {
  border-left: 1px solid var(--line);
}

.signal-item svg {
  color: var(--green);
}

.section {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 96px 0;
}

.section-tight {
  padding-top: 86px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p,
.approach-copy p,
.quote-copy p {
  color: var(--muted);
}

.service-switch {
  display: inline-grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 22px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-tab {
  min-width: 132px;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 780;
}

.service-tab.is-active {
  color: var(--white);
  background: var(--green);
}

.scenario {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 30px;
  align-items: start;
  margin-bottom: 26px;
  padding: 28px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--amber);
  border-radius: 8px;
  background: var(--white);
}

.scenario p {
  margin-bottom: 0;
  color: var(--muted);
}

.scenario ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.service-grid,
.proof-grid,
.line-grid,
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

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

.service-card,
.proof-item,
.line-card,
.equipment-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.line-card {
  position: relative;
  overflow: hidden;
}

.line-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #f4e500, #78dd48, #16d6d9);
}

.line-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.service-card svg,
.line-card svg,
.equipment-card svg {
  width: 30px;
  height: 30px;
  margin-bottom: 22px;
  color: var(--red);
}

.service-card p,
.proof-item p,
.line-card p,
.equipment-card p,
.timeline p,
.point p {
  margin-bottom: 0;
  color: var(--muted);
}

.equipment {
  padding-top: 54px;
}

.equipment-card {
  background:
    linear-gradient(180deg, rgba(22, 214, 217, 0.08), rgba(255, 255, 255, 0) 42%),
    var(--white);
}

.equipment-card svg {
  color: var(--cobalt);
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
  width: 100%;
  max-width: none;
  padding: 90px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
}

.approach .eyebrow {
  color: #ffd29a;
}

.approach-copy p,
.point p {
  color: rgba(255, 255, 255, 0.74);
}

.approach-points {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.point {
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.point span {
  grid-row: span 2;
  color: #ffd29a;
  font-weight: 850;
}

.proof {
  padding-bottom: 54px;
}

.proof-item {
  position: relative;
  overflow: hidden;
}

.proof-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--cobalt);
}

.proof-item:nth-child(2)::before {
  background: var(--red);
}

.proof-item:nth-child(3)::before {
  background: var(--green);
}

.proof-item span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.process {
  padding-top: 46px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.timeline span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-weight: 850;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: start;
  padding: 90px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--paper-strong);
}

.quote-copy {
  padding-top: 8px;
}

.contact-stack,
.social-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contact-stack a,
.contact-stack span,
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  color: var(--ink);
}

.contact-stack svg,
.social-links svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.quote-form,
.quote-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(33, 31, 27, 0.08);
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: 22px;
}

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

.field label,
.check-group legend {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  color: var(--ink);
}

.field input,
.field select {
  min-height: 46px;
  padding: 0 12px;
}

.field textarea {
  resize: vertical;
  min-height: 112px;
  padding: 12px;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.service-tab:focus-visible,
.btn:focus-visible,
.header-cta:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(36, 85, 166, 0.28);
  outline-offset: 2px;
}

.check-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-group legend {
  padding: 0 6px;
}

.check-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  color: var(--muted);
}

.check-group input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.quote-summary {
  padding: 24px;
}

.quote-summary h3 {
  margin-bottom: 16px;
}

.quote-summary p,
.quote-summary li {
  color: var(--muted);
  line-height: 1.65;
}

.quote-summary ul {
  margin: 16px 0;
  padding-left: 20px;
}

.summary-note {
  margin-bottom: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-weight: 750;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px max(24px, calc((100vw - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.78);
  background: #171512;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.footer-links a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.admin-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.82), rgba(33, 31, 27, 0.62)),
    var(--paper);
}

.admin-shell {
  width: min(100% - 36px, 1040px);
  margin: 0 auto;
  padding: 44px 0;
}

.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-header {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}

.admin-logo {
  width: 180px;
  max-width: 100%;
  border-radius: 8px;
  background: #050505;
}

.admin-panel h1 {
  margin-bottom: 12px;
  font-size: 38px;
  line-height: 1.08;
}

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

.admin-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.admin-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-form legend {
  padding: 0 6px;
  font-weight: 850;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.admin-form input,
.admin-form textarea,
.admin-import input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  color: var(--ink);
}

.admin-form input,
.admin-import input {
  min-height: 44px;
  padding: 0 12px;
}

.admin-form textarea {
  min-height: 80px;
  padding: 12px;
  resize: vertical;
}

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

.admin-link {
  color: var(--white);
}

.admin-import,
.admin-note {
  margin: 0 28px 28px;
}

.admin-import label {
  display: block;
  margin-bottom: 8px;
  font-weight: 850;
}

.admin-note {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: 320px;
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

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

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: start;
    flex-wrap: wrap;
    padding-top: 6px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .hero {
    min-height: 720px;
    padding-top: 142px;
    background-position: 62% center;
  }

  .signal-band,
  .service-grid,
  .line-grid,
  .equipment-grid,
  .proof-grid,
  .timeline,
  .quote-section,
  .approach {
    grid-template-columns: 1fr 1fr;
  }

  .signal-band {
    width: min(100% - 36px, var(--max));
  }

  .signal-item:nth-child(3) {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .quote-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .quote-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
    padding: 12px 18px;
  }

  .brand {
    min-width: auto;
  }

  .brand-logo {
    width: 58px;
    height: 38px;
  }

  .hero {
    min-height: auto;
    margin-top: -70px;
    padding: 126px 18px 68px;
    background:
      linear-gradient(90deg, rgba(20, 18, 16, 0.92), rgba(20, 18, 16, 0.58)),
      linear-gradient(0deg, rgba(33, 31, 27, 0.5), rgba(33, 31, 27, 0.1)),
      url("assets/hero-eventos-bogota.png") 65% center / cover no-repeat;
  }

  h1 {
    font-size: 38px;
    line-height: 1;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-metrics,
  .signal-band,
  .service-grid,
  .line-grid,
  .equipment-grid,
  .proof-grid,
  .timeline,
  .quote-section,
  .approach,
  .field-row,
  .check-group,
  .admin-header,
  .admin-form fieldset {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    max-width: none;
  }

  .signal-band {
    margin-top: -18px;
  }

  .signal-item + .signal-item,
  .signal-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section {
    width: min(100% - 36px, var(--max));
    padding: 68px 0;
  }

  .service-switch {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .service-tab {
    min-width: 0;
  }

  .scenario {
    padding: 22px;
  }

  .approach {
    padding: 68px 18px;
  }

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

  .point span {
    margin-bottom: 12px;
  }

  .quote-section {
    padding: 68px 18px;
  }

  .site-footer {
    display: grid;
    padding: 30px 18px;
  }

  .admin-panel h1 {
    font-size: 30px;
  }

  .admin-header,
  .admin-form {
    padding: 20px;
  }

  .admin-import,
  .admin-note {
    margin: 0 20px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
