/* Hitak Vision – shared page design system (scoped to .hv-page) */
.hv-page {
  --hv-blue: #0758c9;
  --hv-blue-2: #0879dc;
  --hv-blue-3: #063f91;
  --hv-blue-4: #0a4f9d;
  --hv-ink: #17243a;
  --hv-ink-2: #243146;
  --hv-muted: #5f6c80;
  --hv-line: #e5ebf2;
  --hv-soft: #f6f9fc;
  --hv-white: #ffffff;
  --hv-radius: 18px;
  --hv-shadow: 0 18px 45px -28px rgba(23, 36, 58, .35);
  color: var(--hv-ink);
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

.hv-page *,
.hv-page *::before,
.hv-page *::after { box-sizing: border-box; }

.hv-page h1,
.hv-page h2,
.hv-page h3,
.hv-page h4 {
  color: var(--hv-ink);
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.hv-page h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.025em; margin: 0 0 14px; }
.hv-page h2 { font-size: clamp(24px, 2.6vw, 33px); letter-spacing: -.02em; margin: 0 0 12px; }
.hv-page h3 { font-size: 19px; margin: 0 0 8px; }
.hv-page h4 { font-size: 16px; margin: 0 0 8px; }
.hv-page p { margin: 0 0 16px; }
.hv-page p:last-child { margin-bottom: 0; }
.hv-page a { color: var(--hv-blue); text-decoration: none; }
.hv-page a:hover { color: var(--hv-blue-3); }
.hv-page ul,
.hv-page ol { margin: 0 0 16px; padding-left: 20px; }
.hv-page li { margin-bottom: 6px; }
.hv-page img { max-width: 100%; height: auto; }
.hv-page strong { color: var(--hv-ink); }

/* Hero ------------------------------------------------------------------ */
.hv-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 60px);
  margin: 6px 0 34px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(8, 121, 220, .85), transparent 65%),
    linear-gradient(118deg, #063f91 0%, #0758c9 58%, #0a6fd6 100%);
  box-shadow: 0 30px 70px -38px rgba(6, 63, 145, .7);
}

.hv-hero::before,
.hv-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  pointer-events: none;
}
.hv-hero::before { width: 460px; height: 460px; right: -130px; top: -190px; }
.hv-hero::after { width: 300px; height: 300px; right: 40px; bottom: -210px; }

.hv-hero-inner { position: relative; z-index: 1; max-width: 780px; }
.hv-hero h1 { color: #fff; margin: 10px 0 16px; }
.hv-hero p { color: #e5f1ff; font-size: 17px; max-width: 700px; margin-bottom: 0; }
.hv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #bfe0ff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hv-eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: #7fc2ff;
  border-radius: 2px;
}

.hv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #fff;
  color: var(--hv-blue-3);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.hv-btn:hover { transform: translateY(-2px); color: var(--hv-blue-3); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .45); }
.hv-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.hv-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.hv-btn--outline { background: transparent; border-color: var(--hv-line); color: var(--hv-blue); }
.hv-btn--outline:hover { border-color: var(--hv-blue); background: #f2f8ff; color: var(--hv-blue-3); }
.hv-btn--dark { background: var(--hv-blue); color: #fff; }
.hv-btn--dark:hover { background: var(--hv-blue-3); color: #fff; }

.hv-hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hv-hero-stat strong { display: block; color: #fff; font-size: 26px; line-height: 1.1; }
.hv-hero-stat span { display: block; margin-top: 5px; color: #cfe6ff; font-size: 12.5px; line-height: 1.45; }

/* Sections -------------------------------------------------------------- */
.hv-section { margin: 0 0 44px; }
.hv-section--tight { margin-bottom: 28px; }
.hv-section-head { max-width: 760px; margin: 0 0 24px; }
.hv-section-head p { color: var(--hv-muted); margin-bottom: 0; }
.hv-kicker {
  display: block;
  margin: 0 0 8px;
  color: var(--hv-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hv-center { text-align: center; }
.hv-center .hv-section-head { margin-left: auto; margin-right: auto; }

.hv-grid { display: grid; gap: 18px; }
.hv-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hv-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hv-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hv-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.hv-card {
  position: relative;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--hv-line);
  border-radius: var(--hv-radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(23, 36, 58, .03);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hv-card:hover { transform: translateY(-3px); border-color: #cfe0f5; box-shadow: var(--hv-shadow); }
.hv-card p { color: var(--hv-muted); margin-bottom: 0; font-size: 14.5px; }
.hv-card--soft { background: var(--hv-soft); }
.hv-card--accent { border-top: 3px solid var(--hv-blue); }
.hv-card--link { display: block; color: inherit; }
.hv-card--link:hover { color: inherit; }

.hv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: #eaf3ff;
  color: var(--hv-blue);
  font-size: 21px;
  line-height: 1;
}
.hv-icon--green { background: #e8f7f0; color: #0a7a52; }
.hv-icon--amber { background: #fff4e5; color: #b26100; }
.hv-icon--violet { background: #f0ecff; color: #5a3fb8; }

.hv-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--hv-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.hv-list { list-style: none; padding: 0; margin: 0; }
.hv-list li { position: relative; padding-left: 24px; margin-bottom: 9px; color: var(--hv-ink-2); font-size: 14.5px; }
.hv-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .56em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hv-blue-2);
}
.hv-list--check li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  top: .15em;
  border-radius: 50%;
  background: #e8f7f0;
  color: #0a7a52;
  font-size: 10px;
  font-weight: 700;
}

/* Split media ----------------------------------------------------------- */
.hv-split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(24px, 4vw, 46px); align-items: center; }
.hv-split--reverse .hv-split-media { order: 2; }
.hv-media { position: relative; }
.hv-media img { display: block; width: 100%; border-radius: var(--hv-radius); box-shadow: var(--hv-shadow); }
.hv-media--offset::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: var(--hv-radius);
  background: linear-gradient(135deg, #e8f2ff, #f4f9ff);
  z-index: -1;
}
.hv-media-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hv-media-stack img { border-radius: 14px; }
.hv-media-stack img:first-child { grid-row: span 2; height: 100%; object-fit: cover; }

.hv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hv-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--hv-line);
  border-radius: 999px;
  background: #fff;
  color: var(--hv-ink-2);
  font-size: 12.5px;
  font-weight: 600;
}

/* Stats ----------------------------------------------------------------- */
.hv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hv-stat {
  padding: 22px;
  border: 1px solid var(--hv-line);
  border-radius: 15px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  text-align: center;
}
.hv-stat strong { display: block; color: var(--hv-blue); font-size: 28px; line-height: 1.1; }
.hv-stat span { display: block; margin-top: 6px; color: var(--hv-muted); font-size: 13px; line-height: 1.45; }

/* Tables ---------------------------------------------------------------- */
.hv-table-wrap { overflow-x: auto; border: 1px solid var(--hv-line); border-radius: 14px; background: #fff; }
.hv-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.hv-table th,
.hv-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hv-line); }
.hv-table th { background: #f2f7ff; color: var(--hv-ink); font-size: 12.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.hv-table tr:last-child td { border-bottom: none; }
.hv-table td:first-child { font-weight: 600; }
.hv-table--plain th { background: #fff; }

/* Steps ----------------------------------------------------------------- */
.hv-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: hv-step; }
.hv-step {
  position: relative;
  padding: 22px;
  border: 1px solid var(--hv-line);
  border-radius: 15px;
  background: #fff;
}
.hv-step::after {
  counter-increment: hv-step;
  content: counter(hv-step, decimal-leading-zero);
  position: absolute;
  top: 16px;
  right: 18px;
  color: #c9ddf7;
  font-size: 20px;
  font-weight: 700;
}
.hv-step h3 { padding-right: 34px; font-size: 16px; }
.hv-step p { margin: 0; color: var(--hv-muted); font-size: 14px; }
.hv-steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Packages -------------------------------------------------------------- */
.hv-package {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px;
  border: 1px solid var(--hv-line);
  border-radius: 18px;
  background: #fff;
}
.hv-package--featured { border-color: #b9d6fb; background: linear-gradient(180deg, #f5faff, #fff); box-shadow: var(--hv-shadow); }
.hv-package-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #eaf3ff;
  color: var(--hv-blue);
  font-size: 14px;
  font-weight: 700;
}
.hv-package h3 { font-size: 20px; }
.hv-package .hv-package-for { color: var(--hv-blue); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hv-package .hv-package-body { flex: 1; }
.hv-package h4 { margin-top: 18px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--hv-muted); }
.hv-package .hv-package-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hv-line); }

/* Certificates ---------------------------------------------------------- */
.hv-cert-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hv-cert {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--hv-line);
  border-radius: 14px;
  background: #fff;
  text-align: center;
}
.hv-cert img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; border-radius: 9px; background: #f4f7fb; }
.hv-cert strong { color: var(--hv-ink); font-size: 13px; line-height: 1.35; }
.hv-cert span { color: var(--hv-muted); font-size: 11.5px; line-height: 1.35; }

/* Quote / CTA ----------------------------------------------------------- */
.hv-quote {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 22px;
  background: linear-gradient(120deg, #f2f8ff 0%, #e9f3ff 100%);
  border: 1px solid #d8e8fc;
}
.hv-quote blockquote { margin: 0 0 10px; padding: 0; border: 0; background: none; color: var(--hv-blue-3); font-size: clamp(21px, 2.4vw, 28px); font-weight: 700; line-height: 1.3; }
.hv-quote p { color: var(--hv-muted); margin: 0; }

.hv-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(26px, 4vw, 40px);
  border-radius: 22px;
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(8, 121, 220, .8), transparent 70%),
    linear-gradient(115deg, #063f91, #0758c9);
  color: #fff;
}
.hv-cta h2 { color: #fff; margin: 0 0 8px; }
.hv-cta p { color: #d9ebff; margin: 0; }
.hv-cta .hv-actions { margin-top: 0; flex-shrink: 0; }

/* FAQ ------------------------------------------------------------------- */
.hv-faq details {
  margin-bottom: 10px;
  padding: 16px 18px;
  border: 1px solid var(--hv-line);
  border-radius: 13px;
  background: #fff;
}
.hv-faq details[open] { border-color: #c6ddf8; box-shadow: 0 10px 30px -24px rgba(23, 36, 58, .4); }
.hv-faq summary {
  cursor: pointer;
  color: var(--hv-ink);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.45;
  list-style: none;
  padding-right: 26px;
  position: relative;
}
.hv-faq summary::-webkit-details-marker { display: none; }
.hv-faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; color: var(--hv-blue); font-size: 20px; font-weight: 400; }
.hv-faq details[open] summary::after { content: "–"; }
.hv-faq details p { margin: 12px 0 0; color: var(--hv-muted); font-size: 14.5px; }

/* Catalogue ------------------------------------------------------------- */
.hv-catalogue { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 46px); align-items: center; }
.hv-catalogue-cover img { display: block; width: 100%; border-radius: 14px; box-shadow: 0 30px 55px -28px rgba(6, 63, 145, .55); }
.hv-catalogue-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.hv-embed { margin-top: 22px; border: 1px solid var(--hv-line); border-radius: 16px; overflow: hidden; background: #eef3f9; }
.hv-embed object,
.hv-embed iframe { display: block; width: 100%; height: 720px; border: 0; }

/* Contact --------------------------------------------------------------- */
.hv-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hv-contact-card { display: flex; gap: 14px; padding: 22px; border: 1px solid var(--hv-line); border-radius: 15px; background: #fff; }
.hv-contact-card .hv-icon { flex: 0 0 auto; margin-bottom: 0; }
.hv-contact-card strong { display: block; margin-bottom: 3px; }
.hv-contact-card a { display: block; font-size: 14.5px; line-height: 1.55; }
.hv-contact-card span { display: block; color: var(--hv-muted); font-size: 13px; }

.hv-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: clamp(22px, 3vw, 30px); border: 1px solid var(--hv-line); border-radius: 18px; background: #fff; box-shadow: var(--hv-shadow); }
.hv-form .hv-form-full { grid-column: 1 / -1; }
.hv-form label { display: block; color: var(--hv-ink-2); font-size: 13px; font-weight: 600; }
.hv-form input,
.hv-form select,
.hv-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  border: 1px solid #d7e1ec;
  border-radius: 9px;
  background: #fbfdff;
  color: var(--hv-ink);
  font: inherit;
  font-size: 14px;
}
.hv-form input:focus,
.hv-form select:focus,
.hv-form textarea:focus { outline: none; border-color: var(--hv-blue-2); box-shadow: 0 0 0 3px rgba(8, 121, 220, .12); background: #fff; }
.hv-form textarea { min-height: 120px; resize: vertical; }
.hv-form button { justify-self: start; border: 0; cursor: pointer; }
.hv-form-note { grid-column: 1 / -1; color: var(--hv-muted); font-size: 12.5px; margin: 0; }
.hv-notice { padding: 13px 15px; margin-bottom: 16px; border-radius: 10px; background: #e8f7f0; border: 1px solid #b9e6d2; color: #0a6b47; font-size: 14px; }
.hv-hp { position: absolute !important; left: -9999px !important; }

/* Product tiles --------------------------------------------------------- */
.hv-product-tile { display: block; overflow: hidden; border: 1px solid var(--hv-line); border-radius: 16px; background: #fff; color: inherit; }
.hv-product-tile:hover { color: inherit; border-color: #c7dcf6; box-shadow: var(--hv-shadow); }
.hv-product-tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f4f7fb; }
.hv-product-tile .hv-product-tile-body { padding: 16px 18px 18px; }
.hv-product-tile strong { display: block; margin-bottom: 4px; font-size: 15px; line-height: 1.35; }
.hv-product-tile span { display: block; color: var(--hv-muted); font-size: 13px; line-height: 1.45; }

/* Misc ------------------------------------------------------------------ */
.hv-note { padding: 16px 18px; border-left: 3px solid var(--hv-blue-2); border-radius: 0 10px 10px 0; background: #f3f9ff; color: var(--hv-ink-2); font-size: 14px; }
.hv-muted { color: var(--hv-muted); }
.hv-divider { height: 1px; margin: 32px 0; border: 0; background: var(--hv-line); }
.hv-badge { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: #eaf3ff; color: var(--hv-blue); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* Reset homepage button styles to match shop page (remove .home-specific overrides) */
.home .header-button-1 .button,
.home .header-button-2 .button {
  all: revert !important;
}

/* Header CTA buttons - compact style (applies to both home and shop, no icon) */
.hitak-shop-header-cta {
  margin: 0 2px !important;
  padding: 0 !important;
  list-style: none !important;
}
.hitak-shop-header-button.hitak-btn-compact {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  min-height: auto !important;
  height: auto !important;
  padding: 5px 12px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
}
.hitak-shop-header-button.hitak-btn-compact span {
  font-size: 13px !important;
  white-space: nowrap !important;
}
.hitak-shop-header-button.hitak-btn-compact.is-outline {
  border-width: 1px !important;
  padding: 5px 12px !important;
}
.hitak-shop-header-button.hitak-btn-compact.is-solid {
  padding: 5px 12px !important;
}

/* Responsive: even smaller on mobile */
@media (max-width: 1024px) {
  .hitak-shop-header-button.hitak-btn-compact {
    padding: 4px 10px !important;
    font-size: 12px !important;
  }
  .hitak-shop-header-button.hitak-btn-compact span {
    font-size: 12px !important;
  }
  .hitak-shop-header-button.hitak-btn-compact.is-solid {
    padding: 4px 10px !important;
  }
}

@media (max-width: 1024px) {
  .hv-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hv-steps,
  .hv-steps--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-split { grid-template-columns: 1fr; }
  .hv-split--reverse .hv-split-media { order: 0; }
  .hv-catalogue { grid-template-columns: 220px 1fr; }
}

@media (max-width: 767px) {
  .hv-page { font-size: 15px; }
  .hv-hero { padding: 28px 22px; border-radius: 18px; }
  .hv-hero p { font-size: 15.5px; }
  .hv-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .hv-grid-2,
  .hv-grid-3,
  .hv-grid-4,
  .hv-grid-5 { grid-template-columns: 1fr; }
  .hv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-steps,
  .hv-steps--5 { grid-template-columns: 1fr; }
  .hv-cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-contact-grid,
  .hv-form { grid-template-columns: 1fr; }
  .hv-catalogue { grid-template-columns: 1fr; }
  .hv-catalogue-cover { max-width: 220px; margin: 0 auto; }
  .hv-cta { flex-direction: column; align-items: flex-start; }
  .hv-embed object,
  .hv-embed iframe { height: 520px; }
  .hv-media-stack { grid-template-columns: 1fr 1fr; }
}
