/* ==========================================================================
   NEYM EXIM — modern redesign stylesheet
   All-green palette (derived from the original 2008 site's greens):
     #3F6417 / #5C8A24 / #7FB23C / #C9E391 / #E3F7DC
   ========================================================================== */

:root {
  /* all-green palette (teal removed) — variable names kept for simplicity */
  --teal:        #5C8A24;   /* main green  */
  --teal-dark:   #3F6417;   /* deep green  */
  --teal-light:  #A6D16A;   /* soft green  */
  --teal-wash:   #EEF7E1;   /* pale green  */
  --green:       #7FB23C;   /* leaf green  */
  --green-dark:  #4E7A1E;
  --green-light: #C9E391;   /* old lime    */
  --green-wash:  #F1F9E6;
  --ink:         #17323A;
  --ink-soft:    #4A626A;
  --line:        #E2ECEF;
  --white:       #ffffff;
  --shadow-sm:   0 2px 8px rgba(23,50,58,.06);
  --shadow-md:   0 10px 30px rgba(23,50,58,.10);
  --shadow-lg:   0 20px 50px rgba(23,50,58,.16);
  --radius:      16px;
  --radius-sm:   10px;
  --maxw:        1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-dark); }

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; color: var(--ink); font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: .6rem;
}

.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--wash { background: var(--green-wash); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .18s, box-shadow .18s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(92,138,36,.35); }
.btn--primary:hover { background: var(--teal-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(23,50,58,.18); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-dark); }
.btn--light { background: #fff; color: var(--teal-dark); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green) 0%, var(--teal-dark) 100%);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: .5px;
  box-shadow: var(--shadow-sm);
}
.brand__name { font-weight: 800; font-size: 1.2rem; letter-spacing: .5px; color: var(--ink); }
.brand__name span { color: var(--teal-dark); }
.brand__tag { display: block; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  padding: .55rem .85rem; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: .95rem;
}
.nav__links a:hover, .nav__links a.active { background: var(--teal-wash); color: var(--teal-dark); }
.nav__cta { margin-left: 10px; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(127,178,60,.20), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(92,138,36,.16), transparent 60%),
    var(--white);
  overflow: hidden;
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center;
  padding: clamp(50px, 7vw, 96px) 0;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.5px; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--teal-dark), var(--green-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; margin: 1rem 0 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges { display: flex; gap: 26px; margin-top: 2.4rem; flex-wrap: wrap; }
.hero__badges div { font-size: .9rem; color: var(--ink-soft); }
.hero__badges b { display: block; font-size: 1.7rem; color: var(--ink); font-weight: 800; }

.hero__art { position: relative; }
.hero__art img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero__art .float-card {
  position: absolute; bottom: -22px; left: -22px;
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .9rem;
}
.hero__art .float-card .dot { width: 40px; height: 40px; border-radius: 10px; background: var(--green-wash); display: grid; place-items: center; font-size: 1.2rem; }

/* ---------- Full-width image banner (green theme from old site) ---------- */
.banner {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: #17323A;
  overflow: hidden;
}
.banner__bg {
  position: absolute; inset: 0;
  background-image: url("banner-export.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.banner__bg::after {
  /* green wash carried over from the original site palette */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(30,54,10,.93) 0%, rgba(63,100,23,.86) 40%, rgba(92,138,36,.66) 74%, rgba(127,178,60,.42) 100%);
}
.banner__inner { position: relative; z-index: 2; padding: clamp(56px,8vw,90px) 0; max-width: 660px; }
.banner .eyebrow { color: #E3F7DC; }
.banner h1 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.6rem); letter-spacing: -.5px; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.banner h1 em { font-style: normal; color: #D9F59A; }
.banner p { color: #EAF6E0; font-size: 1.14rem; max-width: 50ch; margin: 1rem 0 1.9rem; }
.banner__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.banner .btn--primary { background: var(--green); box-shadow: 0 10px 24px rgba(92,138,36,.45); }
.banner .btn--primary:hover { background: var(--green-dark); }
.banner .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.banner .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.banner__badges { display: flex; gap: 30px; margin-top: 2.4rem; flex-wrap: wrap; }
.banner__badges div { font-size: .88rem; color: #E3F7DC; }
.banner__badges b { display: block; font-size: 1.8rem; color: #fff; font-weight: 800; }
.banner__scroll { position: absolute; z-index: 2; bottom: 22px; left: 50%; transform: translateX(-50%); color: #E3F7DC; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; opacity: .9; }

@media (max-width: 560px) {
  .banner { min-height: 76vh; }
  .banner__badges { gap: 20px; }
}

/* ---------- Marquee strip ---------- */
.strip { background: var(--ink); color: #cfe6ec; }
.strip .container { display: flex; flex-wrap: wrap; gap: 12px 34px; justify-content: center; padding-block: 16px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.strip span { opacity: .85; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--teal-light); }
.card__media { aspect-ratio: 16/11; overflow: hidden; background: var(--green-wash); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card__tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--teal-dark); margin-bottom: .5rem; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--ink-soft); font-size: .95rem; margin: 0 0 1rem; }
.card__list { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.card__list li { font-size: .8rem; background: var(--green-wash); color: var(--green-dark); padding: .3rem .7rem; border-radius: 999px; font-weight: 600; }
.card__link { margin-top: auto; font-weight: 700; color: var(--teal-dark); display: inline-flex; align-items: center; gap: 6px; }
.card__link:hover { gap: 10px; }

/* ---------- Feature / about split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.feature-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .ic { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--teal-wash); color: var(--teal-dark); display: grid; place-items: center; font-size: 1.15rem; }
.feature-list b { display: block; }
.feature-list span { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Stats band ---------- */
.stats { background: linear-gradient(120deg, var(--green-dark) 0%, var(--green) 120%); color: #fff; }
.stats .grid { grid-template-columns: repeat(4, 1fr); text-align: center; gap: 20px; }
.stats b { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.stats span { font-size: .95rem; opacity: .92; }

/* ---------- Contact / CTA ---------- */
.cta {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: clamp(36px, 5vw, 60px); text-align: center;
}
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.cta p { color: #b9d3da; max-width: 52ch; margin: .5rem auto 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0F2429; color: #a7c2c9; padding: 60px 0 26px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 34px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; margin-bottom: 1rem; }
.site-footer a { color: #a7c2c9; display: block; padding: .2rem 0; font-size: .92rem; }
.site-footer a:hover { color: var(--teal-light); }
.site-footer .brand__name { color: #fff; }
.site-footer p { font-size: .9rem; margin: .3rem 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; opacity: .8; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background:
    radial-gradient(700px 300px at 90% -30%, rgba(127,178,60,.28), transparent 60%),
    var(--green-wash);
  padding: clamp(40px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-banner p { color: var(--ink-soft); max-width: 60ch; margin: .4rem 0 0; }
.crumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: .8rem; }
.crumbs a { color: var(--teal-dark); }

/* spec table for product detail */
.spec { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .9rem; }
.spec th, .spec td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
.spec th { background: var(--teal-wash); color: var(--teal-dark); font-weight: 700; }
.spec tr:nth-child(even) td { background: #fafcfd; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 600; font-size: .88rem; color: var(--ink); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: .95rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(127,178,60,.18);
}
.form-note { font-size: .82rem; color: var(--ink-soft); }

/* contact info list */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--green-wash); color: var(--green-dark); display: grid; place-items: center; font-size: 1.25rem; }
.info-list b { display: block; margin-bottom: .15rem; }
.info-list span, .info-list a { color: var(--ink-soft); font-size: .95rem; }
.info-list a { display: inline; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(24px, 4vw, 40px); }

@media (max-width: 560px) {
  .form .row { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner, .split { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }

  .nav__links {
    position: fixed; inset: 74px 0 auto 0;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 22px 22px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform .3s; visibility: hidden;
  }
  .nav__links.open { transform: translateY(0); visibility: visible; }
  .nav__links a { padding: .9rem .6rem; border-radius: 8px; }
  .nav__cta { margin: 8px 0 0; }
  .nav__toggle { display: block; }
}
@media (max-width: 560px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .brand__tag { display: none; }
}
