/*
 * Halkgrup family design layer
 *
 * A reversible visual alignment layer based on the current halkgrup.com
 * design language. It intentionally preserves Halkgrup Makine's content,
 * conversion paths, information architecture and product imagery.
 */

:root {
  --family-ink: #0e0f10;
  --family-paper: #fbfaf7;
  --family-paper-deep: #f3f1ec;
  --family-red: #d51f2a;
  --family-red-dark: #a81821;
  --family-bronze: #c3a169;
  --family-line: rgba(14, 15, 16, 0.14);
  --premium-ink: var(--family-ink);
  --premium-charcoal: #1b1d1f;
  --premium-steel: #4b4d50;
  --premium-silver: #e9e6df;
  --premium-ice: var(--family-paper-deep);
  --premium-red: var(--family-red);
  --premium-red-dark: var(--family-red-dark);
  --premium-white: var(--family-paper);
  --premium-line: var(--family-line);
  --premium-shadow: none;
  --max: 1320px;
}

body {
  color: var(--family-ink);
  background: var(--family-paper);
  font-family: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

::selection {
  color: #fff;
  background: var(--family-red);
}

.site-header--premium {
  background: rgba(251, 250, 247, 0.985);
  border-bottom-color: var(--family-line);
}

.site-header--premium .utility {
  background: var(--family-ink);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.site-header--premium .utility__service span,
.site-header--premium .utility__links > a {
  font-weight: 700;
}

.site-header--premium .nav-menu a {
  font-weight: 760;
  letter-spacing: 0.035em !important;
}

.site-header--premium .nav-menu a::after {
  height: 1px;
}

.site-header--premium .nav-action,
.btn,
.finder__links a,
.mobile-actions,
.quote-form--premium,
.official-evidence,
.rental-details {
  border-radius: 2px;
}

.site-header--premium .nav-action,
.btn--primary,
.quote-form--premium,
.partner-lockup,
.footer--premium .footer__logo.footer__logo--image {
  box-shadow: none;
}

.site-header--premium .nav-action,
.btn--primary {
  background: var(--family-red);
}

.site-header--premium .nav-action:hover,
.site-header--premium .nav-action:focus-visible,
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--family-red-dark);
}

.hero--premium .btn--light,
.page-hero--premium .btn--light,
.product-hero .btn--light,
.rental-hero .btn--light {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(14, 15, 16, 0.28);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.hero--premium .btn--light:hover,
.hero--premium .btn--light:focus-visible,
.page-hero--premium .btn--light:hover,
.page-hero--premium .btn--light:focus-visible,
.product-hero .btn--light:hover,
.product-hero .btn--light:focus-visible,
.rental-hero .btn--light:hover,
.rental-hero .btn--light:focus-visible {
  border-color: #fff;
  background: rgba(14, 15, 16, 0.52);
}

.hero--premium h1,
.page-hero--premium h1,
.product-hero h1,
.rental-hero h1 {
  font-weight: 520 !important;
  letter-spacing: -0.06em !important;
  line-height: 1.02;
  text-transform: uppercase;
}

main h2 {
  font-weight: 620 !important;
  letter-spacing: -0.045em !important;
}

.section-kicker,
.section-head .section-kicker,
.eyebrow {
  letter-spacing: 0.14em !important;
}

.hero--premium .hero__veil,
.page-hero--premium .page-hero__veil,
.product-hero__veil {
  background:
    linear-gradient(90deg, rgba(7, 8, 9, 0.76) 0%, rgba(7, 8, 9, 0.54) 48%, rgba(7, 8, 9, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 8, 9, 0.08) 0%, rgba(7, 8, 9, 0.46) 100%);
}

.hero__technical-lines {
  border-top-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 1px 0 rgba(255, 255, 255, 0.1),
    inset -1px 0 rgba(255, 255, 255, 0.1);
}

.hero__technical-lines::before,
.hero__technical-lines::after {
  background: rgba(255, 255, 255, 0.14);
}

.partner-lockup--dark {
  background: rgba(14, 15, 16, 0.82);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.finder--premium {
  background:
    linear-gradient(var(--family-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--family-line) 1px, transparent 1px),
    var(--family-paper);
  background-size: 100% 100%, calc(25% - 1px) 100%, auto;
  border-bottom-color: var(--family-line);
}

.finder--premium .finder__links {
  border-inline-start: 1px solid var(--family-line);
}

.finder--premium .finder__links a {
  border-inline-end: 1px solid var(--family-line);
}

.section {
  padding-block: 104px;
}

.section-head {
  margin-bottom: 48px;
}

.premium-products,
.rental-criteria,
.rental-details,
.quote-form--premium,
.official-evidence {
  background: var(--family-paper-deep);
}

.premium-product-grid,
.rental-criteria__grid {
  border-color: var(--family-line);
  background: var(--family-line);
}

.premium-product-card,
.rental-criteria article,
.rental-family-card {
  background: var(--family-paper);
}

.premium-product-card__visual,
.rental-family-card > div {
  background:
    linear-gradient(rgba(14, 15, 16, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 15, 16, 0.045) 1px, transparent 1px),
    #efede7;
  background-size: 56px 56px, 56px 56px, auto;
}

.premium-product-card:nth-child(3n + 2) .premium-product-card__visual {
  background:
    linear-gradient(rgba(14, 15, 16, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 15, 16, 0.045) 1px, transparent 1px),
    #e9ebe7;
  background-size: 56px 56px, 56px 56px, auto;
}

.premium-product-card:nth-child(3n + 3) .premium-product-card__visual {
  background:
    linear-gradient(rgba(14, 15, 16, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 15, 16, 0.045) 1px, transparent 1px),
    #f2eee7;
  background-size: 56px 56px, 56px 56px, auto;
}

.premium-product-card__visual img,
.rental-family-card img {
  filter: drop-shadow(0 22px 20px rgba(14, 15, 16, 0.18));
}

.quote-form--premium {
  border-top: 4px solid var(--family-red);
}

.quote-form--premium input,
.quote-form--premium select,
.quote-form--premium textarea {
  background: #fff;
}

.footer--premium {
  background: var(--family-ink);
}

.footer--premium .footer__logo.footer__logo--image {
  background: var(--family-paper-deep);
}

[dir="rtl"] .hero--premium h1,
[dir="rtl"] .page-hero--premium h1,
[dir="rtl"] .product-hero h1,
[dir="rtl"] .rental-hero h1,
[dir="rtl"] main h2 {
  letter-spacing: 0 !important;
  text-transform: none;
}

@media (min-width: 1081px) {
  .site-header--premium .utility__inner {
    min-height: 29px;
  }

  .site-header--premium .main-nav__inner {
    min-height: 112px;
  }

  .brand--premium {
    min-width: 350px;
  }

  .brand--premium .brand__mark {
    width: 220px;
    height: 94px;
  }

  .brand--premium .brand__division {
    min-height: 52px;
    font-size: 16px;
  }

  .site-header--premium .nav-menu a {
    padding-block: 34px;
    font-size: 13px;
  }

  .site-header--premium .nav-menu a::after {
    bottom: 24px;
  }

  .hero--premium h1 {
    max-width: 760px;
    font-size: clamp(54px, 4.65vw, 74px);
  }
}

@media (max-width: 1080px) {
  .site-header--premium .main-nav__inner {
    min-height: 86px;
  }

  .brand--premium {
    min-width: 220px;
  }

  .nav-toggle {
    border-radius: 2px;
    background: var(--family-ink);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .hero--premium h1,
  .page-hero--premium h1,
  .product-hero h1,
  .rental-hero h1 {
    font-size: clamp(34px, 9.5vw, 40px);
    letter-spacing: -0.052em !important;
  }

  main h2 {
    letter-spacing: -0.035em !important;
  }

  .hero--premium .hero__veil,
  .page-hero--premium .page-hero__veil,
  .product-hero__veil {
    background:
      linear-gradient(180deg, rgba(7, 8, 9, 0.16) 0%, rgba(7, 8, 9, 0.72) 70%, rgba(7, 8, 9, 0.88) 100%);
  }

  .hero--premium .btn,
  .page-hero--premium .btn,
  .product-hero .btn,
  .rental-hero .btn {
    border-radius: 2px;
  }

  .section {
    padding-block: 76px;
  }

  .mobile-actions {
    border-top-color: rgba(255, 255, 255, 0.14);
    border-radius: 0;
    background: rgba(14, 15, 16, 0.985);
    box-shadow: none;
  }

  .mobile-actions a {
    color: #fff;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-actions a:last-child {
    border-inline-end: 0;
  }

  .mobile-actions svg {
    color: var(--family-bronze);
  }
}

@media (max-width: 390px) {
  .brand--premium {
    min-width: 205px;
  }

  .brand--premium .brand__mark {
    width: 124px;
    height: 52px;
  }

  .brand--premium .brand__division {
    min-height: 32px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-product-card__visual img,
  .rental-family-card {
    transition: none;
  }
}
