/* ============================================================
   sections.css — Hero · Trust · Services · Strengths · Process
   · Cases · Smartfarm · About · CTA
   ============================================================ */

/* ─────────── Hero ─────────── */
.hero { position: relative; padding-block: calc(var(--header-h) + var(--space-8)) var(--space-9); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-8); align-items: center; }
.hero__copy .overline { margin-bottom: var(--space-5); }
.hero__title { margin-bottom: var(--space-5); }
.hero__title .display em { font-style: normal; color: var(--emerald-700); }
.hero__sub { font-size: var(--t-lead); color: var(--text-2); max-width: 44ch; margin-bottom: var(--space-6); word-break: keep-all; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--space-7); }
.hero__cta { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-6); }
.hero__note { font-size: .86rem; color: var(--text-3); }

.hero__media { position: relative; }
.hero__photo { aspect-ratio: 4/5; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.hero__badge { position: absolute; left: -22px; bottom: 40px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: var(--space-5) var(--space-6); display: flex; align-items: center; gap: var(--space-4); max-width: 270px; }
.hero__badge .bignum { font-weight: 800; font-size: 2.4rem; color: var(--navy); line-height: 1; letter-spacing: -0.03em; }
.hero__badge .bignum span { color: var(--emerald); font-size: 1.3rem; }
.hero__badge .lbl { font-size: .85rem; color: var(--text-2); line-height: 1.4; }
.hero__float { position: absolute; right: -14px; top: 28px; background: var(--navy); color: #fff; border-radius: var(--r-md); padding: 12px 18px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 8px; }
.hero__float .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(13,109,114,.25); }

/* ─────────── Trust strip ─────────── */
.trust { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.tcell { padding: var(--space-7) var(--space-5); border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.tcell:first-child { border-left: none; }
.tcell .v { font-weight: 800; font-size: 1.9rem; color: var(--navy); letter-spacing: -0.02em; line-height: 1; }
.tcell .v span { color: var(--emerald); font-size: 1.1rem; }
.tcell .k { font-size: .9rem; color: var(--text-2); }

/* ─────────── Services ─────────── */
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.svc-card { position: relative; overflow: hidden; }
.svc-card.feature { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; padding: 0; }
.svc-card.feature .svc-card__body { padding: var(--space-8); display: flex; flex-direction: column; justify-content: center; }
.svc-card.feature .media { border-radius: 0; height: 100%; min-height: 300px; }
.svc-card.feature .tag { align-self: flex-start; margin-bottom: var(--space-4); }

/* ─────────── Strengths / Values ─────────── */
.values__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.value { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); padding: var(--space-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); transition: box-shadow var(--dur-base), transform var(--dur-base); }
.value:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value__no { font-family: var(--font-latin); font-weight: 800; font-size: 1.1rem; color: var(--emerald); width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--emerald-soft); display: grid; place-items: center; flex: none; }
.value h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value p { color: var(--text-2); font-size: .98rem; word-break: keep-all; }

/* ─────────── Process ─────────── */
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); position: relative; }
.pstep { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--space-6); position: relative; }
.pstep__no { font-family: var(--font-latin); font-weight: 800; font-size: 1rem; color: #fff; background: var(--navy); width: 40px; height: 40px; border-radius: var(--r-pill); display: grid; place-items: center; margin-bottom: var(--space-5); }
.pstep h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pstep p { color: var(--text-2); font-size: .94rem; word-break: keep-all; }
.process__promise { margin-top: var(--space-7); background: var(--emerald-soft); border-radius: var(--r-lg); padding: var(--space-6) var(--space-7); display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.process__promise .h4 { color: var(--emerald-700); }

/* ─────────── Cases ─────────── */
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.case { cursor: pointer; }
.case .media { aspect-ratio: 4/3; margin-bottom: var(--space-4); }
.case .media img { transition: transform var(--dur-cine) var(--ease-out); }
.case:hover .media img { transform: scale(1.06); }
.case__tag { margin-bottom: var(--space-3); }
.case h3 { font-size: 1.15rem; margin-bottom: 6px; }
.case p { color: var(--text-2); font-size: .94rem; word-break: keep-all; }

/* ─────────── Smartfarm (navy) ─────────── */
.smartfarm { position: relative; overflow: hidden; }
.smartfarm::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(13,109,114,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(13,109,114,.06) 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; }
.smartfarm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; position: relative; }
.console { background: var(--navy-700); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: var(--space-6); box-shadow: var(--shadow-lg); }
.console__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-5); font-size: .82rem; color: var(--on-navy-2); letter-spacing: .04em; }
.console__head .live { display: inline-flex; align-items: center; gap: 7px; color: var(--emerald); font-weight: 600; }
.console__head .live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(13,109,114,.25); }
.gauge { display: grid; gap: var(--space-4); }
.gauge__row { display: grid; grid-template-columns: 84px 1fr auto; gap: var(--space-4); align-items: center; }
.gauge__name { font-size: .88rem; color: var(--on-navy-2); }
.gauge__track { height: 8px; border-radius: var(--r-pill); background: rgba(255,255,255,.1); overflow: hidden; }
.gauge__fill { height: 100%; width: 0; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--emerald), #4FD9BD); transition: width var(--dur-cine) var(--ease-out); }
.gauge__val { font-variant-numeric: tabular-nums; font-size: .9rem; color: #fff; font-weight: 600; }
.console__foot { margin-top: var(--space-5); font-size: .72rem; color: var(--on-navy-2); opacity: .7; }
.sf-steps { display: grid; gap: var(--space-4); margin: var(--space-6) 0; }
.sf-step { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: baseline; }
.sf-step .n { font-family: var(--font-latin); font-weight: 800; color: var(--emerald); }
.sf-step b { color: #fff; display: block; margin-bottom: 2px; }
.sf-step span { color: var(--on-navy-2); font-size: .92rem; }

/* ─────────── About ─────────── */
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-8); align-items: center; }
.about__media { aspect-ratio: 4/5; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.about__story { color: var(--text-2); margin-bottom: var(--space-6); }
.about__story p { margin-bottom: var(--space-4); word-break: keep-all; }
.quote { border-left: 3px solid var(--emerald); padding: var(--space-2) 0 var(--space-2) var(--space-5); margin-bottom: var(--space-5); }
.quote p { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--navy); line-height: 1.5; word-break: keep-all; letter-spacing: -0.01em; }
.sign { display: flex; align-items: center; gap: var(--space-4); }
.sign .who b { display: block; color: var(--text); }
.sign .who span { font-size: .88rem; color: var(--text-3); }

/* ─────────── CTA final ─────────── */
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-9); align-items: start; }
.cta__contacts { margin-top: var(--space-6); display: grid; gap: 2px; }
.crow { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.crow:last-child { border-bottom: none; }
.crow .ic { width: 40px; height: 40px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--emerald); flex: none; }
.crow .k { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-2); }
.crow .v { font-weight: 600; color: #fff; }
.form-card { background: var(--surface); border-radius: var(--r-xl); padding: var(--space-7); box-shadow: var(--shadow-lg); }

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .hero__photo { aspect-ratio: 16/11; }
  .hero__badge { left: 16px; }
  .smartfarm__grid, .about__grid, .cta__grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .cases__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .services__grid, .values__grid { grid-template-columns: 1fr; }
  .svc-card.feature { grid-column: span 1; grid-template-columns: 1fr; }
  .svc-card.feature .media { min-height: 220px; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .tcell:nth-child(3) { border-left: none; }
  .tcell { border-top: 1px solid var(--border); }
  .tcell:nth-child(-n+2) { border-top: none; }
}
@media (max-width: 560px) {
  .cases__grid, .process__steps { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .hero__badge { position: static; margin-top: var(--space-4); max-width: none; }
  .hero__float { display: none; }
}
