/* ===========================================================
   GREEN PERFECT PLANT — Main Stylesheet
   Palette is a placeholder agriculture green until real brand
   colors are confirmed from logo/screenshots. To retheme, just
   edit the variables below.
   =========================================================== */

:root {
  --color-primary: #1b4332;      /* deep forest green - header, footer, headings */
  --color-primary-light: #2d6a4f;/* mid green - links, borders */
  --color-accent: #52b788;       /* fresh green - buttons, highlights */
  --color-accent-light: #d8f3dc; /* pale green - section backgrounds */
  --color-cream: #faf9f5;        /* page background */
  --color-white: #ffffff;
  --color-text: #22302a;
  --color-text-muted: #5c6b63;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1180px;
  --radius: 10px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

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

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

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

ul { list-style: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-primary);
  line-height: 1.2;
  font-weight: 600;
}

h2.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent);
}

.btn {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 67, 50, 0.25);
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.navbar .logo img { height: 46px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--color-primary);
}

/* ===================== HERO SLIDER ===================== */
.hero-slider {
  position: relative;
  height: 78vh;
  min-height: 480px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active { opacity: 1; z-index: 2; }

.hero-slide .slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 6s ease;
}

.hero-slide.active .slide-bg { transform: scale(1); }

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,38,28,0.72) 0%, rgba(15,38,28,0.35) 55%, rgba(15,38,28,0.15) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 620px;
  padding: 0 24px;
  margin: 0 auto;
  width: 100%;
}

.hero-content .eyebrow { color: var(--color-accent-light); }

.hero-content h1 {
  color: var(--color-white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 10px 0 6px;
}

.hero-content .tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--color-accent-light);
  margin-bottom: 26px;
}

.hero-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.hero-dots button.active {
  background: var(--color-white);
  transform: scale(1.25);
}

/* ===================== SECTIONS ===================== */
.section { padding: 88px 0; }
.section.alt { background: var(--color-accent-light); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.two-col.reverse .col-media { order: 2; }
.two-col.reverse .col-text { order: 1; }

.col-media img {
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(27,67,50,0.14);
}

.col-text p { color: var(--color-text-muted); margin-bottom: 16px; }

.img-placeholder {
  background: linear-gradient(135deg, var(--color-accent-light), #bfe3cc);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 20px;
  min-height: 220px;
  border: 1.5px dashed var(--color-primary-light);
}

/* Problem cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 8px 24px rgba(27,67,50,0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(27,67,50,0.14);
}
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { color: var(--color-text-muted); font-size: 0.95rem; }

/* Solution list */
.solution-list { margin-top: 20px; }
.solution-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(27,67,50,0.1);
  color: var(--color-text-muted);
}
.solution-list li .tick {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* Quote / CEO */
.quote-block {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 18px;
  padding: 56px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 36px;
  align-items: center;
}
.quote-block img {
  width: 140px; height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-accent);
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 18px;
}
.quote-block .signee { font-weight: 600; }
.quote-block .signee span {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-accent-light);
}

/* Map + contact */
.map-frame {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius);
  filter: saturate(0.9);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
}
.contact-info-item .icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: 0.95rem; margin-bottom: 3px; }
.contact-info-item p { color: var(--color-text-muted); font-size: 0.95rem; }

.contact-form {
  display: grid;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1.5px solid rgba(27,67,50,0.15);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-white);
  transition: border var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.contact-form textarea { min-height: 130px; resize: vertical; }

/* ===================== PRODUCTS PAGE ===================== */
.page-hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
}
.page-hero.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,38,28,0.78), rgba(15,38,28,0.55));
}
.page-hero.has-bg .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--color-white); font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--color-accent-light);
}

.feature-tags {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.feature-tags span {
  background: var(--color-accent-light);
  color: var(--color-primary);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.variety-block {
  padding: 70px 0;
  border-bottom: 1px solid rgba(27,67,50,0.08);
}
.variety-block:nth-child(even) { background: var(--color-accent-light); }

.variety-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.variety-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.variety-header h3 { font-size: 1.7rem; }

.variety-desc { color: var(--color-text-muted); margin-bottom: 24px; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
}
.spec-item h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-light);
  margin-bottom: 6px;
}
.spec-item p, .spec-item ul { color: var(--color-text-muted); font-size: 0.92rem; }
.spec-item ul li { margin-bottom: 3px; position: relative; padding-left: 14px; }
.spec-item ul li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.mini-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.mini-slider .slide { display: none; height: 100%; }
.mini-slider .slide.active { display: block; }
.mini-slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.mini-slider-nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
  pointer-events: none;
}
.mini-slider-nav button {
  pointer-events: all;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition);
}
.mini-slider-nav button:hover { transform: scale(1.1); }

/* ===================== GALLERY PAGE ===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.gallery-grid img,
.gallery-grid .img-placeholder {
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  min-height: 0;
}
.gallery-grid a:hover img { transform: scale(1.04); box-shadow: 0 10px 24px rgba(27,67,50,0.2); }

.gallery-subtitle {
  margin: 60px 0 6px;
  font-size: 1.4rem;
}
.gallery-subtitle-desc { color: var(--color-text-muted); margin-bottom: 20px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15,38,28,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 24px; right: 30px;
  color: var(--color-white);
  font-size: 2rem;
  background: none; border: none; cursor: pointer;
}

/* ===================== FOOTER ===================== */
footer {
  background: var(--color-primary);
  color: var(--color-accent-light);
  padding: 50px 0 24px;
  margin-top: 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--color-white); }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border var(--transition);
  font-size: 0.9rem;
}
.footer-social a:hover { background: var(--color-accent); border-color: var(--color-accent); }
.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(216,243,220,0.7);
}

/* ===================== SCROLL REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *, .hero-slide .slide-bg, .hero-slide { transition: none !important; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .two-col, .contact-grid, .variety-grid { grid-template-columns: 1fr; }
  .two-col.reverse .col-media { order: 1; }
  .two-col.reverse .col-text { order: 2; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-block { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; }
  .quote-block img { margin: 0 auto; }
}

/* ===========================================================
   NEW SITE STRUCTURE ADDITIONS (Home / About / Products /
   Seed Potato / Research / News / Contact rebuild)
   =========================================================== */

/* ---- Modern hero (full-bleed, parallax-ish) ---- */
.hero-full {
  position: relative;
  height: 92vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-full .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 16s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}
.hero-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,38,28,0.55) 0%, rgba(15,38,28,0.72) 100%);
}
.hero-full .hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.hero-full .hero-content h1 {
  color: var(--color-white);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin: 8px 0 18px;
  opacity: 0;
  transform: translateY(24px);
  animation: heroRise 1s ease forwards 0.15s;
}
.hero-full .hero-content .eyebrow {
  opacity: 0;
  transform: translateY(16px);
  animation: heroRise 0.9s ease forwards;
  display: inline-block;
}
.hero-full .hero-content p.tagline {
  color: rgba(255,255,255,0.88);
  font-family: var(--font-body);
  font-size: 1.05rem;
  letter-spacing: normal;
  text-transform: none;
  max-width: 520px;
  margin: 0 auto 30px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroRise 1s ease forwards 0.3s;
}
.hero-full .hero-content .btn {
  opacity: 0;
  transform: translateY(20px);
  animation: heroRise 1s ease forwards 0.45s;
}
@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}
.scroll-cue {
  position: absolute;
  bottom: 92px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 999px;
}
.scroll-cue::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--color-white);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: scrollCue 1.8s ease infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 8px; }
}

/* ---- Image wipe-reveal (used on scroll-in images) ---- */
.wipe-media {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.wipe-media img { transition: transform 1.4s cubic-bezier(0.16,1,0.3,1); }
.wipe-media::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--color-accent);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 2;
}
.wipe-media.reveal.in-view::after {
  animation: wipeAcross 0.9s cubic-bezier(0.65,0,0.35,1) forwards;
}
.wipe-media.reveal.in-view img { transform: scale(1.02); }
@keyframes wipeAcross {
  0% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  50.1% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* ---- Testimonial ---- */
.testimonial {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.4;
  position: relative;
  padding-left: 30px;
}
.testimonial blockquote::before {
  content: '\201C';
  position: absolute;
  left: -6px; top: -18px;
  font-size: 4rem;
  color: var(--color-accent);
  font-family: Georgia, serif;
  opacity: 0.5;
}
.testimonial .signee { margin-top: 20px; font-weight: 600; color: var(--color-text); }
.testimonial .signee span { display: block; font-weight: 400; color: var(--color-text-muted); font-size: 0.88rem; }

/* ---- Project / Research cards ---- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
}
.project-card {
  background: var(--color-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(27,67,50,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(27,67,50,0.16);
}
.project-card .project-media {
  height: 200px;
  overflow: hidden;
}
.project-card .project-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.project-card:hover .project-media img { transform: scale(1.08); }
.project-card .project-body { padding: 24px 26px 28px; }
.project-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.project-card p { color: var(--color-text-muted); font-size: 0.93rem; margin-bottom: 16px; }
.project-card a.link-arrow {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.project-card a.link-arrow .arrow { transition: transform var(--transition); }
.project-card a.link-arrow:hover .arrow { transform: translateX(5px); }

.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 40px;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.partner-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(27,67,50,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(27,67,50,0.14); }
.partner-card .partner-logo {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.partner-card .partner-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.partner-card h3 { margin-bottom: 10px; }
.partner-card p { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.6; }
@media (max-width: 860px) {
  .partners-grid { grid-template-columns: 1fr; }
}
.research-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 360px;
  display: flex;
  align-items: flex-end;
}
.research-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.research-card:hover img { transform: scale(1.06); }
.research-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,38,28,0.85) 0%, rgba(15,38,28,0.1) 55%);
}
.research-card .research-body {
  position: relative;
  z-index: 2;
  padding: 28px;
  color: var(--color-white);
}
.research-card h3 { color: var(--color-white); margin-bottom: 6px; }
.research-card p { color: rgba(255,255,255,0.85); font-size: 0.92rem; margin-bottom: 14px; }
.research-card a.link-arrow { color: var(--color-accent-light); font-weight: 600; font-size: 0.9rem; }

/* ---- Newsletter / Stay Connected ---- */
.newsletter {
  background: var(--color-primary);
  border-radius: 20px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}
.newsletter h2, .newsletter p { color: var(--color-white); }
.newsletter p { color: rgba(255,255,255,0.75); margin-top: 6px; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 360px; }
.newsletter-form input,
.newsletter-form textarea {
  padding: 13px 18px;
  border-radius: 18px;
  border: none;
  width: 100%;
  font-family: var(--font-body);
  resize: vertical;
}
.newsletter-form textarea { min-height: 80px; border-radius: 18px; }
.newsletter-form input:focus,
.newsletter-form textarea:focus { outline: 2px solid var(--color-accent); }

/* ---- Feature icon row (multiplication steps etc.) ---- */
.icon-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.icon-item {
  text-align: center;
  padding: 10px;
}
.icon-item .icon-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-accent-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  color: var(--color-primary);
  transition: transform var(--transition), background var(--transition);
}
.icon-item:hover .icon-circle { background: var(--color-accent); color: var(--color-white); transform: translateY(-4px) rotate(-4deg); }
.icon-item h4 { font-size: 1rem; margin-bottom: 8px; }
.icon-item p { color: var(--color-text-muted); font-size: 0.9rem; }

/* ---- New footer ---- */
.site-footer {
  background: var(--color-primary);
  color: rgba(216,243,220,0.85);
  padding: 64px 0 0;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img { height: 40px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
  transition: background var(--transition), border var(--transition), transform var(--transition);
}
.footer-social a:hover { background: var(--color-accent); border-color: var(--color-accent); transform: translateY(-3px); }
.site-footer h4 { color: var(--color-white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-contact p { font-size: 0.92rem; margin-bottom: 12px; }
.footer-contact a { color: rgba(216,243,220,0.85); transition: color var(--transition); }
.footer-contact a:hover { color: var(--color-white); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.92rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--color-white); }
.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  font-size: 0.85rem;
}
.site-footer .footer-bottom a { color: rgba(216,243,220,0.85); }
.site-footer .footer-bottom a:hover { color: var(--color-white); }

/* ---- Small page hero (non-home pages) ---- */
.page-hero-full {
  position: relative;
  height: 46vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--color-white);
}
.page-hero-full .hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
.page-hero-full::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,38,28,0.6), rgba(15,38,28,0.78));
}
.page-hero-full .container { position: relative; z-index: 2; }
.page-hero-full h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4.5vw, 3rem);
  opacity: 0; transform: translateY(20px);
  animation: heroRise 0.8s ease forwards 0.1s;
}
.page-hero-full p {
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 12px auto 0;
  opacity: 0; transform: translateY(16px);
  animation: heroRise 0.8s ease forwards 0.25s;
}

@media (max-width: 900px) {
  .project-grid { grid-template-columns: 1fr; }
  .research-grid { grid-template-columns: 1fr; }
  .testimonial { grid-template-columns: 1fr; text-align: center; }
  .testimonial blockquote { padding-left: 0; }
  .newsletter { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; }
  .newsletter-form { align-items: center; max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .icon-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--color-cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    transform: translateY(-130%);
    transition: transform var(--transition);
    border-bottom: 1px solid rgba(27,67,50,0.1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .section { padding: 60px 0; }
  .spec-grid { grid-template-columns: 1fr; }
  .hero-full .hero-content .btn { pointer-events: auto; }
}

