@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Cedarville+Cursive&display=swap');

:root {
  --primary: #6FBE3D;
  --primary-dark: #5aa32e;
  --body-text: #1D1D1D;
  --heading: #1D1D1D;
  --section-bg: #f9f9f9;
  --upper-bg: #f7f7f2;
  --white: #ffffff;
  --text-muted: #666666;
  --font-body: 'Poppins', sans-serif;
  --font-cursive: 'Cedarville Cursive', cursive;
  --transition: all 0.3s ease;
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--body-text);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.3;
  color: var(--heading);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  z-index: 9999;
}

.skip-link:focus {
  top: 0;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(111, 190, 61, 0.35);
}

/* Cursive accent + deco line */
.cursive-text {
  font-family: var(--font-cursive);
  font-size: 22px;
  color: var(--body-text);
  margin-bottom: 4px;
}

.text-deco {
  height: auto;
  max-width: 120px;
  margin-bottom: 16px;
}

.heading-block {
  margin-bottom: 8px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Upper header */
.upper-header {
  background: var(--upper-bg);
}

.upper-header-grid {
  display: grid;
  grid-template-columns: 30% 70%;
  align-items: stretch;
}

.logo-block {
  display: flex;
  align-items: center;
  padding: 12px 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--body-text);
  text-transform: capitalize;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.info-upper-box {
  background: var(--primary);
  padding: 16px 32px;
}

.info-upper-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.info-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
}

.info-main {
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
}

.info-sub {
  color: var(--white);
  font-size: 11px;
  line-height: 1.4;
  opacity: 0.95;
}

.info-sub a {
  color: var(--white);
}

.info-sub a:hover {
  text-decoration: underline;
}

/* Menu header */
.menu-header {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.menu-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
}

.nav-links a {
  font-weight: 600;
  font-size: 13px;
  color: var(--body-text);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.search-block {
  flex-shrink: 0;
}

.search-form {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.search-form input {
  border: none;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  width: 140px;
}

.search-form button {
  background: none;
  border: none;
  padding: 8px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.search-form button svg {
  fill: var(--body-text);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--body-text);
  padding: 4px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
}

.hero-content {
  max-width: 80%;
}

.hero .cursive-text {
  color: var(--white);
  font-size: 24px;
}

.hero .text-deco {
  filter: brightness(10);
}

.hero-title {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 28px;
}

/* ===== ABOUT ===== */
.about {
  padding: 80px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img-row {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 16px;
  align-items: start;
}

.about-img1 img,
.about-img2 img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

.about-img1 img {
  aspect-ratio: 4/3;
}

.about-img2 {
  margin-top: 40px;
}

.about-img2 img {
  aspect-ratio: 3/4;
}

.about-content h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
}

.about-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
  margin-bottom: 32px;
}

.about-info-item h6 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.about-info-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-anchor {
  height: 0;
  overflow: hidden;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.85)),
    url('/images/hero.jpg') center/cover no-repeat;
  z-index: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding: 60px 20px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: capitalize;
}

.footer-brand p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.social-links svg {
  width: 22px;
  height: 22px;
}

.footer-spacer {
  /* empty column like original */
}

.footer-links h5,
.footer-contact h5 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-contact .info-main {
  font-size: 13px;
}

.footer-contact .info-sub {
  font-size: 12px;
}

.footer-search {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.footer-search input {
  background: transparent;
  color: var(--white);
  width: 100%;
}

.footer-search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-search button svg {
  fill: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero animation */
.hero-content .cursive-text,
.hero-content .text-deco,
.hero-title,
.hero-content .btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.7s forwards;
}

.hero-content .text-deco {
  animation-delay: 0.1s;
}

.hero-title {
  animation-delay: 0.2s;
}

.hero-content .btn {
  animation-delay: 0.35s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .upper-header-grid {
    grid-template-columns: 1fr;
  }

  .info-upper-box {
    padding: 14px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-spacer {
    display: none;
  }
}

@media (max-width: 768px) {
  .info-upper-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .info-box {
    justify-content: flex-start;
  }

  .menu-toggle {
    display: block;
  }

  .search-block {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links a {
    color: var(--white);
    width: 100%;
    text-align: center;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--white);
    background: rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    left: 0;
  }

  .hero-content {
    max-width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img-row {
    grid-template-columns: 1fr 1fr;
  }

  .about-img2 {
    margin-top: 24px;
  }

  .about-info-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .about-img-row {
    grid-template-columns: 1fr;
  }

  .about-img2 {
    margin-top: 0;
  }
}

/* ===== 2026 ORO homepage refresh ===== */
:root {
  --primary: #70bd3d;
  --primary-dark: #559e28;
  --ink: #1f2520;
  --muted: #6b7168;
  --line: #e7ebe3;
  --soft: #f7f8f3;
  --white: #ffffff;
  --footer: #111811;
  --shadow: 0 18px 45px rgba(23, 34, 19, 0.12);
  --font-body: 'Poppins', Arial, sans-serif;
  --font-script: 'Cedarville Cursive', cursive;
  --container: 1180px;
}

body {
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
}

body.nav-open {
  overflow: hidden;
}

.container {
  width: min(100% - 40px, var(--container));
  max-width: none;
  margin-inline: auto;
  padding: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
}

.section-pad {
  padding: 86px 0;
  scroll-margin-top: 80px;
  /* Reduced from 132px to scroll further down under sticky header */
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--primary);
  font-family: var(--font-script);
  font-size: 28px;
  line-height: 1.1;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 42px;
}

.section-heading h2,
.about-content h2,
.systems-copy h2,
.contact-copy h2 {
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.25;
}

.section-heading p:not(.section-kicker),
.about-content p,
.systems-copy p,
.contact-copy p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.btn {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.btn-primary {
  color: var(--white);
  background: var(--primary);
}

.btn-primary:hover {
  color: var(--white);
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
  color: var(--white);
  border-color: var(--primary);
  background: var(--primary);
}

.site-header {
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.07);
}

.upper-header {
  background: var(--soft);
}

.upper-header-grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  align-items: stretch;
  min-height: 78px;
}

.site-logo {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-logo span {
  overflow-wrap: anywhere;
}

.header-contact {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.35fr);
  gap: 24px;
  align-items: center;
  padding: 17px 28px;
  color: var(--white);
  background: var(--primary);
}

.info-box {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.info-box:hover {
  color: var(--ink);
}

.info-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.info-box strong,
.info-box small {
  display: block;
  overflow-wrap: anywhere;
}

.info-box strong {
  color: inherit;
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
}

.info-box small {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.4;
  opacity: 0.92;
  text-transform: uppercase;
}

.menu-header {
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.menu-header-inner {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.nav-links a {
  position: relative;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--primary);
  content: "";
  opacity: 0;
  transform: scaleX(0.25);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.search-form {
  display: flex;
  width: 180px;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  overflow: hidden;
}

.search-form input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  padding: 0 11px;
  color: var(--ink);
  outline: 0;
  font-size: 13px;
}

.search-form button {
  width: 42px;
  height: 100%;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.search-form button:hover {
  color: var(--primary-dark);
}

.search-form svg {
  width: 20px;
  height: 20px;
  margin: auto;
  fill: currentColor;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  border-radius: 1px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: clamp(560px, 72vh, 720px);
  scroll-margin-top: 80px;
}

.hero-bg-img {
  object-position: center bottom;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.57) 42%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22));
}

.hero-inner {
  padding: 92px 0;
}

.hero-content {
  max-width: 820px;
}

.hero .section-kicker {
  color: var(--white);
  font-size: 31px;
}

.hero h1 {
  max-width: 800px;
  color: var(--white);
  font-size: clamp(26px, 4.8vw, 55px);
  font-weight: 800;
}

.hero p:not(.section-kicker) {
  max-width: 640px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(38px, 6vw, 76px);
  align-items: center;
}

.about-images {
  position: relative;
  min-height: 470px;
}

.about-img-main,
.about-img-accent {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-img-main {
  width: 76%;
  height: 420px;
}

.about-img-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 300px;
  border: 10px solid var(--white);
}

.about-img-main img,
.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.about-metrics div {
  min-height: 96px;
  padding: 17px;
  border-left: 4px solid var(--primary);
  border-radius: 6px;
  background: var(--soft);
}

.about-metrics strong,
.about-metrics span {
  display: block;
}

.about-metrics strong {
  color: var(--primary-dark);
  font-size: 24px;
  line-height: 1.15;
}

.about-metrics span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.products {
  background: var(--soft);
}

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

.product-card {
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 26px;
  align-items: center;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(26, 35, 22, 0.06);
}

.product-card img {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
}

.product-card h3,
.system-item h3,
.news-item h3 {
  font-size: 20px;
  font-weight: 800;
}

.product-card p,
.system-item p,
.news-item p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.product-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card a:hover {
  color: var(--primary);
}

/* Custom Product Card */
.product-card--custom {
  background: linear-gradient(135deg, #f8faf6 0%, #ffffff 100%);
  border: 2px dashed var(--primary);
}

.product-custom-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 205px;
  height: 140px;
  border-radius: 8px;
  background: var(--soft);
}

.product-custom-icon svg {
  width: 64px;
  height: 64px;
  fill: var(--primary);
  opacity: 0.5;
}

.systems-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.systems-copy .btn {
  margin-top: 28px;
}

.system-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.system-item {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(26, 35, 22, 0.05);
}

.system-item span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.news {
  background:
    linear-gradient(rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.93)),
    url('/images/hero.png') center/cover no-repeat;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.news-item {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(26, 35, 22, 0.06);
}

.news-item time {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

/* ---- Karir ---- */
.carrier {
  background: var(--soft);
}

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

.carrier-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(26, 35, 22, 0.06);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.carrier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(26, 35, 22, 0.1);
}

.carrier-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--primary);
}

.carrier-card-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
}

.carrier-card h3 {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.carrier-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.carrier-cta {
  margin-top: 42px;
}

.carrier-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 36px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(21, 28, 18, 0.92), rgba(36, 57, 29, 0.86)),
    url('/images/hero.jpg') center/cover no-repeat;
  color: var(--white);
}

.carrier-cta-text h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
}

.carrier-cta-text p {
  font-size: 14px;
  opacity: 0.84;
  max-width: 520px;
  line-height: 1.6;
  color: #ffffff;
}

.contact {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(21, 28, 18, 0.92), rgba(36, 57, 29, 0.86)),
    url('/images/hero.jpg') center/cover no-repeat;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
}

.contact .section-kicker,
.contact h2,
.contact p {
  color: var(--white);
}

.contact-copy {
  max-width: 730px;
}

.contact-copy p {
  opacity: 0.84;
}

/* Contact Info Section */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 400px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-location {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-location:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-location h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.address {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
  margin-bottom: 8px;
}

.contact-details-row {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-details-row .label {
  font-weight: 600;
  min-width: 40px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-details-row a {
  color: var(--primary);
  text-decoration: none;
  transition: color 180ms ease;
}

.contact-details-row a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Quick Contact Lines */
.contact-quick {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 13px;
}

.contact-line img,
.contact-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-icon {
  fill: var(--white);
}

.contact-line strong {
  display: block;
  font-size: 14px;
  color: var(--white);
  font-weight: 600;
}

.footer {
  color: var(--white);
  background: var(--footer);
}

.footer-overlay {
  background:
    linear-gradient(rgba(8, 12, 8, 0.92), rgba(8, 12, 8, 0.95)),
    url('/images/hero.jpg') center/cover no-repeat;
}

.footer-inner {
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.78fr 0.78fr 1.1fr;
  gap: 40px;
  padding-bottom: 46px;
}

.footer h2,
.footer h3 {
  color: var(--white);
}

.footer h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.footer h3 {
  margin-bottom: 17px;
  font-size: 15px;
  text-transform: uppercase;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.footer a:hover {
  color: var(--primary);
}

.footer-links li+li {
  margin-top: 9px;
}

.footer-contact a {
  display: block;
  margin-top: 8px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.social-links a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.social-links a:hover {
  border-color: var(--primary);
  color: var(--white);
  background: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 22px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.62);
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .upper-header-grid {
    grid-template-columns: 1fr;
  }

  .header-contact {
    margin-inline: -20px;
    padding-inline: 20px;
  }

  .product-card {
    grid-template-columns: 155px 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .section-pad {
    padding: 70px 0;
  }

  .search-form {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    inset: var(--mobile-nav-top, 136px) 0 0 0;
    z-index: 990;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 18px 20px 40px;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    min-height: 52px;
    justify-content: center;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a::after {
    display: none;
  }

  .about-grid,
  .systems-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-images {
    min-height: 390px;
    order: 2;
  }

  .about-img-main {
    height: 350px;
  }

  .about-img-accent {
    height: 245px;
  }

  .about-content {
    order: 1;
  }

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

  .carrier-grid {
    grid-template-columns: 1fr;
  }

  .carrier-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .carrier-cta-text p {
    max-width: 100%;
  }

  .system-list {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    width: min(100%, 430px);
    min-width: 0;
  }

  .contact-info {
    min-width: 100%;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 30px, var(--container));
  }

  .header-contact {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.48));
  }

  .about-metrics,
  .system-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-card img {
    height: 210px;
  }
}

@media (max-width: 520px) {
  .section-pad {
    padding: 58px 0;
  }

  .site-logo {
    font-size: 15px;
  }

  .logo-img {
    width: 44px;
    height: 44px;
  }

  .header-contact {
    display: none;
  }

  .upper-header-grid {
    min-height: 66px;
  }

  .menu-header-inner {
    min-height: 54px;
  }

  .hero {
    min-height: 600px;
  }

  .hero-inner {
    padding: 68px 0;
  }

  .hero h1 {
    font-size: 27px;
  }

  .hero-actions {
    display: grid;
    width: 100%;
    max-width: 260px;
  }

  .about-images {
    min-height: 0;
  }

  .about-img-main,
  .about-img-accent {
    position: static;
    width: 100%;
    height: auto;
    border: 0;
  }

  .about-img-main img,
  .about-img-accent img {
    aspect-ratio: 4 / 3;
  }

  .about-img-accent {
    margin-top: 14px;
  }

  .section-kicker {
    font-size: 25px;
  }

  .contact-panel,
  .product-card,
  .system-item,
  .news-item {
    padding: 22px;
  }
}

/* Header top cleanup */
.upper-header {
  background: var(--white);
}

.upper-header-grid {
  grid-template-columns: minmax(250px, 318px) 1fr;
  min-height: 80px;
}

.site-logo {
  gap: 12px;
  min-height: 80px;
}

.brand-badge {
  display: inline-flex;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--white);
  background: linear-gradient(180deg, #77c944 0%, #59aa2d 100%);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 8px 18px rgba(89, 170, 45, 0.22);
}

.brand-name {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}

.header-contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-height: 80px;
  padding: 16px 28px;
  align-items: center;
  justify-content: space-between;
}

.info-box {
  min-width: 0;
  color: var(--white);
}

.info-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.info-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  color: var(--white);
}

.info-box strong {
  font-size: 11px;
}

.info-box small {
  font-size: 10px;
}

.menu-header {
  border-bottom: 1px solid #edf0ea;
}

.menu-header-inner {
  min-height: 60px;
}

.search-form {
  width: 188px;
  border-color: #d9e1d4;
}

.nav-links a {
  min-height: 60px;
}

@media (max-width: 900px) {
  .header-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .upper-header-grid {
    grid-template-columns: 1fr;
    min-height: 70px;
  }

  .site-logo {
    min-height: 70px;
  }

  .header-contact {
    display: none;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-badge {
    width: 44px;
    height: 44px;
  }
}

/* Top bar polish to match reference */
.upper-header {
  background: var(--white);
}

.upper-header-grid {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(290px, 31%) 1fr;
  min-height: 80px;
  /* Taller header for a cleaner, premium look */
  padding-left: clamp(20px, 3vw, 48px);
  padding-right: 0;
  /* Let the green contact bar touch the right edge of the viewport */
}

.site-logo {
  min-height: 80px;
  padding-left: 0;
}

.brand-name {
  color: var(--heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.1;
  text-transform: uppercase;
}

.header-contact {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  /* Two columns of contact details */
  gap: clamp(20px, 4vw, 60px);
  /* Responsive space between columns */
  min-height: 80px;
  padding: 12px clamp(20px, 3vw, 48px) 12px 60px;
  /* Leave padding on left for the slant */
  align-items: center;
  justify-content: center;
  /* Center the columns within the green background area */
  background: var(--primary);
  overflow: visible;
}

.header-contact::before {
  position: absolute;
  left: -40px;
  /* Width of the diagonal slant */
  top: 0;
  width: 40px;
  height: 100%;
  background: var(--primary);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  /* Perfect right triangle for a clean diagonal / slant */
  content: "";
}

.info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  gap: 2px;
  min-width: 0;
}

.info-box .info-icon {
  display: none;
  /* Hide telephone/map pin icons to match user's screenshot reference */
}

.info-box span {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-box strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
}

.info-box small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.85;
  line-height: 1.3;
  margin-top: 2px;
}

.menu-header {
  border-bottom: 1px solid #ecefe8;
}

.menu-header-inner {
  width: 100%;
  max-width: none;
  min-height: 58px;
  padding-inline: clamp(20px, 3vw, 48px);
}

.nav-links {
  gap: 22px;
}

.nav-links a {
  min-height: 58px;
  font-size: 12px;
  letter-spacing: 1px;
}

.search-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #2c2c2c;
  cursor: pointer;
}

.search-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.search-form {
  display: none;
}

@media (max-width: 900px) {
  .header-contact {
    padding-left: 48px;
    gap: 24px;
  }

  .header-contact::before {
    left: -30px;
    width: 30px;
  }
}

@media (max-width: 720px) {
  .upper-header-grid {
    min-height: auto;
  }

  .site-logo {
    min-height: 60px;
  }

  .header-contact {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 40px;
    min-height: auto;
  }

  .header-contact::before {
    left: -20px;
    width: 20px;
  }
}

@media (max-width: 520px) {
  .upper-header-grid {
    grid-template-columns: 1fr;
    min-height: 64px;
    padding-inline: 20px;
  }

  .site-logo {
    min-height: 64px;
  }

  .brand-name {
    font-size: 18px;
  }

  .header-contact {
    display: none;
  }
}

/* Active Navigation Links Underline Animation (Desktop Only) */
@media (min-width: 901px) {
  .nav-links a {
    position: relative;
    transition: color 0.3s ease;
  }

  .nav-links a.active {
    color: var(--primary) !important;
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  }

  .nav-links a.active::after {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* ===== SEJARAH & MANAGEMENT SYSTEM & KLIEN (PERUSAHAAN EXPANSION) ===== */

.about-section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.06) 20%, rgba(0, 0, 0, 0.06) 80%, transparent);
  margin: 70px 0;
}

.text-center {
  text-align: center;
  margin-left: auto !important;
  margin-right: auto !important;
}

.max-w-680 {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 10px;
}

/* Timeline Sejarah */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 50px auto 0;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #eef3eb;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-badge {
  position: absolute;
  top: 25px;
  right: -25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(111, 190, 61, 0.25);
  border: 4px solid var(--white);
}

.timeline-item:nth-child(even) .timeline-badge {
  left: -25px;
  right: auto;
}

.timeline-panel {
  position: relative;
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #f2f5f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.timeline-panel h3 {
  font-size: 16px;
  color: var(--heading);
  margin-bottom: 10px;
  font-weight: 600;
}

.timeline-panel p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Alternating dot indicators for layout connection */
.timeline-item:nth-child(odd) .timeline-panel::after {
  content: "";
  position: absolute;
  top: 35px;
  right: -6px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-right: 1px solid #f2f5f0;
  border-top: 1px solid #f2f5f0;
  transform: rotate(45deg);
}

.timeline-item:nth-child(even) .timeline-panel::after {
  content: "";
  position: absolute;
  top: 35px;
  left: -6px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-left: 1px solid #f2f5f0;
  border-bottom: 1px solid #f2f5f0;
  transform: rotate(45deg);
}

/* Management Sistem */
.sistem-img-half {
  display: flex;
  gap: 20px;
  /* Sesuaikan dengan jarak foto di atas */
}

.sistem-img-half .sistem-img-wrapper {
  flex: 1;
}

.sistem-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-top: 45px;
  align-items: start;
}

.sistem-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sistem-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #f2f5f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sistem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.sistem-card-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
}

.sistem-card-body h3 {
  font-size: 15px;
  color: var(--heading);
  margin-bottom: 8px;
  font-weight: 600;
}

.sistem-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.sistem-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sistem-img-wrapper {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.sistem-img-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sistem-img-wrapper:hover img {
  transform: scale(1.05);
}

/* Klien Kami */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 24px;
  margin-top: 45px;
  justify-content: center;
  align-items: center;
}

.client-logo-item {
  background: var(--white);
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #f2f5f0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.client-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.client-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  letter-spacing: 0.5px;
}

/* Responsive Sejarah & Sistem */
@media (max-width: 768px) {
  .timeline::before {
    left: 40px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 80px;
    padding-right: 20px;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-badge {
    left: 15px !important;
    right: auto !important;
  }

  .timeline-item:nth-child(odd) .timeline-panel::after,
  .timeline-item:nth-child(even) .timeline-panel::after {
    left: -6px;
    right: auto;
    border-left: 1px solid #f2f5f0;
    border-bottom: 1px solid #f2f5f0;
    border-right: none;
    border-top: none;
  }

  .sistem-grid {
    grid-template-columns: 1fr;
  }

  .sistem-images {
    flex-direction: row;
  }

  .sistem-img-wrapper {
    flex: 1;
  }

  .sistem-img-wrapper img {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .sistem-images {
    flex-direction: column;
  }
}

/* ===== HERO HEADING ANIMATION ===== */
.hero-heading {
  max-width: 800px;
  color: var(--white);
  font-size: clamp(26px, 4.8vw, 55px);
  font-weight: 800;
  line-height: 1.25;
  overflow: hidden;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(32px);
  animation: heroWordIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  margin-right: 0.22em;
}

/* Staggered delays for each word */
.hero-word:nth-child(1)  { animation-delay: 0.15s; }
.hero-word:nth-child(2)  { animation-delay: 0.25s; }
.hero-word:nth-child(3)  { animation-delay: 0.35s; }
.hero-word:nth-child(4)  { animation-delay: 0.45s; }
.hero-word:nth-child(5)  { animation-delay: 0.55s; }
.hero-word:nth-child(6)  { animation-delay: 0.65s; }
.hero-word:nth-child(7)  { animation-delay: 0.75s; }
.hero-word:nth-child(8)  { animation-delay: 0.85s; }
.hero-word:nth-child(9)  { animation-delay: 0.95s; }
.hero-word:nth-child(10) { animation-delay: 1.05s; }
.hero-word:nth-child(11) { animation-delay: 1.15s; }

/* Primary accent color — green brand color */
.hero-word--accent {
  color: var(--primary);
  text-shadow: 0 0 30px rgba(111, 190, 61, 0.35);
}

/* Secondary accent — light warm tone for contrast */
.hero-word--accent2 {
  color: #b8e986;
  text-shadow: 0 0 24px rgba(184, 233, 134, 0.25);
}

@keyframes heroWordIn {
  0% {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Subtle glow pulse on accent words after initial animation */
.hero-word--accent,
.hero-word--accent2 {
  animation:
    heroWordIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    heroGlow 3s ease-in-out 2.2s infinite alternate;
}

@keyframes heroGlow {
  0% {
    text-shadow: 0 0 20px rgba(111, 190, 61, 0.2);
  }
  100% {
    text-shadow: 0 0 38px rgba(111, 190, 61, 0.5), 0 0 80px rgba(111, 190, 61, 0.15);
  }
}

/* Also animate the kicker, paragraph, and buttons in hero */
.hero .section-kicker {
  opacity: 0;
  animation: heroFadeSlide 0.7s ease forwards 0s;
}

.hero p:not(.section-kicker) {
  opacity: 0;
  animation: heroFadeSlide 0.7s ease forwards 1.4s;
}

.hero-actions {
  opacity: 0;
  animation: heroFadeSlide 0.7s ease forwards 1.7s;
}

@keyframes heroFadeSlide {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced motion: disable all hero animations */
@media (prefers-reduced-motion: reduce) {
  .hero-word,
  .hero .section-kicker,
  .hero p:not(.section-kicker),
  .hero-actions {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}

@media (max-width: 520px) {
  .hero-heading {
    font-size: 27px;
  }

  .hero-word {
    margin-right: 0.18em;
  }
}

/* ===== JOB OPENINGS / LOWONGAN KERJA ===== */
.job-openings {
  margin-top: 70px;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.job-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(26, 35, 22, 0.05);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(26, 35, 22, 0.12);
  border-color: var(--primary);
}

.job-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.job-card-header h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.job-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.job-card-body {
  flex: 1;
  margin-bottom: 20px;
}

.job-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.job-requirements {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-requirements li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 6px;
}

.job-requirements li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.job-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.job-location::before {
  content: "📍";
  font-size: 14px;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 12px;
  min-height: 36px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:disabled {
  background: var(--primary);
  opacity: 0.55;
}

.btn-primary:disabled:hover {
  background: var(--primary);
  transform: none;
  box-shadow: none;
}

/* No Opening State */
.no-opening {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 32px;
  margin-top: 42px;
  border: 2px dashed var(--line);
  border-radius: 12px;
  background: var(--white);
}

.no-opening-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--soft);
}

.no-opening-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--muted);
  opacity: 0.6;
}

.no-opening h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.no-opening p {
  max-width: 540px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Responsive job cards */
@media (max-width: 900px) {
  .job-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .job-openings {
    margin-top: 50px;
  }
  
  .job-card {
    padding: 22px;
  }
  
  .job-card-header h3 {
    font-size: 17px;
  }
}

/* ===== PRODUCT SECTION ENHANCEMENTS ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.product-card {
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 26px;
  align-items: center;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(26, 35, 22, 0.06);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(26, 35, 22, 0.1);
}

.product-card img {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
}

.product-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.product-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.btn-detail {
  display: inline-flex;
  margin-top: 18px;
  padding: 0;
  border: none;
  background: none;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease;
}

.btn-detail:hover {
  color: var(--primary);
}

/* Custom Product Card */
.product-card--custom {
  background: linear-gradient(135deg, #f8faf6 0%, #ffffff 100%);
  border: 2px dashed var(--primary);
}

.product-custom-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 205px;
  height: 140px;
  border-radius: 8px;
  background: var(--soft);
}

.product-custom-icon svg {
  width: 64px;
  height: 64px;
  fill: var(--primary);
  opacity: 0.5;
}

/* ===== MODAL POPUP ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  overflow-y: auto;
  padding: 20px;
  align-items: center;
  justify-content: center;
}

.modal.modal-open {
  display: flex;
  animation: modalFadeIn 280ms ease forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-content {
  position: relative;
  max-width: 920px;
  width: 100%;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  animation: modalSlideUp 320ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalSlideUp {
  from {
    transform: translateY(30px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: all 180ms ease;
  z-index: 10;
}

.modal-close:hover {
  background: var(--primary);
  color: var(--white);
  transform: rotate(90deg);
}

.modal-body {
  padding: 40px;
}

.modal-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--line);
}

.modal-product-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  margin-bottom: 32px;
}

.modal-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}

.modal-product-image img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
}

.modal-product-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid var(--line);
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table td {
  padding: 12px 0;
  font-size: 14px;
  vertical-align: top;
}

.spec-label {
  font-weight: 600;
  color: var(--ink);
  width: 35%;
}

.spec-value {
  color: var(--muted);
  width: 65%;
}

.modal-description {
  margin-bottom: 32px;
  padding: 24px;
  border-radius: 8px;
  background: var(--soft);
}

.modal-description h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}

.modal-description p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  text-align: justify;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ===== RESPONSIVE MODAL ===== */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .modal-product-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .modal-product-image {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .product-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-card img,
  .product-custom-icon {
    height: 210px;
    width: 100%;
  }

  .modal {
    padding: 10px;
  }

  .modal-body {
    padding: 28px 20px;
  }

  .modal-header h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .spec-table td {
    padding: 10px 0;
    font-size: 13px;
  }

  .spec-label {
    width: 40%;
  }

  .spec-value {
    width: 60%;
  }
}

@media (max-width: 520px) {
  .modal-product-image {
    max-width: 100%;
  }

  .spec-table {
    display: block;
  }

  .spec-table tr {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
  }

  .spec-table td {
    padding: 4px 0;
    width: 100% !important;
  }

  .spec-label {
    font-weight: 700;
    margin-bottom: 4px;
  }

  .modal-description {
    padding: 18px;
  }
}
