/* IAMIP — sitio estático listo para Cloudflare Pages */
:root {
  --blue: #153ed1;
  --blue-bright: #1f4cff;
  --blue-deep: #071225;
  --blue-mid: #0b1d40;
  --ink: #0b1220;
  --muted: #5e6878;
  --surface: #ffffff;
  --surface-soft: #f3f6fb;
  --line: #dfe5ee;
  --shadow: 0 18px 50px rgba(7, 18, 37, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 12px 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 10px;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(5, 12, 26, .76);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  background: rgba(5, 12, 26, .96);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: 225px;
  height: 58px;
  display: flex;
  align-items: center;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav > a {
  color: rgba(255, 255, 255, .84);
  font-size: .95rem;
  font-weight: 700;
  transition: color .2s ease;
}

.main-nav > a:hover,
.main-nav > a:focus-visible {
  color: #fff;
}

.main-nav .nav-cta {
  padding: 11px 18px;
  color: #fff;
  background: var(--blue);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: currentColor;
  border-radius: 10px;
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 860px;
  display: grid;
  align-items: center;
  padding: 150px 0 130px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(5, 12, 26, .98), rgba(6, 20, 50, .96)),
    radial-gradient(circle at 75% 35%, rgba(31, 76, 255, .35), transparent 36%);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 90%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #9eb4ff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.eyebrow.dark {
  color: var(--blue);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: .94;
  letter-spacing: -.06em;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(1.06rem, 2vw, 1.3rem);
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

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

.button-primary {
  color: #fff;
  background: var(--blue-bright);
  box-shadow: 0 14px 28px rgba(31, 76, 255, .3);
}

.button-outline {
  color: #fff;
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .2);
}

.button-outline:hover {
  background: rgba(255, 255, 255, .1);
}

.button-light {
  color: var(--blue-deep);
  background: #fff;
}

.hero-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.detail-icon {
  color: var(--blue-bright);
  filter: drop-shadow(0 0 10px rgba(31, 76, 255, .8));
}

.hero-detail small,
.hero-detail a {
  display: block;
}

.hero-detail small {
  color: rgba(255, 255, 255, .54);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-detail a {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
}

.logo-stage {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 44px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 38px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
  overflow: hidden;
}

.logo-stage::before,
.logo-stage::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(90, 125, 255, .3);
  border-radius: 50%;
}

.logo-stage::before {
  top: -70px;
  right: -40px;
}

.logo-stage::after {
  left: -70px;
  bottom: -70px;
}

.logo-stage img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 310px;
  object-fit: contain;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, .25));
}

.logo-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px dashed rgba(86, 120, 255, .34);
  border-radius: 50%;
  animation: spin 24s linear infinite;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.hero-glow-one {
  width: 430px;
  height: 430px;
  right: -160px;
  top: 110px;
  background: rgba(32, 73, 255, .2);
}

.hero-glow-two {
  width: 260px;
  height: 260px;
  left: -100px;
  bottom: 120px;
  background: rgba(42, 92, 255, .12);
}

.hero-wave {
  position: absolute;
  inset: auto 0 -1px;
  height: 115px;
  z-index: 1;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

.hero-wave path {
  fill: var(--surface);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.intro {
  padding-top: 82px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 70px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.centered {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
  color: #fff;
}

.section-heading.split p {
  max-width: 330px;
  color: rgba(255, 255, 255, .62);
}

.intro-card {
  padding: 34px;
  background: var(--surface-soft);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.intro-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
}

.services {
  background: var(--surface-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 310px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 28px rgba(7, 18, 37, .05);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(21, 62, 209, .35);
  box-shadow: var(--shadow);
}

.service-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -45px;
  bottom: -45px;
  background: rgba(21, 62, 209, .06);
  border-radius: 50%;
}

.service-number {
  color: #aab3c2;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.service-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 42px 0 28px;
  color: var(--blue);
  background: rgba(21, 62, 209, .08);
  border-radius: 18px;
}

.service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.service-card-wide {
  grid-column: span 4;
  min-height: 180px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 30px;
}

.service-card-wide .service-number {
  position: absolute;
  left: 30px;
  top: 30px;
}

.service-card-wide .service-icon {
  margin: 0;
  width: 82px;
  height: 82px;
}

.service-note {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 800;
}

.work {
  color: #fff;
  background:
    linear-gradient(rgba(6, 16, 36, .97), rgba(6, 16, 36, .97)),
    radial-gradient(circle at 10% 10%, rgba(31, 76, 255, .25), transparent 38%);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.gallery-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(101, 132, 255, .45);
}

.gallery-image {
  position: relative;
  width: 100%;
  height: 440px;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.expand-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(5, 12, 26, .78);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}

.gallery-image:hover .expand-label,
.gallery-image:focus-visible .expand-label {
  opacity: 1;
  transform: translateY(0);
}

.gallery-caption {
  min-height: 132px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 18px;
  padding: 24px 26px 28px;
}

.gallery-caption span {
  color: #83a1ff;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.gallery-caption h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.4;
}

.coverage {
  background: var(--surface);
}

.coverage-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 44px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(45, 83, 255, .5), transparent 28%),
    linear-gradient(120deg, var(--blue-deep), #0c2350);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.coverage-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  bottom: -110px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
}

.coverage-mark {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
}

.coverage-mark svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coverage-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.contact {
  padding-top: 35px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: center;
  gap: 60px;
}

.contact-copy p {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 62, 209, .35);
}

.contact-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 17px;
}

.contact-icon svg,
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card small,
.contact-card strong {
  display: block;
}

.contact-card small {
  color: var(--muted);
  font-weight: 700;
}

.contact-card strong {
  color: var(--ink);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.contact-arrow {
  color: var(--blue);
  font-size: 1.8rem;
}

.site-footer {
  padding: 54px 0 24px;
  color: rgba(255, 255, 255, .76);
  background: #040a16;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 44px;
}

.footer-brand {
  width: 220px;
  height: 66px;
}

.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.footer-copy strong,
.footer-copy span,
.footer-contact span,
.footer-contact a {
  display: block;
}

.footer-copy strong,
.footer-contact a {
  color: #fff;
}

.footer-copy span,
.footer-contact span {
  margin-top: 4px;
  color: rgba(255, 255, 255, .5);
}

.footer-contact {
  text-align: right;
}

.footer-contact a {
  margin-top: 4px;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 22px;
  color: rgba(255, 255, 255, .42);
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .86rem;
}

.footer-bottom a:hover {
  color: #fff;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 950;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border: 2px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(21, 62, 209, .38);
  transition: transform .2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
}

.lightbox {
  width: min(1040px, calc(100% - 32px));
  max-width: none;
  height: min(820px, calc(100% - 32px));
  max-height: none;
  padding: 46px 18px 18px;
  background: rgba(4, 10, 22, .98);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  box-shadow: 0 30px 120px rgba(0, 0, 0, .6);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  right: 14px;
  top: 8px;
  width: 38px;
  height: 38px;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .section {
    padding: 82px 0;
  }

  .main-nav {
    position: static;
    display: grid;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  body.js-enabled .menu-toggle {
    display: flex;
  }

  body.js-enabled .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: grid;
    gap: 6px;
    padding: 14px;
    background: rgba(5, 12, 26, .98);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  body.js-enabled .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav > a {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .main-nav > a:not(.nav-cta):hover {
    background: rgba(255, 255, 255, .06);
  }

  .main-nav .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
  }

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

  .hero-grid {
    gap: 44px;
  }

  .hero-visual {
    max-width: 680px;
    width: 100%;
    margin-inline: auto;
  }

  .logo-stage {
    min-height: 360px;
  }

  .intro-grid {
    gap: 32px;
  }

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

  .service-card-wide {
    grid-column: span 2;
  }

  .gallery-image {
    height: 390px;
  }

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

  .coverage-card .button {
    grid-column: 1 / -1;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand {
    width: 180px;
    height: 48px;
  }

  .hero {
    padding: 118px 0 112px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.65rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .logo-stage {
    min-height: 280px;
    padding: 26px;
    border-radius: 26px;
  }

  .logo-ring {
    width: 230px;
    height: 230px;
  }

  .hero-wave {
    height: 70px;
  }

  .section-heading.split {
    display: block;
  }

  .section-heading.split p {
    margin-top: 16px;
  }

  .services-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card-wide {
    grid-column: auto;
  }

  .service-card-wide {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-card-wide .service-icon {
    margin: 42px 0 28px;
  }

  .gallery-image {
    height: 380px;
  }

  .gallery-caption {
    min-height: 0;
    padding: 22px;
  }

  .coverage-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .coverage-mark {
    width: 66px;
    height: 66px;
  }

  .contact-card {
    padding: 20px;
  }

  .footer-grid,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-contact {
    text-align: left;
  }

  .footer-bottom {
    gap: 8px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 430px) {
  .gallery-image {
    height: 315px;
  }

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

  .contact-arrow {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* Respaldo para navegadores que bloqueen JavaScript. */
@media (max-width: 980px) {
  body:not(.js-enabled) .nav-wrap {
    flex-wrap: wrap;
    padding-block: 10px;
  }

  body:not(.js-enabled) .main-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding-bottom: 10px;
  }

  body:not(.js-enabled) .main-nav > a {
    padding: 10px 12px;
    text-align: center;
    background: rgba(255,255,255,.06);
    border-radius: 10px;
  }
}

@media (max-width: 520px) {
  body:not(.js-enabled) .main-nav {
    grid-template-columns: 1fr;
  }
}
