@font-face {
  font-family: ttnorms;
  src: url("/font/TTNorms/TTNorms-Regular.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: ttnorms;
  src: url("/font/TTNorms/TTNorms-Bold.otf") format("opentype");
  font-weight: 700;
}

@font-face {
  font-family: mont;
  src: url("/font/mont/bold.otf") format("opentype");
  font-weight: 700;
}

@font-face {
  font-family: knockout;
  src: url("/font/knockout-cruiserweight-regular.otf") format("opentype");
  font-weight: 400;
}

:root {
  --ink: #241f23;
  --maroon: #7f0029;
  --nav-gradient: linear-gradient(90deg, #8be5fa, #f1dd76);
  --footer-gradient: linear-gradient(90deg, #eedbee, #f1dd76);
  --button-gradient: rgba(235, 149, 169, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: ttnorms, "Segoe UI", sans-serif;
  overflow-x: hidden;
  padding-bottom: 66px;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.font-mont,
.navbar {
  font-family: mont, ttnorms, sans-serif;
}

.navbar-container {
  position: fixed;
  top: 45px;
  left: 50%;
  z-index: 20;
  width: min(88%, 1198px);
  transform: translateX(-50%);
  transition:
    top 180ms ease,
    box-shadow 180ms ease;
}

.navbar-container.scrolled {
  top: 16px;
}

.navbar {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  background: var(--nav-gradient);
  overflow: hidden;
}

.nav-brand {
  display: flex;
  align-items: center;
  padding-left: 28px;
  text-decoration: none;
}

.nav-logo {
  width: 76px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 18px;
  padding: 0 28px 0 14px;
}

.nav-links a {
  color: var(--maroon);
  font-family: mont, ttnorms, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.page-home .navbar-container {
  left: 91px;
  width: 604px;
  transform: none;
}

.page-home .navbar-container.scrolled {
  top: 16px;
}

.page-home .navbar {
  display: block;
  min-height: 32px;
}

.page-home .nav-brand {
  display: none;
}

.page-home .nav-links {
  height: 32px;
  justify-content: space-between;
  padding: 0 18px;
}

footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 18;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 6px 6.4vw 6px 22px;
  background: var(--footer-gradient);
}

.footer__desc {
  font-family: knockout, sans-serif;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 36px;
  line-height: 1;
  text-decoration: none;
}

.footer-icon--whatsapp {
  color: #65cf72;
}

.footer-icon--linkedin {
  color: #0a66c2;
}

.footer-icon--facebook {
  color: #334b9c;
}

.simple-page,
.home-hero,
.about-page,
.after-sales-layout,
.contact-layout {
  min-height: calc(100vh - 66px);
}

.page-home {
  background: #d9e7e3;
}

.home-hero {
  position: relative;
  overflow: hidden;
}

.home-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(89, 218, 212, 0.74) 0%,
      rgba(211, 239, 224, 0.55) 55%,
      rgba(255, 218, 220, 0.55) 100%
    ),
    url("/image/home_bg.webp") center / cover no-repeat;
  filter: saturate(0.95);
}

.home-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  align-items: center;
  gap: 58px;
  min-height: calc(100vh - 66px);
  padding: 118px 8vw 84px;
}

.home-copy {
  max-width: 720px;
}

.home-partners {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 44px;
}

.home-partner--baringin {
  width: 145px;
}

.home-partner--ie {
  width: 290px;
}

.home-kicker {
  margin-bottom: 4px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.08;
}

.home-ophal-logo {
  width: min(455px, 80vw);
}

.home-copy h1 {
  font-size: 68px;
  font-weight: 400;
  line-height: 1;
}

.home-product {
  justify-self: center;
  width: min(220px, 16vw);
  min-width: 165px;
  filter: drop-shadow(0 20px 28px rgba(29, 38, 47, 0.22));
}

.page-product {
  background: linear-gradient(90deg, #e1f8dd, #eed5b3, #b2fcf5);
}

.catalog-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 60px;
}

.catalog-section h1 {
  margin-bottom: 34px;
  font-size: 48px;
  font-weight: 400;
}

.catalog-card {
  width: min(286px, 82vw);
  min-height: 416px;
  margin-bottom: 30px;
  padding: 20px 20px 28px;
  background: #fff;
  border-top-right-radius: 68px;
  border-bottom-left-radius: 58px;
  text-align: center;
}

.catalog-image {
  aspect-ratio: 1 / 0.94;
  margin-bottom: 18px;
  background: #050505;
  overflow: hidden;
  border-top-right-radius: 48px;
}

.catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-card h2 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.08;
  font-weight: 700;
}

.catalog-card p {
  font-size: 16px;
  line-height: 1.35;
}

.primary-pill {
  width: min(455px, 82vw);
  padding: 18px 24px;
  border-radius: 999px;
  background: var(--button-gradient);
  color: #1d1d1d;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.page-about {
  background: linear-gradient(90deg, #ddf3f8, #9fd89c);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 45vw);
  align-items: center;
  gap: 28px;
  padding: 104px 5.7vw 10px;
}

.about-copy h1,
.after-sales-copy h1 {
  margin-bottom: 24px;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
}

.about-copy p {
  max-width: 625px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.42;
  text-align: justify;
}

.about-copy strong {
  color: #004aad;
}

.about-photo {
  width: 100%;
  height: 588px;
  object-fit: cover;
  border-top-right-radius: 130px;
}

.certificate-section {
  padding: 108px 8vw 92px;
}

.certificate-section h2 {
  margin-bottom: 72px;
  font-size: 48px;
  font-weight: 400;
  text-align: center;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14.4vw;
  align-items: end;
  max-width: 1080px;
  margin: 0 auto;
}

.certificate-grid img {
  width: 100%;
  aspect-ratio: 0.95 / 0.9;
  object-fit: cover;
  border-top-right-radius: 105px;
}

.page-after-sales {
  background: linear-gradient(180deg, #c4aae5, #ffb6b6, #c5f5bd);
}

.after-sales-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 47vw);
  align-items: center;
  gap: 54px;
  padding: 104px 5.7vw 86px;
}

.after-sales-copy p {
  max-width: 560px;
  margin-bottom: 50px;
  font-size: 26px;
  line-height: 1.28;
  text-align: justify;
}

.after-sales-copy h2 {
  margin-bottom: 28px;
  font-size: 24px;
  font-weight: 700;
}

.after-sales-copy address {
  margin-bottom: 28px;
  font-size: 16px;
  font-style: normal;
  line-height: 1.38;
}

.after-sales-media img {
  width: 100%;
  height: 544px;
  object-fit: cover;
  border-top-right-radius: 130px;
}

.page-contact {
  background: linear-gradient(90deg, #fca3a3, #ffcfa2, #ffffd2);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(360px, 584px) minmax(360px, 1fr);
  align-items: center;
  gap: 54px;
  padding: 96px 8.5vw 86px;
}

.inquiry-panel {
  padding: 28px 26px 30px;
  border-radius: 34px;
  background: radial-gradient(
    circle at 50% 50%,
    #ffcf71,
    #f6e9cf,
    #dde4ff,
    #e4ddf1
  );
}

.inquiry-panel h1 {
  margin-bottom: 24px;
  color: var(--maroon);
  font-size: 24px;
  font-weight: 700;
}

.inquiry-form {
  display: grid;
  gap: 24px;
}

.inquiry-form label {
  display: grid;
  gap: 10px;
  color: var(--maroon);
  font-size: 11px;
  font-weight: 700;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(127, 0, 41, 0.42);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font:
    16px ttnorms,
    sans-serif;
  outline: none;
}

.inquiry-form input {
  height: 35px;
}

.inquiry-form textarea {
  min-height: 68px;
  resize: vertical;
}

.inquiry-form button {
  margin-top: 24px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--button-gradient);
  color: var(--maroon);
  cursor: pointer;
  font:
    700 14px ttnorms,
    sans-serif;
}

.form-note {
  color: var(--maroon);
  font-size: 8px;
  text-align: center;
}

.location-panel h2 {
  margin-bottom: 4px;
  color: var(--maroon);
  font-size: 48px;
  font-weight: 400;
}

.location-panel iframe {
  width: 100%;
  height: 430px;
  border: 0;
}

@media (max-width: 1024px) {
  .navbar {
    grid-template-columns: 118px 1fr;
  }

  .nav-brand {
    padding-left: 18px;
  }

  .nav-logo {
    width: 62px;
  }

  .nav-links {
    gap: 10px;
    padding-right: 18px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .home-content,
  .about-intro,
  .after-sales-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .home-content {
    gap: 24px;
    text-align: center;
  }

  .home-partners {
    justify-content: center;
  }

  .home-ophal-logo {
    margin-right: auto;
    margin-left: auto;
  }

  .home-product {
    width: min(210px, 38vw);
  }

  .about-photo,
  .after-sales-media img {
    height: 420px;
  }

  .certificate-grid {
    gap: 48px;
  }

  .after-sales-copy p {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 92px;
  }

  .navbar-container {
    top: 18px;
    width: calc(100% - 22px);
  }

  .page-home .navbar-container {
    left: 50%;
    width: calc(100% - 22px);
    transform: translateX(-50%);
  }

  .navbar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 22px;
  }

  .page-home .navbar {
    min-height: auto;
    padding: 10px 12px;
  }

  .nav-brand {
    justify-content: center;
    padding-left: 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
  }

  .page-home .nav-links {
    height: auto;
    justify-content: center;
    padding: 0;
  }

  .nav-links a {
    font-size: 12px;
  }

  footer {
    min-height: 92px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
  }

  .footer__desc {
    text-align: center;
  }

  .footer__social {
    gap: 12px;
  }

  .footer-icon {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .footer-icon--whatsapp {
    font-size: 36px;
  }

  .home-content,
  .catalog-section,
  .about-intro,
  .after-sales-layout,
  .contact-layout {
    padding-top: 150px;
  }

  .home-partners {
    flex-direction: column;
    margin-bottom: 28px;
  }

  .home-partner--baringin {
    width: 116px;
  }

  .home-partner--ie {
    width: 240px;
  }

  .home-kicker,
  .catalog-section h1,
  .about-copy h1,
  .after-sales-copy h1,
  .location-panel h2,
  .certificate-section h2 {
    font-size: 38px;
  }

  .home-copy h1 {
    font-size: 48px;
  }

  .home-product {
    min-width: 145px;
  }

  .catalog-card {
    min-height: auto;
  }

  .about-copy p {
    text-align: left;
  }

  .about-photo,
  .after-sales-media img,
  .location-panel iframe {
    height: 320px;
  }

  .certificate-grid {
    grid-template-columns: 1fr;
  }

  .after-sales-copy p {
    font-size: 21px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 420px) {
  .nav-links a {
    font-size: 11px;
  }

  .home-kicker,
  .catalog-section h1,
  .about-copy h1,
  .after-sales-copy h1,
  .location-panel h2,
  .certificate-section h2 {
    font-size: 32px;
  }

  .home-copy h1 {
    font-size: 40px;
  }

  .inquiry-panel {
    padding: 22px 18px;
  }
}
