/* ===========================================================
   KNS Teknolojileri — Design System
   Telekom · Bilişim · Güvenlik
   =========================================================== */

:root {
  /* Color — cool, technological, trustworthy */
  --bg:            oklch(0.99 0.004 250);
  --surface:       oklch(1 0 0);
  --surface-2:     oklch(0.975 0.006 250);
  --ink:           oklch(0.24 0.025 260);
  --ink-soft:      oklch(0.44 0.02 260);
  --ink-faint:     oklch(0.60 0.015 260);
  --line:          oklch(0.91 0.008 255);
  --line-soft:     oklch(0.945 0.006 255);

  --primary:       oklch(0.48 0.16 258);
  --primary-deep:  oklch(0.38 0.15 262);
  --accent:        oklch(0.66 0.16 232);
  --accent-soft:   oklch(0.93 0.05 232);

  /* Dark hero palette */
  --dark:          oklch(0.21 0.035 262);
  --dark-2:        oklch(0.26 0.04 262);
  --dark-line:     oklch(0.34 0.04 262);
  --on-dark:       oklch(0.97 0.006 250);
  --on-dark-soft:  oklch(0.78 0.02 255);

  /* Type */
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  /* Radius & shadow */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-sm: 0 1px 2px oklch(0.4 0.05 260 / 0.06), 0 2px 6px oklch(0.4 0.05 260 / 0.05);
  --shadow-md: 0 6px 18px oklch(0.4 0.05 260 / 0.08), 0 2px 6px oklch(0.4 0.05 260 / 0.05);
  --shadow-lg: 0 20px 48px oklch(0.35 0.06 260 / 0.14), 0 6px 16px oklch(0.35 0.06 260 / 0.08);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section-pad { padding-block: clamp(72px, 10vw, 132px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow.on-dark { color: var(--accent); }

.section-head { max-width: 660px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(30px, 4.4vw, 50px); margin-top: 16px; }
.section-head p { margin-top: 18px; color: var(--ink-soft); font-size: clamp(16px, 1.6vw, 19px); text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px oklch(0.48 0.16 258 / 0.28); }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-2px); box-shadow: 0 14px 30px oklch(0.48 0.16 258 / 0.34); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-on-dark { background: rgba(255,255,255,0.08); color: var(--on-dark); border-color: var(--dark-line); backdrop-filter: blur(6px); }
.btn-on-dark:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.btn-lg { padding: 17px 30px; font-size: 16px; }

/* ===========================================================
   HEADER
   =========================================================== */
.topbar {
  background: var(--dark); color: var(--on-dark-soft);
  font-size: 13.5px; border-bottom: 1px solid var(--dark-line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 20px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: var(--on-dark); }
.topbar .tb-left { display: flex; gap: 22px; }
.topbar .tb-right { display: flex; gap: 18px; }
.topbar svg { width: 14px; height: 14px; opacity: .8; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(1 0 0 / 0.82); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 46px; width: auto; display: block; }
.footer-brand .logo-img { height: 52px; }
@media (max-width: 480px) { .logo-img { height: 38px; } }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: 0.02em; color: var(--ink); }
.logo-text span { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); margin-top: 4px; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  padding: 9px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--primary); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; color: var(--ink); }

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); z-index: 60;
  background: var(--surface); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.1,1);
  display: flex; flex-direction: column; padding: 24px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-backdrop { position: fixed; inset: 0; z-index: 59; background: oklch(0.2 0.03 260 / 0.45); opacity: 0; visibility: hidden; transition: opacity .3s; }
.mobile-backdrop.open { opacity: 1; visibility: visible; }
.mobile-menu .mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-menu .mm-close { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: none; cursor: pointer; display: grid; place-items: center; }
.mobile-menu .mm-close svg { width: 22px; height: 22px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu nav a { font-family: var(--font-head); font-weight: 600; font-size: 19px; padding: 14px 12px; border-radius: 12px; color: var(--ink); transition: background .2s; }
.mobile-menu nav a:hover { background: var(--surface-2); color: var(--primary); }
.mobile-menu .btn { margin-top: 18px; justify-content: center; }

/* ===========================================================
   HERO
   =========================================================== */
.hero { background: var(--dark); color: var(--on-dark); overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 78% 8%, oklch(0.66 0.16 232 / 0.30), transparent 60%),
    radial-gradient(ellipse 50% 50% at 12% 92%, oklch(0.48 0.16 258 / 0.34), transparent 60%);
}
.hero .grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: 0.22;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 78%);
}
.hero .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-start; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: start; padding-block: clamp(16px, 2vw, 28px) clamp(28px, 4vw, 52px); }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head);
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--dark-line); color: var(--on-dark-soft);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: oklch(0.78 0.18 150); box-shadow: 0 0 0 4px oklch(0.78 0.18 150 / 0.2); }
.hero h1 { font-size: clamp(28px, 3.4vw, 45px); margin-top: 30px; color: var(--on-dark); }
.hero h1 .hl { color: transparent; background: linear-gradient(100deg, var(--accent), oklch(0.78 0.12 250)); -webkit-background-clip: text; background-clip: text; }
.hero-sub { margin-top: 24px; font-size: clamp(16px, 1.7vw, 20px); color: var(--on-dark-soft); max-width: 680px; margin-left: auto; margin-right: auto; text-wrap: pretty; }
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-tags { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px 22px; padding-top: 28px; border-top: 1px solid var(--dark-line); }
.hero-copy { padding-left: 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
@media (max-width: 1000px) { .hero-copy { padding-left: 0; } }
.hero-tags span { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--on-dark-soft); font-weight: 500; }
.hero-tags svg { width: 17px; height: 17px; color: var(--accent); }

/* Hero visual — stacked service cards / network panel */
.hero-visual { position: relative; height: auto; min-height: 0; display: block; width: 100%; }
.hero-panel {
  width: 100%; max-width: none; border-radius: var(--r-xl);
  margin-top: 4px;
  background: linear-gradient(160deg, oklch(0.29 0.04 262), oklch(0.23 0.035 262));
  border: 1px solid var(--dark-line); box-shadow: var(--shadow-lg);
  padding: 26px; position: relative;
}
.hero-panel::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, oklch(0.66 0.16 232 / 0.5), transparent 40%, transparent 70%, oklch(0.48 0.16 258 / 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.hero-panel::after {
  content: ""; position: absolute; z-index: -1; inset: 8% 12% -14% 12%; border-radius: 999px;
  background: radial-gradient(ellipse at center, oklch(0.55 0.16 245 / 0.45), transparent 70%); filter: blur(46px);
}
.hero-panel .hp-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.hero-panel .hp-top .dots { display: flex; gap: 7px; }
.hero-panel .hp-top .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--dark-line); display: block; }
.hero-panel .hp-top .live { font-size: 12px; font-family: var(--font-head); color: oklch(0.8 0.16 150); display: inline-flex; align-items: center; gap: 7px; }
.hero-panel .hp-top .live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero-panel .hp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hp-row { padding: 20px 18px; }
.hp-row .ico { width: 44px; height: 44px; }
.hp-row .ico svg { width: 22px; height: 22px; }
.hp-row .txt b { font-size: 15px; line-height: 1.25; }
.hp-row .txt span { font-size: 13px; }
.hp-row { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: var(--r-md); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.05); }
.hp-row .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: none; background: oklch(0.48 0.16 258 / 0.22); color: var(--accent); }
.hp-row .ico svg { width: 21px; height: 21px; }
.hp-row .txt b { display: block; font-family: var(--font-head); font-size: 15px; color: var(--on-dark); font-weight: 600; }
.hp-row .txt span { font-size: 13px; color: var(--on-dark-soft); }
.hp-row { position: relative; overflow: hidden; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.hp-row::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); opacity: 0; transition: opacity .25s ease; }
.hp-row:hover { transform: translateY(-5px); background: rgba(255,255,255,0.07); border-color: oklch(0.66 0.16 232 / 0.4); }
.hp-row:hover::before { opacity: 1; }
.hp-row .ico { transition: transform .25s ease; }
.hp-row:hover .ico { transform: scale(1.08) rotate(-4deg); }
.hp-row:nth-child(1) .ico { background: oklch(0.66 0.16 232 / 0.22); color: oklch(0.74 0.15 232); }
.hp-row:nth-child(2) .ico { background: oklch(0.7 0.17 150 / 0.2); color: oklch(0.8 0.16 150); }
.hp-row:nth-child(3) .ico { background: oklch(0.62 0.16 290 / 0.22); color: oklch(0.74 0.14 290); }
.hp-row:nth-child(4) .ico { background: oklch(0.7 0.16 50 / 0.2); color: oklch(0.8 0.14 60); }

/* Hero scroll cue */
.hero-scroll { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 30px auto 0; color: var(--on-dark-soft); font-family: var(--font-head); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.hero-scroll svg { width: 22px; height: 22px; animation: scrollBob 1.8s ease-in-out infinite; }
@keyframes scrollBob { 0%,100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(6px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll svg { animation: none; } }
.hp-row .stat { margin-left: auto; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: oklch(0.8 0.16 150); }
.hero-float {
  position: absolute; background: var(--surface); color: var(--ink); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.hero-float.f1 { top: 8%; left: -6%; }
.hero-float.f2 { position: static; margin: 22px auto 0; width: fit-content; }
.hero-head { display: flex; align-items: flex-start; justify-content: space-between; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; }
.hero-float.f2top { position: static; margin: 0; width: fit-content; flex: none; align-self: center; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 24px 30px; border-radius: var(--r-lg); background: linear-gradient(165deg, #fff, oklch(0.97 0.02 232)); box-shadow: 0 18px 40px oklch(0.45 0.12 245 / 0.35), 0 0 0 1px oklch(0.66 0.16 232 / 0.25); }
.hero-float.f2top .fic { width: 54px; height: 54px; border-radius: 15px; background: linear-gradient(150deg, var(--accent), var(--primary)); color: #fff; }
.hero-float.f2top .fic svg { width: 27px; height: 27px; }
.hero-float.f2top .fnum { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.45; color: var(--primary); letter-spacing: 0.01em; }
.hero-float .fnum { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--primary); line-height: 1; }
.hero-float .flbl { font-size: 12.5px; color: var(--ink-soft); }
.hero-float .fic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; }
.hero-float .fic svg { width: 19px; height: 19px; }

/* ===========================================================
   LOGO STRIP / partners
   =========================================================== */
.strip { border-bottom: 1px solid var(--line-soft); background: var(--surface); padding-block: 34px; overflow: hidden; }
.strip .label { display: block; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 22px; }
.marquee { display: flex; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 18px; flex: none; padding-right: 18px; animation: marquee-scroll 75s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.strip .partner { flex: none; height: 92px; width: 160px; padding: 0 18px; border-radius: 14px; display: grid; place-items: center; color: var(--ink-soft); font-family: var(--font-head); font-weight: 700; letter-spacing: 0.01em; font-size: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.strip .partner:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.strip .partner .plogo { max-height: 40px; max-width: 116px; width: auto; height: auto; display: block; object-fit: contain; }
.strip .partner.wide { width: 208px; }
.strip .partner.wide .plogo { max-width: 178px; max-height: 46px; }
.strip .partner.big .plogo { max-height: 58px; max-width: 138px; }
.strip .partner.teknim-chip .plogo { transform: translateX(-7px); }
.strip .partner.xl { width: 230px; }
.strip .partner.xl .plogo { max-height: 78px; max-width: 205px; }
.strip .partner.samsung-chip { width: 188px; }
.strip .partner.samsung-chip .plogo { max-height: 24px; max-width: 158px; }
.strip .partner.toshiba-chip { width: 188px; }
.strip .partner.toshiba-chip .plogo { max-height: 26px; max-width: 158px; }
.strip .partner.lenovo-chip { width: 168px; }
.strip .partner.lenovo-chip .plogo { max-height: 46px; max-width: 140px; }
.strip .partner.seagate-chip { width: 188px; }
.strip .partner.seagate-chip .plogo { max-height: 40px; max-width: 158px; }
/* full-color brand logos */
.strip .partner.lg-sq .plogo { max-height: 64px; max-width: 118px; }
.strip .partner.lg-wm { width: 190px; }
.strip .partner.lg-wm .plogo { max-height: 44px; max-width: 168px; }
.strip .partner.lg-wm-xl { width: 216px; }
.strip .partner.lg-wm-xl .plogo { max-height: 42px; max-width: 196px; }
.strip .partner.fortinet-chip .plogo { transform: translateX(-9px); }
.strip .partner.with-name { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; text-align: center; }
.strip .partner.with-name .plogo { max-height: 30px; }
.strip .partner.with-name .pname { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-soft); line-height: 1; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ===========================================================
   REFERENCES — customer logo slider
   =========================================================== */
.ref-slider { position: relative; }
.ref-viewport { overflow: hidden; border-radius: var(--r-md); }
.ref-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.12,1); will-change: transform; }
.ref-page { flex: 0 0 100%; display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start; gap: 18px; padding: 4px; }
.ref-cell {
  flex: 0 0 calc((100% - 5 * 18px) / 6); max-width: calc((100% - 5 * 18px) / 6);
  aspect-ratio: 3 / 2; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); display: grid; place-items: center; padding: 18px;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .25s, border-color .2s;
}
.ref-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.ref-cell img { max-width: 100%; max-height: 60px; width: auto; height: auto; object-fit: contain; }
.ref-cell[style*="background"] { border-color: transparent; }
.ref-ph { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 0.03em; color: var(--ink-faint); }
.ref-note { text-align: center; margin-top: 40px; color: var(--ink-soft); font-size: 16px; font-weight: 500; }

/* nav arrows */
.ref-nav { display: none; }

/* dots */
.ref-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.ref-dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: none; cursor: pointer; background: var(--line); transition: background .25s, width .25s; }
.ref-dots button.active { background: var(--primary); width: 26px; }

@media (max-width: 900px) {
  .ref-page { grid-template-columns: repeat(4, 1fr); }
  .ref-cell { flex-basis: calc((100% - 3 * 18px) / 4); max-width: calc((100% - 3 * 18px) / 4); }
}
@media (max-width: 560px) {
  .ref-page { gap: 12px; }
  .ref-cell { flex-basis: calc((100% - 12px) / 2); max-width: calc((100% - 12px) / 2); }
}

/* ===========================================================
   SERVICES
   =========================================================== */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px; overflow: hidden;
  transition: transform .25s ease, box-shadow .3s ease, border-color .25s;
}
.service-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, var(--accent), transparent 45%); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { opacity: 1; }
.service-card .num { position: absolute; top: 28px; right: 30px; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--line); }
.service-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(150deg, var(--accent-soft), oklch(0.96 0.02 258)); color: var(--primary);
  transition: transform .3s ease;
}
.service-card:hover .service-icon { transform: scale(1.06) rotate(-3deg); }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 23px; margin-bottom: 12px; }
.service-card p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 20px; text-wrap: pretty; }
.service-feats { display: flex; flex-wrap: wrap; gap: 8px; }
.service-feats li { font-size: 13px; font-weight: 600; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--line-soft); padding: 6px 12px; border-radius: 999px; }

/* ===========================================================
   ABOUT
   =========================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.about-media { position: relative; }
.ph {
  position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, var(--surface-2) 0 14px, var(--surface) 14px 28px);
  display: grid; place-items: center; color: var(--ink-faint);
}
.ph .ph-label { font-family: "SFMono-Regular", ui-monospace, "Cascadia Code", Menlo, monospace; font-size: 13px; letter-spacing: 0.02em; background: var(--surface); padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.about-media .ph { aspect-ratio: 4/5; }
.about-media image-slot.ph { display: block; width: 100%; height: clamp(380px, 40vw, 540px); aspect-ratio: auto; }
.about-photo { width: 100%; height: clamp(380px, 40vw, 540px); aspect-ratio: auto; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.about-badge {
  position: absolute; right: -18px; bottom: 28px; background: var(--dark); color: var(--on-dark);
  border-radius: var(--r-md); padding: 18px 22px; box-shadow: var(--shadow-lg); text-align: center;
}
.about-badge b { display: block; font-family: var(--font-head); font-size: 30px; font-weight: 700; line-height: 1; color: var(--accent); }
.about-badge span { font-size: 12.5px; color: var(--on-dark-soft); margin-top: 6px; display: block; }

.about-text h2 { font-size: clamp(28px, 4vw, 46px); margin-top: 16px; }
.about-text > p { color: var(--ink-soft); margin-top: 18px; font-size: 16.5px; text-wrap: pretty; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.mv-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; background: var(--surface); }
.mv-card .mv-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 14px; }
.mv-card .mv-ic svg { width: 20px; height: 20px; }
.mv-card h4 { font-size: 17px; margin-bottom: 8px; }
.mv-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ===========================================================
   WHY / STATS
   =========================================================== */
.why { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 85% 10%, oklch(0.48 0.16 258 / 0.28), transparent 60%); }
.why .wrap { position: relative; z-index: 2; }
.why .section-head h2 { color: var(--on-dark); }
.why .section-head p { color: var(--on-dark-soft); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: clamp(48px, 6vw, 72px); }
.stat-box { border: 1px solid var(--dark-line); border-radius: var(--r-lg); padding: 28px; background: rgba(255,255,255,0.03); }
.stat-box .sv { font-family: var(--font-head); font-weight: 700; font-size: clamp(38px, 5vw, 52px); color: var(--accent); line-height: 1; }
.stat-box .sl { margin-top: 12px; font-size: 14.5px; color: var(--on-dark-soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-item { display: flex; flex-direction: column; gap: 12px; }
.why-item .wi-ic { width: 48px; height: 48px; border-radius: 13px; background: rgba(255,255,255,0.06); border: 1px solid var(--dark-line); color: var(--accent); display: grid; place-items: center; }
.why-item .wi-ic svg { width: 23px; height: 23px; }
.why-item h4 { color: var(--on-dark); font-size: 18px; }
.why-item p { color: var(--on-dark-soft); font-size: 14.5px; }

/* ===========================================================
   PROCESS
   =========================================================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.proc-step { padding: 30px 26px 30px 0; position: relative; }
.proc-step:not(:last-child) { border-right: 1px dashed var(--line); padding-right: 30px; }
.proc-step:not(:first-child) { padding-left: 30px; }
.proc-num { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--accent-soft); background: var(--accent-soft); margin-bottom: 20px; }
.proc-step h4 { font-size: 19px; margin-bottom: 10px; }
.proc-step p { color: var(--ink-soft); font-size: 14.5px; text-wrap: pretty; }

/* ===========================================================
   CTA banner
   =========================================================== */
.cta-band .wrap { padding-block: clamp(60px, 8vw, 96px); }
.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); color: #fff; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-box::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 90% 10%, rgba(255,255,255,0.18), transparent 45%); }
.cta-box .ctx { position: relative; z-index: 2; }
.cta-box h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); }
.cta-box p { margin-top: 14px; color: rgba(255,255,255,0.88); font-size: 17px; max-width: 520px; }
.cta-box .cta-actions { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 12px; }
.cta-box .btn-white { background: #fff; color: var(--primary); }
.cta-box .btn-white:hover { background: oklch(0.96 0.01 250); transform: translateY(-2px); }
.cta-box .btn-line { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.cta-box .btn-line:hover { background: rgba(255,255,255,0.12); }

/* ===========================================================
   CONTACT
   =========================================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 64px); }
.contact-info .ci-list { display: flex; flex-direction: column; gap: 6px; margin-top: 30px; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--r-md); transition: background .2s; }
.ci-item:hover { background: var(--surface-2); }
.ci-item .ci-ic { width: 46px; height: 46px; border-radius: 12px; flex: none; background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; }
.ci-item .ci-ic svg { width: 21px; height: 21px; }
.ci-item .ci-tx b { display: block; font-family: var(--font-head); font-size: 15px; margin-bottom: 3px; }
.ci-item .ci-tx span, .ci-item .ci-tx a { color: var(--ink-soft); font-size: 15px; }
.ci-item .ci-tx a:hover { color: var(--primary); }
.ci-muted { color: var(--ink-faint) !important; font-style: italic; }

.map-ph { margin-top: 22px; aspect-ratio: 16/7; border-radius: var(--r-md); }
.map-embed { width: 100%; aspect-ratio: 16/7; border: 1px solid var(--line); border-radius: var(--r-md); display: block; filter: grayscale(0.15); }
.map-wrap { position: relative; margin-top: 22px; }
.map-dir { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: #fff; background: var(--primary); padding: 11px 18px; border-radius: 999px; box-shadow: var(--shadow-md); transition: background .2s, transform .2s; }
.map-dir:hover { background: var(--primary-deep); transform: translateY(-2px); }
.map-dir svg { width: 17px; height: 17px; }

.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-md); }
.contact-form h3 { font-size: 24px; margin-bottom: 6px; }
.contact-form .cf-sub { color: var(--ink-soft); font-size: 15px; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; font-family: var(--font-head); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15.5px; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 4px oklch(0.48 0.16 258 / 0.12); }
.field textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--ink-faint); margin-top: 14px; text-align: center; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .fs-ic { width: 64px; height: 64px; border-radius: 50%; background: oklch(0.92 0.08 150); color: oklch(0.5 0.14 150); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .fs-ic svg { width: 32px; height: 32px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--ink-soft); font-size: 15px; }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { background: var(--dark); color: var(--on-dark-soft); padding-top: clamp(56px, 7vw, 84px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 52px; }
.footer-brand .logo-text b { color: var(--on-dark); }
.footer-brand p { margin-top: 18px; font-size: 14.5px; max-width: 300px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--dark-line); display: grid; place-items: center; color: var(--on-dark-soft); transition: background .2s, color .2s, border-color .2s; }
.footer-social a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h5 { font-family: var(--font-head); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--dark-line); padding-block: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* ===========================================================
   Reveal animation
   =========================================================== */
.reveal { transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
/* Hidden state only applies once JS has confirmed it can reveal — content stays visible without JS / if IO never fires */
.reveal-ready .reveal { opacity: 0; transform: translateY(28px); }
.reveal-ready .reveal.in { opacity: 1; transform: none; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: auto; order: 2; }
  .hero-panel { margin-top: 0; }
  .hero-float.f1 { left: 0; } .hero-float.f2 { left: 0; right: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-step:nth-child(2) { border-right: none; }
  .proc-step:nth-child(odd) { padding-left: 0; }
  .proc-step:nth-child(even) { padding-left: 30px; }
  .proc-step { border-bottom: 1px dashed var(--line); padding-bottom: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 940px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 720px) {
  .topbar .tb-left .tb-hide { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .tb-right { gap: 12px; }
}
