@import url("./css/header.css");
@import url("./css/hero.css");
@import url("./css/catalog.css");
@import url("./css/services.css");
@import url("./css/materials.css");
@import url("./css/problems.css");
@import url("./css/why.css");
@import url("./css/testimonials.css");
@import url("./css/faq.css");
@import url("./css/cookie.css");
@import url("./css/contact.css");
@import url("./css/footer.css");

:root {
  --font-family: "Inter", sans-serif;
  --second-family: "Manrope", sans-serif;
  --bg: #f3f5f8;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.12);

  --max-w: 1920px;
  --gutter: 60px;
  --radius: 16px;
  --header-offset: 104px;
}

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

html,
body {
  margin: 0 auto;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  scroll-padding-top: var(--header-offset);
}

body {
  font-family: var(--font-family);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  padding-top: var(--header-offset);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Shared button/CTA interactions */
:where(
    .header-cta,
    .mobile-menu-cta,
    .hero-btn,
    .hero-feature-btn,
    .materials-cta,
    .process-cta,
    .contact-submit,
    .faq-more,
    .reviews-arrow,
    .why-arrow,
    .mctrl,
    .mobile-menu-close,
    .header-burger,
    .tag
  ):not([disabled]) {
  border: 1px solid transparent;
  transition:
    filter 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

:where(
    .header-cta,
    .mobile-menu-cta,
    .hero-btn,
    .hero-feature-btn,
    .materials-cta,
    .process-cta,
    .contact-submit,
    .faq-more,
    .reviews-arrow,
    .why-arrow,
    .mctrl,
    .mobile-menu-close
  ):not([disabled]):hover {
  filter: brightness(0.92) saturate(1.04);
}

:where(
    .header-cta,
    .mobile-menu-cta,
    .hero-btn,
    .materials-cta,
    .process-cta,
    .contact-submit,
    .faq-more,
    .why-arrow
  ):not([disabled]):hover {
  background: #fff;
  background-image: none;
  color: #1181f2;
  border: 1px solid rgba(17, 129, 242, 0.55);
  filter: none;
}

:where(
    .header-cta,
    .mobile-menu-cta,
    .hero-btn,
    .hero-feature-btn,
    .materials-cta,
    .process-cta,
    .contact-submit,
    .faq-more,
    .reviews-arrow,
    .why-arrow,
    .mctrl,
    .mobile-menu-close
  ):not([disabled]):active {
  filter: brightness(0.88) saturate(1.02);
}

:where(
    .header-cta,
    .mobile-menu-cta,
    .hero-btn,
    .materials-cta,
    .process-cta,
    .contact-submit,
    .faq-more,
    .why-arrow
  ):not([disabled]):active {
  background: rgba(255, 255, 255, 0.92);
  background-image: none;
  color: #1181f2;
  border: 1px solid rgba(17, 129, 242, 0.65);
  filter: none;
}

:where(
    .reviews-arrow,
    .tag
  ):not([disabled]):hover {
  background: #fff;
  color: rgba(2, 6, 23, 0.94);
  border-color: rgba(2, 6, 23, 0.22);
  filter: none;
}

:where(
    .reviews-arrow,
    .tag
  ):not([disabled]):active {
  background: rgba(255, 255, 255, 0.92);
  color: rgba(2, 6, 23, 0.94);
  border-color: rgba(2, 6, 23, 0.3);
  filter: none;
}

:where(
    .header-cta,
    .mobile-menu-cta,
    .hero-btn,
    .hero-feature-btn,
    .materials-cta,
    .process-cta,
    .contact-submit,
    .faq-more,
    .reviews-arrow,
    .why-arrow,
    .mctrl,
    .mobile-menu-close,
    .header-burger
  ):focus-visible {
  outline: 2px solid rgba(36, 149, 255, 0.55);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  :where(
      .header-cta,
      .mobile-menu-cta,
      .hero-btn,
      .hero-feature-btn,
      .materials-cta,
      .process-cta,
      .contact-submit,
      .faq-more,
      .reviews-arrow,
      .why-arrow,
      .mctrl,
      .mobile-menu-close,
      .header-burger
    ) {
    transition: none;
  }
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Breakpoints: 1200 / 992 / 768 / 480 */
@media (max-width: 1200px) {
  :root {
    --gutter: clamp(16px, 3.5vw, 40px);
  }
}

@media (max-width: 992px) {
  :root {
    --gutter: 20px;
    --header-offset: 108px;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 16px;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 12px;
  }
}

/* Sticky header baseline hooks */
.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
}

.is-stuck {
  box-shadow: none;
  border-bottom: 0;
}
