/* yigitculu.com — premium dark luxury landing */

:root {
  --bg: oklch(0.13 0.005 70);
  --bg-2: oklch(0.16 0.006 70);
  --surface: oklch(0.18 0.006 70);
  --surface-2: oklch(0.22 0.008 70);
  --line: oklch(1 0 0 / 0.08);
  --line-strong: oklch(1 0 0 / 0.14);
  --text: oklch(0.97 0.005 80);
  --text-dim: oklch(0.78 0.008 80);
  --text-mute: oklch(0.58 0.008 80);

  /* default accent: gold */
  --accent: oklch(0.82 0.12 82);
  --accent-2: oklch(0.72 0.13 70);
  --accent-soft: oklch(0.82 0.12 82 / 0.14);
  --accent-glow: oklch(0.82 0.12 82 / 0.35);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --maxw: 1400px;
  --gutter: clamp(20px, 4vw, 56px);

  --shadow-soft: 0 1px 0 oklch(1 0 0 / 0.05) inset, 0 30px 60px -20px rgba(0,0,0,.6);
  --shadow-card: 0 1px 0 oklch(1 0 0 / 0.06) inset, 0 24px 60px -28px rgba(0,0,0,.7);

  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(1400px 800px at 82% -12%, oklch(0.82 0.12 82 / 0.09), transparent 55%),
    radial-gradient(1000px 700px at -12% 30%, oklch(0.72 0.13 70 / 0.07), transparent 55%),
    radial-gradient(700px 500px at 50% 100%, oklch(0.66 0.16 250 / 0.05), transparent 60%),
    var(--bg);
}

::selection { background: var(--accent-soft); color: var(--text); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* — Layout — */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
  position: relative;
}
.section-alt {
  background: oklch(0.15 0.007 70 / 0.5);
}
.section-alt::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 20% 50%, var(--accent-soft), transparent 60%);
  pointer-events: none;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(1 0 0 / 0.02);
}
.section-eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; margin: 0; line-height: 1.04; }
h2 { font-size: clamp(40px, 6vw, 76px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
p { margin: 0; }
.lead { font-size: clamp(16px, 1.2vw, 18px); color: var(--text-dim); max-width: 62ch; }

.serif-it { font-family: var(--font-display); font-style: italic; }

/* — Nav — */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: backdrop-filter .35s ease, background .35s ease, border-color .35s ease, padding .35s ease;
  padding: 22px 0;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: oklch(0.13 0.005 70 / 0.65);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer .nav-logo-img {
  height: 28px;
  filter: brightness(0) invert(0.7);
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  position: relative;
  font-size: 13.5px;
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .25s ease, background .25s ease;
}
.nav-links a:hover { color: var(--text); background: oklch(1 0 0 / 0.04); }
.nav-links a.nav-active {
  color: var(--text);
  background: oklch(1 0 0 / 0.06);
}
.nav-links a.nav-active::after {
  content: "";
  position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 1.5px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.mobile-menu a.nav-active { color: var(--accent); }

.subpage-main {
  padding-top: 80px;
}

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* — Buttons — */

.btn {
  --bg-btn: var(--text);
  --fg-btn: oklch(0.16 0.006 70);
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  background: var(--bg-btn);
  color: var(--fg-btn);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, background .25s ease;
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.5) inset, 0 10px 30px -10px oklch(0 0 0 / 0.6);
  position: relative;
  isolation: isolate;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform .35s cubic-bezier(.2,.7,.2,1); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  --bg-btn: var(--accent);
  --fg-btn: oklch(0.18 0.02 70);
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.4) inset, 0 14px 40px -10px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn-ghost:hover { border-color: oklch(1 0 0 / 0.28); background: oklch(1 0 0 / 0.03); }

.btn-sm { padding: 10px 16px; font-size: 13px; }

/* — Hero — */

.hero {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(oklch(1 0 0 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
}

.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 70% 30%, var(--accent-soft), transparent 60%),
    radial-gradient(500px 400px at 20% 80%, oklch(0.62 0.14 280 / 0.08), transparent 60%);
  animation: floatGlow 18s ease-in-out infinite alternate;
}
@keyframes floatGlow {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(20px,-20px,0) scale(1.05); }
}

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 0.9fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; } }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line);
  background: oklch(1 0 0 / 0.03);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.hero-tag .pill {
  background: var(--accent);
  color: oklch(0.18 0.02 70);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 10px;
}

.hero h1 {
  font-size: clamp(46px, 7.5vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.hero h1 .it { font-style: italic; color: var(--accent); }

.hero .desc { color: var(--text-dim); font-size: clamp(15px, 1.2vw, 17.5px); max-width: 56ch; margin-bottom: 36px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-meta {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 520px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hero-meta-period {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-meta-period::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.hero-meta .stat {
  padding-right: 20px;
  border-right: 1px solid var(--line);
  padding-left: 4px;
}
.hero-meta .stat:first-of-type { padding-left: 0; }
.hero-meta .stat:last-child { border-right: none; }
.hero-meta .stat .n { font-family: var(--font-display); font-size: 44px; line-height: 1; }
.hero-meta .stat .n .it { font-style: italic; color: var(--accent); }
.hero-meta .stat .l { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); margin-top: 10px; font-family: var(--font-mono); }

/* hero card */
.hero-card-wrap { position: relative; }
.hero-card {
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.015));
  border: 1px solid var(--line);
  padding: 28px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  transform: perspective(1200px) rotateX(3deg) rotateY(-6deg);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.hero-card:hover { transform: perspective(1200px) rotateX(0deg) rotateY(0deg); }
.hero-card .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.hero-card .dots { display: flex; gap: 6px; }
.hero-card .dots i { width: 8px; height: 8px; border-radius: 999px; background: oklch(1 0 0 / 0.12); display: inline-block; }
.hero-card .dots i:first-child { background: var(--accent); }
.hero-card .tag-mono { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--text-mute); text-transform: uppercase; }
.hero-card .row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.hero-card .row:last-child { border-bottom: 0; }
.hero-card .row .l { color: var(--text-dim); font-size: 13.5px; }
.hero-card .row .v { font-family: var(--font-mono); font-size: 13px; color: var(--text); }
.hero-card .row .v.up { color: var(--accent); }
.hero-card .row .v.dn { color: oklch(0.7 0.13 30); }
.stat-live { transition: color .2s; }

/* Sayım sırasında — yeşil nabız */
.stat-live.counting {
  color: #22c55e !important;
  animation: stat-counting 0.55s ease-in-out infinite alternate;
}

/* Sayım bitince — dikkat çekici flaş */
.stat-live.done {
  animation: stat-done 0.65s ease-out forwards;
}

@keyframes stat-counting {
  from { text-shadow: 0 0 4px rgba(34,197,94,.35); }
  to   { text-shadow: 0 0 14px rgba(34,197,94,.85); }
}

@keyframes stat-done {
  0%   { color: #4ade80; text-shadow: 0 0 20px rgba(74,222,128,.9); transform: scale(1.05); }
  60%  { color: #86efac; text-shadow: 0 0 8px  rgba(74,222,128,.4); transform: scale(1.01); }
  100% { color: inherit; text-shadow: none;                          transform: scale(1); }
}

.hero-card .chart { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 14px; }
.hero-card .chart i {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), oklch(0.72 0.13 70 / 0.25));
  border-radius: 4px 4px 2px 2px;
  animation: bar 3.2s cubic-bezier(.2,.7,.2,1) infinite alternate;
}
@keyframes bar {
  0%   { transform: scaleY(0.6); }
  100% { transform: scaleY(1); }
}

.hero-float {
  position: absolute;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: oklch(0.18 0.006 70 / 0.7);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: bob 6s ease-in-out infinite alternate;
}
.hero-float .icon {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--line);
}
.hero-float .icon svg { width: 16px; height: 16px; }
.hero-float strong { font-weight: 600; font-size: 13px; }
.hero-float small { color: var(--text-mute); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; }

.hero-float.f1 { top: -22px; left: -34px; animation-delay: -2s; }
.hero-float.f2 { bottom: -28px; right: -20px; animation-delay: -4s; }
.hero-float.f3 { top: 50%; right: -60px; animation-delay: -1s; }

@keyframes bob {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

@media (max-width: 980px) {
  .hero-float.f1 { left: 0; top: -12px; }
  .hero-float.f2 { right: 0; bottom: -16px; }
  .hero-float.f3 { display: none; }
}

/* particles */
.particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particles i {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--accent);
  border-radius: 999px;
  opacity: 0.6;
  box-shadow: 0 0 14px var(--accent-glow);
  animation: drift 14s linear infinite;
}

@keyframes drift {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-120vh) translateX(40px); opacity: 0; }
}

/* — Section heading — */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .right { color: var(--text-dim); }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* — About — */

.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; } }

.about-copy h2 .it { font-style: italic; color: var(--accent); }
.about-copy p { margin-top: 28px; color: var(--text-dim); max-width: 56ch; }
.about-copy .signature {
  margin-top: 36px;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-style: italic; font-size: 32px;
}
.about-copy .signature small {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); font-style: normal;
}

.founder-card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, oklch(1 0 0 / 0.05), oklch(1 0 0 / 0.01));
  padding: 32px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}
.founder-card::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background:
    radial-gradient(400px 200px at 100% 0%, var(--accent-soft), transparent 60%);
  pointer-events: none;
}
.founder-card .portrait {
  height: 280px;
  border-radius: var(--r-md);
  background: oklch(0.18 0.008 70);
  border: 1px solid var(--line);
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.founder-card .portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.founder-card .portrait .label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 1;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.7); text-transform: uppercase;
  padding: 5px 9px; border: 1px solid rgba(255,255,255,0.18); border-radius: 6px;
  background: oklch(0.1 0.006 70 / 0.65);
  backdrop-filter: blur(8px);
}
.founder-card .name { font-family: var(--font-display); font-size: 30px; line-height: 1; }
.founder-card .role { font-size: 12.5px; letter-spacing: 0.08em; color: var(--text-mute); margin-top: 8px; font-family: var(--font-mono); text-transform: uppercase; }
.founder-card .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.founder-card .pill {
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: oklch(1 0 0 / 0.03);
  font-size: 12px; color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 6px;
}
.founder-card .pill::before { content: ""; width: 5px; height: 5px; border-radius: 999px; background: var(--accent); }

/* — Instagram Showcase — */

/* — Instagram Reels Showcase — */
.ig-showcase {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: oklch(1 0 0 / 0.02);
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.ig-showcase::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,#f09433,#e6683c,#dc2743,#bc1888,#833ab4,#405de6);
}

.ig-reels-hdr {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
  font-size: 13px; font-weight: 600;
}
.ig-handle { white-space: nowrap; flex: 1; }

.ig-follow-btn {
  flex-shrink: 0;
  font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.08em;
  font-weight: 600; color: var(--bg); background: #fff;
  border-radius: 999px; padding: 5px 14px;
  transition: opacity .2s, transform .2s;
}
.ig-follow-btn:hover { opacity: 0.85; transform: scale(1.03); }

/* 4-column reels row */
.ig-reels-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ig-reel-card {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: oklch(0.12 0 0);
  border: 1px solid oklch(0 0 0 / 0.08);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.ig-reel-card:hover {
  transform: scale(1.04) translateY(-5px);
  box-shadow: 0 18px 52px oklch(0 0 0 / 0.35);
  border-color: oklch(0 0 0 / 0.14);
  z-index: 1;
}

.ig-reel-bg {
  position: absolute; inset: 0;
  transition: transform .5s ease;
}
.ig-reel-card:hover .ig-reel-bg { transform: scale(1.07); }
.ig-reel-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.3; mix-blend-mode: overlay;
}

.ig-reel-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 10px;
}

.ig-reel-top { display: flex; align-items: center; gap: 5px; justify-content: flex-end; }
.ig-reel-tag {
  font-family: var(--font-mono); font-size: 8px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: oklch(0 0 0 / 0.08); backdrop-filter: blur(4px);
  color: oklch(0.2 0 0);
  padding: 3px 7px; border-radius: 5px;
}

.ig-reel-letter {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(56px, 8vw, 80px); line-height: 1;
  color: oklch(0 0 0 / 0.07);
  pointer-events: none; user-select: none;
}

.ig-reel-bottom {
  display: flex; flex-direction: column; gap: 3px;
  margin: 0 -10px -10px;
  padding: 36px 12px 12px;
  background: linear-gradient(to top, oklch(0.96 0 0 / 0.9) 0%, transparent 100%);
  border-radius: 0 0 12px 12px;
}
.ig-reel-title {
  font-size: 13px; font-weight: 700; line-height: 1.2;
  color: oklch(0.1 0 0);
  font-family: var(--font-display);
}
.ig-reel-sub {
  font-size: 9.5px; color: oklch(0.4 0 0);
  font-family: var(--font-mono); letter-spacing: 0.04em;
}

@media (max-width: 700px) { .ig-reels-row { grid-template-columns: repeat(2, 1fr); } }

/* — Services — */

.svc-groups { display: grid; gap: 80px; }

/* Service card clickable (Group A) */
.svc-clickable { cursor: pointer; }
.svc-clickable:hover { border-color: oklch(1 0 0 / 0.22); box-shadow: 0 8px 32px oklch(0 0 0 / 0.28); }

/* Service modal */
.svc-modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: oklch(0.08 0 0 / 0.72);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: modal-fade-in .22s ease;
}
@keyframes modal-fade-in { from { opacity: 0; } to { opacity: 1; } }

.svc-modal {
  position: relative;
  background: var(--surface);
  border: 1px solid oklch(1 0 0 / 0.14);
  border-radius: 20px;
  width: 100%; max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 32px 32px 36px;
  box-shadow: 0 24px 80px oklch(0 0 0 / 0.6);
  animation: modal-slide-up .28s cubic-bezier(.4,0,.2,1);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
@keyframes modal-slide-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.svc-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line);
  background: oklch(1 0 0 / 0.04);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-dim);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.svc-modal-close:hover { background: oklch(1 0 0 / 0.1); border-color: oklch(1 0 0 / 0.22); color: var(--text); }

.svc-modal-hdr {
  display: flex; align-items: flex-start; gap: 18px; margin-bottom: 24px;
}

.svc-modal-ico {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 14px; border: 1px solid var(--line);
  background: oklch(1 0 0 / 0.05);
  display: flex; align-items: center; justify-content: center;
}
.svc-modal-ico svg { width: 22px; height: 22px; }

.svc-modal-name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.svc-modal-sub  { font-size: 12px; color: var(--text-mute); margin-top: 5px; font-family: var(--font-mono); letter-spacing: 0.04em; }

.svc-modal-intro {
  font-size: 14px; line-height: 1.75; color: var(--text-dim);
  padding-top: 20px; margin: 0 0 24px;
  border-top: 1px solid var(--line);
}

.svc-modal-items-lbl {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-mute); margin-bottom: 14px;
}

.svc-modal-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.svc-modal-item  { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; position: relative; }
.svc-modal-item::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.svc-modal-item-t { font-size: 14px; font-weight: 600; color: var(--text); }
.svc-modal-item-d { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

.svc-modal-cta {
  margin: 24px 0 0; padding: 16px 18px;
  border-radius: 10px; border: 1px dashed oklch(1 0 0 / 0.12);
  font-size: 13px; color: var(--text-dim); line-height: 1.6;
  background: oklch(1 0 0 / 0.03);
}


.svc-group .group-head {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.svc-group .group-head .num {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-mute); letter-spacing: 0.12em;
}
.svc-group .group-head h3 { font-size: clamp(28px, 3.6vw, 44px); }
.svc-group .group-head h3 .it { color: var(--accent); font-style: italic; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, oklch(1 0 0 / 0.035), oklch(1 0 0 / 0.005));
  padding: 24px;
  min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, background .35s ease;
  overflow: hidden;
}
.svc-card::after {
  content: "";
  position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s ease;
  pointer-events: none;
}
.svc-card:hover { transform: translateY(-4px); background: linear-gradient(180deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.015)); }
.svc-card:hover::after { opacity: 1; }

.svc-card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: oklch(1 0 0 / 0.04);
  border: 1px solid var(--line);
  color: var(--accent);
}
.svc-card .ico svg { width: 20px; height: 20px; }
.svc-card .name { font-size: 17.5px; font-weight: 600; letter-spacing: -0.005em; margin-top: 28px; }
.svc-card .meta { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.svc-card .meta .num { font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); letter-spacing: 0.1em; }
.svc-card .meta .arrow {
  width: 28px; height: 28px; border-radius: 999px;
  border: 1px solid var(--line); display: grid; place-items: center;
  transition: transform .35s ease, border-color .35s ease, color .35s ease;
  color: var(--text-dim);
}
.svc-card:hover .meta .arrow { transform: rotate(-45deg); color: var(--accent); border-color: var(--accent); }

/* — Why us — */

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, oklch(1 0 0 / 0.035), oklch(1 0 0 / 0.005));
  padding: 28px 24px;
  min-height: 240px;
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), background .4s ease;
}
.why-card:hover { transform: translateY(-6px); background: linear-gradient(180deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.01)); }

.why-card .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  color: var(--accent);
  line-height: 0.9;
}
.why-card .title { font-size: 18px; font-weight: 600; margin-top: 28px; letter-spacing: -0.005em; }
.why-card .desc { font-size: 13.5px; color: var(--text-dim); margin-top: 10px; }

/* — Partners — */

.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .partners-grid { grid-template-columns: 1fr; } }

.partner-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, oklch(1 0 0 / 0.035), oklch(1 0 0 / 0.005));
  padding: 26px;
  min-height: 220px;
  position: relative;
  filter: saturate(0.4) brightness(0.85);
  transition: filter .4s ease, transform .4s ease, background .4s ease, border-color .4s ease;
  display: flex; flex-direction: column; justify-content: space-between;
}
.partner-card:hover { filter: saturate(1) brightness(1); transform: translateY(-4px); border-color: var(--line-strong); background: linear-gradient(180deg, oklch(1 0 0 / 0.07), oklch(1 0 0 / 0.02)); }
.partner-card .logo-slot {
  height: 80px;
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  background:
    repeating-linear-gradient(45deg, oklch(0.2 0.006 70) 0 8px, oklch(0.18 0.006 70) 8px 16px);
}
.partner-card .role { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-family: var(--font-mono); margin-top: 22px; }
.partner-card .title { font-size: 17px; font-weight: 600; margin-top: 8px; }

/* — References (logo cards) — */

.refs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) { .refs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .refs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .refs-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

.ref-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(160deg, oklch(1 0 0 / 0.055) 0%, oklch(1 0 0 / 0.01) 100%);
  padding: 28px 22px 22px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, background .35s ease;
  cursor: default;
}
.ref-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--ref-clr, var(--accent));
}
.ref-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: linear-gradient(160deg, oklch(1 0 0 / 0.09) 0%, oklch(1 0 0 / 0.025) 100%);
}
.ref-card .logo-area {
  height: 54px; display: flex; align-items: center;
  overflow: hidden; max-width: 100%;
}
.ref-card .ref-name { font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em; }
.ref-card .ref-desc { font-size: 13px; color: var(--text-dim); flex: 1; line-height: 1.5; }
.ref-card .ref-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--text-mute); font-family: var(--font-mono);
  letter-spacing: 0.05em; transition: color .25s ease;
}
.ref-card:hover .ref-link { color: var(--accent); }

/* — Social Buttons — */

.social-links { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: oklch(1 0 0 / 0.025);
  font-size: 13px; color: var(--text-dim);
  transition: background .3s ease, border-color .3s ease, color .3s ease, transform .3s ease;
}
.social-btn:hover {
  background: var(--accent-soft); border-color: var(--accent);
  color: var(--text); transform: translateY(-2px);
}
.social-btn svg { width: 15px; height: 15px; }

/* — Process timeline — */

.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .process { grid-template-columns: 1fr; } }

.process .line {
  position: absolute;
  top: 44px; left: 0; right: 0; height: 1px;
  background: var(--line);
}
.process .line .fill {
  height: 100%; width: var(--p, 0%);
  background: linear-gradient(90deg, var(--accent), oklch(0.72 0.13 70 / 0.4));
  transition: width 1.2s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 0 12px var(--accent-glow);
}
@media (max-width: 580px) { .process .line { display: none; } }

.step {
  position: relative;
  padding: 80px 18px 24px 0;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.step.step-in {
  opacity: 1;
  transform: translateY(0);
}
.step .dot {
  position: absolute; top: 38px; left: 0;
  width: 14px; height: 14px; border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.step.active .dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 16px var(--accent-glow); }
.step .num { font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); letter-spacing: 0.16em; }
.step .title { font-family: var(--font-display); font-size: 32px; line-height: 1; margin-top: 12px; }
.step .desc { color: var(--text-dim); font-size: 14px; margin-top: 14px; max-width: 28ch; }

/* — Contact — */

.contact-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 980px) { .contact-wrap { grid-template-columns: 1fr; } }

.contact-copy h2 .it { font-style: italic; color: var(--accent); }
.contact-copy p { color: var(--text-dim); margin-top: 22px; max-width: 50ch; }

.quick-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.qc {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: oklch(1 0 0 / 0.025);
  padding: 18px;
  display: flex; align-items: center; gap: 14px;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
  cursor: pointer;
}
.qc:hover { background: oklch(1 0 0 / 0.055); border-color: var(--line-strong); transform: translateY(-2px); }
.qc .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--line); }
.qc .ico svg { width: 16px; height: 16px; }
.qc .lbl { font-size: 11px; color: var(--text-mute); letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font-mono); }
.qc .val { font-size: 14px; margin-top: 2px; }

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, oklch(1 0 0 / 0.05), oklch(1 0 0 / 0.01));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .form-card .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.field label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); font-family: var(--font-mono); }
.field input, .field select, .field textarea {
  background: oklch(1 0 0 / 0.025);
  border: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  transition: border-color .25s ease, background .25s ease;
  width: 100%;
  font-size: 14px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: oklch(1 0 0 / 0.05);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea { min-height: 130px; resize: vertical; font-family: inherit; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }

/* ── Custom Service Select ── */
.svc-sel { position: relative; width: 100%; }
.svc-sel-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 14px; background: oklch(1 0 0 / 0.025); border: 1px solid var(--line);
  border-radius: var(--r-sm); color: var(--text); font: inherit; font-size: 14px;
  cursor: pointer; text-align: left; transition: border-color .18s, background .18s, box-shadow .18s;
}
.svc-sel-trigger:hover { border-color: oklch(1 0 0 / 0.18); background: oklch(1 0 0 / 0.04); }
.svc-sel--open .svc-sel-trigger { border-color: var(--accent); background: oklch(1 0 0 / 0.05); box-shadow: 0 0 0 4px var(--accent-soft); }
.svc-sel--err .svc-sel-trigger { border-color: oklch(0.72 0.16 28); background: oklch(0.72 0.16 28 / 0.06); }
.svc-sel-ph { color: var(--text-mute); }
.svc-sel-caret { color: var(--text-dim); flex-shrink: 0; transition: transform .18s; }
.svc-sel--open .svc-sel-caret { transform: rotate(180deg); }
.svc-sel-panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 300;
  background: oklch(0.11 0 0); border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: var(--r-md); box-shadow: 0 20px 60px oklch(0 0 0 / 0.75);
  overflow: hidden; max-height: 380px; overflow-y: auto;
}
.svc-sel-grp { border-bottom: 1px solid oklch(1 0 0 / 0.07); }
.svc-sel-grp:last-child { border-bottom: none; }
.svc-sel-grp-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 11px 16px; background: none; border: none; cursor: pointer;
  color: var(--accent); font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em; text-align: left; transition: background .12s;
}
.svc-sel-grp-btn:hover { background: oklch(1 0 0 / 0.04); }
.svc-sel-grp-btn svg { flex-shrink: 0; color: var(--accent); opacity: 0.7; transition: transform .18s; }
.svc-sel-grp-btn--open svg { transform: rotate(180deg); }
.svc-sel-items { padding: 2px 0 6px; }
.svc-sel-opt {
  width: 100%; display: flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 26px; background: none; border: none; cursor: pointer;
  color: oklch(0.62 0 0); font: inherit; font-size: 13.5px; text-align: left;
  transition: background .1s, color .1s;
}
.svc-sel-opt:hover { background: oklch(1 0 0 / 0.05); color: var(--text); }
.svc-sel-opt--sel { color: var(--text); padding-left: 10px; }
.svc-sel-opt--sel svg { color: var(--accent); flex-shrink: 0; }

.form-card .submit-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; gap: 14px; flex-wrap: wrap; }
.form-card .submit-row small { color: var(--text-mute); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; }

.success-toast {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--text);
  font-size: 13px;
  display: flex; align-items: center; gap: 12px;
}

.error-toast {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: rgba(220,80,60,0.08);
  border: 1px solid rgba(220,80,60,0.4);
  color: var(--text);
  font-size: 13px;
  display: flex; align-items: center; gap: 10px;
}

/* — PIN Gate — */


/* — Footer — */

.footer { padding: 80px 0 40px; border-top: 1px solid var(--line); position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); font-weight: 600; margin-bottom: 18px; }
.footer .brand { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.14em; font-weight: 600; }
.footer .brand-sub { color: var(--text-dim); margin-top: 14px; max-width: 32ch; font-size: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--text-dim); }
.footer ul a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-bottom small { color: var(--text-mute); font-size: 12px; }

/* — Reveal animation — */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }
.reveal.d4 { transition-delay: .24s; }
.reveal.d5 { transition-delay: .3s; }
.reveal.d6 { transition-delay: .36s; }
.reveal.d7 { transition-delay: .42s; }

/* — Mobile menu — */

.hamburger { display: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; align-items: center; justify-content: center; cursor: pointer; color: var(--text); }
@media (max-width: 880px) {
  .hamburger { display: inline-flex; }
  .nav-cta-desktop { display: none; }
}
.hamburger span { display: block; width: 16px; height: 1.5px; background: var(--text); position: relative; transition: transform .3s ease, background .3s ease; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--text); transition: transform .3s ease, top .3s ease; }
.hamburger span::before { top: -5px; }
.hamburger span::after  { top: 5px; }
.hamburger.open span { background: transparent; }
.hamburger.open span::before { transform: rotate(45deg); top: 0; }
.hamburger.open span::after  { transform: rotate(-45deg); top: 0; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: oklch(0.13 0.005 70 / 0.92);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 100px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-size: 36px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { margin-top: 24px; }

/* Animations off */
body.no-hero-anim .hero-glow,
body.no-hero-anim .particles i,
body.no-hero-anim .hero-card .chart i,
body.no-hero-anim .hero-float { animation: none !important; }
body.no-hero-anim .hero-float { transform: none !important; }

/* ── 100% Mobile Responsive ──────────────────────────────────────────────── */

/* Global horizontal overflow guard */
html { overflow-x: hidden; }

/* Hero tag: allow wrapping on narrow screens */
.hero-tag { flex-wrap: wrap; max-width: 100%; }

/* QC value: prevent email / phone overflow */
.qc .val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Touch devices: suppress stuck hover transforms */
@media (hover: none) {
  .btn:hover          { transform: none; }
  .btn:hover .arrow   { transform: none; }
  .svc-card:hover     { transform: none; }
  .why-card:hover     { transform: none; }
  .partner-card:hover { transform: none; }
  .hero-card:hover    { transform: none !important; }
  .qc:hover           { transform: none; }
}

/* ≤ 768px — tablet / large mobile ──────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding-top: 100px; padding-bottom: 56px; }
  .hero-card { transform: none !important; }
  .hero-float { display: none; }
  .hero-meta { margin-top: 36px; }

  .section { padding: clamp(52px, 8vw, 80px) 0; }

  .svc-groups { gap: 52px; }
  .svc-group .group-head h3 { font-size: clamp(24px, 4vw, 44px); }

  .footer { padding: 56px 0 32px; }
  .footer-grid { margin-bottom: 40px; }
}

/* ≤ 480px — typical smartphone ─────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Typography */
  h2 { font-size: clamp(30px, 7.5vw, 40px); }
  .lead { font-size: 15px; }

  /* Hero */
  .hero { padding-top: 88px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(34px, 8.5vw, 46px); line-height: 1.02; letter-spacing: -0.02em; }
  .hero .desc { font-size: 14.5px; }
  .hero-tag { font-size: 10px; letter-spacing: 0.10em; padding: 6px 10px 6px 6px; gap: 6px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .hero-meta { max-width: 100%; gap: 12px; margin-top: 28px; padding-top: 20px; }
  .hero-meta .stat .n { font-size: 32px; }
  .hero-meta .stat .l { font-size: 10px; margin-top: 6px; }

  /* Sections */
  .section { padding: 48px 0; }
  .section-head { gap: 16px; margin-bottom: 32px; }
  .section-eyebrow { font-size: 10px; letter-spacing: 0.12em; padding: 6px 11px; }

  /* About */
  .about-copy p { margin-top: 20px; }
  .about-copy .signature { font-size: 26px; flex-wrap: wrap; gap: 8px; }
  .founder-card { padding: 20px 16px; }
  .founder-card .portrait { height: 220px; }
  .founder-card .name { font-size: 26px; }

  /* Services */
  .svc-card { padding: 18px; min-height: auto; }
  .svc-card .name { font-size: 15.5px; }
  .svc-groups { gap: 40px; }
  .svc-group .group-head { margin-bottom: 20px; padding-bottom: 14px; }
  .svc-group .group-head h3 { font-size: clamp(22px, 6vw, 32px); }

  /* Why */
  .why-card { min-height: auto; padding: 20px; }
  .why-card .num { font-size: 42px; }
  .why-card .title { font-size: 16px; margin-top: 16px; }
  .why-card .desc { font-size: 13px; }

  /* Partners */
  .partner-card { min-height: auto; padding: 20px; }

  /* Process */
  .step { padding: 52px 12px 20px 0; }
  .step .title { font-size: 26px; }
  .step .desc { font-size: 13px; max-width: 100%; }

  /* Contact */
  .quick-contacts { grid-template-columns: 1fr; gap: 10px; }
  .form-card { padding: 18px 16px; }
  .form-card .submit-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .form-card .submit-row .btn { width: 100%; justify-content: center; }

  /* Prevent iOS Safari auto-zoom on input focus (font-size must be ≥ 16px) */
  .field input, .field select, .field textarea { font-size: 16px; padding: 12px 14px; }
  .svc-sel-trigger { font-size: 16px; }
  .svc-sel-opt { font-size: 15px; }

  /* Mobile menu */
  .mobile-menu { padding: 88px var(--gutter) 32px; gap: 8px; }
  .mobile-menu a { font-size: 28px; padding: 11px 0; }

  /* Footer */
  .footer { padding: 44px 0 24px; }
  .footer-grid { gap: 28px; margin-bottom: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ≤ 360px — very small phones (iPhone SE, Galaxy A) ────────────────────── */
@media (max-width: 360px) {
  .logo { font-size: 11px; letter-spacing: 0.08em; }
  .hero h1 { font-size: 30px; letter-spacing: -0.015em; }
  .hero-meta { gap: 8px; }
  .hero-meta .stat .n { font-size: 24px; }
  .mobile-menu a { font-size: 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
}

/* — Instagram Stories Highlights ─────────────────────────────────────────── */

.ig-stories-row {
  display: flex;
  gap: 28px;
  justify-content: center;
  padding: 16px 0 8px;
}

.ig-story-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  transition: transform .22s cubic-bezier(.2,.7,.2,1);
}
.ig-story-btn:hover { transform: scale(1.06); }

.ig-story-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #bc1888, #833ab4, #405de6);
  box-shadow: 0 4px 20px oklch(0 0 0 / 0.3);
  transition: box-shadow .22s ease;
}
.ig-story-btn:hover .ig-story-ring {
  box-shadow: 0 6px 28px oklch(0 0 0 / 0.45);
}
.ig-story-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg);
  display: block;
}

/* — IG Stories popup modal ─────────────────────────────────────────────────── */

.ig-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  display: flex; align-items: center; justify-content: center;
  animation: modal-fade-in .2s ease;
  -webkit-overflow-scrolling: touch;
}

.ig-modal-wrap {
  position: relative;
  width: min(340px, 88vw);
  aspect-ratio: 9 / 16;
  max-height: 92vh;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  animation: modal-slide-up .26s cubic-bezier(.4,0,.2,1);
}

.ig-modal-slide {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
}
.ig-modal-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Progress bars */
.ig-modal-progress {
  position: absolute; top: 14px; left: 12px; right: 12px;
  display: flex; gap: 5px; z-index: 10;
}
.ig-modal-bar {
  flex: 1; height: 2.5px; border-radius: 999px;
  background: oklch(1 0 0 / 0.28);
  overflow: hidden;
}
.ig-modal-bar-fill {
  height: 100%; border-radius: 999px;
  background: #fff;
}
.ig-modal-bar-fill.done    { width: 100%; }
.ig-modal-bar-fill.pending { width: 0; }
.ig-modal-bar-fill.active  {
  width: 0;
  animation: story-bar-fill 5s linear forwards;
}
@keyframes story-bar-fill {
  from { width: 0; }
  to   { width: 100%; }
}

/* Nav arrows */
.ig-modal-prev,
.ig-modal-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  background: oklch(0 0 0 / 0.35);
  border: none; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  transition: background .18s ease, transform .18s ease;
}
.ig-modal-prev:hover,
.ig-modal-next:hover { background: oklch(0 0 0 / 0.6); }
.ig-modal-prev { left: 10px; }
.ig-modal-next { right: 10px; }
.ig-modal-prev:active { transform: translateY(-50%) scale(0.92); }
.ig-modal-next:active { transform: translateY(-50%) scale(0.92); }

/* Header (avatar + label + close) */
.ig-modal-hdr {
  position: absolute; top: 26px; left: 12px; right: 12px; z-index: 20;
  display: flex; align-items: center; gap: 9px;
}
.ig-modal-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.75); overflow: hidden;
}
.ig-modal-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-modal-hlabel {
  flex: 1; color: #fff; font-size: 12.5px; font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Close inside header */
.ig-modal-close {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: rgba(0,0,0,0.35);
  border: none; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  transition: background .18s ease;
}
.ig-modal-close:hover { background: rgba(0,0,0,0.6); }

/* Placeholder icon centered in slide */
.ig-modal-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}

@media (max-width: 480px) {
  .ig-stories-row { gap: 18px; }
  .ig-story-ring { width: 64px; height: 64px; }

  .ig-modal-overlay {
    align-items: stretch;
    justify-content: stretch;
  }
  .ig-modal-wrap {
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    aspect-ratio: unset;
  }
}
