/* ===================================================================
   PolliBotics — Landing Page Styles
   Design tokens from design.md (Greenhouse Mist, Deep Canopy, Polli Teal...)
   =================================================================== */

:root {
  --greenhouse-mist: #f6fafa;
  --deep-canopy: #13282b;
  --polli-teal: #1d747f;
  --clean-white: #ffffff;
  --sensor-slate: #52696c;
  --glasshouse-line: #cde4e7;
  --growth-green: #3f8f63;

  --teal-600: #176670;
  --teal-050: #eaf5f6;
  --green-050: #e9f5ee;

  --radius: 8px;
  --radius-lg: 14px;
  --border: 1px;

  --container: 1140px;
  --gutter: clamp(16px, 4vw, 32px);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(19, 40, 43, 0.06), 0 2px 8px rgba(19, 40, 43, 0.05);
  --shadow-md: 0 6px 18px rgba(19, 40, 43, 0.10), 0 2px 6px rgba(19, 40, 43, 0.06);
  --shadow-lg: 0 18px 48px rgba(19, 40, 43, 0.16);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------- Reset ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--deep-canopy);
  background: var(--greenhouse-mist);
  line-height: 1.65;
  font-size: clamp(16px, 1.05vw + 0.6rem, 18px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--polli-teal); text-decoration: none; }
a:hover { color: var(--teal-600); }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--deep-canopy); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------------- Layout helpers ---------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--clean-white); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-tag {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--polli-teal); background: var(--teal-050);
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--glasshouse-line);
}
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; margin: 16px 0 12px; }
.section-sub { color: var(--sensor-slate); font-size: 1.05rem; margin: 0; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.98rem; line-height: 1; padding: 14px 22px;
  border-radius: var(--radius); border: var(--border) solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--polli-teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-600); color: #fff; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--deep-canopy); border-color: var(--glasshouse-line); }
.btn-ghost:hover { background: var(--clean-white); color: var(--polli-teal); border-color: var(--polli-teal); transform: translateY(-2px); }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(246, 250, 250, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--glasshouse-line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--deep-canopy); }
.brand:hover { color: var(--deep-canopy); }
.brand-logo { height: 38px; width: auto; }
.brand-name { font-weight: 800; font-size: 1.18rem; letter-spacing: -0.01em; color: var(--deep-canopy); }
.brand-accent { color: var(--polli-teal); }

.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: var(--deep-canopy); font-weight: 500; font-size: 0.96rem;
  padding: 10px 14px; border-radius: var(--radius); position: relative;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav-link:hover { color: var(--polli-teal); background: var(--teal-050); }
.nav-link.active { color: var(--polli-teal); }
.nav-link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--polli-teal); border-radius: 2px;
}
.nav-cta { background: var(--polli-teal); color: #fff; padding: 10px 18px; }
.nav-cta:hover { background: var(--teal-600); color: #fff; }
.nav-cta.active::after { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle-bar { width: 22px; height: 2px; background: var(--deep-canopy); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: clamp(80px, 13vw, 150px) 0 clamp(90px, 14vw, 150px); overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-color: #0e2326;
  /* bg.png is layered under a teal-to-deep overlay. If bg.png is absent, the gradient still renders. */
  background-image:
    linear-gradient(150deg, rgba(14,35,38,.86) 0%, rgba(19,40,43,.80) 45%, rgba(29,116,127,.62) 100%),
    url("bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-inner { display: flex; justify-content: center; }
.hero-content { max-width: 760px; text-align: center; color: #fff; }

.hero-logo { width: clamp(72px, 9vw, 104px); height: auto; margin: 0 auto 22px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.28)); }
.hero-slogan {
  display: inline-block; font-size: clamp(0.92rem, 1.4vw, 1.05rem); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: #bfe9d8;
  margin: 0 0 14px; position: relative; padding: 0 4px;
}
.hero-slogan::before, .hero-slogan::after {
  content: ""; position: absolute; top: 50%; width: clamp(20px, 4vw, 40px); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191,233,216,.6));
}
.hero-slogan::before { right: 100%; margin-right: 14px; }
.hero-slogan::after { left: 100%; margin-left: 14px; background: linear-gradient(90deg, rgba(191,233,216,.6), transparent); }

.hero-title { font-size: clamp(2.2rem, 5.4vw, 3.9rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 18px; color: #fff; }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.24rem); color: rgba(255,255,255,.86); max-width: 56ch; margin: 0 auto 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 28px; }
.hero-credibility {
  font-size: 0.9rem; color: rgba(255,255,255,.74);
  border-left: 3px solid var(--polli-teal); padding-left: 12px; max-width: 48ch; margin: 0 auto; text-align: left;
}
.btn-on-dark { color: #fff; border-color: rgba(255,255,255,.32); }
.btn-on-dark:hover { background: rgba(255,255,255,.10); color: #fff; border-color: #fff; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: var(--clean-white); clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 0); z-index: -1; }
@media (max-width: 880px) { .hero-wave { display: none; } }

/* ---------------- Partners strip (under hero) ---------------- */
.partners-strip { background: var(--clean-white); padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--glasshouse-line); }
.partners-strip-label {
  text-align: center; margin: 0 0 18px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sensor-slate);
}
.partners-strip-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(24px, 4vw, 56px); }
.ps-link { display: inline-flex; transition: transform .2s var(--ease); }
.ps-link:hover { transform: translateY(-3px); }
.ps-logo { height: 64px; width: auto; max-width: 180px; object-fit: contain; transition: filter .2s var(--ease); }
.ps-link:hover .ps-logo { filter: drop-shadow(0 4px 10px rgba(19,40,43,.14)); }
.ps-logo-wide { max-width: 220px; }
.ps-divider { width: 1px; height: 48px; background: var(--glasshouse-line); }
@media (max-width: 560px) {
  .ps-logo { height: 52px; max-width: 140px; }
  .ps-logo-wide { max-width: 160px; }
  .ps-divider { display: none; }
  .partners-strip-logos { gap: 20px; }
}

/* ---------------- About ---------------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.about-story .lead { font-size: 1.18rem; font-weight: 500; color: var(--deep-canopy); margin-top: 0; }
.about-story p { color: var(--sensor-slate); }
.mission-card {
  background: var(--deep-canopy); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.mission-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; background: radial-gradient(circle, rgba(29,116,127,.5), transparent 70%); }
.mission-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: rgba(29,116,127,.18); color: #7fd3dd; margin-bottom: 16px; }
.mission-card h3 { font-size: 1.3rem; margin: 0 0 10px; color: #fff; }
.mission-card p { margin: 0; color: rgba(255,255,255,.82); }

/* ---------------- Cards / Solutions ---------------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 22px); }
.card {
  background: var(--greenhouse-mist); border: 1px solid var(--glasshouse-line); border-radius: var(--radius-lg);
  padding: clamp(20px, 2.2vw, 28px); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column; gap: 10px;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--polli-teal); }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 12px; background: var(--clean-white); color: var(--polli-teal); border: 1px solid var(--glasshouse-line); }
.card-title { font-size: 1.08rem; font-weight: 700; margin: 4px 0 0; }
.card-text { color: var(--sensor-slate); margin: 0; font-size: 0.96rem; }
.card-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 18px; background: var(--clean-white); }
.card-wide .card-text { color: var(--sensor-slate); }

/* ---------------- Robot ---------------- */
.robot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: clamp(48px, 7vw, 80px); }
.robot-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--glasshouse-line); }
.robot-media img { width: 100%; height: clamp(320px, 40vw, 460px); object-fit: cover; }
.robot-tag { position: absolute; left: 14px; top: 14px; background: var(--growth-green); color: #fff; font-size: 0.78rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; }
.robot-content .lead { font-size: 1.15rem; font-weight: 500; margin-top: 0; }
.robot-content .fineprint { color: var(--sensor-slate); font-size: 0.92rem; border-left: 3px solid var(--glasshouse-line); padding-left: 12px; }

.process { counter-reset: step; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.process li { display: flex; align-items: center; gap: 14px; background: var(--clean-white); border: 1px solid var(--glasshouse-line); border-radius: var(--radius); padding: 12px 14px; transition: transform .2s var(--ease), border-color .2s var(--ease); }
.process li:hover { transform: translateX(4px); border-color: var(--polli-teal); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--polli-teal); color: #fff; font-weight: 700; font-size: 0.9rem; flex: none; }
.step-text { font-weight: 500; }

/* Gallery */
.gallery { margin-top: 8px; }
.gallery-title { font-size: 1.4rem; font-weight: 700; margin: 0 0 6px; }
.gallery-sub { color: var(--sensor-slate); margin: 0 0 22px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item { padding: 0; border: 1px solid var(--glasshouse-line); border-radius: var(--radius); overflow: hidden; background: var(--clean-white); position: relative; }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 rgba(29,116,127,0); transition: box-shadow .25s var(--ease); }
.gallery-item:hover::after { box-shadow: inset 0 0 0 3px var(--polli-teal); }
.gallery-item:focus-visible { outline: 3px solid var(--polli-teal); outline-offset: 2px; }

/* ---------------- Achievements / Timeline ---------------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 0; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--polli-teal), var(--glasshouse-line)); }
.tl-item { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding-bottom: 26px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-marker { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--clean-white); border: 2px solid var(--polli-teal); color: var(--polli-teal); font-weight: 700; font-size: 0.92rem; text-align: center; z-index: 1; }
.tl-marker-green { border-color: var(--growth-green); color: var(--growth-green); }
.tl-card { background: var(--clean-white); border: 1px solid var(--glasshouse-line); border-radius: var(--radius-lg); padding: clamp(18px, 2vw, 24px); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tl-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.tl-title { font-size: 1.16rem; font-weight: 700; margin: 0 0 8px; }
.tl-text { color: var(--sensor-slate); margin: 0; font-size: 0.98rem; }

/* ---------------- Team ---------------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 24px); }
.team-card { background: var(--clean-white); border: 1px solid var(--glasshouse-line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); display: flex; flex-direction: column; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--teal-050); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-body { padding: 20px 22px 24px; }
.team-name { font-size: 1.14rem; font-weight: 700; margin: 0 0 4px; }
.team-role { color: var(--polli-teal); font-weight: 600; font-size: 0.92rem; margin: 0 0 10px; }
.team-bio { color: var(--sensor-slate); font-size: 0.94rem; margin: 0; }

.advisor-block { margin-top: clamp(36px, 5vw, 56px); border-top: 1px dashed var(--glasshouse-line); padding-top: clamp(28px, 4vw, 40px); }
.advisor-label { text-align: center; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--growth-green); margin: 0 0 18px; }
.advisor-card { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center; max-width: 640px; margin: 0 auto; background: var(--green-050); border: 1px solid var(--glasshouse-line); border-radius: var(--radius-lg); padding: 22px; }
.advisor-photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; background: var(--clean-white); border: 2px solid var(--growth-green); }
.advisor-photo img { width: 100%; height: 100%; object-fit: cover; }
.advisor-body .team-role { color: var(--growth-green); }
.advisor-note { font-size: 0.82rem; color: var(--sensor-slate); margin: 8px 0 0; font-style: italic; }

/* ---------------- Partners ---------------- */
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 28px); }
.partner-card { background: var(--clean-white); border: 1px solid var(--glasshouse-line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 20px; min-height: 64px; }
.partner-logos a { display: inline-flex; transition: transform .2s var(--ease); }
.partner-logos a:hover { transform: translateY(-3px); }
.partner-logo { height: 56px; width: auto; max-width: 140px; object-fit: contain; background: var(--clean-white); border: 1px solid var(--glasshouse-line); border-radius: 10px; padding: 8px 10px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.partner-logos a:hover .partner-logo { border-color: var(--polli-teal); box-shadow: var(--shadow-sm); }
.partner-logo-wide { max-width: 180px; }
.partner-name { font-size: 1.3rem; font-weight: 700; margin: 0 0 8px; }
.partner-text { color: var(--sensor-slate); margin: 0; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; max-width: 640px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-h { font-size: 1.2rem; font-weight: 700; margin: 0 0 16px; }
.option-list { display: grid; gap: 12px; }
.option-list li { display: flex; align-items: center; gap: 12px; background: var(--clean-white); border: 1px solid var(--glasshouse-line); border-radius: var(--radius); padding: 12px 14px; font-weight: 500; }
.option-ico { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; background: var(--teal-050); color: var(--polli-teal); flex: none; }
.contact-meta { background: var(--deep-canopy); color: #fff; border-radius: var(--radius-lg); padding: 22px; }
.contact-meta .meta-label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 4px; }
.contact-meta .meta-value { margin: 0 0 16px; font-weight: 600; }
.contact-meta .meta-value:last-child { margin-bottom: 0; }
.contact-meta a { color: #7fd3dd; }
.contact-meta a:hover { color: #a9e6ee; text-decoration: underline; }
.meta-placeholder { color: #ffd27a; }

.contact-form {
  background: var(--clean-white); border: 1px solid var(--glasshouse-line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--deep-canopy); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--deep-canopy); background: var(--greenhouse-mist);
  border: 1px solid var(--glasshouse-line); border-radius: var(--radius); padding: 12px 14px; width: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #9bb1b3; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--polli-teal); box-shadow: 0 0 0 3px rgba(29,116,127,.16); background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: 0.92rem; font-weight: 600; color: var(--growth-green); }
.form-status.error { color: #c0392b; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--deep-canopy); color: rgba(255,255,255,.78); padding: clamp(48px, 6vw, 72px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(28px, 4vw, 48px); padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand { color: #fff; }
.footer-tag { margin: 16px 0 0; max-width: 40ch; font-size: 0.94rem; }
.footer-h { color: #fff; font-size: 0.95rem; font-weight: 700; margin: 0 0 14px; }
.footer-nav ul { display: grid; gap: 8px; }
.footer-nav a { color: rgba(255,255,255,.78); }
.footer-nav a:hover { color: #fff; }
.footer-contact p { margin: 0 0 8px; font-size: 0.94rem; }
.footer-contact a { color: #7fd3dd; }
.footer-contact a:hover { color: #a9e6ee; text-decoration: underline; }
.footer-contact .meta-placeholder { color: #ffd27a; }

.footer-developed { text-align: center; padding: 30px 0 24px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 8px; }
.developed-label { margin: 0 0 16px; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.footer-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin-bottom: 14px; }
.footer-logos a { display: inline-flex; transition: transform .2s var(--ease); }
.footer-logos a:hover { transform: translateY(-3px); }
.footer-logos img { height: 52px; width: auto; max-width: 130px; object-fit: contain; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 7px 10px; transition: box-shadow .2s var(--ease); }
.footer-logos a:hover img { box-shadow: 0 6px 16px rgba(0,0,0,.28); }
.developed-text { margin: 0; font-size: 0.92rem; color: rgba(255,255,255,.72); }

.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 0.84rem; color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.12); }
.footer-credit { text-align: right; max-width: 60ch; }

/* ---------------- Lightbox ---------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 3000; background: rgba(19,40,43,.92);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 2px solid rgba(255,255,255,.18); }
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%; width: 48px; height: 48px; font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
  transition: background .18s var(--ease);
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .pulse-dot { animation: none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed; top: 68px; right: 0; height: calc(100vh - 68px); width: min(78vw, 320px);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 18px var(--gutter);
    background: var(--clean-white); border-left: 1px solid var(--glasshouse-line);
    box-shadow: var(--shadow-lg); transform: translateX(105%); transition: transform .3s var(--ease); overflow-y: auto;
  }
  .nav-list.open { transform: translateX(0); }
  .nav-link { padding: 14px 12px; font-size: 1.05rem; border-radius: var(--radius); }
  .nav-link.active::after { display: none; }
  .nav-cta { text-align: center; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media-frame img { height: clamp(240px, 50vw, 360px); }

  .about-grid { grid-template-columns: 1fr; }
  .robot-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-credit { text-align: left; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .card-wide { flex-direction: column; align-items: flex-start; }
  .advisor-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .advisor-photo { width: 100px; height: 100px; }
  .tl-item { grid-template-columns: 52px 1fr; gap: 16px; }
  .tl-marker { width: 52px; height: 52px; font-size: 0.8rem; }
  .timeline::before { left: 25px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

/* ===================================================================
   Cultivech Plant Pulse — page-specific styles
   =================================================================== */
.cp-hero { position: relative; padding: clamp(70px, 11vw, 120px) 0 clamp(80px, 12vw, 130px); overflow: hidden; isolation: isolate; }
.cp-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-color: #0e2326;
  background-image:
    linear-gradient(150deg, rgba(14,35,38,.88) 0%, rgba(19,40,43,.80) 45%, rgba(29,116,127,.60) 100%),
    url("bg.png");
  background-size: cover; background-position: center;
}
.cp-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.cp-hero-content { color: #fff; }
.cp-brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.cp-brand-logo { height: 52px; width: auto; background: rgba(255,255,255,.95); border-radius: 10px; padding: 7px 10px; }
.cp-brand-logo-sm { height: 40px; width: auto; }
.cp-brand-sep { color: rgba(255,255,255,.6); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.cp-eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #bfe9d8; margin: 0 0 12px; }
.cp-title { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 18px; color: #fff; }
.cp-lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: rgba(255,255,255,.86); max-width: 52ch; margin: 0 0 28px; }

.cp-downloads { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.cp-dl {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.28);
  padding: 12px 20px; border-radius: var(--radius); text-align: left;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.cp-dl:hover { background: rgba(255,255,255,.18); border-color: #fff; color: #fff; transform: translateY(-2px); }
.cp-dl span { display: flex; flex-direction: column; line-height: 1.1; }
.cp-dl-sm { font-size: 0.72rem; opacity: .8; }
.cp-dl-lg { font-size: 1.08rem; font-weight: 700; }
.cp-note { color: rgba(255,255,255,.72); font-size: 0.88rem; margin: 0; }

.cp-hero-shot { position: relative; }
.cp-hero-shot img {
  width: 100%; max-width: 380px; margin: 0 auto; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 4px solid rgba(255,255,255,.14);
  aspect-ratio: 9 / 16; object-fit: cover;
}

/* Overview */
.cp-overview-grid { max-width: 760px; margin: 0 auto; }
.cp-overview-text { font-size: 1.12rem; color: var(--deep-canopy); text-align: center; }
.cp-purpose {
  max-width: 820px; margin: clamp(28px, 4vw, 40px) auto 0; text-align: center;
  background: var(--greenhouse-mist); border: 1px solid var(--glasshouse-line); border-left: 4px solid var(--polli-teal);
  padding: clamp(20px, 3vw, 30px); border-radius: var(--radius-lg); color: var(--sensor-slate); font-size: 1.05rem;
}
.cp-purpose strong { color: var(--deep-canopy); }

/* Screenshots */
.cp-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.cp-shot { padding: 0; border: 1px solid var(--glasshouse-line); border-radius: var(--radius-lg); overflow: hidden; background: var(--clean-white); position: relative; box-shadow: var(--shadow-sm); }
.cp-shot img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; transition: transform .4s var(--ease); }
.cp-shot:hover img { transform: scale(1.05); }
.cp-shot::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 rgba(29,116,127,0); transition: box-shadow .25s var(--ease); }
.cp-shot:hover::after { box-shadow: inset 0 0 0 3px var(--polli-teal); }
.cp-shot:focus-visible { outline: 3px solid var(--polli-teal); outline-offset: 2px; }

/* Second feature row */
.cards-grid-second { margin-top: clamp(16px, 2vw, 22px); }

/* Platforms */
.cp-platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 20px); max-width: 960px; margin: 0 auto; }
.cp-platform { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; background: var(--clean-white); border: 1px solid var(--glasshouse-line); border-radius: var(--radius-lg); padding: clamp(20px, 2.5vw, 28px); font-weight: 600; }
.cp-platform-ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: var(--teal-050); color: var(--polli-teal); }
.cp-offline { text-align: center; max-width: 680px; margin: 28px auto 0; color: var(--sensor-slate); }

/* Security */
.cp-security { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; max-width: 900px; margin: 0 auto; background: var(--greenhouse-mist); border: 1px solid var(--glasshouse-line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.cp-security .card-icon { width: 64px; height: 64px; border-radius: 14px; background: var(--clean-white); }

/* CTA */
.cp-cta { text-align: center; max-width: 680px; margin: 0 auto; }
.cp-downloads-center { justify-content: center; margin-top: 24px; }
.cp-back { margin: 28px 0 0; }
.cp-back a { color: var(--polli-teal); font-weight: 600; }

/* Responsive — Cultivech page */
@media (max-width: 880px) {
  .cp-hero-grid { grid-template-columns: 1fr; }
  .cp-hero-shot { order: -1; }
  .cp-hero-shot img { max-width: 280px; }
  .cp-shots { grid-template-columns: repeat(2, 1fr); }
  .cp-platforms { grid-template-columns: repeat(2, 1fr); }
  .cp-security { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cp-security .section-title { text-align: center !important; }
}
@media (max-width: 560px) {
  .cp-shots { grid-template-columns: 1fr; }
  .cp-platforms { grid-template-columns: 1fr; }
  .cp-downloads { flex-direction: column; align-items: stretch; }
  .cp-brand-row { flex-wrap: wrap; }
}
