/* ============================================================
   SHP Agricultural Irrigation — Homepage Styles
   Primary green #1C6B35 (matched to SHP logo leaf colour)
   ============================================================ */
:root {
  --green: #1C6B35;
  --green-dark: #155127;
  --green-deep: #0E3A1C;
  --bg-soft: #EFF5F0;
  --text: #333333;
  --text-2: #666666;
  --line: #DCE8DF;
  --white: #FFFFFF;
  /* News & Blog column banner — single source of truth for every page in the
     column (listing + all article pages). Swap this one image / path to change
     the whole column; the CMS field maps to this file. */
  --news-hero: url("../images/news/hero-news.jpg");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .4px;
  border-radius: 4px;
  cursor: pointer;
  transition: all .25s ease;
  border: 1px solid transparent;
  font-family: inherit;
}
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green); color: var(--white); }
.btn--outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--green-dark); }
.btn--white { background: var(--white); color: var(--green-dark); }
.btn--white:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--green); color: var(--white); font-size: 16px; }
.topbar__row { display: flex; justify-content: space-between; align-items: center; min-height: 46px; }
.topbar__contact { display: flex; gap: 28px; align-items: center; }
.topbar__contact span { display: inline-flex; align-items: center; gap: 8px; }
.topbar__wa { font-weight: 600; }
.topbar__social { display: flex; gap: 14px; }
.topbar__social a { opacity: .9; transition: opacity .2s; display: inline-flex; }
.topbar__social a:hover { opacity: 1; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.nav { display: flex; align-items: center; gap: 40px; height: 84px; }
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo-img { height: 50px; width: auto; }
nav { margin-left: auto; }
.nav__menu { display: flex; gap: 30px; }
.nav__menu > li { position: relative; }
.nav__menu > li > a {
  display: block; padding: 30px 0; font-weight: 600; font-size: 16px; color: #212121;
  border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.nav__menu > li > a:hover { color: var(--green); border-color: var(--green); }
/* Products 下拉三角符号 */
.nav__menu > li.has-drop > a { position: relative; padding-right: 17px; }
.nav__menu > li.has-drop > a::after {
  content: ""; position: absolute; right: 0; top: 50%; margin-top: -5px;
  width: 7px; height: 7px;
  border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg); transition: border-color .2s;
}
.nav__dropdown {
  display: none; position: absolute; top: 100%; left: 0; background: var(--white);
  min-width: 250px; box-shadow: 0 12px 30px rgba(0,0,0,.12); padding: 10px 0; border-top: 3px solid var(--green); z-index: 300;
}
.nav__menu > li:hover .nav__dropdown { display: block; }
.nav__dropdown a { display: block; padding: 9px 22px; font-size: 13.5px; color: var(--text-2); transition: all .2s; }
.nav__dropdown a:hover { color: var(--green); background: var(--bg-soft); padding-left: 28px; }
.nav__cta { flex-shrink: 0; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }

/* ---------- Hero slider ---------- */
.slider { position: relative; height: 720px; overflow: hidden; }
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s ease; display: flex; align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,38,14,.50) 0%, rgba(23,38,14,.28) 50%, rgba(23,38,14,.06) 100%); }
.slide__content { position: relative; z-index: 2; color: var(--white); }
.slide__label {
  display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 7px 16px; border: 1px solid rgba(255,255,255,.55); border-radius: 30px; margin-bottom: 26px;
}
.slide h1 { font-size: 50px; font-weight: 600; line-height: 1.18; margin-bottom: 20px; max-width: 1120px; }
.slide p { font-size: 16.5px; color: rgba(255,255,255,.9); margin-bottom: 30px; max-width: 620px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide__actions { display: flex; gap: 16px; }
.slider__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.18); color: var(--white); font-size: 18px; cursor: pointer; transition: all .25s;
}
.slider__btn:hover { background: var(--green); border-color: var(--green); }
.slider__prev { left: 24px; }
.slider__next { right: 24px; }
.slider__dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.slider__dots .dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: all .3s; }
.slider__dots .dot.active { background: var(--white); transform: scale(1.25); }

/* ---------- Trust bar ---------- */
.trust { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 0; }
.trust__item { font-size: 14px; color: var(--text-2); line-height: 1.55; border-left: 3px solid var(--green); padding-left: 15px; }
.trust__item strong { display: block; font-size: 16px; color: var(--green-dark); margin-bottom: 3px; letter-spacing: .1px; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: 40px; font-weight: 800; color: var(--green-dark); margin-bottom: 16px; letter-spacing: .3px; }
.section-head p { font-size: 15.5px; color: var(--text-2); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; max-width: 100%; text-align: left; gap: 30px; }
.section-head--row .btn { flex: 0 0 auto; white-space: nowrap; }
.section-head--row p { margin: 0; }

/* ---------- Product categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(36,52,27,.14); }
.cat-card__img { aspect-ratio: 4/3; overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.cat-card:hover .cat-card__img img { transform: scale(1.06); }
.cat-card__name {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; font-weight: 700; font-size: 15.5px; color: var(--green-dark);
}
.cat-card__arrow {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px;
  transition: all .25s;
}
.cat-card:hover .cat-card__arrow { background: var(--green); border-color: var(--green); color: var(--white); }

/* ---------- About ---------- */
.about-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: stretch; }
.about-media { position: relative; }
.about-media::after {
  content: ""; position: absolute; left: 28px; top: 28px; right: -28px; bottom: -28px;
  border: 2px solid rgba(28,107,53,.26); border-radius: 18px; z-index: 0;
}
.about-img {
  position: relative; z-index: 1; height: 100%; border-radius: 14px; overflow: hidden;
  box-shadow: 0 26px 60px rgba(21,81,39,.18);
}
.about-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--green);
}
.about__eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--green); }
.about-text h2 { font-size: 40px; font-weight: 800; color: var(--green-dark); margin-bottom: 0; letter-spacing: .3px; }
.about-text p.about__slogan {
  margin: 14px 0 20px; padding-left: 18px; border-left: 3px solid var(--green);
  font-size: 20px; font-weight: 600; line-height: 1.5; letter-spacing: .2px; color: var(--green-dark);
}
.about-text p { margin-bottom: 18px; color: var(--text-2); font-size: 15.5px; }
.about__points {
  list-style: none; padding: 0; margin: 20px 0 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px;
}
.about__points li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.4; }
.about__points svg { flex: 0 0 auto; margin-top: 1px; color: var(--green); }
.about-text .btn { margin-top: 0; }

/* ---------- Quality band ---------- */
.quality { position: relative; padding: 110px 0; overflow: hidden; }
.quality__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.quality::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,58,28,.84) 0%, rgba(14,58,28,.70) 50%, rgba(14,58,28,.54) 100%);
}
.quality__row { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; color: var(--white); }
.quality__head { padding-right: 70px; }
.quality__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.quality__eyebrow::before { content: ""; width: 30px; height: 2px; background: rgba(255,255,255,.55); }
.quality__head h2 { font-size: 42px; font-weight: 800; line-height: 1.22; }
.quality__body { position: relative; padding-left: 70px; }
.quality__body::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 120px; background: rgba(255,255,255,.34);
}
.quality__body p { font-size: 16px; line-height: 1.78; color: rgba(255,255,255,.90); margin-bottom: 16px; }
.quality__body p:last-child { margin-bottom: 0; }
.quality__cta { margin-top: 30px; }

/* ---------- Service grid ---------- */
/* ---------- Service grid (hover-reveal cards) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  position: relative; display: block; aspect-ratio: 1 / 1;
  border-radius: 12px; overflow: hidden; isolation: isolate;
  background: var(--green-deep); color: var(--white);
  box-shadow: 0 10px 26px rgba(18,45,28,.10);
  transition: transform .35s ease, box-shadow .35s ease;
}
.svc-card:hover, .svc-card:focus-visible { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(18,45,28,.22); outline: none; }
.svc-card__media { position: absolute; inset: 0; }
.svc-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
}
.svc-card:hover .svc-card__media img, .svc-card:focus-visible .svc-card__media img { transform: scale(1.07); }

.svc-card__bar {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 20px 24px 22px; text-align: center;
  background: linear-gradient(to top, rgba(9,30,16,.88) 0%, rgba(9,30,16,.42) 32%, rgba(9,30,16,0) 58%);
  transition: opacity .3s ease, transform .35s ease;
}
.svc-card__name { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: .2px; }
.svc-card__plus {
  position: absolute; top: 20px; right: 24px;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5); color: var(--white);
  display: grid; place-items: center; transition: background .25s, border-color .25s;
}
.svc-card:hover .svc-card__bar, .svc-card:focus-visible .svc-card__bar { opacity: 0; transform: translateY(10px); }

.svc-card__panel {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 34px 26px; text-align: center;
  background: linear-gradient(180deg, rgba(11,36,20,.76) 0%, rgba(9,30,16,.86) 100%);
  opacity: 0; visibility: hidden;
  transition: opacity .32s ease, visibility .32s ease;
}
.svc-card__panel::before {
  content: ""; width: 34px; height: 2px; background: rgba(255,255,255,.55); margin-bottom: 18px;
}
.svc-card__panel h3 { font-size: 22px; font-weight: 700; line-height: 1.3; margin-bottom: 14px; letter-spacing: .2px; }
.svc-card__panel p { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,.93); }
.svc-card:hover .svc-card__panel, .svc-card:focus-visible .svc-card__panel { opacity: 1; visibility: visible; }

/* touch / no-hover devices: keep the text permanently visible */
@media (hover: none), (max-width: 768px) {
  .svc-card__bar { display: none; }
  .svc-card__panel {
    opacity: 1; visibility: visible; justify-content: flex-end; padding: 26px 22px;
    background: linear-gradient(180deg, rgba(11,36,20,0) 0%, rgba(9,30,16,.62) 42%, rgba(9,30,16,.93) 100%);
  }
  .svc-card__panel::before { display: none; }
  .svc-card__panel h3 { font-size: 19px; }
}

/* ---------- Footprints / map ---------- */
.map-wrap { max-width: 1000px; margin: 0 auto; }
.map-wrap img { width: 100%; border-radius: 10px; box-shadow: 0 16px 40px rgba(36,52,27,.14); }

/* ---------- Split (customized / environment) ---------- */
.split { display: flex; flex-direction: column; gap: 90px; }
.split__row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split__img img { width: 100%; border-radius: 10px; box-shadow: 0 18px 44px rgba(36,52,27,.16); }
.split__text h2 { font-size: 34px; font-weight: 800; color: var(--green-dark); margin-bottom: 18px; }
.split__text p { color: var(--text-2); font-size: 15.5px; }
.split__row--reverse .split__img { order: 2; }
.split__row--reverse .split__text { order: 1; }

/* ---------- Factory gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.07); }

/* ---------- Home journal (News & Blog) ---------- */
.jn { position: relative; }
.jn__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 44px; margin-bottom: 36px; }
.jn__eyebrow { display: inline-flex; align-items: center; gap: 11px; font-size: 11.5px; font-weight: 800; letter-spacing: 2.6px; text-transform: uppercase; color: var(--green); margin-bottom: 15px; }
.jn__eyebrow i { display: block; width: 28px; height: 2px; background: var(--green); }
.jn__head h2 { font-size: 38px; font-weight: 800; line-height: 1.1; letter-spacing: -.4px; color: var(--green-dark); margin-bottom: 11px; }
.jn__head p { font-size: 15.5px; line-height: 1.7; color: var(--text-2); max-width: 580px; }
.jn__all { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 11px; padding: 12px 18px 12px 22px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--green-dark); white-space: nowrap; transition: background .25s, border-color .25s, color .25s; }
.jn__all span { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: var(--green); color: var(--white); font-size: 12px; transition: background .25s, color .25s, transform .25s; }
.jn__all:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.jn__all:hover span { background: var(--white); color: var(--green); transform: translateX(3px); }

.jn__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 26px; align-items: stretch; }

/* featured */
.jn-feat { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.jn-feat:hover { transform: translateY(-5px); border-color: #C6DBCE; box-shadow: 0 24px 50px rgba(23,58,33,.11); }
.jn-feat__media { position: relative; display: block; aspect-ratio: 16 / 10; flex: 1 1 auto; min-height: 260px; overflow: hidden; background: #E9F1EB; border-bottom: 1px solid #EDF3EE; }
.jn-feat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.3,1); }
.jn-feat:hover .jn-feat__media img { transform: scale(1.045); }
.jn-feat__media--photo img { object-fit: cover; padding: 0; border-radius: 0; }
.jn-feat__tag { position: absolute; top: 0; left: 0; padding: 9px 17px; background: var(--green); color: var(--white); font-size: 10.5px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; border-radius: 0 0 13px 0; }
.jn-feat__stamp { position: absolute; right: 18px; bottom: 18px; min-width: 68px; padding: 9px 10px 8px; border-radius: 12px; background: rgba(255,255,255,.95); text-align: center; box-shadow: 0 10px 24px rgba(18,40,26,.14); }
.jn-feat__stamp b { display: block; font-size: 23px; font-weight: 800; line-height: 1; color: var(--green-dark); letter-spacing: -.5px; }
.jn-feat__stamp i { display: block; margin-top: 4px; font-style: normal; font-size: 9px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: #93A399; }
.jn-feat__body { display: flex; flex-direction: column; flex: 0 0 auto; padding: 22px 30px 24px; }
.jn-feat__body h3 { font-size: 23px; font-weight: 800; line-height: 1.3; letter-spacing: -.2px; color: var(--green-dark); margin-bottom: 10px; }
.jn-feat__body h3 a { color: inherit; }
.jn-feat:hover .jn-feat__body h3 { color: var(--green); }
.jn-feat__body p { font-size: 14.5px; line-height: 1.7; color: var(--text-2); margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jn-feat__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 11px; font-size: 13.5px; font-weight: 800; color: var(--green); letter-spacing: .3px; }
.jn-feat__cta span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; border: 1px solid #CBDFD2; font-size: 13px; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.jn-feat:hover .jn-feat__cta span { background: var(--green); border-color: var(--green); color: var(--white); transform: translateX(4px); }

/* side list */
.jn-side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.jn-item { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.jn-item:hover { transform: translateY(-3px); border-color: #C6DBCE; box-shadow: 0 18px 36px rgba(23,58,33,.1); }
.jn-item__img { position: relative; display: block; aspect-ratio: 11 / 5; flex: 0 0 auto; overflow: hidden; background: #EDF4EF; }
.jn-item__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.jn-item:hover .jn-item__img img { transform: scale(1.08); }
.jn-item__body { display: flex; flex-direction: column; flex: 1; min-height: 96px; padding: 15px 20px 17px; }
.jn-item__meta { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); }
.jn-item__meta em { font-style: normal; font-weight: 600; letter-spacing: .7px; color: #9AA99F; }
.jn-item__meta .jn-dot { width: 3px; height: 3px; border-radius: 50%; background: #C8D6CB; }
.jn-item h4 { font-size: 16.5px; font-weight: 700; line-height: 1.42; color: var(--green-dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jn-item:hover h4 { color: var(--green); }

/* ---------- News & Blog ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(36,52,27,.14); }
.news-card__img { aspect-ratio: 4/3; overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.news-card:hover .news-card__img img { transform: scale(1.06); }
.news-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.news-card__tag { align-self: flex-start; background: var(--bg-soft); color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; }
.news-card__body h3 { font-size: 17.5px; font-weight: 700; color: var(--green-dark); line-height: 1.4; margin-bottom: 10px; }
.news-card__body p { font-size: 13.8px; color: var(--text-2); flex: 1; }
.news-card__link { margin-top: 16px; color: var(--green); font-weight: 700; font-size: 13.5px; }
.news-card__link:hover { color: var(--green-dark); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; padding: 100px 0; background-size: cover; background-position: center; }
.cta-banner__overlay { position: absolute; inset: 0; background: rgba(36,52,27,.72); }
.cta-banner__content { position: relative; z-index: 2; text-align: center; color: var(--white); max-width: 720px; }
.cta-banner__content h2 { font-size: 38px; font-weight: 800; margin-bottom: 18px; }
.cta-banner__content p { font-size: 16px; color: rgba(255,255,255,.9); margin-bottom: 30px; }

/* ---------- FAQ + Contact ---------- */
.faq-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.faq-side h2, .contact-side h2 { font-size: 32px; font-weight: 800; color: var(--green-dark); margin-bottom: 28px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 15.5px; font-weight: 600; color: var(--text);
  padding: 18px 34px 18px 0; position: relative; transition: color .2s;
}
.faq__q::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--green); transition: transform .25s;
}
.faq__item.open .faq__q { color: var(--green); }
.faq__item.open .faq__q::after { content: "−"; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a p { padding: 0 0 18px; font-size: 14px; color: var(--text-2); }
.faq__item.open .faq__a { max-height: 220px; }

.contact-side .form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 6px;
  font-family: inherit; font-size: 14px; color: var(--text); background: var(--white); transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); }
.form textarea { min-height: 120px; resize: vertical; }

/* ---------- Footer ---------- */
.footer { background: var(--green-deep); color: rgba(255,255,255,.85); padding: 70px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr 1.3fr; gap: 40px; padding-bottom: 46px; }
.footer__brand { display: flex; align-items: center; margin-bottom: 18px; }
.footer__logo-img { height: 44px; width: auto; }
.footer__brand-col p { font-size: 13.5px; color: rgba(255,255,255,.65); margin-bottom: 20px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  display: inline-flex; align-items: center; justify-content: center; transition: all .25s;
}
.footer__social a:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.footer h4 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 20px; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { font-size: 13.5px; color: rgba(255,255,255,.7); transition: color .2s, padding-left .2s; }
.footer ul a:hover { color: var(--white); padding-left: 4px; }
.footer ul li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.footer ul svg { margin-top: 3px; flex-shrink: 0; color: var(--green); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; text-align: center;
  font-size: 13px; color: rgba(255,255,255,.55);
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; display: flex; align-items: flex-end; min-height: 320px;
  color: var(--white); background: var(--green-deep) center/cover no-repeat;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9,30,16,.68) 0%, rgba(9,30,16,.36) 58%, rgba(9,30,16,.12) 100%),
    linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.05));
}
.page-hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 84px; padding-bottom: 52px; }
.page-hero__crumb {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 13px; letter-spacing: .6px; color: rgba(255,255,255,.60); margin-bottom: 16px;
}
.page-hero__crumb a { color: rgba(255,255,255,.82); }
.page-hero__crumb a:hover { color: var(--white); }
.page-hero__crumb span { opacity: .5; }
.page-hero h1 { font-size: 46px; font-weight: 800; line-height: 1.2; letter-spacing: .3px; margin-bottom: 14px; }
/* Column title reused inside article heroes: same look as the listing h1,
   but an h2 in the outline so each article keeps a single h1 (its own title). */
.page-hero h2 { font-size: 46px; font-weight: 800; line-height: 1.2; letter-spacing: .3px; margin-bottom: 14px; }
.page-hero p { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.80); max-width: 680px; }
.page-hero--article { min-height: 380px; }
.page-hero--article h1 { font-size: 38px; max-width: 900px; margin-bottom: 0; }

/* News & Blog column shared banner: .page-hero--news is applied to news.html
   and to every article / blog detail page, so the column header image is
   always the same asset and is driven by --news-hero in :root. */
.page-hero--news {
  background-image: var(--news-hero);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* ---------- News listing ---------- */
[hidden] { display: none !important; }
.post-filter { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.post-filter button {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--text-2);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 24px; cursor: pointer; transition: all .2s;
}
.post-filter button:hover { color: var(--green); border-color: var(--green); }
.post-filter button.is-active { background: var(--green); border-color: var(--green); color: var(--white); }

.post-featured {
  display: grid; grid-template-columns: 1.02fr 1fr; background: var(--white);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 30px;
}
.post-featured__img { display: block; min-height: 400px; overflow: hidden; }
.post-featured__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-featured:hover .post-featured__img img { transform: scale(1.04); }
.post-featured__body { padding: 48px 46px; display: flex; flex-direction: column; justify-content: center; }
.post-featured__body h3 { font-size: 27px; font-weight: 800; line-height: 1.32; color: var(--green-dark); margin: 14px 0 16px; }
.post-featured__body h3 a { color: inherit; }
.post-featured__body h3 a:hover { color: var(--green); }
.post-featured__body p { font-size: 15px; line-height: 1.8; color: var(--text-2); margin-bottom: 26px; }
.post-featured__body .news-card__link { margin-top: 0; }

.news-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.news-card__meta .news-card__tag { margin-bottom: 0; }
.news-card__date { font-size: 12px; letter-spacing: .4px; color: #9aa79f; white-space: nowrap; }
.news-card__img { display: block; }
.news-card__body h3 a { color: inherit; }
.news-card__body h3 a:hover { color: var(--green); }
.post-empty { text-align: center; padding: 60px 0; color: var(--text-2); font-size: 15px; }
.section-more { text-align: center; margin-top: 48px; }

/* ---------- Article page ---------- */
.article { max-width: 800px; margin: 0 auto; }
.article__title { font-size: 40px; font-weight: 800; line-height: 1.24; letter-spacing: -.3px; color: var(--green-dark); margin-bottom: 18px; }
.article__meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-2); margin-bottom: 22px; }
.article__meta .news-card__tag { margin-bottom: 0; }
.article__lead {
  font-size: 17.5px; line-height: 1.8; color: #3f4a43;
  border-left: 3px solid var(--green); padding-left: 20px; margin-bottom: 38px;
}
.article__body h2 { font-size: 24px; font-weight: 700; color: var(--green-dark); margin: 42px 0 16px; letter-spacing: .2px; }
.article__body h2:first-child { margin-top: 0; }
.article__body p { font-size: 16px; line-height: 1.9; color: #4a5450; margin-bottom: 20px; }
.article__body ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 13px; }
.article__body ul li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.75; color: #4a5450; }
.article__body ul li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
}
.article__fig { margin: 34px 0 36px; }
.article__fig img { display: block; width: 100%; border-radius: 14px; }
.article__fig figcaption { margin-top: 11px; font-size: 12.5px; line-height: 1.6; letter-spacing: .2px; color: #8B9C90; border-left: 2px solid var(--line); padding-left: 10px; }

.article__end {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--line);
}
.article__back { font-size: 14px; font-weight: 700; color: var(--green); }
.article__back:hover { color: var(--green-dark); }

.related-block { margin-top: 88px; }
.related-block__title { font-size: 24px; font-weight: 800; color: var(--green-dark); text-align: center; margin-bottom: 30px; }
.related-block .news-grid { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
  .nav { gap: 22px; }
  .nav__menu { gap: 18px; }
  .nav__cta { padding: 12px 20px; font-size: 13.5px; }
  .jn__head h2 { font-size: 38px; }
  .jn__grid { grid-template-columns: 1.3fr 1fr; gap: 22px; }
  .jn-feat__body { padding: 24px 26px 26px; }
  .jn-feat__body h3 { font-size: 22px; }
}

@media (max-width: 1024px) {
  .nav { gap: 20px; }
  .nav__menu { gap: 18px; }
  .nav__cta { padding: 11px 20px; }
  .slide h1 { font-size: 40px; }
  .section { padding: 70px 0; }
  .about-wrap, .split__row { gap: 44px; }
  .about-wrap { grid-template-columns: 1fr; }
  .about-img { height: auto; }
  .about-img img { height: auto; aspect-ratio: 16 / 10; }
  .about-media::after { left: 16px; top: 16px; right: -16px; bottom: -16px; }
  .quality__head h2 { font-size: 36px; }
  .quality__body { padding-left: 50px; }
  .page-hero h1 { font-size: 38px; }
  .page-hero--article h1 { font-size: 30px; }
  .article__title { font-size: 34px; }
  .post-featured { grid-template-columns: 1fr; }
  .post-featured__img { min-height: 300px; }
  .post-featured__body { padding: 32px 30px; }
  .post-featured__body h3 { font-size: 23px; }
  .faq-contact-grid { gap: 56px; }
  .jn__head { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 34px; }
  .jn__grid { grid-template-columns: 1fr; gap: 20px; }
  .jn-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .jn-item__img { aspect-ratio: 3 / 2; }
}

@media (max-width: 991px) {
  .trust__row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cat-grid, .svc-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .slider { height: 560px; }
  .quality__row { grid-template-columns: 1fr; gap: 34px; }
  .quality__head { padding-right: 0; }
  .quality__head h2 { font-size: 34px; }
  .quality__body { padding-left: 0; padding-top: 30px; }
  .quality__body::before { left: 0; top: 0; transform: none; width: 56px; height: 1px; background: rgba(255,255,255,.22); }
  .jn__head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 36px; }
  .jn__grid { grid-template-columns: 1fr; }
  .jn-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
}

@media (max-width: 768px) {
  .container { padding: 0 22px; }
  .topbar { font-size: 14px; }
  .topbar__row { flex-wrap: wrap; justify-content: center; gap: 8px; padding: 10px 0; }
  .topbar__contact { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .header { position: relative; }
  .nav { height: 72px; }
  .nav__logo-img { height: 40px; }
  .footer__logo-img { height: 38px; }
  .nav__toggle { display: block; margin-left: auto; }
  nav { margin-left: 0; }
  .nav__menu {
    display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white);
    flex-direction: column; gap: 0; padding: 10px 22px 20px; box-shadow: 0 14px 30px rgba(0,0,0,.12);
  }
  .nav__menu.open { display: flex; }
  .nav__menu > li > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__dropdown { display: none !important; }
  .nav__menu > li.open .nav__dropdown { display: block !important; position: static; box-shadow: none; border: none; padding: 0 0 6px; }
  .nav__dropdown a { padding: 8px 0 8px 14px; }
  .nav__cta { display: none; }
  .page-hero { min-height: 240px; }
  .page-hero__inner { padding-top: 56px; padding-bottom: 38px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero p { font-size: 15px; }
  .page-hero--article { min-height: 280px; }
  .page-hero--article h1 { font-size: 23px; }
  .article__title { font-size: 26px; margin-bottom: 14px; }
  .post-filter { margin-bottom: 30px; }
  .post-featured__body { padding: 26px 24px 28px; }
  .post-featured__body h3 { font-size: 21px; }
  .article__lead { font-size: 16px; padding-left: 16px; margin-bottom: 30px; }
  .article__body h2 { font-size: 21px; margin: 34px 0 14px; }
  .article__body p { font-size: 15.5px; line-height: 1.85; }
  .article__body ul li { font-size: 15px; }
  .related-block { margin-top: 60px; }
  .related-block__title { font-size: 21px; }
  .related-block .news-grid { grid-template-columns: 1fr; }
  .slider { height: 520px; }
  .slide h1 { font-size: 30px; }
  .slide p { font-size: 15px; }
  .slider__btn { display: none; }
  .slide__content { padding-top: 20px; }
  .slide__actions .btn { padding: 11px 20px; font-size: 13px; }
  .slide__actions { flex-direction: column; align-items: flex-start; }
  .trust__row { grid-template-columns: 1fr 1fr; }
  .cat-grid, .svc-grid, .news-grid { grid-template-columns: 1fr; }
  .svc-card__panel { padding: 24px 22px 28px; }
  .svc-card__panel h3 { font-size: 18px; margin-bottom: 10px; }
  .svc-card__panel p { font-size: 13px; line-height: 1.65; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .about-wrap, .split__row { grid-template-columns: 1fr; }
  .about-text h2 { font-size: 30px; }
  .about-text p.about__slogan { font-size: 17px; margin: 14px 0 20px; padding-left: 14px; }
  .about__points { grid-template-columns: 1fr; gap: 12px; margin: 20px 0 24px; }
  .about-media::after { left: 14px; top: 14px; right: -14px; bottom: -14px; border-radius: 14px; }
  .about-img { height: auto; }
  .about-img img { height: auto; aspect-ratio: 4 / 3; }
  .split__row--reverse .split__img { order: 1; }
  .split__row--reverse .split__text { order: 2; }
  .faq-contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .section-head h2 { font-size: 30px; }
  .jn__head h2 { font-size: 30px; }
  .jn__head { margin-bottom: 30px; gap: 18px; }
  .jn__head p { font-size: 14.5px; }
  .jn-side { grid-template-columns: 1fr; }
  .jn-item__img { aspect-ratio: 3 / 2; }
  .jn-item__body { padding: 15px 18px 18px; }
  .jn-item h4 { font-size: 15.5px; }
  .jn-feat__media { aspect-ratio: 16 / 10; min-height: 220px; }
  .jn-feat__body { padding: 22px 22px 24px; }
  .jn-feat__body h3 { font-size: 20px; }
  .jn-feat__body p { font-size: 14px; -webkit-line-clamp: 3; }
  .jn-feat__stamp { right: 12px; bottom: 12px; min-width: 58px; padding: 8px 9px 7px; }
  .jn-feat__stamp b { font-size: 19px; }
  .quality__head h2, .cta-banner__content h2 { font-size: 28px; }
  .form__row { grid-template-columns: 1fr; }
}
