/* ============ Components ============ */

/* — Buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 6px 18px rgba(242,163,60,.35); }
.btn-primary:hover { background: var(--orange-600); box-shadow: 0 10px 24px rgba(242,163,60,.45); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { background: rgba(31,33,38,.05); }
.on-dark .btn-outline { border-color: var(--on-dark-line); color: var(--on-dark); }
.on-dark .btn-outline:hover { background: rgba(255,255,255,.08); }
.btn-ghost { padding: 8px 4px; color: var(--orange-700); border-radius: var(--r-sm); }
.btn-ghost:hover { transform: translateX(3px); }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* — Tags — */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  padding: 5px 14px; border-radius: var(--r-pill);
}
.tag-orange { background: var(--orange-soft); color: var(--orange-700); }
.tag-red { background: var(--red-soft); color: var(--red-700); }
.tag-outline { border: 1px solid var(--line); color: var(--muted); }
.on-dark .tag-outline { border-color: var(--on-dark-line); color: var(--on-dark-muted); }

/* — Header / nav — */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(31,33,38,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--on-dark-line);
}
.nav { display: flex; align-items: center; gap: var(--s-4); padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.brand img { height: 54px; width: auto; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--on-dark); letter-spacing: .02em; }
.brand-sub { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; text-decoration: none;
  color: var(--on-dark-muted); transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--on-dark); }
.nav-links a[aria-current="page"] { color: var(--orange); }
.nav-cta { flex: none; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: 0; padding: 10px; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--on-dark); transition: transform .25s var(--ease), opacity .25s; }
@media (max-width: 1060px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--on-dark-line);
    padding: var(--s-2) var(--s-3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
}

/* — Hero (dark) — */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
}
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(100deg, rgba(31,33,38,.94) 0%, rgba(31,33,38,.88) 45%, rgba(31,33,38,.72) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 420px at 82% 18%, rgba(242,163,60,.22), transparent 65%),
    radial-gradient(520px 400px at 8% 92%, rgba(201,86,74,.16), transparent 65%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 100%);
}
.hero > .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange); border: 1px solid rgba(242,163,60,.4);
  padding: 6px 16px; border-radius: var(--r-pill); margin-bottom: var(--s-3);
}
.hero-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero h1 { color: #fff; }
.hero .lead { color: var(--on-dark-muted); }
.hero-title-accent { color: var(--orange); }

/* — Mock dashboard (hero visual) — */
.mock {
  background: var(--ink-2); border: 1px solid var(--on-dark-line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--on-dark-line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.mock-bar i:first-child { background: var(--red); }
.mock-bar i:nth-child(2) { background: var(--orange); }
.mock-body { padding: 20px; display: grid; gap: 14px; }
.mock-row { display: flex; align-items: center; gap: 12px; }
.mock-label { font-size: 12px; color: var(--on-dark-muted); width: 96px; flex: none; }
.mock-track { flex: 1; height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.mock-fill { height: 100%; border-radius: 99px; background: var(--orange); }
.mock-fill.red { background: var(--red); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 6px; }
.mock-kpi { background: rgba(255,255,255,.05); border: 1px solid var(--on-dark-line); border-radius: var(--r-md); padding: 12px; }
.mock-kpi b { display: block; font-family: var(--font-heading); font-size: 18px; color: #fff; }
.mock-kpi span { font-size: 11px; color: var(--on-dark-muted); }

/* — Phone mock (hero visual) — */
.phone-mock {
  position: relative; width: 296px; max-width: 100%; margin-inline: auto;
  background: linear-gradient(155deg, var(--ink-3), var(--ink-2) 65%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 46px; padding: 16px; box-shadow: var(--shadow-lg);
}
.phone-mock::before {
  content: ""; position: absolute; right: -2px; top: 130px;
  width: 3px; height: 64px; background: var(--ink-3); border-radius: 2px 0 0 2px;
}
.phone-mock::after {
  content: ""; position: absolute; left: -2px; top: 96px;
  width: 3px; height: 36px; background: var(--ink-3); border-radius: 0 2px 2px 0;
  box-shadow: 0 52px 0 var(--ink-3);
}
.phone-notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 22px; background: var(--ink); border-radius: 12px; z-index: 2;
}
.phone-screen {
  position: relative; background: var(--paper); border-radius: 32px;
  overflow: hidden; display: flex; flex-direction: column; min-height: 540px;
}
.phone-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(165deg, rgba(255,255,255,.5), transparent 30%);
  opacity: .5;
}
.phone-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 2px; font-family: var(--font-heading); font-weight: 700;
  font-size: 12.5px; color: var(--ink); position: relative; z-index: 1;
}
.phone-statusbar-icons { font-size: 10px; letter-spacing: 1.5px; color: var(--muted-2); }
.phone-appbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 22px 2px; position: relative; z-index: 1;
}
.phone-appbar-title { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--ink); }
.phone-appbar-badge {
  font-size: 10.5px; font-weight: 700; color: var(--orange-700);
  background: var(--orange-soft); padding: 4px 10px; border-radius: var(--r-pill);
}
.phone-search {
  margin: 12px 22px 4px; padding: 10px 14px; background: var(--bg-soft);
  border-radius: var(--r-md); font-size: 12.5px; color: var(--muted-2);
  display: flex; align-items: center; gap: 8px; position: relative; z-index: 1;
}
.phone-products {
  padding: 10px 16px 4px; display: flex; flex-direction: column; gap: 9px;
  position: relative; z-index: 1; flex: 1;
}
.phone-product {
  display: flex; align-items: center; gap: 12px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 9px 10px;
}
.phone-product-thumb { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.phone-product-thumb.thumb-a { background: linear-gradient(140deg, var(--orange), var(--orange-600)); }
.phone-product-thumb.thumb-b { background: linear-gradient(140deg, var(--red), var(--red-700)); }
.phone-product-thumb.thumb-c { background: linear-gradient(140deg, #f6c667, var(--orange)); }
.phone-product-thumb.thumb-d { background: linear-gradient(140deg, #9aa0ab, #5b5f68); }
.phone-product-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.phone-product-name {
  font-size: 13px; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.phone-product-price { font-size: 11.5px; color: var(--muted); }
.phone-stock-tag {
  font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); flex: none;
}
.phone-stock-tag.ok { background: var(--orange-soft); color: var(--orange-700); }
.phone-stock-tag.low { background: var(--red-soft); color: var(--red-700); }
.phone-navbar {
  margin-top: auto; display: flex; justify-content: space-around; align-items: center;
  padding: 12px 10px; border-top: 1px solid var(--line); font-size: 17px;
  color: var(--muted-2); position: relative; z-index: 1;
}
.phone-navbar span.active { color: var(--orange-700); }
.phone-home-indicator {
  width: 108px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.25);
  margin: 12px auto 0;
}

/* — Cards — */
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-4);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(242,163,60,.5); }
.card-title { font-family: var(--font-heading); font-weight: 700; font-size: 19px; margin: 0 0 8px; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 46px; height: 46px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: var(--s-2);
  background: var(--orange-soft); color: var(--orange-700);
  font-family: var(--font-heading); font-weight: 700; font-size: 18px;
}
.card-icon.red { background: var(--red-soft); color: var(--red-700); }
a.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }

/* — Product card — */
.product-card { display: flex; flex-direction: column; }
.product-card .tag { align-self: flex-start; margin-bottom: 14px; }
.product-card ul { margin: 0 0 18px; padding-left: 18px; font-size: 14px; color: var(--muted); }
.product-card ul li { margin-bottom: 5px; }
.product-card .btn-ghost { align-self: flex-start; margin-top: auto; }

/* — Process steps — */
.step { position: relative; padding-top: var(--s-2); }
.step-num {
  font-family: var(--font-heading); font-weight: 700; font-size: 40px;
  color: transparent; -webkit-text-stroke: 1.4px var(--orange);
  line-height: 1; margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; font-size: 18px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* — Dark band — */
.band-dark {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
}
.band-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 360px at 88% 10%, rgba(242,163,60,.16), transparent 60%);
}
.band-dark > .container { position: relative; z-index: 1; }
.band-dark h2 { color: #fff; }

/* — Testimonials — */
.t-card blockquote { margin: 0 0 18px; font-size: 16.5px; line-height: 1.6; font-style: italic; }
.t-card blockquote::before { content: "“"; display: block; font-family: var(--font-heading); font-size: 44px; line-height: 1; color: var(--orange); margin-bottom: 6px; }
.t-card figcaption { font-size: 13.5px; color: var(--muted); }
.t-card { margin: 0; }

/* — Benefit list — */
.benefit { display: flex; gap: 12px; align-items: flex-start; }
.benefit .plus {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 2px;
  background: var(--orange-soft); color: var(--orange-700); font-weight: 700; font-size: 15px;
}
.benefit p { margin: 0; font-size: 15px; color: var(--ink); }

/* — Steps list (product pages) — */
.steplist { display: flex; flex-direction: column; }
.steplist-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.steplist-item:last-child { border-bottom: 0; }
.steplist-num {
  flex: none; font-family: var(--font-heading); font-weight: 700; font-size: 20px;
  color: var(--orange-600); width: 40px; padding-top: 2px;
}
.steplist-item h3 { margin: 0 0 4px; font-size: 16px; }
.steplist-item p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* — Photo components (real photography, not mockups) — */
.split-photo {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.page-photo { margin: 0 0 var(--s-3); }
.page-photo figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.page-photo img { width: 100%; height: auto; max-height: 460px; object-fit: cover; display: block; }
.page-photo figcaption { font-size: 13px; color: var(--muted-2); margin-top: 10px; }

.photo-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.photo-grid-2 figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; }
.photo-grid-2 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-grid-2 figcaption { font-size: 13px; color: var(--muted-2); margin-top: 10px; }
@media (max-width: 680px) { .photo-grid-2 { grid-template-columns: 1fr; } }

/* — Map card (contact page) — */
.map-card {
  display: grid; grid-template-columns: 300px 1fr;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden;
}
.map-card-info { padding: var(--s-5); display: flex; flex-direction: column; justify-content: center; }
.map-embed { position: relative; min-height: 320px; background: var(--bg-soft); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 800px) {
  .map-card { grid-template-columns: 1fr; }
  .map-card-info { padding: var(--s-4); }
  .map-embed { min-height: 260px; }
}

/* — Breadcrumbs — */
.breadcrumbs { font-size: 13px; color: var(--muted-2); margin-bottom: 16px; }
.breadcrumbs a { color: var(--muted-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange-700); text-decoration: underline; }
.breadcrumbs .sep { margin: 0 6px; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* — Screenshot placeholder — */
.shot {
  border: 1.5px dashed rgba(31,33,38,.25); border-radius: var(--r-lg);
  aspect-ratio: 16 / 9; display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(31,33,38,.025) 14px 28px);
  color: var(--muted-2); font-size: 14px; text-align: center; padding: var(--s-3);
}

/* — FAQ — */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; padding: 20px 0;
  font-family: var(--font-heading); font-weight: 600; font-size: 17px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line);
  color: var(--orange-700); font-size: 18px; transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 15px; margin: 0 0 20px; max-width: 66ch; }

/* — Forms — */
.field { margin-bottom: var(--s-2); }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.input {
  width: 100%; min-height: 46px; padding: 11px 15px; font: inherit; font-size: 15px;
  color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input:hover { border-color: rgba(31,33,38,.3); }
.input:focus { border-color: var(--orange-600); box-shadow: 0 0 0 3px rgba(242,163,60,.2); }
textarea.input { min-height: 120px; resize: vertical; }
.form-success {
  display: none; background: var(--orange-soft); border: 1px solid rgba(242,163,60,.5);
  border-radius: var(--r-md); padding: var(--s-3); margin-top: var(--s-2);
}
.form-success.visible { display: block; }

/* — Contact info — */
.info-block { margin-bottom: var(--s-3); }
.info-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.info-block a { color: var(--ink); text-decoration: none; font-size: 16px; }
.info-block a:hover { color: var(--orange-700); }

/* — Footer — */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: var(--s-8) 0 var(--s-4); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: var(--s-5); margin-bottom: var(--s-6); }
.footer-brand img { height: 60px; border-radius: 8px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 32ch; }
.footer-col h5 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--on-dark-muted); text-decoration: none; font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: var(--orange); }
.footer-col p { font-size: 14px; margin: 0 0 8px; }
.footer-bottom {
  border-top: 1px solid var(--on-dark-line); padding-top: var(--s-3);
  display: flex; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap;
  font-size: 13px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* — Page hero (light, interior pages) — */
.page-hero { padding: var(--s-10) 0 var(--s-6); }
.page-hero .lead { margin-bottom: 0; }

/* — CTA section — */
.cta-final { text-align: center; }
.cta-final .btn { margin-top: var(--s-2); }
