/* =====================================================================
   Harvest Pro — Front-end styles
   Palette:  deep plantation green, gold/amber accent, off-white
   Fonts:    Helvetica Neue (system font) for Latin text; Google's
             Noto Sans Sinhala loads only on Sinhala-language pages
             and covers Sinhala script wherever it appears (browsers
             fall through to it automatically for glyphs Helvetica
             doesn't have, so no extra markup is needed per-element)
   ===================================================================== */

:root {
  --green-900: #0f3d1e;
  --green-800: #14562a;
  --green-700: #1c6b34;
  --green-600: #22823f;
  --green-500: #2f9d4e;
  --green-050: #eaf3ec;
  --gold: #f5b418;
  --gold-soft: #f6c243;
  --ink: #14231a;
  --muted: #5c6b60;
  --line: #e3e8e3;
  --white: #ffffff;
  --cream: #f7f8f6;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(15, 45, 25, .35);
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Helvetica, Arial, "Noto Sans Sinhala", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}
/* =========================== SCROLL-REVEAL ANIMATIONS =========================== */
/* Applied by main.js (progressive enhancement — with JS disabled or failing,
   elements simply never get this class and stay visible as normal). */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

h1, h2, h3, h4, h5, h6 {
  font-family: "Helvetica Neue", Helvetica, Arial, "Noto Sans Sinhala", sans-serif;
  font-weight: 300;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }

/* ---------- Display heading helper (large section headings) ---------- */
.hero-title, .why-heading, .features-title, .how-title, .cta-title, .page-banner h1, .feature-text h2, .about-story-panel h2, .partners-head h2, .why-choose-title, .contact-form-inner h2 {
  line-height: 1.08;
  letter-spacing: -.01em;
}

/* =========================== BUTTONS =========================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  border: none; transition: all .25s ease; white-space: nowrap;
}
.btn-primary {
  background: var(--green-600); color: #fff;
  padding: 14px 30px; border-radius: 40px;
}
.btn-primary:hover { background: var(--green-700); transform: translateY(-2px); }
.btn-outline {
  background: #fff; color: var(--ink);
  padding: 12px 26px; border-radius: 40px; border: 1px solid var(--line);
}
.btn-outline:hover { border-color: var(--green-600); color: var(--green-700); }
.btn-text { color: #fff; padding: 14px 8px; font-weight: 600; }
.btn-text span { transition: transform .25s ease; }
.btn-text:hover span { transform: translateX(5px); }
.btn-text.light { color: #fff; }

/* =========================== NAVBAR / HERO =========================== */
.hero {
  position: relative;
  color: #fff; min-height: 640px;
  display: flex; flex-direction: column;
}

/* Sticky navbar: fixed to the viewport, transparent over the hero,
   swaps to a solid white bar (and swaps the logo) once the page scrolls. */
.nav-fixed {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .25s ease, box-shadow .25s ease;
}
.nav-fixed.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 8px 24px -14px rgba(15,40,25,.3);
  backdrop-filter: blur(8px);
}

.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px; max-width: 1320px; margin: 0 auto; width: 100%;
}
.brand-mark {
  font-family: "Helvetica Neue", Helvetica, Arial, "Noto Sans Sinhala", sans-serif; font-size: 26px; font-weight: 600;
  color: #fff; letter-spacing: .5px;
}
.brand-mark.dark { color: var(--green-800); }
.brand img { height: 48px; }
.brand-img-scrolled { display: none; }
.nav-fixed.scrolled .brand-img-top { display: none; }
.nav-fixed.scrolled .brand-img-scrolled { display: block; }

.nav-links { display: flex; gap: 34px; margin-left: auto; }
.nav-links a { position: relative; color: #fff; font-size: 17px; font-weight: 400; opacity: .92; transition: color .2s; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -4px;
  height: 2px; background: #FFC517; transition: right .25s ease;
}
.nav-links a:hover, .nav-links a.active { color: #FFC517; opacity: 1; }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-fixed.scrolled .nav-links a { color: var(--ink); opacity: 1; }
.nav-fixed.scrolled .nav-links a:hover, .nav-fixed.scrolled .nav-links a.active { color: #FFC517; }
/* Sinhala labels (e.g. "How It Works") run noticeably longer than their
   English originals — shrink the type and tighten the gaps so the menu
   doesn't crowd into the logo. */
html[lang="si"] .nav-links { gap: 20px; }
html[lang="si"] .nav-links a { font-size: 14.5px; }

.nav-actions { display: flex; gap: 12px; margin-left: 32px; }
.nav-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--green-800);
  display: grid; place-items: center; border: none; cursor: pointer;
  transition: transform .2s;
}
.nav-icon:hover { transform: scale(1.08); }
.nav-lang { width: auto; padding: 0 14px; border-radius: 20px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.nav-login-btn {
  width: auto; padding: 0 18px; border-radius: 20px;
  font-size: 13.5px; font-weight: 700; white-space: nowrap; text-decoration: none;
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 40; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: .3s; }
.nav-fixed.scrolled .nav-toggle span { background: var(--ink); }

/* Hero slider: slides stack full-bleed inside the flex-grown .hero-slider
   area and slide horizontally into place; JS sets each slide's translateX
   per frame, this transform is just the pre-JS / first-paint fallback. */
.hero-slider { position: relative; flex: 1; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
  transform: translateX(100%);
  transition: transform .7s ease;
  pointer-events: none; z-index: 1;
}
.hero-slide.active { transform: translateX(0); pointer-events: auto; z-index: 2; }

.hero-inner {
  width: 100%; max-width: 1320px; margin: 0 auto;
  /* top padding clears the transparent overlay navbar so text never sits under it,
     while the slide's own background image still runs full-bleed behind the nav */
  padding: 112px 40px 70px;
}
.hero-content { max-width: 560px; }
.hero-title { font-size: 58px; margin-bottom: 22px; }
html[lang="si"] .hero-title { font-size: 44px; }
.hero-sub { font-size: 16px; opacity: .92; max-width: 500px; margin-bottom: 30px; }
.hero-btns { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 10px; border: none;
  background: rgba(255,255,255,.15); color: #fff;
  display: grid; place-items: center; cursor: pointer; z-index: 20;
  transition: background .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.3); }
.hero-arrow.prev { left: 28px; }
.hero-arrow.next { right: 28px; }

.hero-dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 20;
}
.hero-dot {
  position: relative;
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
  background: rgba(255,255,255,.45); cursor: pointer; transition: background .2s;
}
/* Enlarges the tap target without affecting the dot's visible size/shape. */
.hero-dot::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 30px; height: 30px;
}
.hero-dot:hover { background: rgba(255,255,255,.75); }
.hero-dot.active { background: var(--gold); width: 26px; border-radius: 6px; }

/* =========================== TICKER =========================== */
.ticker { background: var(--green-700); overflow: hidden; padding: 15px 0; }
.ticker-track {
  display: flex; gap: 0; white-space: nowrap;
  animation: scroll 32s linear infinite; width: max-content;
}
.ticker-item {
  color: #fff; font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 12px; padding: 0 26px;
}
.ticker-item .diamond { color: var(--gold); font-size: 9px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================== PILL BADGE =========================== */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line);
  padding: 8px 18px 8px 8px; border-radius: 40px;
  font-size: 14px; font-weight: 500; color: var(--ink);
  box-shadow: 0 6px 18px -10px rgba(0,0,0,.2);
}
.pill-arrow {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold); color: #1a1a1a;
  display: grid; place-items: center; font-size: 14px;
}
.pill.pill-dark { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fff; }

/* =========================== WHY SECTION =========================== */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; margin-top: 40px;
}
.why-media { position: relative; }

/* ---- Live Estate Activity demo card ---- */
.live-feed {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px rgba(10,20,12,.08); overflow: hidden;
}
.live-feed-header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.live-feed-status { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.live-feed-status strong { font-size: 18px; font-weight: 700; }
.live-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--green-600);
  animation: liveDotPulse 1.8s ease-in-out infinite;
}
@keyframes liveDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,130,63,.45); }
  50% { box-shadow: 0 0 0 6px rgba(34,130,63,0); }
}
.live-feed-sep { width: 1px; height: 16px; background: var(--line); }
.live-feed-sub { color: var(--muted); }
.live-feed-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green-050); color: var(--green-700);
  font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: 40px;
}
.live-visitors-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green-600);
  animation: liveDotPulse 1.8s ease-in-out infinite;
}
#liveVisitorCount { transition: color .3s ease, transform .3s ease; display: inline-block; }
#liveVisitorCount.bump { color: var(--green-800); transform: scale(1.18); }

.live-feed-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  padding: 6px 20px;
}
.live-feed-card {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 14px 14px 0; border-bottom: 1px solid rgba(10,20,12,.06);
}
.live-feed-card:nth-child(odd) { padding-right: 14px; border-right: 1px solid rgba(10,20,12,.06); }
.live-feed-card:nth-child(even) { padding-left: 14px; }
.live-feed-card:last-child { border-bottom: none; }
.live-feed-card:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: none; }
.live-feed-icon {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--green-050); color: var(--green-700);
  display: grid; place-items: center;
}
.live-feed-card-body { min-width: 0; }
.live-feed-card-label { font-size: 13px; color: var(--muted); margin-top: 2px; }
.live-feed-progress { color: var(--green-700); font-weight: 700; font-size: 19px; line-height: 1.25; transition: color .4s ease; }
.live-feed-progress.lf-updated { animation: lfFlash 900ms ease; }
@keyframes lfFlash {
  0% { color: var(--gold); }
  100% { color: var(--green-700); }
}

.why-heading { font-size: 46px; margin-bottom: 22px; }
.why-heading .accent { color: var(--gold); }
.why-text p { color: var(--muted); margin-bottom: 18px; font-size: 15px; }
.why-text .btn-outline { margin-top: 6px; }

/* =========================== FEATURES =========================== */
.features { padding-top: 20px; }
.features-card {
  background: var(--green-700);
  background-image: linear-gradient(135deg, var(--green-800), var(--green-600));
  border-radius: var(--radius-lg); padding: 55px 50px; color: #fff;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px;
  position: relative; overflow: hidden;
}
.features-left { position: relative; z-index: 2; }
.features-kicker { margin-top: 40px; font-size: 20px; opacity: .9; }
.features-title { font-size: 44px; margin-top: 6px; max-width: 380px; }
.features-watermark {
  position: absolute; bottom: -10px; left: -4px;
  font-family: "Helvetica Neue", Helvetica, Arial, "Noto Sans Sinhala", sans-serif; font-size: 90px; font-weight: 600;
  color: rgba(255,255,255,.06); pointer-events: none;
}
.pill-arrow.yellow { background: var(--gold); }

.features-right {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  align-content: center;
}
.feature-item {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 22px 20px;
  transition: background .25s ease, transform .25s ease;
}
.feature-item:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.feature-item h3 { font-size: 16px; margin-bottom: 10px; color: #fff; }
.feature-item p { font-size: 13.5px; opacity: .9; line-height: 1.55; }

/* =========================== PRICING =========================== */
.pricing { text-align: center; }
.pricing-kicker {
  color: var(--green-600); font-weight: 700; font-size: 14px;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px;
}
.pricing-title { font-size: 40px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 16px; }
.pricing-subtitle { max-width: 680px; margin: 0 auto 50px; color: var(--muted); font-size: 15px; line-height: 1.7; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; align-items: start; }
.pricing-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pricing-card.featured { border: 2px solid var(--green-600); box-shadow: var(--shadow); }
.pricing-card:hover { transform: translateY(-4px); }

.pricing-badge {
  position: absolute; top: 28px; right: 28px;
  background: var(--green-700); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 6px 14px; border-radius: 40px; letter-spacing: .03em; text-transform: uppercase;
}
.pricing-label { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pricing-card.featured .pricing-label { color: var(--green-700); }
.pricing-name { font-size: 14px; color: var(--muted); margin: 8px 0 22px; min-height: 40px; }

.pricing-price { display: flex; align-items: baseline; gap: 4px; }
.pricing-currency { font-size: 16px; font-weight: 600; color: var(--ink); }
.pricing-amount { font-size: 38px; font-weight: 800; color: var(--ink); line-height: 1; }
.pricing-period { font-size: 14px; color: var(--muted); }
.pricing-note { font-size: 13px; color: var(--green-700); font-weight: 500; margin: 10px 0 0; line-height: 1.5; }
.pricing-divider { border-top: 1px solid var(--line); margin: 22px 0 20px; }
.pricing-included { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }

.pricing-features { display: flex; flex-direction: column; gap: 13px; flex: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink); line-height: 1.4; }
.pricing-tick {
  width: 18px; height: 18px; border-radius: 50%; background: var(--green-600);
  display: grid; place-items: center; flex-shrink: 0; margin-top: 1px;
}
.pricing-cta { margin-top: 46px; }

/* =========================== HOW IT HELPS =========================== */
.how-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; margin-top: 36px; }
.how-title { font-size: 48px; max-width: 380px; }
.how-right p { color: var(--muted); margin-bottom: 16px; font-size: 15px; }
.how-tags { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.tag {
  background: #b8bdb8; color: #2c332d; font-size: 14px; font-weight: 500;
  padding: 11px 22px; border-radius: 40px;
}

/* =========================== TRUST =========================== */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
}
.trust-kicker {
  color: var(--green-600); font-weight: 600; font-size: 14px;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px;
}
.trust-title {
  font-size: 34px; font-weight: 600; letter-spacing: -.01em;
  text-transform: uppercase; max-width: 760px; margin-bottom: 44px;
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.trust-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--green-050); color: var(--green-700);
  display: grid; place-items: center; font-size: 26px; margin-bottom: 18px;
}
.trust-card h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.trust-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* =========================== CTA =========================== */
.cta {
  background-color: var(--green-800); background-size: cover; background-position: center;
  color: #fff; padding: 110px 0;
}
.cta-inner { max-width: 560px; }
.cta-kicker { color: var(--green-500); font-weight: 500; margin-bottom: 18px; font-size: 15px; }
.cta-kicker strong { color: #fff; }
.cta-title { font-size: 46px; margin-bottom: 22px; }
.cta-para { opacity: .9; margin-bottom: 30px; font-size: 15px; }
.cta-btns { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* =========================== DEMO FORM =========================== */
.demo-lead { color: var(--muted); margin-bottom: 28px; }
.demo-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: 10px; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--cream); transition: border-color .2s;
}
.form-group select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: 10px; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--cream); transition: border-color .2s; cursor: pointer;
}
.form-group select:focus { outline: none; border-color: var(--green-500); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--green-500); }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-size: 14px; }
.alert-success { background: #e5f6e9; color: var(--green-800); border: 1px solid #bce6c7; }
.alert-error { background: #fdeaea; color: #a12626; border: 1px solid #f2c4c4; }

/* =========================== PAGE BANNER (inner pages) =========================== */
.page-banner {
  background-size: cover; background-position: center;
  color: #fff; padding: 150px 0 70px;
}
.page-banner-inner { max-width: 700px; text-align: left; }
.page-banner h1 { font-size: 42px; line-height: 1.3; margin-bottom: 16px; }
.page-banner h1 .accent { color: var(--gold); }
.page-banner p { opacity: .92; font-size: 16px; }

/* =========================== HOW IT WORKS =========================== */
.hiw-box {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(10,20,12,.08); padding: 32px 40px 40px;
}
.hiw-ribbon-wrap {
  margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.hiw-ribbon { display: flex; flex-wrap: wrap; row-gap: 14px; column-gap: 34px; }
.hiw-pill {
  display: flex; align-items: center; gap: 10px; background: none; border: none;
  cursor: pointer; font-family: inherit; padding: 6px 0; opacity: .55; transition: opacity .2s;
  text-align: left;
}
.hiw-pill:hover { opacity: .85; }
.hiw-pill.active { opacity: 1; }
.hiw-pill-num {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--green-050); color: var(--green-700);
  font-size: 13px; font-weight: 700; display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.hiw-pill.active .hiw-pill-num { background: var(--green-600); color: #fff; }
.hiw-pill-label { font-size: 14.5px; font-weight: 600; color: var(--ink); }

.hiw-panel { display: none; }
.hiw-panel.active { display: block; }
.hiw-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.hiw-eyebrow { color: var(--green-600); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.hiw-panel-head h2 { font-size: 30px; font-weight: 600; margin-top: 6px; }
.hiw-panel-nav { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.hiw-counter { color: var(--muted); font-size: 14px; font-weight: 600; }
.hiw-nav-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--green-800); cursor: pointer; display: grid; place-items: center;
  font-size: 16px; transition: background .2s, border-color .2s;
}
.hiw-nav-btn:hover:not(:disabled) { background: var(--green-050); border-color: var(--green-600); }
.hiw-nav-btn:disabled { opacity: .35; cursor: default; }
.hiw-summary { color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 640px; margin-bottom: 28px; }

.hiw-shot {
  aspect-ratio: 16 / 8; border-radius: var(--radius); margin-bottom: 30px;
  background: var(--green-050); border: 1.5px dashed #b9d2bd;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--green-700);
}
.hiw-shot svg { opacity: .8; }
.hiw-shot span { font-size: 13.5px; font-weight: 600; opacity: .75; }
.hiw-shot-img { border: none; background: var(--cream); padding: 0; overflow: hidden; }
.hiw-shot-img img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }

.hiw-substeps { display: flex; flex-direction: column; gap: 22px; margin-bottom: 26px; }
.hiw-substep { display: flex; gap: 16px; }
.hiw-substep-num {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--green-600); color: #fff; font-weight: 700; font-size: 13.5px;
  display: grid; place-items: center;
}
.hiw-substep h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.hiw-substep p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin: 0; }

.hiw-tip {
  display: flex; align-items: flex-start; gap: 12px; background: var(--green-050);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 30px;
}
.hiw-tip svg { flex-shrink: 0; color: var(--green-700); margin-top: 2px; }
.hiw-tip p { font-size: 14.5px; color: var(--green-800); margin: 0; line-height: 1.6; }

.hiw-placeholder-note {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; margin-bottom: 30px;
}
.hiw-badge {
  display: inline-block; background: var(--green-050); color: var(--green-700);
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 20px; margin-bottom: 10px;
}
.hiw-placeholder-note p { color: var(--muted); font-size: 14.5px; margin: 0; }

.hiw-panel-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); }

.hiw-explore-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.hiw-explore-head h2 { font-size: 34px; font-weight: 600; margin-bottom: 12px; }
.hiw-explore-head p { color: var(--muted); font-size: 15px; }
.hiw-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.hiw-card {
  text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; cursor: pointer; font-family: inherit; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hiw-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.hiw-card-icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
  background: var(--green-050); color: var(--green-700); display: grid; place-items: center;
}
.hiw-card-num { display: block; color: var(--muted); font-size: 12.5px; font-weight: 700; margin-bottom: 4px; }
.hiw-card-title { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.hiw-card-desc { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* =========================== CONTACT PAGE =========================== */
.contact-section { padding: 70px 0 90px; }
.contact-grid {
  display: grid; grid-template-columns: minmax(300px, 38%) 1fr;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.contact-info {
  background: linear-gradient(160deg, var(--green-800), var(--green-600));
  color: #fff; padding: 56px 46px; display: flex; flex-direction: column; gap: 30px;
}
.contact-info h3 { font-size: 22px; }
.contact-list { display: flex; flex-direction: column; gap: 20px; margin-top: -6px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; font-weight: 500; }
.contact-list li span:last-child { padding-top: 9px; word-break: break-word; min-width: 0; }
.contact-icon {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.15); color: #fff;
  display: grid; place-items: center;
}
.contact-follow { margin-top: auto; text-align: center; }
.contact-follow h4 { font-size: 16px; margin-bottom: 16px; opacity: .9; }
.contact-socials { display: flex; gap: 12px; justify-content: center; }
.contact-socials .social { background: rgba(255,255,255,.14); color: #fff; width: 40px; height: 40px; border-radius: 50%; }
.contact-socials .social:hover { background: var(--gold); color: #1a1a1a; }

.contact-form-col { background: #fff; padding: 56px 54px; display: flex; align-items: center; }
.contact-form-inner { max-width: 640px; width: 100%; }
.contact-form-inner h2 { font-size: 32px; margin-bottom: 8px; }
.contact-form-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

.map-section { padding-bottom: 90px; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* =========================== ABOUT PAGE =========================== */
.about-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.about-story-panel {
  background: linear-gradient(160deg, var(--green-800), var(--green-600));
  color: #fff; border-radius: var(--radius-lg); padding: 46px 44px;
}
.about-story-panel .pill { margin-bottom: 26px; }
.about-story-panel h2 { font-size: 30px; margin-bottom: 18px; }
.about-story-panel p { opacity: .92; font-size: 14.5px; line-height: 1.7; margin-bottom: 14px; }
.about-story-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.about-story-box { background: rgba(255,255,255,.12); border-radius: 14px; padding: 20px; }
.about-story-box h4 { font-size: 15px; margin-bottom: 8px; }
.about-story-box p { font-size: 13px; opacity: .9; margin-bottom: 0; }
.about-story-photo {
  background-color: var(--cream); border-radius: var(--radius-lg); background-size: cover; background-position: center;
  min-height: 380px; box-shadow: var(--shadow);
}

.partners-head { text-align: center; margin-bottom: 44px; }
.partners-head .pill { margin: 0 auto 20px; }
.partners-head h2 { font-size: 34px; line-height: 1.35; }
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.partner-card { background: #f0f1ef; border-radius: var(--radius); padding: 40px 36px; transition: transform .25s ease, box-shadow .25s ease; }
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner-logo { height: 34px; margin-bottom: 22px; display: block; }
.partner-logo-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 22px;
  background: var(--green-700); color: #fff; font-weight: 700; font-size: 15px;
}
.partner-card h3 { font-size: 21px; margin-bottom: 14px; }
.partner-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.partner-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.partner-tag { background: var(--green-050); color: var(--green-800); font-size: 12.5px; font-weight: 500; padding: 8px 16px; border-radius: 40px; }
.partners-footer { text-align: center; color: var(--muted); font-size: 14.5px; max-width: 780px; margin: 40px auto 0; line-height: 1.7; }

.why-choose { background: linear-gradient(160deg, var(--green-800), var(--green-600)); color: #fff; }
.why-choose .pill { margin-bottom: 26px; }
.why-choose-title {
  font-size: 32px;
  display: flex; align-items: center; gap: 20px; margin-bottom: 36px;
}
.why-choose-title::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.25); }
.why-choose-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.why-choose-card { border: 1px solid rgba(255,255,255,.22); border-radius: 14px; padding: 22px 18px; transition: transform .25s ease, background .25s ease; }
.why-choose-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); }
.why-choose-card h4 { font-size: 15px; margin-bottom: 10px; line-height: 1.35; }
.why-choose-card p { font-size: 12.5px; opacity: .85; line-height: 1.6; }

/* =========================== FEATURES PAGE =========================== */
.feature-row:nth-of-type(even) { background: var(--cream); }
.feature-row-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-row:nth-of-type(even) .feature-media { order: -1; }

.feature-kicker {
  display: block; color: var(--green-600); font-weight: 600; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px;
}
.feature-text h2 { font-size: 32px; margin-bottom: 16px; }
.feature-text p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 12px; }

.feature-list-heading { font-size: 15px; font-weight: 600; color: var(--ink); margin: 20px 0 8px; }
.feature-list { list-style: none; margin: 6px 0 0; padding: 0; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink); margin-bottom: 10px; }
.feature-list .tick { color: var(--gold); font-weight: 700; flex-shrink: 0; }

.feature-note {
  margin-top: 22px; padding: 16px 20px; background: var(--green-050);
  border-left: 3px solid var(--green-600); border-radius: 10px;
  font-size: 13.5px; color: var(--muted); line-height: 1.6;
}
.feature-note strong { display: block; color: var(--green-800); font-size: 14.5px; margin-bottom: 4px; }

.feature-media {
  background-color: var(--cream); border-radius: var(--radius-lg); background-size: cover; background-position: center;
  min-height: 380px; box-shadow: var(--shadow);
}

/* =========================== POLICY / LEGAL PAGES =========================== */
.policy-content { max-width: 820px; margin: 0 auto; }
.policy-updated { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.policy-content > p { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 20px; }
.policy-content h2 { font-size: 22px; font-weight: 600; color: var(--ink); margin: 42px 0 14px; }
.policy-content h3 { font-size: 16px; font-weight: 600; color: var(--green-800); margin: 26px 0 10px; }
.policy-content a { color: var(--green-700); font-weight: 500; }
.policy-content a:hover { text-decoration: underline; }
.policy-content ul { margin: 0 0 20px; }
.policy-content ul li {
  position: relative; padding-left: 22px; margin-bottom: 10px;
  color: var(--muted); font-size: 15px; line-height: 1.6;
}
.policy-content ul li::before {
  content: ''; position: absolute; left: 2px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--green-600);
}
.policy-contact-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 30px; margin-top: 8px;
}
.policy-contact-card strong { display: block; font-size: 17px; color: var(--ink); margin-bottom: 10px; }
.policy-contact-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 6px; }

/* =========================== FOOTER =========================== */
.footer { background: #fff; padding-top: 70px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1.3fr; gap: 40px;
  padding-bottom: 50px;
}
.footer-logo { height: 42px; margin-bottom: 16px; }
.footer-about { color: var(--muted); font-size: 14px; max-width: 300px; margin-top: 10px; }
.footer-col h4 { font-size: 16px; margin-bottom: 18px; color: var(--ink); }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--green-700); }
.footer-col p { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.footer-phone { color: #d24d4d !important; }
.footer-col a { color: var(--muted); }

.footer-social-col { display: flex; flex-direction: column; gap: 20px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-payment-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; align-self: flex-start; margin-top: 14px; }
.footer-payment-logo { height: 20px; width: auto; display: block; object-fit: contain; transition: opacity .2s ease; }
.footer-payment-logos a:hover .footer-payment-logo { opacity: .8; }
.social {
  background: #eef0ee; color: var(--ink); border-radius: 50%;
  width: 32px; height: 32px; display: grid; place-items: center; transition: all .2s;
}
.socials .social svg { width: 14px; height: 14px; }
.social:hover { background: var(--green-600); color: #fff; }

.footer-bottom { background: var(--green-700); color: rgba(255,255,255,.85); padding: 16px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.footer-credit { display: flex; flex-direction: column; text-align: right; gap: 2px; opacity: .8; }
.footer-legal { color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal:hover { color: #fff; }

/* =========================== LANGUAGE PROMPT (first visit) =========================== */
.lang-prompt-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(10,20,12,.55); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.lang-prompt-box {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 40px 36px; max-width: 400px; width: 100%; text-align: center;
}
.lang-prompt-box h2 { font-size: 21px; font-weight: 600; margin-bottom: 24px; line-height: 1.4; }
.lang-prompt-btns { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.lang-prompt-btn {
  display: block; padding: 14px 20px; border-radius: 10px;
  background: var(--green-600); color: #fff; font-size: 16px; font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}
.lang-prompt-btn:hover { background: var(--green-700); transform: translateY(-1px); }
.lang-prompt-skip {
  background: none; border: none; cursor: pointer; font-family: inherit;
  color: var(--muted); font-size: 13.5px; text-decoration: underline;
}
.lang-prompt-skip:hover { color: var(--ink); }

/* =========================== WHATSAPP CHAT BUTTON =========================== */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; padding: 13px 20px 13px 14px;
  border-radius: 40px; box-shadow: 0 10px 26px -8px rgba(0,0,0,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-fab:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -8px rgba(0,0,0,.45); }
.whatsapp-fab-icon { width: 30px; height: 30px; display: grid; place-items: center; flex-shrink: 0; }
.whatsapp-fab-text { font-size: 14.5px; font-weight: 600; white-space: nowrap; }

/* =========================== RESPONSIVE =========================== */
@media (max-width: 992px) {
  .hero { min-height: 560px; }
  .hero-title { font-size: 46px; }
  html[lang="si"] .hero-title { font-size: 36px; }
  .hero-inner { padding-bottom: 50px; }
  .why-grid, .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .hiw-grid { grid-template-columns: repeat(3, 1fr); }
  .hiw-box { padding: 28px 32px 32px; }
  .features-card { grid-template-columns: 1fr; padding: 40px 30px; }
  .features-watermark { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-col { padding: 46px 36px; }
  .about-story-grid { grid-template-columns: 1fr; }
  .about-story-photo { min-height: 280px; }
  .partners-grid { grid-template-columns: 1fr; }
  .why-choose-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-row-inner { grid-template-columns: 1fr; gap: 34px; }
  .feature-row:nth-of-type(even) .feature-media { order: 0; }
  .feature-media { min-height: 280px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .navbar { padding: 18px 24px; }
  .hero { min-height: 520px; }
  .live-feed-header { padding-left: 16px; padding-right: 16px; }
  .live-feed-cards { padding: 4px 14px; }
  .live-feed-card { padding-top: 12px; padding-bottom: 12px; }
  .live-feed-card:nth-child(odd) { padding-right: 10px; }
  .live-feed-card:nth-child(even) { padding-left: 10px; }
  .live-feed-progress { font-size: 17px; }
  .hero-inner { padding-top: 104px; }
  .page-banner { padding-top: 120px; }
  .contact-info { padding: 40px 28px; }
  .map-embed iframe { height: 320px; }
  .hiw-grid { grid-template-columns: 1fr 1fr; }
  .hiw-box { padding: 22px 20px 26px; }
  .hiw-panel-head h2 { font-size: 24px; }
  .hiw-panel-foot { flex-direction: column-reverse; }
  .hiw-panel-foot .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; margin-left: 0;
    height: 50vh; overflow-y: auto;
    background: var(--green-800); flex-direction: column; gap: 0;
    padding: 10px 24px; display: flex;
    transform: translateY(-100%);
    visibility: hidden;
    box-shadow: 0 16px 28px rgba(0,0,0,.18);
    transition: transform .35s ease, visibility 0s linear .35s;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; transition: transform .35s ease; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links a { display: block; padding: 14px 0; }
  /* Call drops off on mobile, but the language pill and System Login stay
     reachable next to the hamburger — swap to flex-start + auto-margin so
     they can sit adjacent to nav-toggle instead of being spaced apart by
     space-between. Icons come first, hamburger sits right at the edge. */
  .navbar { justify-content: flex-start; }
  .nav-actions { order: 1; display: flex; align-items: center; gap: 8px; margin-left: auto; }
  .nav-toggle { order: 2; margin-left: 10px; }
  .nav-actions .nav-icon:not(.nav-lang):not(.nav-login-btn) { display: none; }
  .nav-login-btn { padding: 0 12px; font-size: 12.5px; }

  .hero-title { font-size: 38px; }
  html[lang="si"] .hero-title { font-size: 30px; }
  .hero-arrow { display: none; }
  .features-right { grid-template-columns: 1fr; }
  .features-title { font-size: 34px; }
  .why-heading { font-size: 36px; }
  .how-title, .cta-title { font-size: 32px; }
  .trust-title { font-size: 26px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pricing-title { font-size: 30px; }
  .pricing-card { padding: 28px 24px; }
  .demo-box { padding: 30px 22px; }
  .demo-form .form-row { grid-template-columns: 1fr; }
  .page-banner h1 { font-size: 32px; }
  .contact-form-inner h2 { font-size: 28px; }
  .about-story-panel { padding: 34px 28px; }
  .about-story-boxes { grid-template-columns: 1fr; }
  .partners-head h2 { font-size: 26px; }
  .partner-card { padding: 30px 26px; }
  .why-choose-title { font-size: 26px; }
  .why-choose-grid { grid-template-columns: 1fr 1fr; }
  .feature-text h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .footer-credit { text-align: center; }
}

@media (max-width: 480px) {
  .whatsapp-fab { right: 16px; bottom: 16px; padding: 14px; border-radius: 50%; }
  .whatsapp-fab-text { display: none; }
  .container { padding: 0 18px; }
  .navbar { padding: 14px 18px; }
  .brand img { height: 38px; }
  .brand-mark { font-size: 20px; }
  .hero { min-height: 460px; }
  .hero-title { font-size: 30px; }
  html[lang="si"] .hero-title { font-size: 25px; }
  .hero-btns { gap: 12px; }
  .btn { font-size: 14px; }
  .btn-primary { padding: 12px 22px; }
  .btn-outline { padding: 11px 20px; }
  .cta { padding: 60px 0; }
  .hiw-grid { grid-template-columns: 1fr; }
  .hiw-shot { aspect-ratio: 4 / 3; }
  .hiw-ribbon { display: flex; flex-direction: column; gap: 14px; }
  .cta-title { font-size: 28px; }
  .why-choose-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .page-banner { padding: 100px 0 50px; }
  .page-banner h1 { font-size: 27px; }
  .contact-info, .contact-form-col { padding: 30px 20px; }
  .about-story-panel { padding: 26px 20px; }
  .about-story-panel h2 { font-size: 24px; }
  .partner-card { padding: 26px 22px; }
  .partners-head h2 { font-size: 22px; }
  .map-embed iframe { height: 240px; }
  .feature-media, .about-story-photo { min-height: 220px; }
}

/* Short/landscape phones: cap the hero to the viewport instead of a tall fixed min-height */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { min-height: 100vh; }
  .hero-inner { padding-top: 88px; padding-bottom: 24px; }
  .page-banner { padding: 90px 0 30px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  * { transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
