/* ============================================================
   TERRASHIELD.AG — MAIN STYLESHEET
   ============================================================ */
:root {
  --gd:     #1B3A2A;
  --gm:     #2D6A4F;
  --gl:     #52B788;
  --gs:     #D4EDDA;
  --gold:   #C9A84C;
  --goldd:  #B8943D;
  --cream:  #F7F6F0;
  --white:  #FFFFFF;
  --text:   #1A1A1A;
  --muted:  #5A6B5F;
  --border: #DDD9D0;
  --shadow: 0 2px 20px rgba(0,0,0,0.09);
  --r:      12px;
  --nav-h:  72px;
}

*  { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--gd);
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.logo em { color: var(--gold); font-style: normal; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,.1); color: #fff; }
.nav-links .cta { background: var(--gold); color: #fff !important; font-weight: 700; padding: 9px 18px; border-radius: 8px; }
.nav-links .cta:hover { background: var(--goldd); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; line-height: 1; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .15s;
  text-align: center;
}
.btn-gold    { background: var(--gold);  color: #fff;            border-color: var(--gold); }
.btn-gold:hover { background: var(--goldd); border-color: var(--goldd); }
.btn-outline { background: transparent; color: #fff;            border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-green   { background: var(--gm);   color: #fff;            border-color: var(--gm); }
.btn-green:hover { background: var(--gd); }
.btn-sm      { padding: 10px 20px; font-size: 13px; }
.btn-row     { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-row.center { justify-content: center; }
.center         { text-align: center; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  background: var(--gd);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--nav-h) 24px 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .28;
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 80px 0;
}
.hero-tag {
  display: inline-block;
  background: rgba(201,168,76,.2);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(201,168,76,.35);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 700px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p {
  font-size: 19px;
  color: rgba(255,255,255,.78);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hero-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 14px 22px;
}
.hero-stat strong { display: block; font-size: 26px; font-weight: 800; color: #fff; }
.hero-stat span   { font-size: 12px; color: rgba(255,255,255,.6); }

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--gd);
  padding: calc(var(--nav-h) + 52px) 24px 56px;
  text-align: center;
}
.page-hero h1 { font-size: 38px; font-weight: 800; color: #fff; margin-bottom: 14px; line-height: 1.2; }
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero p  { color: rgba(255,255,255,.78); font-size: 18px; max-width: 580px; margin: 0 auto; }

/* ── SECTION SCAFFOLDING ─────────────────────────────────── */
.section     { padding: 80px 24px; }
.section-alt { background: var(--cream); }
.section-dark{ background: var(--gd); }
.container   { max-width: 1140px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  background: var(--gs);
  color: var(--gm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-title { font-size: 32px; font-weight: 800; color: var(--gd); line-height: 1.2; margin-bottom: 12px; }
.section-sub   { font-size: 17px; color: var(--muted); line-height: 1.65; margin-bottom: 48px; max-width: 600px; }
.center-head   { text-align: center; }
.center-head .section-sub { margin-left: auto; margin-right: auto; }

/* ── FEATURE GRID ────────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feat-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 28px;
  border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
}
.feat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feat-icon {
  width: 50px; height: 50px;
  background: var(--gs);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.feat-card h3 { font-size: 17px; font-weight: 700; color: var(--gd); margin-bottom: 8px; }
.feat-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── TWO-COL ─────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col.flip .col-img { order: 2; }
.col-img { border-radius: var(--r); overflow: hidden; }
.col-img img { width: 100%; height: 400px; object-fit: cover; }
.col-text h2 { font-size: 30px; font-weight: 800; color: var(--gd); margin-bottom: 16px; line-height: 1.25; }
.col-text p  { color: var(--muted); margin-bottom: 16px; line-height: 1.7; font-size: 15px; }
.col-text .btn { margin-top: 8px; }

/* ── PROOF STRIP ─────────────────────────────────────────── */
.proof-strip { background: var(--gm); padding: 56px 24px; }
.proof-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.proof-text h2 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.proof-text p  { color: rgba(255,255,255,.75); font-size: 15px; max-width: 380px; }
.proof-logos   { display: flex; gap: 16px; flex-wrap: wrap; }
.proof-logo {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: 14px 24px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  min-width: 130px;
}
.proof-logo small { display: block; font-size: 11px; font-weight: 400; opacity: .7; margin-top: 3px; }

/* ── STATS ROW ───────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.stat-card  { background: var(--white); border-radius: var(--r); border: 1px solid var(--border); padding: 28px 20px; text-align: center; }
.stat-val   { font-size: 42px; font-weight: 800; color: var(--gm); line-height: 1; margin-bottom: 6px; }
.stat-lbl   { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ── SPEC CARDS ──────────────────────────────────────────── */
.specs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.spec-card  {
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border);
  padding: 28px;
  border-top: 3px solid var(--gl);
}
.spec-card .sv { font-size: 28px; font-weight: 800; color: var(--gm); margin-bottom: 4px; }
.spec-card .sl { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: var(--muted); margin-bottom: 10px; }
.spec-card p   { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ── CALC PROMO ──────────────────────────────────────────── */
.calc-promo {
  background: var(--gd);
  border-radius: var(--r);
  padding: 52px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.calc-promo h2  { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.calc-promo p   { color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.6; }

/* ── CTA BANNER ──────────────────────────────────────────── */
.cta-banner { background: var(--gm); padding: 72px 24px; text-align: center; }
.cta-banner h2 { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,.8); font-size: 17px; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── BROCHURE CARD ───────────────────────────────────────── */
.brochure-card {
  background: var(--gd);
  border-radius: var(--r);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.brochure-card h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.brochure-card p  { color: rgba(255,255,255,.7); font-size: 14px; }

/* ── RESEARCH CARDS ──────────────────────────────────────── */
.research-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 56px; }
.research-card {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}
.research-card .rc-img { height: 180px; overflow: hidden; }
.research-card .rc-img img { width: 100%; height: 100%; object-fit: cover; }
.research-card .rc-body { padding: 22px; }
.research-card h3 { font-size: 16px; font-weight: 700; color: var(--gd); margin-bottom: 8px; }
.research-card p  { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list  { max-width: 820px; margin: 0 auto; }
.faq-item  { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none;
  padding: 20px 0;
  text-align: left;
  font-size: 16px; font-weight: 600; color: var(--gd);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: inherit;
}
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gs); color: var(--gm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 300; flex-shrink: 0;
  transition: transform .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  color: var(--muted); font-size: 15px; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }

/* ── CONTACT FORM ────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
.form-card { background: var(--white); border-radius: var(--r); border: 1px solid var(--border); padding: 40px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { margin-bottom: 18px; }
.fg:last-child { margin-bottom: 0; }
.fg label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; color: var(--text); background: var(--cream);
  transition: border-color .15s; font-family: inherit;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  outline: none; border-color: var(--gm); background: #fff;
}
.fg textarea { resize: vertical; min-height: 130px; }
.contact-info { padding-top: 8px; }
.contact-info h3 { font-size: 20px; font-weight: 700; color: var(--gd); margin-bottom: 20px; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-detail .cd-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--gs); color: var(--gm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 13px; font-weight: 700; color: var(--gd); margin-bottom: 2px; }
.contact-detail span  { font-size: 14px; color: var(--muted); }

/* ── TESTIMONIAL CARDS ───────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.tcard {
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.tcard-video video {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: #000;
}
.tcard-body {
  padding: 20px;
  flex: 1;
}
.tcard-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--gd);
}
.tcard-farm {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.tcard-quote {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
}

/* ── PHOTO STRIP ─────────────────────────────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 36px;
  border-radius: var(--r);
  overflow: hidden;
}
.ps-item {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
}
.ps-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.ps-item:hover img { transform: scale(1.06); }
.ps-item-overlay .ps-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,58,42,.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.ps-item-overlay:hover .ps-overlay { opacity: 1; }
.ps-overlay span {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  padding: 0 12px;
}

@media (max-width: 960px) {
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .photo-strip .ps-item:nth-child(n+4) { display: none; }
}
@media (max-width: 640px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .photo-strip .ps-item:nth-child(n+3) { display: none; }
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { background: var(--gd); }
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-logo { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.5px; margin-bottom: 12px; }
.footer-logo em { color: var(--gold); font-style: normal; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.65; max-width: 300px; }
.footer-brand .badges { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 12px; color: rgba(255,255,255,.65);
}
.footer h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--gold); margin-bottom: 16px; }
.footer-links a  { font-size: 14px; color: rgba(255,255,255,.65); transition: color .15s; display: block; margin-bottom: 10px; }
.footer-links a:hover { color: #fff; }
.footer-contact p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.65; margin-bottom: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  max-width: 1140px; margin: 0 auto;
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.38); }
.footer-bottom a { font-size: 12px; color: rgba(255,255,255,.38); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .feat-grid     { grid-template-columns: repeat(2,1fr); }
  .two-col       { grid-template-columns: 1fr; gap: 36px; }
  .two-col.flip .col-img { order: 0; }
  .stats-grid    { grid-template-columns: repeat(2,1fr); }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
  .footer-brand  { grid-column: 1 / -1; }
  .specs-grid    { grid-template-columns: repeat(2,1fr); }
  .research-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid  { grid-template-columns: 1fr; }
  .calc-promo    { grid-template-columns: 1fr; text-align: center; }
  .calc-promo .btn-row { justify-content: center; }
}
@media (max-width: 640px) {
  .nav-links  { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--gd); padding: 16px 24px 24px; gap: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
  .nav.open .nav-links { display: flex; }
  .nav-toggle { display: block; }
  .nav-links a { padding: 12px 16px; border-radius: 8px; }
  .feat-grid     { grid-template-columns: 1fr; }
  .specs-grid    { grid-template-columns: 1fr; }
  .research-grid { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: repeat(2,1fr); }
  .footer-inner  { grid-template-columns: 1fr; gap: 32px; }
  .form-row2     { grid-template-columns: 1fr; }
  .brochure-card { flex-direction: column; text-align: center; }
  .proof-inner   { flex-direction: column; text-align: center; }
  .page-hero h1  { font-size: 26px; }
  .section-title { font-size: 24px; }
}
