/* Suketho Technologies — company website (/, /products, /solutions, /agriculture, /about, /support).
   Kite-O has its own styles (styles.css) at /kite-o/. */

:root {
  --ink: #0f1728;
  --text: #2b3445;
  --muted: #5d6778;
  --faint: #8a93a3;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --line: #e4e8f0;
  --blue: #1665c1;
  --blue-dark: #0f4f9c;
  --blue-soft: #e8f0fb;
  --orange: #f47b20;
  --orange-soft: #fff1e6;
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(15, 23, 40, .04), 0 12px 32px rgba(15, 23, 40, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.025em; line-height: 1.1; }
h1 { font-size: clamp(42px, 7vw, 80px); font-weight: 800; letter-spacing: -.04em; }
h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 750; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 600; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 8px 24px rgba(22, 101, 193, .25); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.link { color: var(--blue); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.link:hover { gap: 10px; }
.link, .btn { transition: gap .2s var(--ease), background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Header: sticky, slimmer after scrolling */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header .bar { display: flex; align-items: center; gap: 28px; height: 68px; }
.site-header.is-compact { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(15, 23, 40, .04); }
/* "Compact" only shrinks the logo visually (transform): the header height never changes, so the page doesn't jump */
.brand img { height: 40px; width: auto; transform-origin: left center; transition: transform .3s var(--ease); }
.site-header.is-compact .brand img { transform: scale(.84); }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); }
.main-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.login { font-size: 15px; font-weight: 600; color: var(--ink); padding: 8px 12px; }
.login:hover { color: var(--blue); }
.menu-btn { display: none; width: 42px; height: 42px; border: 0; background: none; border-radius: 12px; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span:nth-child(1) { top: 14px; } .menu-btn span:nth-child(2) { top: 20px; } .menu-btn span:nth-child(3) { top: 26px; }
.nav-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
.nav-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Sections */
section { padding: clamp(72px, 10vw, 128px) 0; }
.soft { background: var(--bg-soft); }
.head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.head p { margin-top: 16px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 span { color: var(--blue); }
.hero .lead { margin-top: 24px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100%; }
.hero-art svg { width: 100%; height: 100%; }
.float { animation: float 7s ease-in-out infinite; }
.float.d2 { animation-delay: -2.4s; } .float.d3 { animation-delay: -4.6s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.pulse { animation: pulse 2.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }
.dash { stroke-dasharray: 6 10; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -64; } }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.product { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.product:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(15, 23, 40, .05), 0 24px 48px rgba(15, 23, 40, .1); }
.product .visual { position: relative; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product.kiteo .visual { background: radial-gradient(120% 90% at 20% 10%, #fff 0%, #eef4ff 45%, #dfeafe 100%); }
.product.kiteo .visual img.photo { width: 78%; height: auto; filter: drop-shadow(0 22px 26px rgba(15, 50, 110, .22)); transition: transform .6s var(--ease); }
.product.kiteo:hover .visual img.photo { transform: rotate(-3deg) scale(1.03); }
.product.kiteo .visual img.plogo { position: absolute; left: 22px; top: 18px; width: 118px; height: auto; }
.product.agri .visual { background: linear-gradient(180deg, #eaf6ff 0%, #f3fbf1 58%, #e3f3dc 100%); }
.product .visual svg { width: 100%; height: 100%; }
.product.plain .visual { background: radial-gradient(120% 90% at 20% 10%, #fff 0%, #f5f5f7 55%, #ececf0 100%); }
.product.plain .visual img.photo { width: 78%; height: auto; }
.product.plain .visual img.plogo { position: absolute; left: 22px; top: 18px; width: 118px; height: auto; }
.product .plain-name { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.brand-links { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; font-size: 14px; }
.brand-links a { color: var(--muted); } .brand-links a:hover { color: var(--text); }
.brand-social { display: flex; gap: 14px; justify-content: center; margin-top: 16px; }
.brand-social svg { width: 22px; height: 22px; fill: currentColor; color: var(--muted); }
.product .body { padding: 28px 30px 32px; display: grid; gap: 10px; flex: 1; align-content: start; }
.product .tag { font-size: 14px; font-weight: 700; color: var(--orange); }
.product .body p { color: var(--muted); }
.product .body .link { margin-top: 10px; }
.badge { position: absolute; right: 20px; top: 18px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .04em; background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(15, 23, 40, .08); }
.badge.soon { background: var(--ink); color: #fff; }
.badge.live { background: #e7f7ee; color: #127a3f; }
.product.featured { grid-column: span 1; }

/* Capabilities */
.caps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cap { padding: 28px 22px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.cap:hover { border-color: #c9d6ea; transform: translateY(-3px); }
.cap .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 18px; }
.cap:nth-child(even) .ic { background: var(--orange-soft); color: var(--orange); }
.cap .ic svg { width: 24px; height: 24px; }
.cap h3 { font-size: 17px; margin-bottom: 8px; }
.cap p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.icon-line { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* About band */
.about-band .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-band .lead { margin: 20px 0 28px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px; }
.stat b { display: block; overflow-wrap: anywhere; font-size: 30px; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); }
.stat.accent { background: var(--blue); border-color: var(--blue); }
.stat.accent b, .stat.accent span { color: #fff; }

/* More is coming */
.coming { position: relative; overflow: hidden; }
.coming .panel { position: relative; border-radius: calc(var(--radius) + 8px); padding: clamp(48px, 8vw, 96px) var(--gutter);
  background: radial-gradient(80% 120% at 85% 0%, rgba(244, 123, 32, .16), transparent 60%),
              radial-gradient(70% 100% at 0% 100%, rgba(22, 101, 193, .28), transparent 60%), var(--ink);
  color: #c9d2e3; text-align: center; overflow: hidden; }
.coming h2 { color: #fff; }
.coming .lead { color: #aab5c8; margin: 18px auto 0; }
.coming .dots { position: absolute; inset: 0; opacity: .35; pointer-events: none; }

/* Support */
.support-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.support-item { display: grid; gap: 12px; padding: 24px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; transition: border-color .25s, box-shadow .25s; }
.support-item:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(22, 101, 193, .1); }
.support-item .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft); color: var(--blue); }
.support-item .ic svg { width: 22px; height: 22px; }
.support-item b { color: var(--ink); font-size: 16px; }
.support-item span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.support-cta { display: flex; justify-content: center; margin-top: 36px; }

/* Support page: one card per product */
.support-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.support-product { display: grid; gap: 12px; padding: 26px 28px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; transition: border-color .25s, box-shadow .25s; }
.support-product:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(22, 101, 193, .1); }
.support-product img { width: 118px; height: auto; }
.support-product > span:not(.link) { color: var(--muted); font-size: 15px; }

/* Contact form (Support page) — same form as Kite-O's contact page */
.contact-card { max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.contact-card h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 20px; }
.contact-form { display: grid; gap: 16px; }
.contact-form .cf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 101, 193, .12); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { justify-self: start; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: #b3001b; font-size: 13px; font-weight: 500; }
.flash-ok { margin: 0 0 20px; padding: 12px 16px; border-radius: 12px; background: #e7f7ee; color: #127a3f; font-size: 15px; }
.contact-details { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.contact-details p { color: var(--text); }
.contact-details h3 { font-size: 17px; margin-top: 10px; }

/* Page intro (inner pages) */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--bg-soft), #fff); }
.page-hero .lead { margin-top: 18px; }
.prose { max-width: 760px; }
.prose p + p { margin-top: 18px; }
.prose p { font-size: 18px; color: var(--text); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mv { border-radius: var(--radius); padding: 36px; border: 1px solid var(--line); background: #fff; }
.mv h3 { margin: 12px 0 10px; font-size: 24px; }
.mv p { color: var(--muted); font-size: 17px; }
.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.values span { padding: 8px 16px; border-radius: 999px; background: var(--bg-soft); font-weight: 600; font-size: 15px; color: var(--ink); }
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sol { padding: 32px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.sol .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 18px; }
.sol .ic svg { width: 24px; height: 24px; }
.sol h3 { margin-bottom: 8px; }
.sol p { color: var(--muted); font-size: 16px; }
.cta-band { text-align: center; }
.cta-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.agri-art { border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #eaf6ff 0%, #f3fbf1 58%, #e3f3dc 100%); aspect-ratio: 16 / 9; }
.agri-art svg { width: 100%; height: 100%; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.feature-list div { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius-sm); background: var(--bg-soft); }
.feature-list svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.feature-list b { color: var(--ink); display: block; }
.feature-list span { font-size: 15px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #aab5c8; padding: 64px 0 32px; font-size: 15px; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .name { color: #fff; font-weight: 800; letter-spacing: .12em; font-size: 15px; }
.site-footer .name + p { margin-top: 12px; max-width: 360px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 28px; align-content: flex-start; justify-content: flex-end; }
.site-footer nav a:hover, .site-footer .social a:hover { color: #fff; }
.site-footer .bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); color: #c9d2e3; }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* Scroll reveal (only when JavaScript runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float, .pulse, .dash { animation: none; }
}

/* Tablet */
@media (max-width: 1040px) {
  .caps { grid-template-columns: repeat(3, 1fr); }
  .support-grid { grid-template-columns: repeat(3, 1fr); }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu-btn { display: block; margin-left: auto; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; box-shadow: 0 16px 32px rgba(15, 23, 40, .08);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .main-nav a { padding: 14px 4px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .header-actions .btn { display: none; }
  .hero .grid, .about-band .grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { justify-self: center; max-width: 400px; }
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .site-footer .top { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
}
/* Phone */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand img { height: 34px; }
  .caps, .support-grid, .sol-grid, .feature-list { grid-template-columns: 1fr; }
  .contact-form .cf-row { grid-template-columns: minmax(0, 1fr); }
  .contact-form .btn { justify-self: stretch; }
  .cap { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; padding: 20px; }
  .cap .ic { margin: 0; grid-row: span 2; }
  .products { grid-template-columns: 1fr; }
  .product .body { padding: 24px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .stats { gap: 10px; }
  .stat { padding: 18px 16px; }
  .stat b { font-size: 20px; }
  .stat span { font-size: 13px; }
  .login { padding: 8px 6px; font-size: 15px; }
  .mv { padding: 24px 22px; }
  .mv p[style] { font-size: 18px !important; }
  .feature-list div { padding: 16px; }
  /* support shortcuts: compact rows, icon on the left */
  .support-item { grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; padding: 16px 18px; align-items: center; }
  .support-item .ic { grid-row: span 2; }
  .support-item span:last-child { grid-column: 2; }
  .coming .panel { padding: 44px 22px; }
  section { padding: 64px 0; }
}
