@media (min-width: 961px) and (max-width: 1080px) {
  .site-header { height: 72px; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 14px 20px 20px; flex-direction: column; align-items: stretch; gap: 4px; background: var(--surface); box-shadow: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; }
  .head-buttons { margin-left: auto; }
  .nav-toggle { display: grid; }
}

.suit-promo { background: var(--sidebar); }
.suit-promo-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 52px; align-items: center; }
.suit-promo-grid .section-intro { margin-bottom: 22px; }
.suit-promo-grid .bullet-list { margin-bottom: 24px; }
.suit-promo-copy .section-intro h2 { max-width: 780px; font-size: clamp(39px, 4vw, 58px); line-height: 1.04; }
.suit-promo-copy .section-intro p { max-width: 760px; font-size: clamp(20px, 1.5vw, 22px); line-height: 1.6; }
.suit-promo-copy .bullet-list { gap: 16px; }
.suit-promo-copy .bullet-list li { font-size: 19px; line-height: 1.6; }
.suit-device-stage { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-height: 536px; }
.suit-device-stage img { display: block; width: calc(50% - 8px); height: auto; max-height: 500px; object-fit: contain; object-position: center; border-radius: 0; }
.resources-page .feature-detail-text { display: block; max-width: 1100px; }
.resources-page .feature-detail-text .feature-detail-copy { max-width: 900px; }

@media (max-width: 960px) {
  .suit-promo-grid { grid-template-columns: 1fr; gap: 32px; }
  .suit-device-stage { min-height: 456px; }
  .suit-device-stage img { max-height: 440px; }
}

@media (max-width: 680px) {
  .suit-device-stage { min-height: 376px; }
  .suit-device-stage { gap: 8px; }
  .suit-device-stage img { max-height: 360px; }
  .suit-promo-copy .section-intro h2 { font-size: clamp(34px, 9vw, 44px); }
  .suit-promo-copy .section-intro p { font-size: 17px; }
  .suit-promo-copy .bullet-list li { font-size: 15px; }
}

body[data-page="inicio"] .site-header {
  position: absolute;
  inset: 0 0 auto;
  background: var(--accent);
  color: var(--on-accent);
}
body[data-page="inicio"] .brand img { background: transparent; }
body[data-page="inicio"] .brand small { color: currentColor; opacity: .76; }
body[data-page="inicio"] .nav a { color: currentColor; opacity: .9; }
body[data-page="inicio"] .nav a:hover { background: color-mix(in srgb, var(--on-accent) 12%, transparent); color: var(--on-accent); opacity: 1; }
body[data-page="inicio"] .nav a.active { background: var(--on-accent); color: var(--accent); opacity: 1; }
body[data-page="inicio"] .head-buttons .btn-primary { background: var(--on-accent); color: var(--accent); }
body[data-page="inicio"] .nav-toggle { background: transparent; color: var(--on-accent); }

.home-landing {
  position: relative;
  min-height: 690px;
  padding: 142px 0 0;
  overflow: hidden;
  background: var(--accent);
  color: var(--on-accent);
  text-align: center;
}
.home-landing-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0; }
.home-landing-copy { max-width: 850px; }
.home-landing-copy h1 { max-width: 850px; margin: 0 auto 16px; font-size: clamp(42px, 5vw, 66px); line-height: 1.02; letter-spacing: -.06em; }
.home-landing-copy h1 em { color: var(--on-accent); font-style: normal; }
.home-landing-copy p { max-width: 600px; margin: 0 auto; color: var(--on-accent); opacity: .82; font-size: 16px; line-height: 1.7; }
.home-landing-copy .hero-actions { justify-content: center; margin-top: 24px; }
.home-landing .btn-primary { background: var(--on-accent); color: var(--accent); }
.home-landing .btn-primary:hover { background: var(--surface); color: var(--text); }
.home-landing .btn-surface { background: color-mix(in srgb, var(--on-accent) 10%, transparent); color: var(--on-accent); }
.home-landing .btn-surface:hover { background: color-mix(in srgb, var(--on-accent) 18%, transparent); }
.home-device-showcase { position: relative; width: min(100%, 820px); height: 420px; margin: 40px auto 0; }
.home-device-card { position: absolute; margin: 0; padding: 0; display: flex; align-items: flex-end; justify-content: center; border-radius: 0; background: transparent; box-shadow: none; }
.home-device-card img { display: block; width: 100%; height: auto; object-fit: contain; object-position: center bottom; }
.home-device-desktop { left: 50%; bottom: 28px; width: min(760px, calc(100% - 20px)); transform: translateX(-50%); z-index: 1; }
.home-device-card:not(.home-device-desktop) { right: 5%; bottom: 46px; width: min(152px, 18.4%); z-index: 2; }
.home-device-card figcaption { display: none; }

.home-highlights { padding: 70px 0 76px; background: var(--surface); }
.home-highlights-heading { margin-bottom: 24px; text-align: center; }
.home-highlights-heading h2 { margin: 10px 0 0; font-size: clamp(27px, 3vw, 38px); line-height: 1.15; letter-spacing: -.04em; }
.home-highlights-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-highlight { min-width: 0; min-height: 132px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; background: var(--sidebar); border-radius: var(--radius); }
.home-highlight strong { font-size: clamp(21px, 2vw, 28px); line-height: 1.15; letter-spacing: -.04em; }
.home-highlight span { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }

.home-platform { padding: 78px 0; background: var(--bg); }
.home-platform-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(36px, 7vw, 90px); }
.home-platform-visual { position: relative; min-width: 0; padding: 22px; background: var(--selected); border-radius: var(--radius-lg); }
.home-platform-visual img { display: block; width: 100%; height: 330px; object-fit: contain; border-radius: var(--radius); background: var(--surface); }
.home-platform-caption { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--selected-ink); font-size: 12px; font-weight: 700; }
.home-platform-copy h2 { margin: 14px 0 14px; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.05em; }
.home-platform-copy p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.home-platform-copy .btn { margin-top: 24px; }

.home-gallery { padding: 82px 0 90px; background: var(--sidebar); }
.home-gallery .section-intro { margin-bottom: 32px; }
.home-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-screen-card { min-width: 0; margin: 0; padding: 14px; border-radius: var(--radius); background: var(--surface); }
.home-screen-card img { display: block; width: 100%; height: 210px; object-fit: contain; }
.home-screen-card figcaption { display: flex; align-items: center; gap: 10px; min-height: 42px; margin-top: 10px; }
.home-screen-card figcaption span { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--selected); color: var(--selected-ink); font-size: 10px; font-weight: 750; }
.home-screen-card figcaption strong { font-size: 13px; line-height: 1.35; }

.home-pages { padding: 88px 0 96px; background: var(--bg); }
.home-pages .section-intro { margin-bottom: 32px; }
.home-pages-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-page-card { min-width: 0; min-height: 180px; padding: 22px; display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; gap: 14px; align-content: start; border: 0; border-radius: var(--radius); background: var(--sidebar); color: var(--text); text-decoration: none; transition: background-color var(--motion-ui) var(--ease), color var(--motion-ui) var(--ease); }
.home-page-card:hover { background: var(--field); }
.home-page-card:focus-visible { background: var(--focus); color: var(--focus-ink); outline: 0; }
.home-page-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--selected); color: var(--selected-ink); }
.home-page-content { min-width: 0; }
.home-page-content .overline { display: block; margin: 1px 0 9px; color: var(--selected-ink); font-size: 10px; }
.home-page-content strong { display: block; margin: 0 0 8px; font-size: 18px; line-height: 1.25; letter-spacing: -.03em; }
.home-page-content small { display: block; color: var(--muted); font-size: 13px; line-height: 1.6; }
.home-page-arrow { width: 28px; height: 28px; display: grid; place-items: center; align-self: end; border-radius: 50%; background: var(--surface); color: var(--selected-ink); transition: background var(--motion-ui) var(--ease), color var(--motion-ui) var(--ease); }
.home-page-card:hover .home-page-arrow { background: var(--accent); color: var(--on-accent); }

.home-license { padding: 0 0 88px; background: var(--bg); }
.home-license-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .7fr); align-items: center; gap: 48px; padding: clamp(30px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--selected); }
.home-license-copy h2 { max-width: 600px; margin: 14px 0 12px; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.05em; }
.home-license-copy p { max-width: 540px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.home-license-faq { display: inline-flex; align-items: center; gap: 7px; margin-top: 24px; color: var(--selected-ink); font-size: 13px; font-weight: 700; }
.home-license-faq:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-license-price { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border-radius: var(--radius); background: var(--surface); }
.home-license-price > span, .home-license-price > small { color: var(--muted); font-size: 12px; }
.home-license-price > strong { margin: 8px 0 0; font-size: clamp(38px, 4vw, 52px); line-height: 1.1; letter-spacing: -.06em; }
.home-license-price .btn { width: 100%; margin-top: 22px; }

body[data-page="inicio"] .footer { background: #191b1f; color: #f0f2f5; }
body[data-page="inicio"] .footer-intro p,
body[data-page="inicio"] .footer-main > div:not(:first-child) > a,
body[data-page="inicio"] .footer-bottom { color: #b1bac6; }
body[data-page="inicio"] .footer-main > div:not(:first-child) > a:hover { color: var(--accent); }
body[data-page="inicio"] .footer .brand img { background: #2e3239; }
body[data-page="inicio"] .footer .brand small { color: #b1bac6; }
body[data-page="inicio"] .footer .mini-pill { background: #2e3239; color: #b1bac6; }
body[data-page="inicio"] .footer-theme-switch { background: var(--accent); color: var(--on-accent); }
.footer-platform { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.footer-platform .mini-pill { margin: 0; }
.footer-theme-switch { width: 38px; height: 38px; flex: 0 0 auto; }

.screen-card img { object-fit: contain; object-position: center; padding: 10px; }
.shot-viewport img.device-mockup { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.shot-frame:hover .shot-viewport img.device-mockup { transform: none; }
.suit-device-stage { align-items: center; }
.suit-device-stage img {
  width: calc(50% - 8px);
  height: 500px;
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  object-position: center;
}
.home-device-card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.home-screen-card img,
.home-platform-visual img {
  object-fit: contain;
  object-position: center;
}
.mockup-attribution { margin: 22px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.mockup-attribution a { color: var(--selected-ink); }

@media (max-width: 960px) {
  body[data-page="inicio"] .nav { background: var(--accent); }
  .home-landing { min-height: 650px; padding-top: 130px; }
  .home-device-showcase { width: min(100%, 700px); height: 360px; margin-top: 42px; }
  .home-device-desktop { width: min(620px, calc(100% - 20px)); }
  .home-device-card:not(.home-device-desktop) { right: 7%; width: min(128px, 19.2%); }
  .suit-device-stage img { height: 440px; max-height: 440px; }
  .home-highlights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-platform-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .home-platform-visual img { height: 280px; }
  .home-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-pages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .home-landing { min-height: 0; padding: 108px 0 0; }
  .home-landing-copy h1 { font-size: clamp(38px, 11vw, 52px); }
  .home-landing-copy p { font-size: 14px; }
  .home-landing-copy .hero-actions { margin-top: 18px; }
  .home-device-showcase { width: 100%; max-width: none; height: min(250px, calc(54vw + 32px)); margin-top: 30px; }
  .home-device-desktop { width: min(430px, 100%); }
  .home-device-card:not(.home-device-desktop) { right: 6%; width: min(72px, 19.2%); }
  .suit-device-stage img { height: 360px; max-height: 360px; }
  .home-highlights, .home-platform, .home-gallery { padding: 58px 0; }
  .home-highlights-grid { gap: 10px; }
  .home-highlight { min-height: 112px; padding: 16px; }
  .home-highlight strong { font-size: 22px; }
  .home-platform-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-platform-visual { padding: 14px; }
  .home-platform-visual img { height: 230px; }
  .home-gallery-grid { gap: 10px; }
  .home-screen-card { padding: 10px; }
  .home-screen-card img { height: 160px; }
  .home-screen-card figcaption { align-items: flex-start; gap: 7px; }
  .home-screen-card figcaption strong { font-size: 11px; }
  .home-pages { padding: 64px 0; }
  .home-pages-grid { grid-template-columns: 1fr; gap: 12px; }
  .home-page-card { min-height: 150px; padding: 20px; grid-template-columns: 44px minmax(0, 1fr) 28px; gap: 13px; }
  .home-page-icon { width: 44px; height: 44px; }
  .home-page-arrow { width: 28px; height: 28px; }
  .home-license { padding-bottom: 64px; }
  .home-license-panel { grid-template-columns: 1fr; gap: 24px; padding: 26px 20px; border-radius: var(--radius); }
  .home-license-copy h2 { font-size: clamp(32px, 9vw, 42px); }
  .home-license-price { width: 100%; padding: 22px; }
}

.model-card { width: 100%; border: 0; color: var(--text); cursor: pointer; text-align: left; }
.model-card[aria-pressed="true"] { background: var(--selected); }
.firmware-results { margin-top: 38px; }
.firmware-results h3 { margin: 0 0 18px; font-size: clamp(22px, 2.5vw, 30px); letter-spacing: -.03em; }
.firmware-list { display: flex; flex-direction: column; gap: 10px; }
.firmware-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 18px; border-radius: var(--radius); background: var(--sidebar); }
.firmware-row-info strong, .firmware-row-info small { display: block; }
.firmware-row-info strong { font-size: 15px; }
.firmware-row-info small { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.firmware-signature { padding: 7px 10px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.firmware-row .btn { white-space: nowrap; }
.firmware-results .service-empty .btn { margin: 12px 0 0 8px; }

@media (max-width: 680px) {
  .firmware-row { grid-template-columns: 1fr; align-items: start; gap: 12px; }
  .firmware-row .btn { justify-content: center; }
  .firmware-signature { justify-self: start; }
}

.cookie-banner {
  position: fixed;
  z-index: 11000;
  inset: auto 12px max(8px, env(safe-area-inset-bottom)) 12px;
  width: min(720px, calc(100% - 24px));
  max-height: calc(100vh - 16px);
  overflow: auto;
  margin: 0 auto;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 10px 18px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--pressed);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgb(0 0 0 / 22%);
}
.cookie-banner-copy .overline { font-size: 9px; }
.cookie-banner-copy h2 { margin: 3px 0 4px; font-size: 17px; line-height: 1.2; }
.cookie-banner-copy p { margin: 0; max-width: 430px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.cookie-banner-actions { display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: 6px; }
.cookie-banner-actions .btn { min-height: 38px; padding: 8px 11px; font-size: 12px; white-space: nowrap; }
.cookie-storage-status { grid-column: 1 / -1; margin: 0; color: var(--warning); font-size: 12px; font-weight: 650; }
.cookie-session-continue { grid-column: 1 / -1; justify-self: end; color: var(--selected-ink); font-size: 12px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.cookie-settings-backdrop {
  position: fixed;
  z-index: 11001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--scrim);
}
.cookie-settings-dialog {
  position: relative;
  width: min(600px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  padding: 32px;
  color: var(--text);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgb(0 0 0 / 26%);
  outline: 0;
}
.cookie-settings-dialog h2 { margin: 8px 48px 8px 0; font-size: 28px; letter-spacing: -.04em; }
.cookie-settings-dialog > p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.cookie-settings-close { position: absolute; top: 20px; right: 20px; }
.cookie-category-list { display: grid; gap: 10px; margin: 22px 0; }
.cookie-category { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 15px 16px; background: var(--sidebar); border-radius: var(--radius-sm); }
.cookie-category strong, .cookie-category small { display: block; }
.cookie-category small { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.cookie-category input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.cookie-category-note { padding: 12px 14px; background: var(--field); border-radius: var(--radius-sm); }
.cookie-settings-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.cookie-settings-open { overflow: hidden; }
.cookie-banner[hidden], .cookie-settings-backdrop[hidden], .cookie-storage-status[hidden], .cookie-session-continue[hidden] { display: none !important; }
.footer-cookie-settings { display: block; padding: 6px 0; color: var(--muted); font-size: 13px; text-align: left; }
.footer-cookie-settings:hover { color: var(--selected-ink); }

@media (max-width: 680px) {
  .cookie-banner { inset-inline: 10px; width: auto; padding: 13px 14px; grid-template-columns: 1fr; gap: 9px; }
  .cookie-banner-actions { width: 100%; gap: 5px; }
  .cookie-banner-actions [data-cookie-open] { flex: .9 1 0; }
  .cookie-banner-actions [data-cookie-reject] { flex: 1.2 1 0; }
  .cookie-banner-actions [data-cookie-accept] { flex: 1 1 0; }
  .cookie-banner-actions .btn { min-width: 0; width: auto; min-height: 38px; justify-content: center; padding: 7px 4px; font-size: 10px; }
  .cookie-settings-dialog { padding: 26px 20px 20px; }
  .cookie-settings-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-settings-actions .btn { width: 100%; justify-content: center; }
}
