@import url('/assets/maje-fonts.css');
@import url('/assets/maje-brand.css');

body > header, body > main, body > footer {
  max-width: 1536px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.site-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  min-height: 125px;
}
.site-head .contact { justify-self: end; }
.site-head nav {
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: 999px;
  padding: 4px;
  background: #f6f6f6;
  font-size: .86rem;
  font-weight: 750;
}
.site-head nav a { padding: 9px 13px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.site-head nav a:hover { background: #e1e1e1; }
.site-head nav a[aria-current] { background: var(--ink); color: var(--white); }
.skip-link { position: absolute; z-index: 2; background: var(--ink); color: var(--white); padding: 10px 16px; inset: 12px auto auto 12px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.hero, .catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 92px);
  min-height: 550px;
  padding-block: clamp(45px, 6vw, 90px);
}
.hero h1, .catalog-hero h1, .policy h1 {
  font: 740 clamp(2.75rem, 7vw, 6.5rem)/.91 var(--display);
  letter-spacing: -.076em;
  margin: 0 0 28px;
  text-transform: uppercase;
}
.hero h1 em, .catalog-hero h1 em { font-style: normal; }
.catalog-hero h1 { font-size: clamp(2.15rem, 5.35vw, 5.3rem); text-wrap: nowrap; }
.lead { max-width: 44ch; margin: 0 0 25px; line-height: 1.5; font-size: clamp(1.06rem, 1.5vw, 1.24rem); }
.small { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.hero .small { margin-top: 20px; }
.hero .pills { margin-bottom: 24px; }
.masthead-art {
  display: grid;
  align-content: center;
  justify-items: center;
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: radial-gradient(circle at 50% 42%, #ededed, #cacaca 81%);
}
.masthead-art img { width: min(53%, 232px); aspect-ratio: 1; object-fit: contain; }
.masthead-art span { margin-top: 21px; font: 760 .75rem/1 var(--display); letter-spacing: .2em; }
.buttons, .pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill, .badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #969696;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .77rem;
  font-weight: 690;
  line-height: 1.15;
}
.badge { vertical-align: middle; margin-inline-start: 5px; letter-spacing: .05em; }

.product-shelf, .product-content {
  background: var(--dark);
  color: var(--white);
  margin-inline: calc(-1 * var(--gutter));
  padding: clamp(45px, 7vw, 96px) var(--gutter);
}
.shelf-inner, .section#funciones, .product-content .faq {
  border: 1px solid var(--dark-line);
  border-radius: 20px;
  padding: clamp(20px, 3.5vw, 48px);
}
.shelf-inner > .section-title { margin-bottom: 34px; }
.shelf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.product-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 23px;
  border-radius: 14px;
  padding: clamp(19px, 3vw, 35px);
  background: var(--surface);
  border: 1px solid var(--dark-line);
}
.product-card:first-child { color: var(--ink); background: var(--canvas); border-color: var(--canvas); }
.product-card > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }
.product-card h3 { font: 750 clamp(1.65rem, 3.3vw, 2.8rem)/1 var(--display); letter-spacing: -.06em; margin: 14px 0 12px; }
.product-card p { color: var(--muted-on-dark); max-width: 46ch; font-size: 1.02rem; line-height: 1.5; margin: 0 0 17px; }
.product-card:first-child p { color: var(--muted); }
.product-card .pills { margin: auto 0 17px; }
.product-card:not(:first-child) .button { background: var(--white); color: var(--ink); }
.product-card:not(:first-child) .button:hover { background: #d9d9d9; }
.product-icon { width: 47px; height: 47px; object-fit: contain; border-radius: 11px; filter: grayscale(1); }

.visual {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(16px, 3vw, 34px);
  border: 1px solid #3d3d3d;
  border-radius: 18px;
  background: #1a1a1a;
  color: var(--white);
  box-shadow: 0 22px 50px #0002;
}
.product-card .visual { padding: clamp(15px, 2vw, 25px); border-radius: 12px; box-shadow: none; }
.window-top { display: flex; align-items: center; gap: 5px; padding-bottom: 15px; margin-bottom: 22px; border-bottom: 1px solid #414141; font-size: .74rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #7c7c7c; }
.window-top span:last-child { margin-inline-start: auto; }
.visual :is(h2,h4) { font: 700 clamp(1.28rem, 2.15vw, 1.85rem)/1.05 var(--display); letter-spacing: -.048em; margin: 0 0 7px; }
.visual p, .product-card .visual p { color: var(--muted-on-dark); font-size: .88rem; margin: 0; }
.mock-link, .mock-file { background: #2b2b2b; border: 1px solid #444; padding: 12px; border-radius: 9px; display: flex; align-items: center; gap: 9px; }
.mock-link { justify-content: space-between; margin: 16px 0 9px; font-size: .82rem; }
.mock-link b { white-space: nowrap; }
.mock-tabs { display: flex; gap: 4px; margin-bottom: 7px; font-size: .76rem; }
.mock-tabs span { flex: 1; padding: 7px 4px; text-align: center; border-radius: 6px; background: #2b2b2b; }
.mock-tabs .active { color: var(--ink); background: #eee; font-weight: 700; }
.mock-file { margin-top: 7px; }
.mock-file b, .mock-file small { display: block; font-size: .78rem; }
.mock-file small, .mock-note { color: #bbb; margin-top: 4px; }
.file-icon { border-radius: 6px; width: 33px; height: 33px; display: grid; place-items: center; background: #454545; flex: none; }
.check { margin-left: auto; }
.mock-note { display: flex; justify-content: space-between; gap: 8px; padding-top: 12px; font-size: .68rem; }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid var(--line); padding: 21px 0; font-weight: 710; font-size: .88rem; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.feature { background: var(--surface); border: 1px solid var(--dark-line); border-radius: 13px; padding: clamp(18px, 2.7vw, 33px); }
.feature .number { color: var(--muted-on-dark); font-size: .74rem; font-weight: 750; letter-spacing: .09em; }
.feature h3 { font: 700 1.31rem/1.12 var(--display); letter-spacing: -.035em; margin: 12px 0 8px; }
.feature p { color: #d3d3d3; font-size: .98rem; line-height: 1.55; margin: 0; }
.download-panel { margin-block: 32px 0; background: var(--canvas); color: var(--ink); border-radius: 19px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 25px; padding: clamp(21px, 3.5vw, 44px); }
.download-panel h2 { font: 740 clamp(1.65rem, 3.9vw, 3.1rem)/1 var(--display); margin: 0 0 18px; letter-spacing: -.06em; text-wrap: balance; }
.download-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.choice { min-width: 0; padding: clamp(16px, 1.9vw, 23px); border: 1px solid #b9b9b9; border-radius: 13px; background: #ededed; }
.choice h3 { font-size: 1.13rem; margin: 0 0 12px; }
.choice p { font-size: .84rem; line-height: 1.45; }
.choice form { margin: 15px 0 0; }
.choice button { width: 100%; font-size: .87rem; }
.version { display: block; font-size: .78rem; margin-top: 10px; color: var(--muted); }

.download-counter { display: flex; gap: 17px; align-items: center; padding-block: 20px 0; margin-top: 22px; font-size: .91rem; }
.download-counter strong { font: 750 2.4rem/1 var(--display); letter-spacing: -.07em; }
.download-counter small { color: var(--muted-on-dark); display: block; margin-top: 4px; }
.product-content .faq { margin-top: 32px; }
.faq details { border-top: 1px solid var(--dark-line); padding-block: 17px; }
.faq summary { font-weight: 690; cursor: pointer; font-size: 1.06rem; }
.faq details p { max-width: 76ch; color: #d2d2d2; line-height: 1.58; }
.contact-panel { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 57px; }
.contact-panel h2 { font: 740 clamp(1.65rem, 4vw, 3rem)/1 var(--display); letter-spacing: -.065em; margin: 0; }
.contact-panel p { margin-bottom: 0; }
body > footer { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; min-height: 107px; padding-block: 24px; gap: 20px; font-size: .87rem; border-top: 1px solid var(--line); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }

.policy { max-width: 1000px; padding-block: 64px 80px; }
.policy h1 { font-size: clamp(2.25rem, 6vw, 5rem); overflow-wrap: anywhere; }
.policy > section { border-top: 1px solid var(--line); padding-block: 24px; }
.policy h2 { font: 710 clamp(1.36rem, 2vw, 2rem)/1.08 var(--display); letter-spacing: -.04em; margin: 0 0 16px; }
.policy p, .policy li { font-size: 1.03rem; line-height: 1.57; }
.policy .small { font-size: .9rem; }
.policy a { overflow-wrap: anywhere; }

@media (max-width: 910px) {
  .hero, .catalog-hero { min-height: auto; gap: 24px; }
  .download-panel { grid-template-columns: 1fr; }
  .masthead-art { min-height: 300px; }
}
@media (max-width: 670px) {
  .site-head { grid-template-columns: 1fr 1fr; min-height: auto; padding-block: 16px; }
  .site-head nav { grid-column: 1/-1; grid-row: 2; justify-self: start; }
  .hero, .catalog-hero, .shelf-grid, .features { grid-template-columns: 1fr; }
  .hero, .catalog-hero { padding-block: 38px; }
  .masthead-art { min-height: 220px; }
  .masthead-art img { width: 120px; }
  .strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 420px) {
  .brand { gap: 7px; font-size: .83rem; }
  .brand img { width: 36px; height: 36px; }
  .hero h1 { font-size: clamp(2.38rem, 10vw, 3.1rem); }
  .catalog-hero h1 { font-size: clamp(2.1rem, 9.3vw, 2.8rem); }
  .download-choices { grid-template-columns: 1fr; }
  .site-head nav a { padding: 8px 10px; }
}
