:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --ink: #1d2433;
  --ink-2: #4a5468;
  --ink-3: #7b8496;
  --line: #e4e6ea;
  --green: #a3c452;
  --green-d: #6a8f47;
  --green-l: #e9e79d;
  --blue: #8aa5c8;
  --violet: #aca8de;
  --mint: #9fd3c5;
  --deep: #141a2b;
  --radius: 22px;
  --wrap: 1180px;
  --grad: linear-gradient(100deg, var(--green-l), var(--green) 55%, var(--green-d));
  --grad-text: linear-gradient(100deg, #9cbf45, #5f8a3c);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Baloo 2", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* ---------- Aurora background ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.aurora span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.aurora .a1 { width: 60vw; height: 42vw; right: -12vw; top: 6vw; background: var(--blue); transform: rotate(-14deg); }
.aurora .a2 { width: 40vw; height: 30vw; right: -6vw; top: -6vw; background: var(--violet); }
.aurora .a3 { width: 34vw; height: 26vw; right: 18vw; top: 24vw; background: var(--mint); opacity: .45; }
@media (prefers-reduced-motion: no-preference) {
  .aurora .a1 { animation: drift 18s ease-in-out infinite alternate; }
  .aurora .a3 { animation: drift 24s ease-in-out infinite alternate-reverse; }
}
@keyframes drift { to { transform: translate(-4vw, 2vw) rotate(-6deg) scale(1.06); } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.header.scrolled { background: rgba(247,247,245,.85); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; }
.wordmark { font-size: 26px; line-height: 1; letter-spacing: -.01em; }
.wordmark b { font-weight: 800; }
.wordmark i { font-style: normal; font-family: "Comfortaa", sans-serif; font-weight: 300; font-size: .9em; }
.nav { display: flex; align-items: center; gap: 30px; font-weight: 500; color: var(--ink-2); }
.nav a:not(.btn):hover { color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 6px auto; border-radius: 2px; transition: .3s; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 16px;
  background: var(--deep); color: #fff; border: 0; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(20,26,43,.5); }
.btn.green { background: var(--grad); color: var(--deep); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-d);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--grad); }
.hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -.025em; margin: 18px 0 22px; }
.hero h1 em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 20px; color: var(--ink-2); max-width: 540px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-logo { width: min(420px, 100%); justify-self: center; filter: drop-shadow(0 30px 40px rgba(106,143,71,.25)); }
@media (prefers-reduced-motion: no-preference) {
  .hero-logo { animation: float 6s ease-in-out infinite; }
}
@keyframes float { 50% { transform: translateY(-14px); } }

.sectors { position: relative; z-index: 1; border-block: 1px solid var(--line); background: rgba(255,255,255,.6); overflow: hidden; }
.marquee { display: flex; gap: 56px; padding: 22px 0; width: max-content; animation: scroll 40s linear infinite; }
.marquee span { font-size: 20px; font-weight: 600; color: var(--ink-3); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 12px 40px; } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; margin-top: 12px; }
.section-head p { color: var(--ink-2); font-size: 19px; margin-top: 16px; }

/* About */
.about .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.about-media { position: relative; aspect-ratio: 4/5; border-radius: 50% 50% var(--radius) var(--radius); overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 6px rgba(159,211,197,.6); }
.about-text p { color: var(--ink-2); margin-bottom: 18px; }
.about-text p strong { color: var(--ink); font-weight: 600; }
.quote {
  margin-top: 30px; padding: 26px 30px; border-radius: var(--radius);
  background: var(--deep); color: #fff; font-size: 21px; line-height: 1.45; font-weight: 500; position: relative; overflow: hidden;
}
.quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--grad); }
.quote small { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }

/* Mission & values */
.mission { background: var(--deep); color: #fff; overflow: hidden; }
.mission .aurora span { opacity: .22; }
.mission .wrap { position: relative; z-index: 1; }
.mission .section-head p { color: #b9c0cf; }
.mission .eyebrow { color: var(--green); }
.goal {
  font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1.25; max-width: 900px; margin-bottom: 60px;
}
.goal em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
.value { background: var(--deep); padding: 30px 26px; transition: background .3s; }
.value:hover { background: #1b2238; }
.value .num { font-size: 14px; font-weight: 700; color: var(--green); letter-spacing: .1em; }
.value h3 { font-size: 20px; line-height: 1.3; font-weight: 600; margin-top: 10px; }

/* Solutions */
.tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); margin-bottom: 40px; flex-wrap: wrap; }
.tab { border: 0; background: none; font: inherit; font-weight: 600; font-size: 16px; padding: 10px 22px; border-radius: 999px; color: var(--ink-2); cursor: pointer; transition: .25s; }
.tab[aria-selected="true"] { background: var(--deep); color: #fff; }
.panel[hidden] { display: none; }
.panel { animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); margin-bottom: 24px; }
.feature-img { min-height: 340px; position: relative; }
.feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: 44px; }
.feature-body h3 { font-size: 28px; line-height: 1.15; font-weight: 700; margin-bottom: 14px; }
.feature-body p { color: var(--ink-2); margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: 999px; background: #f1f4e6; color: #4d6a31; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border-radius: var(--radius); padding: 30px; box-shadow: 0 0 0 1px var(--line);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 24px 40px -24px rgba(29,36,51,.3); }
.card .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; margin-bottom: 20px; }
.card .ico svg { width: 26px; height: 26px; stroke: var(--deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; line-height: 1.25; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }

/* Maestro */
.maestro .box {
  position: relative; overflow: hidden; border-radius: 32px; padding: 64px;
  background: linear-gradient(135deg, #dfe8f3, #e6e2f6 60%, #e3f1ea);
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.maestro h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; margin: 12px 0 16px; }
.maestro p { color: var(--ink-2); }
.maestro ul { list-style: none; display: grid; gap: 10px; }
.maestro li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.7); padding: 14px 18px; border-radius: 14px; font-weight: 500; }
.maestro li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--grad); }
.products { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.products span { background: var(--deep); color: #fff; padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; }

/* CTA */
.cta-band { padding: 0 0 120px; }
.cta-band .box {
  border-radius: 32px; padding: 64px; background: var(--deep); color: #fff; position: relative; overflow: hidden;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta-band .box::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: var(--green); filter: blur(100px); opacity: .35; }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; font-weight: 800; max-width: 620px; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

/* Footer */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; display: grid; gap: 8px; color: var(--ink-2); }
.footer a:hover { color: var(--green-d); }
.footer .about-f { color: var(--ink-2); margin-top: 16px; font-size: 15.5px; max-width: 320px; }
.footer .bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--ink-3); font-size: 14px; flex-wrap: wrap; gap: 10px; }

/* ---------- Contact page ---------- */
.page-hero { position: relative; padding: 170px 0 70px; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -.025em; margin: 14px 0 16px; }
.page-hero p { font-size: 20px; color: var(--ink-2); max-width: 560px; }

.contact { padding: 20px 0 120px; }
.contact .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.info { display: grid; gap: 14px; }
.info-item { display: flex; gap: 18px; align-items: center; background: var(--surface); padding: 22px 24px; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); transition: transform .25s; }
a.info-item:hover { transform: translateX(4px); }
.info-item .ico { flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.info-item .ico svg { width: 22px; height: 22px; stroke: var(--deep); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.info-item small { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.info-item strong { font-weight: 600; font-size: 18px; line-height: 1.35; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); height: 280px; margin-top: 4px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.8); }

.form { background: var(--surface); border-radius: 28px; padding: 44px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(29,36,51,.35); }
.form h2 { font-size: 30px; font-weight: 800; line-height: 1.15; margin-bottom: 6px; }
.form > p { color: var(--ink-2); margin-bottom: 28px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1.5px solid transparent; border-radius: 14px; padding: 13px 16px; outline: none; transition: .2s; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(163,196,82,.18); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); margin: 6px 0 24px; }
.check input { margin-top: 5px; accent-color: var(--green-d); }
.form .btn { width: 100%; justify-content: center; padding: 15px; font-size: 17px; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--green-d); min-height: 20px; text-align: center; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer .grid { grid-template-columns: 1fr 1fr; }
  .maestro .box { grid-template-columns: 1fr; padding: 44px; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 10px 20px 24px; box-shadow: 0 20px 30px -20px rgba(0,0,0,.2);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .header.open .nav { opacity: 1; visibility: visible; transform: none; }
  .header.open { background: var(--bg); }
  .header.open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .header.open .menu-btn span:nth-child(2) { opacity: 0; }
  .header.open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero .wrap, .about .wrap, .feature, .contact .wrap { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 130px; }
  .hero-logo { width: 220px; order: -1; justify-self: start; }
  .about .wrap { gap: 40px; }
  .about-media { aspect-ratio: 1; max-width: 420px; }
  .feature-img { min-height: 240px; }
  .feature-body { padding: 30px; }
  .section { padding: 84px 0; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .values, .cards, .row { grid-template-columns: 1fr; }
  .footer .grid { grid-template-columns: 1fr; }
  .maestro .box, .cta-band .box { padding: 32px 24px; border-radius: 24px; }
  .form { padding: 28px 22px; }
  .tabs { display: flex; }
  .tab { flex: 1; padding: 10px 12px; }
  .wordmark { font-size: 22px; }
  .brand img { width: 38px; }
}
