/* =========================================================
   PRIMA AGRO LANCAR
   CORPORATE WEBSITE
   Rafora Digital — Website Proposal & Demo
   ========================================================= */


/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {
  --forest: #123B2A;
  --forest-dark: #0C291D;
  --green: #2F6B45;
  --green-light: #6FAF45;

  --cream: #F7F8F4;
  --white: #FFFFFF;

  --dark: #17211B;
  --text: #445149;
  --muted: #758078;

  --border: #E2E7E1;
  --soft-green: #EAF2E8;
  --soft-green-2: #EEF4EA;

  --shadow-sm: 0 8px 25px rgba(18, 59, 42, 0.06);
  --shadow-md: 0 18px 50px rgba(18, 59, 42, 0.10);
  --shadow-lg: 0 30px 80px rgba(18, 59, 42, 0.16);

  --radius: 18px;
  --radius-sm: 12px;

  --container: 1180px;
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

::selection {
  background: var(--green-light);
  color: var(--white);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
  width: min(
    var(--container),
    calc(100% - 40px)
  );

  margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.97);

  border-bottom:
    1px solid rgba(18, 59, 42, 0.08);

  transition:
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  min-height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {
  display: flex;
  align-items: center;

  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 43px;
  height: 43px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  background: var(--forest);
  color: var(--white);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-text {
  display: flex;
  flex-direction: column;

  line-height: 1;
}

.brand-text strong {
  font-family: "Plus Jakarta Sans", sans-serif;

  font-size: 14px;
  font-weight: 800;

  letter-spacing: 0.04em;
}

.brand-text small {
  margin-top: 5px;

  color: var(--green);

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.2em;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.main-nav {
  display: flex;
  align-items: center;

  gap: 7px;
}

.main-nav a {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 11px 14px;

  color: #465149;

  font-size: 14px;
  font-weight: 600;

  border-radius: 9px;

  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}


/* ---------------------------------------------------------
   NAV HOVER
   --------------------------------------------------------- */

.main-nav a:not(.nav-cta)::after {
  content: "";

  position: absolute;

  left: 14px;
  right: 14px;
  bottom: 5px;

  width: auto;
  height: 2px;

  background: var(--green);

  transform: scaleX(0);
  transform-origin: center;

  transition:
    transform 0.25s ease;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--green);

  background: #EFF4EF;
}

.main-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}


/* ---------------------------------------------------------
   ACTIVE NAV
   --------------------------------------------------------- */

.main-nav a:not(.nav-cta).active {
  color: var(--green);

  background: #EFF4EF;
}

.main-nav a:not(.nav-cta).active::after {
  transform: scaleX(1);
}


/* =========================================================
   NAVIGATION CTA
   ========================================================= */

.main-nav .nav-cta {
  margin-left: 8px;

  padding: 13px 18px;

  background: var(--forest);
  color: var(--white);

  border-radius: 10px;
}

.main-nav .nav-cta:hover {
  background: var(--green);

  color: var(--white);

  transform: translateY(-1px);
}

.main-nav .nav-cta::after {
  display: none;
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {
  display: none;

  width: 46px;
  height: 46px;

  align-items: center;
  justify-content: center;

  flex-direction: column;

  gap: 5px;

  border: 1px solid var(--border);
  border-radius: 10px;

  background: var(--white);

  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.menu-toggle:hover {
  border-color: var(--green);
  background: var(--cream);
}

.menu-toggle span {
  display: block;

  width: 20px;
  height: 2px;

  background: var(--forest);

  border-radius: 2px;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform:
    translateY(7px)
    rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform:
    translateY(-7px)
    rotate(-45deg);
}


/* =========================================================
   HERO
   ========================================================= */

.page-hero {
  min-height: 560px;

  display: flex;
  align-items: center;

  position: relative;

  color: var(--white);

  background-color: var(--forest);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  isolation: isolate;
}


/* =========================================================
   HERO BACKGROUNDS
   ========================================================= */

.hero-home {
  background-image:
    linear-gradient(
      90deg,
      rgba(8, 33, 22, 0.84) 0%,
      rgba(8, 33, 22, 0.64) 48%,
      rgba(8, 33, 22, 0.32) 100%
    ),
    url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1800&q=85");
}

.hero-about {
  background-image:
    linear-gradient(
      90deg,
      rgba(8, 33, 22, 0.84) 0%,
      rgba(8, 33, 22, 0.62) 48%,
      rgba(8, 33, 22, 0.32) 100%
    ),
    url("https://images.unsplash.com/photo-1464226184884-fa280b87c399?auto=format&fit=crop&w=1800&q=85");
}

.hero-products {
  background-image:
    linear-gradient(
      90deg,
      rgba(8, 33, 22, 0.86) 0%,
      rgba(8, 33, 22, 0.63) 48%,
      rgba(8, 33, 22, 0.32) 100%
    ),
    url("https://images.unsplash.com/photo-1530836369250-ef72a3f5cda8?auto=format&fit=crop&w=1800&q=85");
}

.hero-career {
  background-image:
    linear-gradient(
      90deg,
      rgba(8, 33, 22, 0.88) 0%,
      rgba(8, 33, 22, 0.67) 45%,
      rgba(8, 33, 22, 0.35) 100%
    ),
    url("https://images.unsplash.com/photo-1495107334309-fcf20504a5ab?auto=format&fit=crop&w=1800&q=85");

  background-position: center center;
}

.hero-contact {
  background-image:
    linear-gradient(
      90deg,
      rgba(8, 33, 22, 0.86) 0%,
      rgba(8, 33, 22, 0.63) 48%,
      rgba(8, 33, 22, 0.34) 100%
    ),
    url("https://images.unsplash.com/photo-1499529112087-3cb3b73cec95?auto=format&fit=crop&w=1800&q=85");

  background-position: center;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 790px;

  padding: 100px 0;
}

.hero-eyebrow {
  display: inline-flex;

  margin-bottom: 20px;

  padding: 8px 14px;

  border:
    1px solid rgba(255, 255, 255, 0.25);

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.08);

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.13em;
}

.hero-content h1 {
  max-width: 780px;

  margin-bottom: 23px;

  font-family:
    "Plus Jakarta Sans",
    sans-serif;

  font-size:
    clamp(42px, 5vw, 68px);

  line-height: 1.06;

  letter-spacing: -0.045em;
}

.hero-content p {
  max-width: 680px;

  margin-bottom: 34px;

  color:
    rgba(255, 255, 255, 0.88);

  font-size: 18px;

  line-height: 1.75;
}

.hero-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 13px;
}

.hero-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-top: 28px;
}

.hero-tags span {
  padding: 8px 13px;

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.10);

  border:
    1px solid rgba(255, 255, 255, 0.15);

  font-size: 12px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  min-height: 48px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 12px 21px;

  border: 1px solid transparent;

  border-radius: 10px;

  font-size: 14px;
  font-weight: 700;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background: var(--forest);
}

.btn-outline-light {
  border-color:
    rgba(255, 255, 255, 0.45);

  background:
    rgba(255, 255, 255, 0.06);

  color: var(--white);
}

.btn-outline-light:hover {
  background:
    rgba(255, 255, 255, 0.14);
}

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

.btn-white:hover {
  background: #F0F3EE;
}

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

.btn-light:hover {
  background: #F0F3EE;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
  padding:
    clamp(75px, 9vw, 115px) 0;
}

.section-light {
  background: var(--white);
}

.section-soft {
  background: var(--cream);
}

.section-dark {
  background: var(--forest);
}

.section-heading {
  max-width: 720px;

  margin-bottom: 45px;
}

.section-heading h2,
.section-content h2,
.center-content h2,
.cta-box h2,
.contact-info h2,
.map-content h2,
.form-heading h2 {
  margin-bottom: 17px;

  font-family:
    "Plus Jakarta Sans",
    sans-serif;

  font-size:
    clamp(30px, 4vw, 46px);

  line-height: 1.15;

  letter-spacing: -0.035em;
}

.section-heading p,
.section-content p,
.center-content p {
  color: var(--text);
}

.section-label {
  display: inline-block;

  margin-bottom: 14px;

  color: var(--green);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.16em;
}

.section-label.light {
  color:
    rgba(255, 255, 255, 0.7);
}

.content-note {
  padding-left: 15px;

  border-left:
    3px solid var(--green-light);

  color:
    var(--muted) !important;

  font-size: 14px;
}


/* =========================================================
   SPLIT CONTENT
   ========================================================= */

.split-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap:
    clamp(45px, 7vw, 100px);

  align-items: center;
}

.section-content p {
  margin-bottom: 17px;
}

.text-link {
  display: inline-block;

  margin-top: 13px;

  color: var(--green);

  font-weight: 700;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.text-link:hover {
  color: var(--forest);

  transform:
    translateX(3px);
}

.image-card {
  overflow: hidden;

  border-radius: var(--radius);

  box-shadow: var(--shadow-md);

  aspect-ratio: 1.15 / 1;
}

.image-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.6s ease;
}

.image-card:hover img {
  transform:
    scale(1.04);
}


/* =========================================================
   CARDS
   ========================================================= */

.card-grid {
  display: grid;

  gap: 20px;
}

.card-grid.three {
  grid-template-columns:
    repeat(3, 1fr);
}

.card-grid.four {
  grid-template-columns:
    repeat(4, 1fr);
}

.feature-card {
  min-height: 285px;

  padding: 30px;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius);

  background:
    var(--white);

  box-shadow:
    var(--shadow-sm);

  display: flex;

  flex-direction: column;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-card:hover {
  transform:
    translateY(-6px);

  box-shadow:
    var(--shadow-md);
}

.card-icon {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  margin-bottom: 25px;

  border-radius: 11px;

  background:
    var(--soft-green);

  color:
    var(--green);

  font-size: 12px;
  font-weight: 800;
}

.feature-card h3,
.mini-card h3,
.info-card h3 {
  margin-bottom: 11px;

  font-family:
    "Plus Jakarta Sans",
    sans-serif;

  font-size: 20px;

  line-height: 1.3;
}

.feature-card p {
  color: var(--text);

  font-size: 14px;
}

.card-link {
  margin-top: auto;

  padding-top: 22px;

  color: var(--green);

  font-size: 13px;
  font-weight: 700;
}


/* =========================================================
   HOME CTA
   ========================================================= */

.career-home {
  background:
    var(--forest);
}

.cta-box {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 40px;

  padding:
    clamp(35px, 5vw, 65px);

  border-radius: 24px;

  background:
    linear-gradient(
      135deg,
      #123B2A,
      #245A3B
    );

  color: var(--white);

  box-shadow:
    var(--shadow-md);
}

.cta-box h2 {
  max-width: 600px;
}

.cta-box p {
  max-width: 650px;

  color:
    rgba(255, 255, 255, 0.78);
}

.center-content {
  max-width: 720px;

  margin-inline: auto;

  text-align: center;
}

.center-content p {
  margin-bottom: 28px;
}


/* =========================================================
   VISION
   ========================================================= */

.vision-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 20px;
}

.info-card {
  padding: 35px;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius);

  background:
    var(--white);
}

.info-number {
  display: inline-block;

  margin-bottom: 25px;

  color: var(--green);

  font-size: 12px;
  font-weight: 800;
}


/* =========================================================
   MINI CARDS
   ========================================================= */

.mini-card {
  padding: 27px;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius);

  background:
    var(--white);
}

.mini-card > span {
  display: block;

  margin-bottom: 20px;

  color: var(--green);

  font-size: 12px;
  font-weight: 800;
}

.mini-card p {
  color: var(--text);

  font-size: 14px;
}


/* =========================================================
   PRODUCTS
   ========================================================= */

.filter-buttons {
  display: flex;

  flex-wrap: wrap;

  gap: 9px;

  margin-bottom: 32px;
}

.filter-btn {
  padding: 11px 17px;

  border:
    1px solid var(--border);

  border-radius: 999px;

  background:
    var(--white);

  color:
    var(--text);

  font-size: 13px;
  font-weight: 600;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background:
    var(--forest);

  color:
    var(--white);

  border-color:
    var(--forest);
}

.product-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 22px;
}

.product-card {
  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius);

  background:
    var(--white);

  box-shadow:
    var(--shadow-sm);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.product-card:hover {
  transform:
    translateY(-5px);

  box-shadow:
    var(--shadow-md);
}

.product-card.hidden {
  display: none;
}

.product-image {
  position: relative;

  aspect-ratio: 1.35 / 1;

  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform:
    scale(1.05);
}

.product-image > span {
  position: absolute;

  top: 14px;
  left: 14px;

  padding: 7px 10px;

  border-radius: 999px;

  background:
    var(--white);

  color:
    var(--forest);

  font-size: 11px;
  font-weight: 700;
}

.product-body {
  padding: 25px;
}

.product-body h3 {
  margin-bottom: 10px;

  font-family:
    "Plus Jakarta Sans",
    sans-serif;

  font-size: 18px;

  line-height: 1.35;
}

.product-body p {
  min-height: 48px;

  color:
    var(--text);

  font-size: 13px;
}

.product-detail-btn {
  margin-top: 20px;

  border: 0;

  background: none;

  color:
    var(--green);

  font-size: 13px;
  font-weight: 700;
}


/* =========================================================
   CAREER
   ========================================================= */

.career-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 20px;
}

.job-card {
  padding: 30px;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius);

  background:
    var(--white);

  box-shadow:
    var(--shadow-sm);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.job-card:hover {
  transform:
    translateY(-5px);

  box-shadow:
    var(--shadow-md);
}

.demo-badge {
  display: inline-flex;

  margin-bottom: 20px;

  padding: 6px 9px;

  border-radius: 999px;

  background:
    var(--soft-green-2);

  color:
    var(--green);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.08em;
}

.job-card h3 {
  margin-bottom: 15px;

  font-family:
    "Plus Jakarta Sans",
    sans-serif;

  font-size: 21px;
}

.job-meta {
  display: flex;

  flex-direction: column;

  gap: 6px;

  margin-bottom: 20px;

  color:
    var(--muted);

  font-size: 12px;
}

.job-card p {
  min-height: 50px;

  margin-bottom: 25px;

  color:
    var(--text);

  font-size: 14px;
}

.job-detail-btn {
  border: 0;

  background:
    transparent;

  color:
    var(--green);

  font-size: 13px;
  font-weight: 700;
}


/* =========================================================
   FORMS
   ========================================================= */

.application-form {
  padding:
    clamp(25px, 5vw, 50px);

  border:
    1px solid var(--border);

  border-radius:
    22px;

  background:
    var(--white);

  box-shadow:
    var(--shadow-sm);
}

.form-section {
  padding: 35px 0;

  border-bottom:
    1px solid var(--border);
}

.form-section:first-child {
  padding-top: 0;
}

.form-section:last-of-type {
  border-bottom: 0;
}

.form-section-title {
  display: flex;

  gap: 15px;

  margin-bottom: 28px;
}

.form-section-title > span {
  width: 40px;
  height: 40px;

  flex-shrink: 0;

  display: grid;
  place-items: center;

  border-radius: 10px;

  background:
    var(--soft-green);

  color:
    var(--green);

  font-size: 12px;
  font-weight: 800;
}

.form-section-title h3 {
  font-family:
    "Plus Jakarta Sans",
    sans-serif;

  font-size: 20px;
}

.form-section-title p {
  margin-top: 3px;

  color:
    var(--muted);

  font-size: 13px;
}

.form-grid {
  display: grid;

  gap: 20px;
}

.form-grid.two {
  grid-template-columns:
    repeat(2, 1fr);
}

.form-group {
  display: flex;

  flex-direction: column;

  gap: 8px;
}

.form-group.full {
  grid-column:
    1 / -1;
}

.form-group label {
  color:
    var(--dark);

  font-size: 13px;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  border:
    1px solid #D9DFDA;

  border-radius:
    10px;

  background:
    var(--white);

  color:
    var(--dark);

  padding:
    13px 14px;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-group input,
.form-group select {
  min-height: 48px;
}

.form-group textarea {
  resize: vertical;

  min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color:
    var(--green);

  box-shadow:
    0 0 0 4px
    rgba(47, 107, 69, 0.10);
}

.file-name {
  color:
    var(--muted);

  font-size: 11px;
}

.checkbox-group {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  margin-top: 25px;

  color:
    var(--text);

  font-size: 13px;

  cursor: pointer;
}

.checkbox-group input {
  width: 18px;
  height: 18px;

  flex-shrink: 0;

  accent-color:
    var(--green);
}

.form-submit {
  margin-top: 30px;
}

.form-success {
  margin-top: 25px;

  padding: 20px;

  border-radius: 12px;

  background:
    #EDF6EA;

  border:
    1px solid #D6E8CF;

  color:
    var(--forest);
}

.form-success strong {
  display: block;

  margin-bottom: 5px;
}

.form-success p {
  color:
    var(--text);

  font-size: 13px;
}

.form-note {
  margin-top: 12px;

  color:
    var(--muted);

  font-size: 11px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.85fr)
    minmax(0, 1.15fr);

  gap: 60px;

  align-items: start;
}

.contact-info > p,
.contact-intro {
  max-width: 500px;

  margin-bottom: 35px;

  color:
    var(--text);
}

.contact-item {
  display: flex;

  gap: 15px;

  margin-bottom: 25px;
}

.contact-icon {
  width: 42px;
  height: 42px;

  flex-shrink: 0;

  display: grid;
  place-items: center;

  border-radius: 10px;

  background:
    var(--soft-green);

  color:
    var(--green);
}

.contact-item strong {
  display: block;

  margin-bottom: 4px;

  font-size: 13px;
}

.contact-item p,
.contact-item a {
  color:
    var(--text);

  font-size: 14px;
}

.contact-link {
  display: inline-block;

  color:
    var(--green) !important;

  font-weight: 700;
}

.contact-link:hover {
  color:
    var(--forest) !important;
}

.contact-action {
  margin-top: 30px;
}

.contact-form-card {
  padding: 35px;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius);

  background:
    var(--white);

  box-shadow:
    var(--shadow-sm);
}

.form-heading {
  margin-bottom: 30px;
}

.form-heading h2 {
  font-size: 30px;
}

.form-heading p {
  color:
    var(--text);

  font-size: 14px;
}


/* =========================================================
   LOCATION / MAP
   ========================================================= */

.map-card {
  display: grid;

  grid-template-columns:
    0.8fr
    1.2fr;

  min-height: 390px;

  overflow: hidden;

  border-radius: 22px;

  background:
    var(--white);

  box-shadow:
    var(--shadow-sm);
}

.map-content {
  padding: 50px;
}

.map-content p {
  margin-bottom: 25px;

  color:
    var(--text);

  font-size: 14px;
}

.location-address {
  margin-bottom: 25px;

  padding: 17px;

  border-radius: 12px;

  background:
    var(--cream);
}

.location-address strong {
  display: block;

  margin-bottom: 5px;

  color:
    var(--dark);

  font-size: 12px;
}

.location-address p {
  margin-bottom: 0;

  font-size: 13px;
}

.map-placeholder {
  position: relative;

  min-height: 390px;

  display: flex;

  align-items: center;
  justify-content: center;

  overflow: hidden;

  background:
    linear-gradient(
      45deg,
      #e6ebe5 25%,
      #f1f3ef 25%,
      #f1f3ef 50%,
      #e6ebe5 50%,
      #e6ebe5 75%,
      #f1f3ef 75%
    );

  background-size:
    40px 40px;

  color:
    var(--forest);
}

.map-grid {
  position: absolute;

  inset: 0;

  background-image:
    linear-gradient(
      rgba(18, 59, 42, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(18, 59, 42, 0.08) 1px,
      transparent 1px
    );

  background-size:
    45px 45px;

  opacity: 0.5;
}

.map-location {
  position: relative;

  z-index: 2;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 7px;

  padding: 25px;

  text-align: center;

  border-radius: 18px;

  background:
    rgba(255, 255, 255, 0.94);

  box-shadow:
    var(--shadow-md);
}

.map-location strong {
  font-family:
    "Plus Jakarta Sans",
    sans-serif;

  font-size: 16px;
}

.map-location span {
  color:
    var(--muted);

  font-size: 12px;
}

.map-pin {
  width: 55px;
  height: 55px;

  display: grid;

  place-items: center;

  margin-bottom: 5px;

  border-radius: 50%;

  background:
    var(--forest);

  color:
    var(--white);

  box-shadow:
    0 10px 30px
    rgba(18, 59, 42, 0.25);
}


/* =========================================================
   CTA BANNER
   ========================================================= */

.cta-banner {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 40px;

  padding:
    clamp(35px, 5vw, 60px);

  border-radius: 22px;

  background:
    rgba(255, 255, 255, 0.06);

  border:
    1px solid
    rgba(255, 255, 255, 0.10);

  color:
    var(--white);
}

.cta-banner h2 {
  max-width: 700px;

  margin-bottom: 12px;

  font-family:
    "Plus Jakarta Sans",
    sans-serif;

  font-size:
    clamp(28px, 4vw, 42px);

  line-height: 1.15;
}

.cta-banner p {
  max-width: 680px;

  color:
    rgba(255, 255, 255, 0.72);

  font-size: 14px;
}


/* =========================================================
   MODALS
   ========================================================= */

.modal {
  position: fixed;

  inset: 0;

  z-index: 2000;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 20px;
}

.modal.open {
  display: flex;
}

.modal-overlay {
  position: absolute;

  inset: 0;

  background:
    rgba(9, 24, 17, 0.72);

  backdrop-filter:
    blur(5px);
}

.modal-dialog {
  position: relative;

  z-index: 2;

  width:
    min(900px, 100%);

  max-height: 90vh;

  overflow-y: auto;

  border-radius: 20px;

  background:
    var(--white);

  box-shadow:
    0 30px 100px
    rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;

  top: 15px;
  right: 15px;

  z-index: 5;

  width: 40px;
  height: 40px;

  display: grid;

  place-items: center;

  border: 0;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.92);

  color:
    var(--dark);

  font-size: 25px;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.modal-close:hover {
  transform:
    rotate(5deg);

  background:
    var(--soft-green);
}

.modal-product {
  display: grid;

  grid-template-columns:
    0.85fr
    1.15fr;
}

.modal-product > img {
  width: 100%;
  height: 100%;

  min-height: 450px;

  object-fit: cover;
}

.modal-product-content {
  padding: 45px;
}

.modal-category {
  display: inline-block;

  margin-bottom: 12px;

  color:
    var(--green);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.modal-product-content h2,
.job-modal-dialog h2 {
  margin-bottom: 15px;

  font-family:
    "Plus Jakarta Sans",
    sans-serif;

  font-size: 30px;

  line-height: 1.2;
}

.modal-product-content > p {
  margin-bottom: 28px;

  color:
    var(--text);
}

.detail-list {
  display: grid;

  gap: 12px;

  margin-bottom: 30px;
}

.detail-list div {
  padding: 14px;

  border-radius: 10px;

  background:
    var(--cream);
}

.detail-list strong,
.detail-list span {
  display: block;
}

.detail-list strong {
  margin-bottom: 3px;

  font-size: 12px;
}

.detail-list span {
  color:
    var(--muted);

  font-size: 12px;
}

.job-modal-dialog {
  width:
    min(650px, 100%);

  padding: 45px;
}

.modal-job-meta {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 28px;
}

.modal-job-meta span {
  padding: 8px 11px;

  border-radius: 999px;

  background:
    var(--cream);

  color:
    var(--text);

  font-size: 12px;
}

.job-modal-description {
  margin-bottom: 30px;
}

.job-modal-description h3 {
  margin-bottom: 8px;

  font-family:
    "Plus Jakarta Sans",
    sans-serif;

  font-size: 16px;
}

.job-modal-description p {
  color:
    var(--text);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding-top: 65px;

  background:
    #0D2419;

  color:
    var(--white);
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.5fr
    0.7fr
    0.8fr;

  gap: 60px;

  padding-bottom: 50px;
}

.footer-brand {
  display: inline-block;

  margin-bottom: 15px;

  font-family:
    "Plus Jakarta Sans",
    sans-serif;

  font-size: 16px;
  font-weight: 800;

  letter-spacing: 0.04em;
}

.footer-grid p,
.footer-grid a {
  color:
    rgba(255, 255, 255, 0.66);

  font-size: 13px;
}

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

.footer-grid h4 {
  margin-bottom: 18px;

  font-size: 13px;
}

.footer-grid > div:nth-child(2) a {
  display: block;

  margin-bottom: 9px;
}

.footer-bottom {
  min-height: 70px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.1);

  color:
    rgba(255, 255, 255, 0.45);

  font-size: 11px;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-to-top {
  position: fixed;

  right: 20px;
  bottom: 20px;

  z-index: 900;

  width: 45px;
  height: 45px;

  display: grid;

  place-items: center;

  border: 0;

  border-radius: 50%;

  background:
    var(--forest);

  color:
    var(--white);

  font-size: 20px;

  opacity: 0;

  visibility: hidden;

  transform:
    translateY(15px);

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
}

.back-to-top.show {
  opacity: 1;

  visibility: visible;

  transform:
    translateY(0);
}

.back-to-top:hover {
  background:
    var(--green);

  transform:
    translateY(-3px);
}


/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal {
  opacity: 0;

  transform:
    translateY(20px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;

  transform:
    translateY(0);
}


/* =========================================================
   FOCUS ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline:
    3px solid
    rgba(111, 175, 69, 0.4);

  outline-offset: 3px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

  .main-nav {
    gap: 2px;
  }

  .main-nav a {
    padding-inline: 10px;
  }

  .card-grid.four {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .product-grid,
  .career-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .contact-grid {
    gap: 40px;
  }

  .map-card {
    grid-template-columns:
      1fr 1fr;
  }
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 820px) {

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;

    top:
      calc(100% + 1px);

    left: 0;
    right: 0;

    display: none;

    flex-direction: column;

    align-items: stretch;

    gap: 4px;

    padding:
      14px 20px 20px;

    background:
      var(--white);

    border-bottom:
      1px solid var(--border);

    box-shadow:
      var(--shadow-md);
  }

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

  .main-nav a {
    width: 100%;

    justify-content: flex-start;

    min-height: 46px;

    padding: 13px 12px;

    border-radius: 9px;
  }


  /* Mobile hover */

  .main-nav a:not(.nav-cta)::after {
    display: none;
  }

  .main-nav a:not(.nav-cta):hover {
    color: var(--green);

    background:
      var(--soft-green);
  }


  /* Mobile active */

  .main-nav a:not(.nav-cta).active {
    background:
      var(--soft-green);

    color:
      var(--green);

    font-weight: 700;

    box-shadow:
      inset 3px 0 0 var(--green);
  }


  /* Mobile CTA */

  .main-nav .nav-cta {
    width: 100%;

    margin:
      7px 0 0;

    justify-content: center;

    text-align: center;

    background:
      var(--forest);

    color:
      var(--white);
  }

  .main-nav .nav-cta:hover {
    background:
      var(--green);

    color:
      var(--white);
  }


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

  .image-card {
    max-width: 650px;
  }

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

  .map-card {
    grid-template-columns:
      1fr;
  }

  .cta-banner {
    align-items: flex-start;

    flex-direction: column;
  }

  .cta-banner .btn {
    width: 100%;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

  .container {
    width:
      min(
        var(--container),
        calc(100% - 30px)
      );
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;

    font-size: 11px;
  }

  .brand-text strong {
    font-size: 13px;
  }

  .brand-text small {
    font-size: 9px;
  }

  .page-hero {
    min-height: 480px;
  }

  .hero-content {
    padding:
      80px 0;
  }

  .hero-content h1 {
    font-size:
      clamp(36px, 10vw, 50px);
  }

  .hero-content p {
    font-size: 16px;

    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;

    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-tags {
    gap: 7px;
  }

  .hero-tags span {
    font-size: 10px;
  }

  .card-grid.three,
  .product-grid,
  .career-grid,
  .vision-grid {
    grid-template-columns:
      1fr;
  }

  .feature-card {
    min-height:
      auto;
  }

  .cta-box {
    flex-direction: column;

    align-items: flex-start;
  }

  .cta-box .btn {
    width: 100%;
  }

  .form-grid.two {
    grid-template-columns:
      1fr;
  }

  .form-group.full {
    grid-column:
      auto;
  }

  .application-form,
  .contact-form-card {
    padding:
      25px 20px;
  }

  .form-section {
    padding:
      30px 0;
  }

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

  .modal-product > img {
    min-height:
      250px;

    max-height:
      280px;
  }

  .modal-product-content {
    padding:
      30px 25px;
  }

  .job-modal-dialog {
    padding:
      35px 25px;
  }

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

    gap: 35px;
  }

  .footer-bottom {
    min-height:
      auto;

    flex-direction: column;

    align-items: flex-start;

    padding:
      22px 0;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .container {
    width:
      calc(100% - 28px);
  }

  .section {
    padding:
      65px 0;
  }

  .page-hero {
    min-height:
      460px;
  }

  .hero-content {
    padding:
      70px 0;
  }

  .hero-content h1 {
    font-size:
      35px;
  }

  .hero-content p {
    font-size:
      15px;
  }

  .hero-eyebrow {
    font-size:
      10px;
  }

  .section-heading h2,
  .section-content h2,
  .center-content h2,
  .cta-box h2,
  .contact-info h2,
  .map-content h2 {
    font-size:
      30px;
  }

  .filter-buttons {
    display: grid;

    grid-template-columns:
      1fr 1fr;
  }

  .filter-btn {
    width: 100%;

    font-size:
      11px;
  }

  .map-content {
    padding:
      30px 25px;
  }

  .map-placeholder {
    min-height:
      300px;
  }

  .contact-form-card {
    padding:
      24px 18px;
  }

  .form-heading h2 {
    font-size:
      27px;
  }

  .contact-item {
    gap:
      12px;
  }

  .contact-icon {
    width:
      40px;

    height:
      40px;
  }

  .cta-banner {
    padding:
      30px 24px;
  }

  .back-to-top {
    right:
      14px;

    bottom:
      14px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

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

  html {
    scroll-behavior:
      auto;
  }

  *,
  *::before,
  *::after {
    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.01ms !important;

    scroll-behavior:
      auto !important;
  }
}