/* ===========================
   ErişimPro — shared styles
   =========================== */

:root {
  --yellow: #F8BD12;
  --yellow-soft: #FFE9A0;
  --ink: #0E0E0E;
  --ink-2: #1A1A1A;
  --ink-3: #2A2A2A;
  --paper: #F5F2EC;
  --paper-2: #ECE7DD;
  --line: rgba(14,14,14,0.12);
  --line-strong: rgba(14,14,14,0.22);
  --muted: #5C5A55;
  --white: #FFFDF8;
  --shadow-1: 0 1px 0 rgba(14,14,14,0.05), 0 12px 30px -18px rgba(14,14,14,0.18);
  --shadow-2: 0 30px 60px -30px rgba(14,14,14,0.28);
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 24px;
  --max: 1320px;

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

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

/* Type ------------------------------------------------ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px; background: var(--ink);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--yellow); }
.eyebrow.on-dark::before { background: var(--yellow); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.02;
  text-wrap: balance;
}
.display {
  font-size: clamp(48px, 8vw, 124px);
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.h1 { font-size: clamp(40px, 5.5vw, 76px); letter-spacing: -0.03em; }
.h2 { font-size: clamp(32px, 4vw, 56px); }
.h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.015em; }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 62ch; line-height: 1.5; }

.italic { font-style: italic; font-family: "Instrument Serif", "Times New Roman", serif; font-weight: 400; }

/* Buttons --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 100px;
  font-weight: 500; font-size: 15px;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn .arrow { width: 16px; height: 16px; transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--yellow); color: var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--ink); color: var(--yellow); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-ghost.on-dark { border-color: rgba(255,255,255,0.25); color: var(--white); }
.btn-ghost.on-dark:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* Header / Nav ---------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px;
  background: var(--ink);
  border-radius: 10px;
  display: grid; place-items: center;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-monogram {
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand-text span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav-links {
  display: flex; gap: 4px; justify-content: center;
  background: rgba(14,14,14,0.04);
  border: 1px solid var(--line);
  padding: 4px; border-radius: 100px;
  justify-self: center;
}
.nav-links a {
  padding: 10px 18px; border-radius: 100px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
  transition: background .18s, color .18s;
}
.nav-links a:hover { background: rgba(14,14,14,0.06); }
.nav-links a.active { background: var(--ink); color: var(--white); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px;
  padding: 10px 14px; border-radius: 100px;
  border: 1px solid var(--line-strong);
  white-space: nowrap;
}
.nav-phone .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(248,189,18,0.2);
}

@media (max-width: 1100px) {
  .nav { grid-template-columns: auto auto; }
  .nav-links { display: none; }
}
@media (max-width: 700px) {
  .nav-phone span:last-child { display: none; }
}

/* Section helpers ------------------------------------- */
section { padding: clamp(64px, 9vw, 128px) 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head .right { color: var(--ink-2); max-width: 50ch; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* Footer ---------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-top h4 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  margin-bottom: 20px; font-weight: 500;
}
.footer-mega {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.025em;
  margin-top: 16px;
}
.footer-mega em { color: var(--yellow); font-style: normal; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-list a { color: rgba(255,255,255,0.78); transition: color .18s; }
.footer-list a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}
.footer-bottom .marquee-mini { color: var(--yellow); }
@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* Page hero (sub-pages) ------------------------------- */
.page-hero {
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.page-hero .row {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: end;
}
.page-hero h1 { font-size: clamp(56px, 9vw, 132px); letter-spacing: -0.04em; line-height: 0.92; }
.page-hero .meta {
  display: flex; flex-direction: column; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2);
}
.page-hero .meta .row-line { display: flex; justify-content: space-between; gap: 24px; padding: 10px 0; border-top: 1px solid var(--line); }
.page-hero .meta .row-line:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 800px) {
  .page-hero .row { grid-template-columns: 1fr; gap: 32px; }
}

/* Marquee --------------------------------------------- */
.marquee {
  background: var(--yellow);
  color: var(--ink);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: scroll 36s linear infinite;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 4vw, 56px); letter-spacing: -0.02em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track .dot { width: 12px; height: 12px; background: var(--ink); border-radius: 50%; display: inline-block; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Striped placeholder --------------------------------- */
.placeholder {
  background:
    repeating-linear-gradient(135deg,
      rgba(14,14,14,0.04) 0 16px,
      rgba(14,14,14,0.08) 16px 32px);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line);
}

/* Tag ------------------------------------------------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 100px;
  background: rgba(14,14,14,0.06);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }

/* Cards ----------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }

/* Number stat ----------------------------------------- */
.stat-num {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(48px, 6vw, 96px);
  letter-spacing: -0.04em; line-height: 1;
}
.stat-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin-top: 12px;
}

/* Animations ------------------------------------------ */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.rise.d1 { animation-delay: .08s; }
.rise.d2 { animation-delay: .16s; }
.rise.d3 { animation-delay: .24s; }
.rise.d4 { animation-delay: .32s; }
.rise.d5 { animation-delay: .40s; }

/* Utility --------------------------------------------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.spacer-l { height: 96px; }
.spacer-m { height: 56px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
