.home-page {
  --home-navy: #071e34;
  --home-navy-deep: #041729;
  --home-blue: #153a59;
  --home-paper: #f4f4f0;
  --home-white: #ffffff;
  --home-orange: #df6c2f;
  --home-orange-dark: #c85a20;
  --home-line: rgba(7, 30, 52, 0.16);
  color: var(--home-navy);
  background: var(--home-paper);
  font-size: 16px;
  line-height: 1.65;
}

.home-page .site-header {
  min-height: 74px;
  padding: 9px max(28px, calc((100vw - 1480px) / 2));
  background: rgba(4, 23, 41, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.home-page .site-header.is-scrolled {
  min-height: 66px;
}

.home-page .brand img {
  width: 164px;
}

.home-page .main-nav {
  gap: clamp(20px, 2.4vw, 38px);
}

.home-page .main-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.home-page .main-nav a::after {
  bottom: 6px;
  height: 2px;
  background: var(--home-orange);
}

.home-page .header-contact {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.home-page .button {
  min-height: 48px;
  gap: 18px;
  padding-inline: 22px;
  border-radius: 2px;
  font-size: 10px;
  letter-spacing: 0.07em;
}

.home-page .button--primary {
  background: var(--home-orange);
  border-color: var(--home-orange);
}

.home-page .button--primary:hover {
  background: var(--home-orange-dark);
  border-color: var(--home-orange-dark);
}

.home-page .button--light {
  color: var(--home-navy);
  background: var(--home-white);
  border-color: var(--home-white);
}

.home-page .button--outline {
  color: var(--home-navy);
  border-color: rgba(7, 30, 52, 0.34);
}

.home-page .section {
  padding: clamp(72px, 7vw, 104px) 0;
}

.home-page .section-wrap {
  width: min(1380px, calc(100vw - 64px));
}

.home-page .section-head {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.52fr);
  gap: clamp(40px, 8vw, 130px);
  margin-bottom: 42px;
}

.home-page .section-head > p,
.home-page .testimonial-note {
  color: #5d6873;
  font-size: 14px;
  line-height: 1.75;
}

.home-page .eyebrow,
.home-page .detail-label {
  color: var(--home-orange);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.home-page .eyebrow::before {
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 12px;
  background: var(--home-orange);
  content: "";
  vertical-align: middle;
}

.home-page .eyebrow--light {
  color: #f5a274;
}

.home-page .display-title {
  color: var(--home-navy);
  font-family: var(--sans);
  font-size: clamp(42px, 4.6vw, 68px);
  font-weight: 600;
  letter-spacing: -0.048em;
  line-height: 1;
}

.home-page .display-title em {
  color: var(--home-orange);
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  letter-spacing: inherit;
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  min-height: 710px;
  margin-top: 74px;
  color: var(--home-white);
  background: var(--home-navy);
  overflow: hidden;
}

.home-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(42px, 6vw, 110px) 54px max(32px, calc((100vw - 1380px) / 2));
}

.home-hero-copy::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1px;
  height: 72%;
  background: rgba(255, 255, 255, 0.12);
  content: "";
}

.home-hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero-kicker::before {
  width: 7px;
  height: 7px;
  background: var(--home-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(223, 108, 47, 0.16);
  content: "";
}

.home-hero h1 {
  max-width: 650px;
  font-family: var(--sans);
  font-size: clamp(52px, 5.4vw, 82px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.home-hero h1 span {
  display: block;
  color: #f39a66;
}

.home-hero-description {
  max-width: 590px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.75;
}

.home-hero .hero-actions {
  margin-top: 34px;
}

.home-hero .button--outline {
  color: var(--home-white);
  border-color: rgba(255, 255, 255, 0.42);
}

.home-hero .button--outline:hover {
  color: var(--home-navy);
  background: var(--home-white);
}

.home-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: auto;
  padding-top: 46px;
}

.home-hero-proof div {
  padding: 0 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.home-hero-proof div:first-child {
  padding-left: 0;
  border-left: 0;
}

.home-hero-proof strong {
  display: block;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}

.home-hero-proof span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-hero-media {
  position: relative;
  min-height: 710px;
  overflow: hidden;
}

.home-hero-media > img {
  width: 100%;
  height: 100%;
  min-height: 710px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.8) contrast(1.06);
}

.home-hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 30, 52, 0.62), transparent 34%),
    linear-gradient(0deg, rgba(4, 23, 41, 0.76), transparent 42%);
  content: "";
}

.hero-material-card {
  position: absolute;
  z-index: 1;
  right: 34px;
  bottom: 34px;
  left: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding: 26px 28px;
  background: rgba(4, 23, 41, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
}

.hero-material-card > span {
  color: #f5a274;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-material-card h2 {
  margin: 8px 0 6px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero-material-card p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.hero-material-card a {
  min-width: 176px;
  padding: 14px 18px;
  color: var(--home-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}

.hero-material-card a:hover {
  background: var(--home-orange);
  border-color: var(--home-orange);
}

.finder-section {
  position: relative;
  background:
    linear-gradient(rgba(7, 30, 52, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 30, 52, 0.035) 1px, transparent 1px),
    var(--home-paper);
  background-size: 56px 56px;
}

.finder-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: end;
  margin-bottom: 38px;
}

.finder-heading > p {
  max-width: 540px;
  color: #566573;
  font-size: 15px;
}

.grade-search-box {
  position: relative;
  margin-bottom: 22px;
}

.grade-search-box label {
  display: block;
  margin-bottom: 9px;
  color: var(--home-navy);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.grade-search-box input {
  width: 100%;
  min-height: 58px;
  padding: 0 58px 0 20px;
  color: var(--home-navy);
  background: var(--home-white);
  border: 1px solid rgba(7, 30, 52, 0.22);
  border-radius: 2px;
  outline: none;
  font-size: 15px;
}

.grade-search-box input:focus {
  border-color: var(--home-orange);
  box-shadow: 0 0 0 3px rgba(223, 108, 47, 0.12);
}

.grade-search-box::after {
  position: absolute;
  right: 21px;
  bottom: 17px;
  color: var(--home-orange);
  content: "⌕";
  font-size: 27px;
  line-height: 1;
}

.finder-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--home-line);
  border-bottom: 0;
}

.finder-tab {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 14px 18px;
  color: #53606b;
  background: rgba(255, 255, 255, 0.7);
  border: 0;
  border-right: 1px solid var(--home-line);
  text-align: left;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.finder-tab:last-child {
  border-right: 0;
}

.finder-tab span,
.finder-tab small {
  color: #7a858d;
  font-size: 9px;
  font-weight: 650;
}

.finder-tab strong {
  font-size: 14px;
  font-weight: 650;
}

.finder-tab.is-active {
  color: var(--home-white);
  background: var(--home-navy);
}

.finder-tab.is-active span,
.finder-tab.is-active small {
  color: rgba(255, 255, 255, 0.56);
}

.finder-tab.is-active::before {
  grid-column: 1 / -1;
  width: 28px;
  height: 2px;
  margin-bottom: -4px;
  background: var(--home-orange);
  content: "";
}

.finder-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.31fr) minmax(0, 0.69fr);
  border: 1px solid var(--home-line);
}

.family-panel {
  display: flex;
  flex-direction: column;
  color: var(--home-white);
  background: var(--home-navy);
}

.family-panel figure {
  position: relative;
  min-height: 236px;
  overflow: hidden;
}

.family-panel figure img {
  width: 100%;
  height: 236px;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
}

.family-panel figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 30, 52, 0.8), transparent 58%);
  content: "";
}

.family-panel-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.family-panel-copy > span {
  color: #f5a274;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.family-panel-copy h3 {
  margin: 10px 0 12px;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.family-panel-copy > p {
  color: rgba(255, 255, 255, 0.63);
  font-size: 12px;
}

.family-panel-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px 16px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.family-panel-meta span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  text-transform: uppercase;
}

.family-panel-meta strong {
  font-size: 11px;
  font-weight: 550;
  text-align: right;
}

.family-panel-copy > a {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 2px;
  color: var(--home-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.family-panel-copy > a span {
  color: #f5a274;
}

.grade-results {
  min-width: 0;
  padding: 28px;
  background: rgba(255, 255, 255, 0.88);
}

.grade-results-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.grade-results-head h3 {
  margin-top: 4px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.grade-results-head span {
  color: #65727c;
  font-size: 11px;
  white-space: nowrap;
}

.grade-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.grade-form-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 22px;
  background: var(--home-white);
  border: 1px solid var(--home-line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.grade-form-card:hover {
  border-color: rgba(223, 108, 47, 0.65);
  box-shadow: 0 16px 34px rgba(7, 30, 52, 0.08);
  transform: translateY(-2px);
}

.grade-form-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #7b858d;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.grade-form-head span {
  color: var(--home-orange);
}

.grade-form-head p {
  text-align: right;
}

.grade-form-card h3 {
  margin: 12px 0 14px;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.grade-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 54px;
  align-content: flex-start;
}

.grade-chip {
  min-height: 26px;
  padding: 2px 9px;
  color: var(--home-navy);
  background: #eef1f3;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 700;
  line-height: 20px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.grade-chip:hover,
.grade-chip:focus-visible {
  color: var(--home-white);
  background: var(--home-orange);
}

.grade-form-card dl {
  display: grid;
  gap: 10px;
  margin: 17px 0;
  padding-top: 15px;
  border-top: 1px solid var(--home-line);
}

.grade-form-card dl div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
}

.grade-form-card dt {
  color: #7b858d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.grade-form-card dd {
  color: #3f4d58;
  font-size: 11px;
  line-height: 1.55;
}

.grade-form-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--home-line);
}

.grade-form-actions a:first-child {
  display: flex;
  flex: 1;
  justify-content: space-between;
  color: var(--home-orange-dark);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.grade-form-actions a:last-child {
  color: #65727c;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.grade-empty {
  grid-column: 1 / -1;
  padding: 42px;
  text-align: center;
  border: 1px dashed rgba(7, 30, 52, 0.25);
}

.grade-empty strong {
  display: block;
  font-size: 22px;
}

.grade-empty p {
  margin: 8px auto 18px;
  color: #5d6873;
}

.grade-empty a {
  color: var(--home-orange-dark);
  font-weight: 700;
}

.home-page .market-grid {
  gap: 14px;
}

.home-page .market-card {
  min-height: 430px;
}

.home-page .market-card::after {
  background:
    linear-gradient(0deg, rgba(4, 23, 41, 0.94), rgba(4, 23, 41, 0.04) 72%),
    linear-gradient(90deg, rgba(4, 23, 41, 0.25), transparent);
}

.home-page .market-card h3 {
  margin: 12px 0 10px;
  font-family: var(--sans);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.home-page .market-card p {
  font-size: 12px;
  line-height: 1.65;
}

.home-page .service-layout {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(46px, 7vw, 100px);
}

.home-page .service-media {
  min-height: 590px;
}

.home-page .service-copy .lead {
  margin-top: 22px;
  color: #263847;
  font-size: 18px;
  line-height: 1.6;
}

.home-page .service-copy > p:not(.lead) {
  color: #596670;
  font-size: 14px;
}

.home-page .service-points {
  gap: 0 28px;
  margin-top: 30px;
}

.home-page .service-points article {
  padding: 18px 0;
}

.home-page .service-points span {
  color: var(--home-orange);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 750;
}

.home-page .service-points h3 {
  margin: 7px 0 4px;
  font-size: 16px;
  font-weight: 650;
}

.home-page .service-points p {
  font-size: 11px;
}

.home-page .quality-band {
  background: var(--home-navy);
}

.home-page .quality-band-grid {
  gap: clamp(48px, 7vw, 100px);
}

.home-page .quality-image {
  min-height: 560px;
}

.home-page .quality-image img {
  min-height: 560px;
}

.home-page .quality-copy .lead {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
}

.home-page .quality-copy > p:not(.lead) {
  font-size: 14px;
}

.home-page .quality-copy .display-title,
.home-page .quality-copy .display-title em {
  color: var(--home-white);
}

.home-page .quality-copy .display-title em {
  color: #f5a274;
}

.home-page .quality-band .button--outline {
  color: var(--home-white);
}

.home-page .testimonial-section {
  background: #e9ecee;
}

.home-page .testimonial-note {
  font-size: 12px;
}

.home-page .testimonial-stage {
  margin-top: 36px;
}

.home-page .testimonial-card {
  min-height: 228px;
  background: rgba(255, 255, 255, 0.72);
}

.home-page .news-section {
  background: var(--home-paper);
}

.home-page .news-card {
  background: var(--home-white);
  border: 1px solid var(--home-line);
}

.home-page .news-card h3 {
  font-size: 20px;
  font-weight: 650;
  line-height: 1.35;
}

.home-page .contact-layout {
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(50px, 8vw, 110px);
}

.home-page .contact-info > p {
  max-width: 600px;
  color: #596670;
  font-size: 14px;
}

.home-page .contact-methods {
  margin-top: 28px;
}

.home-page .whatsapp-box {
  background: var(--home-navy);
}

.home-page .inquiry-form {
  background: var(--home-white);
  border-color: var(--home-line);
  box-shadow: 0 18px 50px rgba(7, 30, 52, 0.08);
}

.home-page .conversion-panel {
  background: var(--home-navy);
}

.home-page .conversion-copy .display-title,
.home-page .conversion-copy .display-title em {
  color: var(--home-white);
}

.home-page .conversion-copy .display-title em {
  color: #f5a274;
}

.home-page .site-footer {
  background: var(--home-navy-deep);
}

.home-page .contact-rail a {
  border-radius: 2px;
}

.home-page .mobile-cta a:first-child {
  background: var(--home-orange);
}

@media (max-width: 1120px) {
  .home-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .home-hero-copy {
    padding-right: 48px;
  }

  .finder-tab {
    grid-template-columns: 1fr;
    gap: 2px;
    min-height: 78px;
  }
}

@media (max-width: 960px) {
  .home-hero {
    grid-template-columns: 1fr;
    margin-top: 74px;
  }

  .home-hero-copy {
    min-height: 610px;
    padding: 72px max(28px, calc((100vw - 760px) / 2)) 46px;
  }

  .home-hero-copy::after {
    display: none;
  }

  .home-hero-media,
  .home-hero-media > img {
    min-height: 520px;
  }

  .finder-heading,
  .home-page .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .finder-tabs {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    overflow-x: auto;
  }

  .finder-layout {
    grid-template-columns: 1fr;
  }

  .family-panel {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
  }

  .family-panel figure,
  .family-panel figure img {
    height: 100%;
    min-height: 310px;
  }

  .home-page .market-card {
    min-height: 380px;
  }
}

@media (max-width: 680px) {
  .home-page .section-wrap {
    width: min(100% - 36px, 560px);
  }

  .home-page .section {
    padding: 64px 0;
  }

  .home-page .site-header {
    min-height: 68px;
  }

  .home-page .brand img {
    width: 142px;
  }

  .home-hero {
    margin-top: 68px;
  }

  .home-hero-copy {
    min-height: auto;
    padding: 56px 22px 36px;
  }

  .home-hero h1 {
    font-size: clamp(43px, 12.4vw, 60px);
  }

  .home-hero-description {
    margin-top: 22px;
    font-size: 14px;
  }

  .home-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-proof {
    margin-top: 42px;
    padding-top: 28px;
  }

  .home-hero-proof div {
    padding-inline: 12px;
  }

  .home-hero-proof strong {
    font-size: 25px;
  }

  .home-hero-proof span {
    font-size: 8px;
    line-height: 1.35;
  }

  .home-hero-media,
  .home-hero-media > img {
    min-height: 390px;
  }

  .hero-material-card {
    right: 16px;
    bottom: 16px;
    left: 16px;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .hero-material-card a {
    min-height: 44px;
    padding: 12px;
  }

  .home-page .display-title {
    font-size: clamp(37px, 10.5vw, 50px);
  }

  .finder-heading {
    gap: 16px;
  }

  .finder-tab {
    min-height: 68px;
    grid-template-columns: 1fr auto;
    padding: 12px 15px;
  }

  .finder-tab span {
    display: none;
  }

  .finder-tab.is-active::before {
    display: none;
  }

  .family-panel {
    display: flex;
  }

  .family-panel figure,
  .family-panel figure img {
    height: 220px;
    min-height: 220px;
  }

  .family-panel-copy {
    padding: 24px;
  }

  .grade-results {
    padding: 18px;
  }

  .grade-results-head {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }

  .grade-product-grid {
    grid-template-columns: 1fr;
  }

  .grade-chip-group {
    min-height: 0;
  }

  .home-page .market-grid,
  .home-page .service-layout,
  .home-page .quality-band-grid,
  .home-page .contact-layout {
    grid-template-columns: 1fr;
  }

  .home-page .market-card {
    min-height: 430px;
  }

  .home-page .service-media {
    min-height: 430px;
  }

  .home-page .service-copy .lead,
  .home-page .quality-copy .lead {
    font-size: 16px;
  }

  .home-page .service-points {
    grid-template-columns: 1fr;
  }

  .home-page .quality-image,
  .home-page .quality-image img {
    min-height: 390px;
  }

  .home-page .quality-actions {
    flex-direction: column;
  }

  .home-page .quality-actions .button {
    width: 100%;
  }
}
