:root {
  --blue: #27327e;
  --text: #202024;
  --muted: #62636a;
  --line: #edf0f4;
  --soft: #f7fbfc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: #fff;
}

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

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

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 125px;
  padding: 0 57px 0 59px;
  background: #fff;
}

.brand-logo img {
  width: 250px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 16px;
  font-weight: 500;
}

.main-nav > a,
.nav-group > button {
  padding: 18px 0;
  color: #141414;
}

.nav-group {
  position: relative;
}

.nav-group > button,
.nav-toggle {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.nav-group > button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
}

.nav-chevron {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transform: translateY(1px);
  transition: transform .18s ease;
}

.nav-group:hover .nav-chevron,
.nav-group:focus-within .nav-chevron {
  transform: translateY(1px) rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: -22px;
  min-width: 210px;
  padding: 10px 0;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(20, 26, 46, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .18s ease;
}

.products-menu {
  min-width: 300px;
  max-height: 70vh;
  overflow: auto;
}

.dropdown a {
  display: block;
  padding: 9px 22px;
  color: #252525;
  white-space: nowrap;
}

.dropdown a:hover {
  color: var(--blue);
  background: #f6f8fb;
}

.nav-group:hover .dropdown,
.nav-group:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #1d1d1f;
}

.home-hero {
  height: 603px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff7fb 0, #fff 10%);
}

.hero-slide {
  height: 600px;
  background: url("../images/HP_Hero_Sayang.png") top center / cover no-repeat;
}

.brand-section {
  padding: 103px 50px 125px;
  background: linear-gradient(rgba(245, 253, 255, .88), rgba(245, 253, 255, .88)), url("../images/6299917-1024x683.jpg") center / cover no-repeat;
}

.brand-section h2 {
  margin: 0 0 28px;
  text-align: center;
  font-size: 36px;
  line-height: 1.2;
}

.brand-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1160px;
  margin: 0 auto;
}

.brand-card,
.product-card {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, .93);
  text-align: center;
}

.brand-card {
  min-height: 500px;
  padding: 92px 24px 42px;
}

.brand-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  margin: 0 auto 62px;
}

.brand-card h3,
.product-card h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.25;
}

.brand-card p,
.product-card p {
  margin: 10px 0 0;
  color: #161616;
}

.site-footer {
  background: var(--blue);
  color: #fff;
  padding: 92px 60px 88px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.55fr .8fr .8fr 1.15fr;
  gap: 52px;
  max-width: 960px;
  margin: 0 auto;
}

.footer-logo img {
  width: 180px;
  filter: saturate(1.1);
}

.footer-logo span {
  display: block;
  width: 240px;
  max-width: 100%;
  height: 1px;
  margin-top: 25px;
  background: rgba(255, 255, 255, .7);
}

.footer-facebook {
  display: block;
  width: 280px;
  max-width: 100%;
  height: 345px;
  margin-top: 30px;
  border: 0;
  overflow: hidden;
  background: #fff;
}

.site-footer h3 {
  margin: 0 0 22px;
  font-size: 16px;
  font-weight: 800;
}

.site-footer a {
  display: block;
  margin: 0 0 10px;
  color: #fff;
}

.page-hero,
.brand-hero,
.product-hero,
.product-title {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 80px 24px;
  text-align: center;
}

.about-hero {
  display: grid;
  place-items: center;
  min-height: 432px;
  padding: 80px 24px;
  color: #fff;
  text-align: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .36) 42%, rgba(0, 0, 0, 0) 100%), url("../images/about-hero.png") left center / cover no-repeat;
}

.about-hero h1 {
  margin: 0;
  font-size: clamp(46px, 5.7vw, 72px);
  font-weight: 700;
  line-height: 1.1;
}

.about-journey {
  position: relative;
  min-height: 1085px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(rgba(52, 63, 139, .93), rgba(39, 50, 126, .97)), url("../images/5434772-1024x683.jpg") top left / cover no-repeat;
}

.about-journey-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin-left: max(50px, calc((100vw - 960px) / 2));
  padding-top: 110px;
}

.about-journey h1 {
  margin: 0 0 30px;
  font-size: clamp(38px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.2;
}

.about-journey p {
  margin: 0 0 28px;
  color: #fff;
  font-size: 20px;
  line-height: 1.72;
}

.about-seafood {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 535px;
  object-fit: cover;
  object-position: center top;
}

.about-halal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 506px;
  gap: 58px;
  min-height: 821px;
  padding: 110px max(50px, calc((100vw - 1060px) / 2)) 55px;
  background: linear-gradient(rgba(248, 253, 255, .88), rgba(248, 253, 255, .88)), url("../images/6299917-1024x683.jpg") top left / cover no-repeat;
}

.about-halal-copy {
  max-width: 560px;
  padding-top: 70px;
}

.about-halal h1 {
  margin: 0 0 26px;
  color: #242426;
  font-size: clamp(40px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.4;
}

.about-halal p {
  margin: 0 0 34px;
  color: #252529;
  font-size: 20px;
  line-height: 1.7;
}

.about-check {
  position: relative;
  padding-left: 45px;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

.about-check::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #32b798;
}

.about-check::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 12px;
  width: 5px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.about-halal-image {
  width: 506px;
  height: 549px;
  object-fit: contain;
  align-self: start;
}

.about-contact {
  padding: 51px 50px 100px;
  background: #fff;
}

.about-contact-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 527px minmax(0, 1fr);
  align-items: center;
  max-width: 1100px;
  min-height: 527px;
  margin: 0 auto;
}

.about-contact-wrap > img {
  position: relative;
  z-index: 2;
  width: 527px;
  height: 527px;
  border-radius: 16px;
  object-fit: cover;
}

.about-contact-panel {
  display: grid;
  place-items: center;
  min-height: 380px;
  margin-left: -1px;
  padding: 64px 70px;
  border-radius: 0 16px 16px 0;
  color: #fff;
  text-align: center;
  background: var(--blue);
}

.about-contact-panel h2 {
  margin: 0 0 22px;
  font-size: 31.5px;
  line-height: 1.2;
}

.about-contact-panel p {
  margin: 0 0 30px;
  color: #fff;
  font-size: 20px;
  line-height: 1.7;
}

.about-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 47px;
  padding: 12px 28px;
  border-radius: 999px;
  background: #f63a10;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.brand-hero {
  min-height: 470px;
  background: url("../images/tmfoods-hero-banner.png") center / cover no-repeat;
}

.brand-hero img {
  width: min(680px, 86vw);
  max-height: 310px;
  object-fit: contain;
}

.product-hero {
  min-height: 360px;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.product-title {
  min-height: 280px;
  background: #f8fbfd;
}

.page-hero h1,
.product-hero h1,
.product-title h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.1;
}

.content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 90px 50px;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
}

.content h1 {
  margin: 0 0 28px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
}

.content h3,
.section-kicker {
  margin: 0 0 32px;
  font-size: 28px;
  line-height: 1.25;
}

.content p {
  color: #33353b;
}

.soft-panel {
  align-self: start;
  padding: 44px;
  border-radius: 8px;
  background: linear-gradient(rgba(255, 255, 255, .92), rgba(255, 255, 255, .92)), url("../images/5434772-1024x683.jpg") center / cover no-repeat;
}

.prose {
  max-width: 960px;
  padding-bottom: 32px;
}

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

.product-card {
  min-height: 410px;
  padding: 28px 24px 34px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(36, 47, 81, .06);
}

.product-card img {
  width: 100%;
  height: 245px;
  object-fit: contain;
  margin: 0 auto 26px;
}

.product-card h3 {
  font-size: 21px;
}

.product-card p {
  color: var(--muted);
  font-size: 15px;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 102px;
  padding: 34px max(50px, calc((100vw - 1060px) / 2));
  background: #f3f2f2;
  color: #5d5f67;
  font-size: 15px;
}

.product-breadcrumb a {
  color: #27327e;
}

.product-breadcrumb strong {
  color: #27282d;
  font-weight: 600;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  min-height: 537px;
  padding: 58px max(50px, calc((100vw - 1060px) / 2)) 78px;
  background: #f3f2f2;
}

.product-detail-image {
  display: grid;
  place-items: center;
  min-height: 420px;
  background: #fff;
}

.product-detail-image img {
  width: min(430px, 100%);
  height: 430px;
  object-fit: contain;
}

.product-detail-info h1 {
  margin: 0 0 24px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.18;
}

.product-detail-meta {
  margin-bottom: 32px;
}

.product-detail-meta p {
  margin: 0 0 8px;
  color: #303137;
  font-size: 18px;
  line-height: 1.65;
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto 80px;
  padding: 48px 50px;
  background: #f6fbfd;
}

.contact-cta h2 {
  margin: 0 0 8px;
  font-size: 32px;
}

.contact-cta p {
  margin: 0;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 28px;
  border: 0;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.contact-hero {
  display: flex;
  align-items: center;
  min-height: 500px;
  padding: 96px max(50px, calc((100vw - 1060px) / 2));
  background: #f5f9fa url("../images/Products-1024x1024.png") right center / contain no-repeat;
}

.contact-hero div {
  max-width: 520px;
}

.contact-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.1;
}

.contact-hero p {
  margin: 0;
  color: #303137;
  font-size: 20px;
  line-height: 1.7;
}

.contact-page {
  padding-top: 60px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
}

.contact-map-card,
.contact-details {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-map-card iframe {
  width: 100%;
  height: 420px;
  margin-top: 22px;
  border: 0;
  border-radius: 6px;
}

.contact-details a {
  color: var(--blue);
}

@media (max-width: 900px) {
  .site-header {
    min-height: 92px;
    padding: 15px 22px;
  }

  .brand-logo img {
    width: 164px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 22px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .main-nav > a,
  .nav-group > button,
  .dropdown a {
    width: 100%;
    padding: 12px 0;
    text-align: left;
  }

  .dropdown {
    position: static;
    max-height: none;
    padding: 0 0 0 18px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .home-hero {
    height: 290px;
  }

  .hero-slide {
    height: 290px;
    background-size: cover;
  }

  .brand-section,
  .content {
    padding: 58px 22px;
  }

  .contact-hero {
    min-height: 430px;
    padding: 58px 24px;
    background-position: right bottom;
    background-size: 72%;
  }

  .contact-hero div {
    max-width: 68%;
  }

  .contact-hero p {
    font-size: 17px;
  }

  .about-hero {
    min-height: 300px;
  }

  .about-journey {
    min-height: auto;
    padding-bottom: 220px;
  }

  .about-journey-inner {
    max-width: none;
    margin: 0;
    padding: 58px 24px 0;
  }

  .about-journey p,
  .about-halal p,
  .about-contact-panel p {
    font-size: 17px;
  }

  .about-seafood {
    height: 220px;
  }

  .about-halal {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
    padding: 58px 24px;
  }

  .about-halal-copy {
    max-width: none;
    padding-top: 0;
  }

  .about-halal-image {
    width: 100%;
    height: auto;
  }

  .about-contact {
    padding: 40px 24px 58px;
  }

  .about-contact-wrap {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .about-contact-wrap > img {
    width: 100%;
    height: auto;
    max-height: 420px;
    border-radius: 16px 16px 0 0;
  }

  .about-contact-panel {
    min-height: 300px;
    margin-left: 0;
    padding: 42px 24px;
    border-radius: 0 0 16px 16px;
  }

  .brand-cards,
  .product-grid,
  .product-detail,
  .split,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .product-breadcrumb {
    flex-wrap: wrap;
    padding: 24px;
  }

  .product-detail {
    gap: 28px;
    padding: 36px 24px 52px;
  }

  .product-detail-image {
    min-height: 300px;
  }

  .product-detail-image img {
    height: 300px;
  }

  .brand-card {
    min-height: 380px;
    padding: 54px 22px 34px;
  }

  .brand-card img {
    height: 185px;
    margin-bottom: 42px;
  }

  .site-footer {
    padding: 58px 30px;
  }

  .contact-cta {
    display: block;
    margin: 0 22px 58px;
    padding: 34px 28px;
  }

  .contact-cta .button {
    margin-top: 22px;
  }
}
