:root {
  color-scheme: light;
  --navy: #05032f;
  --navy-soft: #171544;
  --orange: #ff4b18;
  --ink: #383838;
  --muted: #f3f3f3;
  --line: #d4d4d4;
  --white: #fff;
  --max: 1200px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 16px/1.6 Inter, "Segoe UI", Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--orange); }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 20; padding: .75rem 1rem; background: var(--white); color: var(--navy); }
.skip-link:focus { top: 1rem; }
.wrap { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 5; color: var(--white); background: linear-gradient(180deg, rgb(4 3 20 / 72%), rgb(4 3 20 / 46%)); }
.header-top { min-height: 38px; display: flex; align-items: center; justify-content: flex-end; border-bottom: 1px solid rgb(255 255 255 / 12%); font-size: .82rem; }
.header-top a { color: rgb(255 255 255 / 88%); text-decoration: none; }
.header-top a:hover, .header-contact a:hover { color: var(--orange); }
.header-main { min-height: 112px; display: grid; grid-template-columns: 190px minmax(0, 1fr) 260px; align-items: center; gap: 1.6rem; }
.brand { display: inline-grid; justify-items: start; gap: .3rem; width: fit-content; text-decoration: none; }
.brand img { width: 150px; height: 64px; object-fit: contain; object-position: left center; }
.brand small { max-width: 160px; color: rgb(255 255 255 / 85%); font-size: .7rem; line-height: 1.2; }
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 2.5vw, 2.4rem); }
.nav a { position: relative; padding: .9rem 0; color: var(--white); font-size: .94rem; font-weight: 650; text-decoration: none; }
.nav a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--orange); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-contact { display: grid; gap: .05rem; padding-left: 1.2rem; border-left: 1px solid rgb(255 255 255 / 20%); line-height: 1.2; }
.header-contact small { color: rgb(255 255 255 / 80%); }
.header-contact a { color: var(--white); font-size: 1.14rem; font-weight: 750; text-decoration: none; }
.header-contact .whatsapp { color: var(--orange); font-size: .84rem; }
.menu-toggle { display: none; border: 1px solid rgb(255 255 255 / 55%); padding: .55rem .8rem; background: transparent; color: var(--white); cursor: pointer; }

.page-banner { min-height: 405px; display: flex; justify-content: center; align-items: flex-end; padding: 0 1rem; background: linear-gradient(180deg, rgb(3 3 14 / 42%), rgb(3 3 14 / 48%)), url("/assets/images/brand/circuit-board.webp") center 48% / cover no-repeat; }
.page-heading { position: relative; width: min(325px, 100%); padding: 1.7rem 1.5rem 1.45rem; transform: translateY(74px); border-radius: 11px; background: var(--white); box-shadow: 0 3px 12px rgb(0 0 0 / 18%); color: var(--navy); text-align: center; }
.page-heading h1 { margin: 0; font-size: clamp(2rem, 4vw, 2.55rem); line-height: 1.14; letter-spacing: -.035em; }
.page-heading::after { display: block; width: 100px; height: 4px; margin: 1rem auto .9rem; border-radius: 2px; background: var(--orange); content: ""; }
.breadcrumbs { margin: 0; color: #4a4a4a; font-size: .95rem; }
.breadcrumbs a { color: var(--navy); text-decoration: none; }
.content-section { padding: 9rem 0 5.5rem; }
.content-section.compact { padding-top: 8rem; }
.lead { max-width: 760px; margin: 0 auto 2.6rem; color: #555; font-size: 1.1rem; text-align: center; }
.section-title { margin: 0 0 1.25rem; color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.2; text-align: center; }
.section-intro { max-width: 780px; margin: 0 auto 2.25rem; text-align: center; }
.section-intro p { margin: .5rem auto; }

.home-intro { padding: 9rem 0 4.5rem; text-align: center; }
.home-logo { width: min(400px, 78vw); margin: 0 auto 1.3rem; }
.home-intro h1 { max-width: 850px; margin: 0 auto 1rem; color: var(--navy); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.18; }
.home-intro p { max-width: 740px; margin: 0 auto 1.5rem; font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; margin-top: 1.8rem; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: .7rem 1.2rem; border: 1px solid var(--orange); border-radius: 3px; background: var(--orange); color: var(--white); font-weight: 700; text-decoration: none; transition: background .15s ease, color .15s ease; }
.button:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.button-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.button-secondary:hover { background: var(--navy); color: var(--white); }
.section { padding: 4.5rem 0; }
.section-muted { background: var(--muted); }
.experience-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.experience-layout img { width: 100%; min-height: 300px; object-fit: cover; }
.experience-copy h2 { margin: 0 0 1rem; color: var(--navy); font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.2; }
.experience-copy blockquote { margin: 1.5rem 0; padding: .2rem 0 .2rem 1rem; border-left: 3px solid var(--orange); font-weight: 650; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.fact { padding: 1rem; border-top: 2px solid var(--orange); background: var(--white); }
.fact strong { display: block; color: var(--navy); }
.offer-table { width: 100%; border-collapse: collapse; background: var(--white); }
.offer-table th, .offer-table td { padding: 1rem 1.2rem; border: 1px solid #dedede; text-align: left; vertical-align: top; }
.offer-table th { background: var(--navy); color: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.why-card { padding: 1.7rem 1.2rem; border-radius: 10px; background: var(--muted); color: var(--navy); font-weight: 750; }
.cta-band { display: grid; justify-items: center; gap: .8rem; padding: 2.6rem 1.5rem; background: var(--navy); color: var(--white); text-align: center; }
.cta-band h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cta-band p { max-width: 720px; margin: 0; color: #e2e2ed; }

.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; }
.product-card { min-width: 0; min-height: 465px; display: flex; flex-direction: column; padding: 1.2rem; border-radius: 24px; background: #f4f4f4; }
.product-image { width: 100%; height: 205px; flex: 0 0 auto; object-fit: contain; }
.product-card h2 { margin: .3rem 0 .65rem; padding-top: .65rem; border-top: 2px solid #d0d0d0; color: #3b3b3b; font-size: 1.24rem; line-height: 1.28; text-align: center; }
.product-card p { margin: 0; color: #454545; line-height: 1.48; }
.product-card .video-link { display: inline-flex; margin-bottom: .35rem; color: var(--orange); font-weight: 700; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .55rem; margin-top: 2.8rem; }
.pagination a, .pagination span { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 4px; background: var(--white); color: var(--navy); font-weight: 700; text-decoration: none; }
.pagination a:hover, .pagination [aria-current="page"] { border-color: var(--orange); background: var(--orange); color: var(--white); }
.pagination .page-direction { min-width: auto; }

.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 2rem; align-items: start; }
.contact-card, .contact-form-card { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 10px; background: var(--muted); }
.contact-card h2, .contact-form-card h2 { margin: 0 0 1rem; color: var(--navy); font-size: 1.55rem; }
.contact-list { display: grid; gap: 1.1rem; margin: 0; }
.contact-list div { padding-bottom: 1rem; border-bottom: 1px solid #d7d7d7; }
.contact-list dt { color: #626262; font-size: .82rem; font-weight: 700; text-transform: uppercase; }
.contact-list dd { margin: .2rem 0 0; color: var(--navy); font-size: 1.05rem; font-weight: 650; }
.contact-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { color: var(--navy); font-size: .92rem; font-weight: 700; }
.field input, .field textarea { width: 100%; padding: .8rem .85rem; border: 1px solid #bcbcbc; border-radius: 4px; background: var(--white); color: var(--ink); }
.field textarea { min-height: 125px; resize: vertical; }
.form-status { min-height: 1.5em; margin: 0; color: var(--navy); font-weight: 650; }
.download-note { padding: .85rem 1rem; border-left: 3px solid var(--orange); background: #fff; color: #555; }
.download-login { max-width: 500px; display: grid; gap: 1rem; margin: 0 auto; }
.app-list { max-width: 760px; margin: 2rem auto 0; }
.app-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.app-row h3 { margin: 0 0 .25rem; color: var(--navy); font-size: 1rem; }
.app-row p { margin: 0; color: #555; font-size: .88rem; }
.site-footer { padding: 1.7rem 0; background: var(--navy); color: var(--white); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
.footer-links a { color: var(--white); font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: var(--orange); }

@media (max-width: 900px) {
  .header-main { grid-template-columns: 150px 1fr; gap: 1rem; }
  .header-contact { display: none; }
  .nav { gap: 1.2rem; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .wrap { width: min(calc(100% - 2rem), var(--max)); }
  .header-top { min-height: 32px; font-size: .72rem; }
  .header-main { min-height: 86px; display: grid; grid-template-columns: 1fr auto; }
  .brand img { width: 126px; height: 54px; }
  .brand small { max-width: 135px; font-size: .63rem; }
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 118px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1rem 1rem; background: var(--navy); }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem .25rem; }
  .nav a::after { display: none; }
  .page-banner { min-height: 340px; }
  .page-heading { transform: translateY(56px); padding: 1.35rem 1rem 1.1rem; }
  .page-heading h1 { font-size: 2rem; }
  .content-section { padding: 7.5rem 0 3.7rem; }
  .content-section.compact { padding-top: 7rem; }
  .home-intro { padding: 7.5rem 0 3rem; }
  .section { padding: 3.2rem 0; }
  .experience-layout, .contact-grid { grid-template-columns: 1fr; }
  .experience-layout img { min-height: 230px; }
  .facts, .why-grid { grid-template-columns: 1fr; }
  .offer-table th, .offer-table td { padding: .75rem; }
  .catalog-grid { grid-template-columns: 1fr; gap: 1rem; }
  .product-card { min-height: 0; padding: 1rem; border-radius: 16px; }
  .product-image { height: 210px; }
  .product-card h2 { font-size: 1.2rem; }
  .app-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
