:root {
  --blue: #1098c8;
  --blue-deep: #08749c;
  --amber: #f6bd2a;
  --charcoal: #24201f;
  --ink: #16191c;
  --muted: #65717b;
  --paper: #ffffff;
  --mist: #f5f8fa;
  --panel: #ffffff;
  --line: #dfe7ec;
  --soft-blue: #e8f6fb;
  --soft-amber: #fff7df;
  --dark: #101315;
  --shadow: 0 22px 70px rgba(17, 30, 39, 0.12);
  --shadow-soft: 0 12px 34px rgba(17, 30, 39, 0.08);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { outline-color: var(--blue); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 68px);
  color: #fff;
  background: rgba(16, 19, 21, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  color: var(--charcoal);
  box-shadow: 0 12px 36px rgba(17, 30, 39, 0.08);
}
.brand, .admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
}
.brand img, .admin-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}
.brand span { display: grid; line-height: 1.05; }
.brand small {
  color: currentColor;
  opacity: 0.72;
  font-size: 12px;
  font-weight: 700;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--radius);
  color: currentColor;
  opacity: 0.86;
  font-weight: 750;
  font-size: 14px;
}
.site-nav a:hover {
  opacity: 1;
  background: rgba(16, 152, 200, 0.12);
}
.site-nav .nav-action {
  background: var(--blue);
  color: #fff;
  opacity: 1;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: currentColor;
  cursor: pointer;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.home-hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.8s ease, transform 7s ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 17, 19, 0.88), rgba(12, 80, 105, 0.58), rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.64));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 132px clamp(22px, 6vw, 78px) 132px;
}
.hero-proof {
  position: absolute;
  z-index: 3;
  inset: auto clamp(18px, 5vw, 68px) 28px auto;
  width: min(620px, calc(100% - 36px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}
.hero-proof article {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
}
.hero-proof article:last-child { border-right: 0; }
.hero-proof strong {
  display: block;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  color: var(--amber);
}
.hero-proof span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}
.home-hero .eyebrow, .page-hero .eyebrow, .final-cta .eyebrow { color: var(--amber); }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: 0; }
h1 { font-size: clamp(44px, 7vw, 88px); max-width: 980px; }
h2 { font-size: clamp(30px, 4vw, 54px); }
h3 { font-size: 22px; }
p { margin: 0; }
.hero-content p:not(.eyebrow), .page-hero p, .lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 21px);
  margin-top: 18px;
}
.lead { color: var(--muted); }
.hero-actions, .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.button.primary { background: var(--blue); color: #fff; }
.button.primary:hover { background: var(--blue-deep); }
.button.secondary { border-color: rgba(255, 255, 255, 0.48); color: #fff; background: rgba(255, 255, 255, 0.08); }
.button.secondary.light { color: var(--charcoal); border-color: var(--line); background: white; }
.button.ghost { border-color: var(--line); color: var(--charcoal); background: white; }
.button-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: var(--charcoal);
  font-size: 11px;
}
.text-link {
  color: var(--blue-deep);
  font-weight: 850;
  display: inline-flex;
  margin-top: 16px;
}

.section, .split-section, .final-cta, .page-wrap {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 78px);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.55fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}
.section-head h2 { max-width: 820px; }
.section-head > p { color: var(--muted); font-size: 18px; }
.section-head.compact {
  display: block;
  max-width: 780px;
}
.muted { background: var(--mist); }
.intro-band, .product-intro, .contact-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}
.intro-band > p, .product-intro > p, .contact-intro > p,
.story-grid p, .detail-content p, .split-section p,
.impact-panel p, .feature-card p, .catalog-card p, .news-card p,
.article-content p, .contact-panel p, .faq p {
  color: var(--muted);
  font-size: 17px;
}

.feature-grid, .product-grid, .news-grid, .founder-grid, .catalog-grid, .metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.compact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-card, .product-card, .news-card, .founder-card, .catalog-card, .impact-panel, .values-grid article, .contact-panel, .panel-form, .admin-panel, .login-card, .metric-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.feature-card {
  min-height: 230px;
  padding: 26px;
  display: grid;
  align-content: start;
  gap: 14px;
}
.feature-card.small {
  min-height: 132px;
  grid-template-columns: auto 1fr;
  align-items: center;
}
.feature-card.small h3 { font-size: 18px; }
.icon-badge {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue-deep);
  border: 1px solid rgba(16, 152, 200, 0.18);
  font-size: 12px;
  font-weight: 900;
}
.product-card, .news-card, .catalog-card { overflow: hidden; }
.product-card img, .news-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}
.product-card > div, .news-card > div, .catalog-body { padding: 24px; }
.product-card h3, .news-card h3, .catalog-card h2 { margin-top: 14px; }
.status-pill, .deal-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 850;
}
.deal-pill { background: var(--soft-amber); color: #8a6100; }
.card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.mini-specs, .tech-list, .value-list, .footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mini-specs { margin-top: 18px; }
.mini-specs span, .tech-list span, .value-list span, .footer-badges span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 800;
}
.price-row {
  display: grid;
  gap: 4px;
  margin-top: 18px;
}
.price-row strong { color: var(--charcoal); font-size: 24px; }
.price-row span { color: var(--muted); font-size: 14px; }

.split-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}
.split-section img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tech-story {
  background:
    linear-gradient(135deg, rgba(16, 152, 200, 0.08), transparent 45%),
    var(--paper);
}
.tech-list { margin-top: 24px; }
.achievements {
  background: var(--dark);
  color: #fff;
}
.achievements .metric-grid { margin-top: 28px; }
.metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric-grid article {
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.metric-grid strong {
  display: block;
  color: var(--amber);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}
.metric-grid span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.testimonial-shell {
  min-height: 300px;
  position: relative;
  overflow: hidden;
}
.testimonial {
  display: none;
  grid-template-columns: 170px 1fr;
  gap: 30px;
  align-items: center;
  padding: clamp(26px, 5vw, 48px);
  background:
    linear-gradient(135deg, rgba(16, 152, 200, 0.2), transparent 42%),
    var(--dark);
  color: #fff;
  border-radius: var(--radius);
}
.testimonial.is-active { display: grid; }
.testimonial img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius);
}
blockquote {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
  font-weight: 850;
}
.testimonial p { margin-top: 16px; color: rgba(255,255,255,0.76); }
.carousel-dots { display: flex; gap: 8px; margin-top: 16px; }
.carousel-dots button {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 99px;
  background: #b7c7cf;
  cursor: pointer;
}
.carousel-dots .is-active { background: var(--blue); }

.final-cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(16, 152, 200, 0.26), transparent 44%),
    var(--dark);
  color: white;
}
.final-cta h2 { max-width: 860px; }

.page-hero {
  min-height: 68vh;
  display: grid;
  align-items: end;
  padding: 140px clamp(20px, 6vw, 78px) 72px;
  color: #fff;
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 17, 19, 0.9), rgba(8, 116, 156, 0.5), rgba(0, 0, 0, 0.2)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.56));
}
.page-hero > div { position: relative; max-width: 900px; }

.story-grid, .form-split, .support-grid, .detail-content {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
}
.impact-panel, .contact-panel { padding: 32px; }
.impact-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}
.values-grid article { padding: 28px; }
.values-grid article h3 { margin-top: 16px; }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.timeline article {
  padding: 24px;
  border-top: 3px solid var(--blue);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}
.timeline strong { display: block; font-size: 20px; }
.timeline span { display: block; margin-top: 10px; color: var(--muted); }
.founder-card { overflow: hidden; }
.founder-card img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}
.founder-card > div { padding: 22px; }
.founder-card h3 { margin-top: 14px; }
.founder-card p { color: var(--muted); }

.catalog-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.pricing-boxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.pricing-boxes div {
  min-height: 122px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}
.pricing-boxes small, .pricing-boxes span {
  display: block;
  color: var(--muted);
}
.pricing-boxes strong {
  display: block;
  color: var(--charcoal);
  font-size: 28px;
  margin: 4px 0;
}

.product-detail-hero {
  padding: 118px clamp(20px, 6vw, 78px) 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(16, 152, 200, 0.1), transparent 50%),
    var(--mist);
}
.gallery-main {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.thumb-row { display: flex; gap: 10px; margin-top: 10px; }
.thumb-row img {
  width: 90px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
}
.thumb-row img:hover { border-color: var(--blue); }
.detail-summary h1 {
  color: var(--charcoal);
  margin-top: 16px;
}
.detail-summary p {
  font-size: 19px;
  color: var(--muted);
  margin-top: 16px;
}
.spec-list {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.spec-list li {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.spec-list li::before {
  content: "AG";
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue-deep);
  font-size: 10px;
  font-weight: 900;
}

.featured-news {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 38px;
  align-items: center;
}
.featured-news img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.featured-news p:not(.eyebrow), .news-card p { color: var(--muted); }
.news-card small {
  color: var(--blue-deep);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 12px;
}
.article-page { padding-top: 78px; }
.article-page > img {
  width: 100%;
  height: 54vh;
  min-height: 360px;
  object-fit: cover;
}
.article-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 20px 92px;
}
.article-body h1 { color: var(--charcoal); }
.article-body .lead { color: var(--muted); }
.article-content {
  margin: 32px 0;
  display: grid;
  gap: 18px;
}
.article-body p { font-size: 18px; }

.panel-form {
  padding: 30px;
  display: grid;
  gap: 16px;
}
.form-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 6px;
}
.form-heading h2 { font-size: clamp(24px, 3vw, 36px); }
label { display: grid; gap: 7px; font-weight: 850; }
label span { color: var(--muted); font-weight: 500; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 48px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
}
textarea { resize: vertical; }
.notice {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--soft-blue);
  color: var(--blue-deep);
  font-weight: 850;
}
.notice.error { background: #fde9e2; color: #8f2d16; }
.contact-panel {
  display: grid;
  align-content: start;
  gap: 18px;
}
.contact-cards {
  display: grid;
  gap: 12px;
}
.contact-cards a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--charcoal);
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #fff;
  font-weight: 900;
  overflow: hidden;
}
.social-links.large a { width: 46px; height: 46px; }
.social-links img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.download-list { display: grid; gap: 12px; margin-top: 18px; }
.download-list a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.spaced { margin-top: 34px; }
.faq { margin-top: 14px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px 18px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 850; }

.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.78);
  padding: 58px clamp(20px, 6vw, 78px) 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 30px;
}
.footer-logo {
  width: 78px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #fff;
}
.site-footer h3 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 12px;
}
.site-footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255,255,255,0.82);
}
.footer-badges { margin-top: 18px; }
.footer-badges span {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.14);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 13px;
}
.centered {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(16, 152, 200, 0.28), transparent 45%),
    var(--dark);
}
.login-card {
  width: min(430px, 100%);
  padding: 32px;
}
.login-card img {
  width: 86px;
  margin-bottom: 12px;
}
.admin-body { background: var(--mist); }
.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 270px;
  padding: 22px;
  background: var(--dark);
  color: white;
  overflow: auto;
}
.admin-sidebar nav {
  display: grid;
  gap: 6px;
  margin: 28px 0;
}
.admin-sidebar a, .admin-sidebar button {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.86);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 750;
}
.admin-sidebar a:hover, .admin-sidebar button:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}
.admin-main {
  margin-left: 270px;
  padding: 28px;
}
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.admin-topbar h1 {
  font-size: 34px;
  color: var(--charcoal);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.stat-grid article {
  padding: 22px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
}
.stat-grid span {
  display: block;
  color: var(--muted);
  font-weight: 750;
}
.stat-grid strong {
  display: block;
  font-size: 40px;
  color: var(--blue-deep);
}
.admin-panel { padding: 22px; margin-bottom: 22px; }
.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.panel-title h2 {
  font-size: 24px;
  color: var(--charcoal);
}
.table-wrap { overflow: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
th, td {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.actions a, .actions button, .row-editor button, .ticket-list button, .inline-form button {
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  min-height: 36px;
  padding: 0 12px;
  cursor: pointer;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.wide { grid-column: 1 / -1; }
.check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 750;
}
.check input { width: 18px; min-height: 18px; }
.admin-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}
.thumb-admin {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.thumb-admin img {
  width: 150px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius);
}
.inline-form, .row-editor {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.inline-form textarea, .row-editor textarea { grid-column: 1 / -1; }
.ticket-list { display: grid; gap: 14px; }
.ticket-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.ticket-list form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.activity-list { display: grid; gap: 12px; }
.activity-list div {
  padding: 14px;
  background: var(--mist);
  border-radius: var(--radius);
  display: grid;
  gap: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1080px) {
  .feature-grid, .compact-grid, .metric-grid, .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-grid, .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute;
    inset: 78px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(16, 19, 21, 0.98);
    color: #fff;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .section-head, .intro-band, .product-intro, .contact-intro,
  .catalog-grid, .story-grid, .form-split, .support-grid, .detail-content,
  .product-detail-hero, .split-section, .footer-grid, .featured-news {
    grid-template-columns: 1fr;
  }
  .hero-proof {
    inset: auto 18px 18px;
  }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-sidebar { position: static; width: auto; }
  .admin-main { margin-left: 0; }
  .final-cta { display: grid; }
}

@media (max-width: 640px) {
  .site-header { height: 68px; padding-inline: 14px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 11px; }
  .brand img { width: 40px; height: 40px; }
  .site-nav { inset: 68px 14px auto; }
  .home-hero { min-height: 96vh; align-items: start; }
  .hero-content { padding: 112px 18px 72px; }
  .hero-proof {
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
  }
  .hero-proof article {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.16);
    padding: 14px 16px;
  }
  .hero-proof article:last-child { border-bottom: 0; }
  h1 { font-size: 42px; }
  h2 { font-size: 30px; }
  .section, .split-section, .final-cta { padding: 58px 18px; }
  .page-hero {
    min-height: 62vh;
    padding: 112px 18px 44px;
  }
  .feature-grid, .compact-grid, .product-grid, .news-grid, .founder-grid,
  .pricing-boxes, .values-grid, .testimonial.is-active, .form-grid,
  .inline-form, .row-editor, .stat-grid, .metric-grid, .timeline {
    grid-template-columns: 1fr;
  }
  .product-card img, .news-card img, .catalog-card img, .split-section img,
  .gallery-main, .featured-news img {
    height: 300px;
  }
  .testimonial img {
    width: 120px;
    height: 120px;
  }
  .admin-main { padding: 16px; }
  .footer-bottom { display: grid; }
}
