﻿/* ==========================================================================
   Tasar?mola ? Corporate Light Theme
   White / off-white ? black / anthracite ? yellow #FFD400 accent
   ========================================================================== */

/* Self-hosted fonts — font-display:optional avoids late-swap CLS */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('/assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600 700;
  font-display: optional;
  src: url('/assets/fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600 700;
  font-display: optional;
  src: url('/assets/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caveat Brush';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/caveat-brush-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat Brush';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/caveat-brush-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('/assets/fonts/caveat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('/assets/fonts/caveat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --yellow: #FFD400;
  --yellow-dark: #E6BF00;
  --black: #0A0A0A;
  --anthracite: #1A1A1A;
  --text: #121212;
  --muted: #5A5A5A;
  --bg: #F7F7F5;
  --bg-white: #FFFFFF;
  --border: #E6E6E3;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-h: 92px;
  --font: 'Manrope', system-ui, sans-serif;
  --font-display: 'Outfit', 'Manrope', sans-serif;

  /* Legacy aliases (existing markup) */
  --primary: var(--yellow);
  --primary-dark: var(--yellow-dark);
  --accent: var(--yellow);
  --dark: var(--bg-white);
  --gray: var(--bg);
  --text-muted: var(--muted);
}

/* --------------------------------------------------------------------------
   1. Reset, body, container
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Service detail (.sv-*) — editorial, theme-aligned */
.page-service { background: var(--bg-white); }
.sv-article { background: var(--bg-white); }
.sv-header {
  padding: calc(var(--header-h) + 32px) 0 40px;
  background: linear-gradient(180deg, #F7F7F5 0%, #FFFFFF 78%);
}
.sv-header-inner { max-width: 820px; }
.sv-crumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 13px; color: var(--muted); margin-bottom: 26px;
}
.sv-crumb a { color: var(--muted); font-weight: 600; text-decoration: none; }
.sv-crumb a:hover { color: var(--black); }
.sv-eyebrow {
  margin: 0 0 12px; font-size: 12px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.sv-title {
  margin: 0 0 16px; font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.5rem); font-weight: 800;
  letter-spacing: -.045em; line-height: 1.05; color: var(--black);
}
.sv-lead {
  margin: 0 0 28px; max-width: 46ch; font-size: 1.15rem;
  line-height: 1.65; color: var(--muted);
}
.sv-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.sv-narrow { max-width: 760px; }
.sv-intro { padding: 8px 0 12px; }
.sv-intro p {
  margin: 0; font-size: 1.08rem; line-height: 1.8; color: var(--muted);
}

.sv-section { padding: 48px 0; }
.sv-section-alt { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sv-section-head { margin-bottom: 28px; }
.sv-section-head h2 {
  margin: 10px 0 0; font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.95rem); letter-spacing: -.03em;
}

.sv-pills {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.sv-pills li {
  padding: 10px 16px; background: var(--bg-white); border: 1px solid var(--border);
  font-size: 0.95rem; font-weight: 600; color: var(--text);
}
.sv-section-alt .sv-pills li { background: var(--bg-white); }

.sv-feature-list { list-style: none; padding: 0; margin: 0; }
.sv-feature-list li {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 14px;
  align-items: start; padding: 16px 0; border-top: 1px solid var(--border);
  font-size: 1.05rem; line-height: 1.55; color: var(--text); font-weight: 600;
}
.sv-feature-list li:last-child { border-bottom: 1px solid var(--border); }
.sv-feature-mark {
  width: 10px; height: 10px; margin-top: 7px; background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255,212,0,.22);
}

.sv-process { list-style: none; padding: 0; margin: 0; }
.sv-process li {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px;
  padding: 24px 0; border-top: 1px solid var(--border);
}
.sv-process li:last-child { border-bottom: 1px solid var(--border); }
.sv-process-num {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 800;
  color: var(--yellow-dark); line-height: 1.2; padding-top: 2px;
}
.sv-process h3 {
  margin: 0 0 6px; font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; color: var(--text);
}
.sv-process p { margin: 0; color: var(--muted); line-height: 1.65; font-weight: 500; }

.sv-tech {
  margin: 0; font-size: 1.08rem; font-weight: 600; color: var(--text); line-height: 1.7;
}

.sv-faq details {
  border-top: 1px solid var(--border); padding: 0;
}
.sv-faq details:last-child { border-bottom: 1px solid var(--border); }
.sv-faq summary {
  cursor: pointer; list-style: none; padding: 18px 0;
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::after {
  content: "+"; font-size: 1.25rem; font-weight: 500; color: var(--muted); line-height: 1;
}
.sv-faq details[open] summary::after { content: "–"; }
.sv-faq p {
  margin: 0 0 20px; color: var(--muted); line-height: 1.7; max-width: 58ch;
}

.sv-footer { max-width: 760px; margin: 0 auto; padding: 24px 24px 72px; }
.sv-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 22px; padding: 32px 0 0; border-top: 1px solid var(--border);
}
.sv-cta-kicker {
  margin: 0 0 8px; font-size: 12px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.sv-cta h2 {
  margin: 0 0 10px; font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem); letter-spacing: -.02em;
}
.sv-cta p { margin: 0; max-width: 40ch; color: var(--muted); line-height: 1.6; }

.sv-related {
  padding: 56px 24px 72px; background: var(--bg); border-top: 1px solid var(--border);
}
.sv-related-blog { background: var(--bg-white); }
.sv-related-head {
  display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px;
}
.sv-related-head h2 {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.95rem); letter-spacing: -.03em;
}
.sv-related-grid { grid-template-columns: repeat(3, 1fr); }

.sv-others { padding: 56px 24px 72px; background: var(--bg-white); }
.sv-others-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
}
.sv-other-link {
  display: block; padding: 28px 24px; background: var(--bg-white);
  text-decoration: none; color: inherit; position: relative; min-height: 140px;
  transition: background .2s ease;
}
.sv-other-link:hover { background: var(--bg); }
.sv-other-link h3 {
  margin: 0 0 8px; font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em;
}
.sv-other-link p {
  margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; max-width: 28ch;
  padding-right: 24px;
}
.sv-other-link > span {
  position: absolute; right: 22px; top: 28px; font-weight: 700; color: var(--text);
}

.sv-blog-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.sv-blog-item {
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit;
}
.sv-blog-item h3 {
  margin: 0; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.35;
}
.sv-blog-item span { color: var(--muted); font-weight: 700; }
.sv-blog-item:hover h3 { color: var(--black); }

@media (max-width: 1024px) {
  .sv-related-grid, .sv-others-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sv-actions .btn { width: 100%; justify-content: center; }
  .sv-process li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .sv-cta { flex-direction: column; align-items: flex-start; }
  .sv-cta .btn { width: 100%; justify-content: center; }
  .sv-related-grid, .sv-others-grid { grid-template-columns: 1fr; }
  .sv-related-head { flex-direction: column; align-items: flex-start; }
}
a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --------------------------------------------------------------------------
   2. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  box-shadow: 0 8px 24px rgba(255, 212, 0, 0.28);
}

.btn-primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  box-shadow: 0 12px 32px rgba(255, 212, 0, 0.4);
}

.btn-outline,
.btn-secondary {
  background: var(--bg-white);
  color: var(--black);
  border-color: var(--black);
}

.btn-outline:hover,
.btn-secondary:hover {
  background: var(--black);
  color: var(--bg-white);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
  gap: 8px;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn .btn-icon,
.btn svg.btn-icon {
  width: 18px;
  height: 18px;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   3. Header
   -------------------------------------------------------------------------- */
.site-header,
header#header,
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease,
    height 0.3s ease;
}

.site-header.scrolled,
header#header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(10, 10, 10, 0.06);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Legacy header without .header-inner */
header#header:not(.site-header) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  height: 56px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
}

.brand picture {
  display: block;
  height: 56px;
  line-height: 0;
}

/* Keep logo size stable on scroll — height changes cause CLS in lab tests */
.site-header.scrolled .brand img {
  height: 56px;
}

.brand-text,
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.brand-pro {
  font-size: 0.55em;
  font-weight: 800;
  color: var(--yellow);
  vertical-align: super;
  margin-left: 2px;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: flex-end;
}

.site-nav > a,
header#header nav > a:not(.nav-payment-btn):not(.btn) {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.site-nav > a::after,
header#header nav > a:not(.nav-payment-btn):not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.25s ease;
}

.site-nav > a:hover,
header#header nav > a:not(.nav-payment-btn):not(.btn):hover {
  color: var(--black);
}

.site-nav > a:hover::after,
header#header nav > a:not(.nav-payment-btn):not(.btn):hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

.nav-btn-pay .btn-icon {
  width: 16px;
  height: 16px;
}

.nav-payment-btn {
  display: inline-flex;
  align-items: center;
  background: var(--yellow);
  color: var(--black) !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-payment-btn::after {
  display: none !important;
}

.nav-payment-btn:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-left: 4px;
}

.lang-switcher a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.lang-switcher a.active {
  color: var(--black);
  font-weight: 800;
}

.lang-switcher a:hover {
  color: var(--black);
}

.lang-sep {
  color: var(--border);
  user-select: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.menu-toggle:hover {
  background: rgba(0, 0, 0, 0.04);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  margin: 0 auto;
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   4. Mobile nav (?1024)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav,
  header#header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(10, 10, 10, 0.1);
    padding: 12px 24px 24px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .site-header.nav-open .site-nav,
  header#header.nav-open nav,
  .nav-open .site-nav {
    display: flex;
  }

  .site-nav > a,
  header#header.nav-open nav > a:not(.btn):not(.nav-payment-btn) {
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }

  .site-nav > a::after {
    display: none;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    margin: 16px 0 0;
    gap: 10px;
  }

  .nav-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .lang-switcher {
    justify-content: center;
    margin: 8px 0 0;
    padding-top: 12px;
  }

  .nav-payment-btn {
    margin: 12px 0 0;
    justify-content: center;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Section shared
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag,
.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

/* --------------------------------------------------------------------------
   5. Hero — taller area, image stays on the right
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   5. Hero — compact reference composition (no forced 100vh)
   -------------------------------------------------------------------------- */
.hero-section,
.hero-fullscreen {
  position: relative;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0;
  margin: 0;
  background: #f7f7f5;
  overflow: hidden;
  display: block;
  width: 100%;
}

.hero-fullscreen-media,
.hero-fullscreen-overlay { display: none !important; }

.hero-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-h) + 16px) 24px 0;
  box-sizing: border-box;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  gap: 12px 36px;
  align-items: center;
  width: 100%;
  padding: 0;
  margin: 0;
  min-height: 0;
  box-sizing: border-box;
}

.hero-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
  padding: 4px 0 4px;
}

.hero-copy .hero-label,
.hero-section .hero-label {
  color: #8a8a8a;
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
}

.hero-copy h1,
.hero-section h1,
.hero-title {
  font-family: var(--font-display, var(--font));
  font-size: clamp(1.75rem, 3.15vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: #121212;
  line-height: 1.05;
  max-width: none;
}

.hero-title-line {
  display: block;
  background: none;
  background-image: none;
}

/* Marker ONLY on marked phrases — not every h1 span */
.hero-title-mark {
  position: relative;
  display: inline-block;
  color: #121212;
  background-image: linear-gradient(transparent 68%, #FFD338 68%);
  background-repeat: no-repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-title-mark::before {
  content: none;
}

.hero-copy p,
.hero-section .hero-lead {
  font-size: 1.02rem;
  color: #5a5a5a;
  max-width: 38ch;
  margin: 0 0 22px;
  line-height: 1.65;
}

.hero-actions,
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions .btn {
  padding: 13px 20px;
  font-size: 0.94rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.hero-visual {
  position: relative;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: none;
  aspect-ratio: auto;
  box-shadow: none;
  width: 100%;
  height: auto;
  max-height: none;
  min-height: 0;
  display: block;
  z-index: 2;
  padding: 4px 64px 16px 8px;
  box-sizing: border-box;
}

.hero-wm {
  position: absolute;
  left: 46%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 0;
  width: clamp(460px, 46vw, 760px);
  pointer-events: none;
  line-height: 0;
}

.hero-wm picture { display: contents; }

.hero-wm-eagle {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  opacity: 0.12;
  filter: none;
  display: block;
}

.hero-wm-pixels {
  position: absolute;
  inset: 18% -2% 28%;
  pointer-events: none;
  background:
    linear-gradient(#FFD000, #FFD000) 4% 22% / 7px 7px no-repeat,
    linear-gradient(#FFD000, #FFD000) 8% 30% / 5px 5px no-repeat,
    linear-gradient(#FFD000, #FFD000) 2% 38% / 9px 9px no-repeat,
    linear-gradient(#FFD000, #FFD000) 10% 44% / 4px 4px no-repeat,
    linear-gradient(#FFD000, #FFD000) 92% 22% / 7px 7px no-repeat,
    linear-gradient(#FFD000, #FFD000) 96% 30% / 5px 5px no-repeat,
    linear-gradient(#FFD000, #FFD000) 90% 38% / 9px 9px no-repeat,
    linear-gradient(#FFD000, #FFD000) 98% 44% / 4px 4px no-repeat;
  opacity: 0.07;
}

.hero-visual-fg {
  position: relative;
  z-index: 2;
  width: 86%;
  max-width: none;
  height: auto;
  margin: 0 auto;
  border-radius: 0;
  overflow: visible;
  line-height: 0;
}

.hero-visual picture { display: contents; }

.hero-visual-fg img,
.hero-visual img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border: none;
  outline: none;
  box-shadow: none;
  display: block;
}

.hero-visual::after { display: none; }

.hero-pixel-cluster {
  position: absolute;
  left: 14px;
  bottom: 22px;
  z-index: 1;
  width: 72px;
  height: 78px;
  pointer-events: none;
}

.hero-pixel-cluster i {
  position: absolute;
  width: var(--s, 8px);
  height: var(--s, 8px);
  background: #FFD000;
  opacity: var(--o, 0.5);
  border-radius: 1px;
}

.hero-pixel-cluster i:nth-child(1) { left: 0; bottom: 0; }
.hero-pixel-cluster i:nth-child(2) { left: 22px; bottom: 4px; }
.hero-pixel-cluster i:nth-child(3) { left: 8px; bottom: 22px; }
.hero-pixel-cluster i:nth-child(4) { left: 30px; bottom: 28px; }
.hero-pixel-cluster i:nth-child(5) { left: 16px; bottom: 44px; }
.hero-pixel-cluster i:nth-child(6) { left: 38px; bottom: 52px; }
.hero-pixel-cluster i:nth-child(7) { left: 26px; bottom: 64px; }

/* Decor anchored to visual wrapper — vertical rail + explore share right edge */
.hero-micro-rail {
  position: absolute;
  top: 46%;
  right: 2px;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 28px;
  pointer-events: none;
  user-select: none;
}

.hero-micro-rail span {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #666;
  line-height: 1;
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.hero-micro-rail i {
  display: block;
  width: 1px;
  height: 14px;
  flex-shrink: 0;
  background: #d0d0d0;
}

.hero-micro-rail b {
  display: block;
  width: 1px;
  height: 28px;
  margin-top: 2px;
  flex-shrink: 0;
  background: #FFD000;
}

.hero-sign {
  position: absolute;
  right: 72px;
  bottom: 4px;
  z-index: 4;
  margin: 0;
  pointer-events: none;
  user-select: none;
  line-height: 0;
  width: 136px;
}

.hero-sign picture { display: contents; }

.hero-sign img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  display: block;
  object-fit: contain !important;
}

.hero-sign span,
.hero-sign::after { display: none !important; }

.hero-explore {
  position: absolute;
  right: 2px;
  bottom: 0;
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 28px;
  text-decoration: none;
}

.hero-explore-btn {
  width: 42px;
  height: 42px;
  border: 2px solid #E8E8E8;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #222;
  background: transparent;
}

.hero-explore-label {
  font-family: var(--font);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: #777;
}

/* Service strip — integrated hero base, same shell width */
.hero-features {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 20px;
  align-items: center;
  width: 100%;
  margin: 8px 0 0;
  padding: 14px 0 16px;
  border-top: 1px solid #ebebe8;
  background: transparent;
  box-sizing: border-box;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.hero-feature-icon {
  box-sizing: border-box;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  max-width: 52px;
  border-radius: 50%;
  background: #ececea;
  color: #333;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  line-height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  position: relative;
}

/* Defeat global `svg { max-width:100%; height:auto }` — true center */
.hero-feature-icon svg {
  box-sizing: border-box;
  display: block;
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  min-width: 22px;
  min-height: 22px;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  vertical-align: middle;
}

.hero-feature:nth-child(1) .hero-feature-icon svg { transform: translate(-50%, calc(-50% + 1px)); }
.hero-feature:nth-child(3) .hero-feature-icon svg { transform: translate(-50%, calc(-50% + 1px)); }
.hero-feature:nth-child(4) .hero-feature-icon svg { transform: translate(-50%, calc(-50% + 1px)); }

.hero-feature-text {
  min-width: 0;
}

.hero-feature strong {
  display: block;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-feature span {
  display: block;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 400;
  color: #7a7a7a;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Desktop balance only — do not alter tablet/mobile */
@media (min-width: 1200px) {
  .hero-section {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    min-height: 100vh;
  }

  .hero-shell {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    padding-top: calc(var(--header-h) + 10px);
    padding-bottom: 0;
  }

  .hero-layout {
    flex: 1 1 auto;
    align-items: center;
    gap: 16px 36px;
    min-height: 0;
  }

  .hero-copy {
    margin-top: 12px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-visual {
    margin-top: 32px;
    padding: 0 40px 52px 8px;
    overflow: visible;
  }

  .hero-visual-fg {
    width: 90%;
  }

  .hero-sign {
    right: 56px;
    bottom: 6px;
    width: 142px;
  }

  .hero-micro-rail {
    top: 44%;
    right: 0;
    width: 28px;
  }

  .hero-explore {
    right: 0;
    bottom: 2px;
    width: 28px;
  }

  .hero-features {
    flex: 0 0 auto;
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 14px;
    padding-bottom: 12px;
    gap: 14px 18px;
  }

  .hero-feature {
    gap: 16px;
  }

  .hero-feature-icon {
    width: 62px;
    height: 62px;
    min-width: 62px;
    min-height: 62px;
    max-width: 62px;
  }

  .hero-feature-icon svg {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    max-width: 22px;
    max-height: 22px;
  }
}

@media (max-width: 1100px) {
  .hero-shell {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-visual {
    padding-right: 56px;
  }

  .hero-sign {
    width: 124px;
    right: 48px;
    bottom: 16px;
  }
}

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-visual {
    padding: 0 12px 12px;
    max-width: 560px;
    margin: 0 auto;
  }

  .hero-wm {
    width: clamp(360px, 70vw, 560px);
  }

  .hero-micro-rail,
  .hero-sign,
  .hero-explore {
    display: none;
  }

  .hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    padding: 16px 0 18px;
  }

  .hero-pixel-cluster {
    bottom: 140px;
  }

  .hero-pixel-cluster i:nth-child(n+5) {
    display: none;
  }
}

@media (min-width: 1025px) {
  .hero-features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-shell {
    padding-top: calc(var(--header-h) + 16px);
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-title,
  .hero-copy h1,
  .hero-section h1 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
    line-height: 1.08;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .hero-pixel-cluster {
    display: none;
  }
}

/* Legacy .hero (light, no dark gradient) */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 64px) 40px 80px;
  background: var(--bg);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero.has-bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero.has-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 247, 245, 0.94) 0%, rgba(247, 247, 245, 0.72) 55%, rgba(247, 247, 245, 0.4) 100%);
  z-index: 0;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero .hero-label {
  color: var(--muted);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  font-weight: 800;
}

.hero h1 span {
  background-image: linear-gradient(transparent 62%, rgba(255, 212, 0, 0.55) 62%);
}

.hero p {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 560px;
}

/* --------------------------------------------------------------------------
   6. Stats bar
   -------------------------------------------------------------------------- */
.stats-bar,
.stats {
  background: var(--bg-white);
  border-top: none;
  border-bottom: none;
  padding: 48px 24px 56px;
}

.stats-bar .container,
.stats-bar-inner,
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.stat-item,
.stats-bar .stat {
  position: relative;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Yellow dash above icon */
.stat-item::before,
.stats-bar .stat::before {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 0 auto 12px;
}

.stats-bar .stat-icon,
.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFE99A;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  flex-shrink: 0;
}

.stats-bar .stat-icon svg,
.stat-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.stat-value,
.stats h3,
.stats-bar .stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  line-height: 1.1;
}

.stat-label,
.stats p,
.stats-bar .stat-label {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   7. Services
   -------------------------------------------------------------------------- */
.services-section,
.services {
  padding: 96px 24px;
  background: var(--bg);
}

.services-grid,
.services .grid,
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.service-card,
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}

.service-card:hover,
.card:hover {
  border-color: #d0d0cc;
  box-shadow: 0 16px 40px rgba(10, 10, 10, 0.06);
  transform: translateY(-4px);
}

.service-card .icon,
.card .icon,
.service-icon {
  width: 48px;
  height: 48px;
  color: var(--black);
  margin-bottom: 20px;
}

.service-card .icon svg,
.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3,
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-card p,
.card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  transition: gap 0.2s ease, color 0.2s ease;
}

.service-link::after {
  content: "?";
  color: var(--yellow-dark);
  font-weight: 800;
}

.service-link:hover {
  gap: 10px;
  color: var(--anthracite);
}

/* --------------------------------------------------------------------------
   8. Projects ? 2x2 light cards (reference layout)
   -------------------------------------------------------------------------- */
.projects-section {
  padding: 96px 24px;
  background: var(--bg);
}

.projects-section .section-header-row {
  align-items: flex-start;
  margin-bottom: 40px;
}

.projects-section .section-header-row .text-link {
  color: var(--yellow-dark);
  border-bottom-color: var(--yellow);
  margin-top: 8px;
  font-weight: 700;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-white);
  color: var(--text);
  min-height: 0;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:first-child,
.project-card:nth-child(2) {
  grid-row: auto;
  min-height: 0;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10, 10, 10, 0.08);
}

.project-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.5s ease;
  display: block;
}

.project-card:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.project-card-caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  z-index: 1;
  pointer-events: none;
}

.project-card-caption.is-dark {
  color: #111;
  text-shadow: none;
}

.project-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 20px;
  background: var(--bg-white);
}

.project-card-body h3 {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.project-card-body p,
.project-card-tag {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.project-card-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.project-card:hover .project-card-arrow {
  transform: translate(2px, -2px);
}

/* legacy overlay unused */
.project-card-overlay {
  display: none;
}

/* --------------------------------------------------------------------------
   9. Process ? numbered yellow circles + dotted connectors
   -------------------------------------------------------------------------- */
.process-section,
.process {
  padding: 96px 24px;
  background: var(--bg);
}

.process-track,
.process-list {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 0;
  border-top: 2px dotted #c8c8c4;
  z-index: 0;
}

.process-number,
.timeline-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(255, 212, 0, 0.2);
}

.process-step h3,
.timeline-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.process-step p,
.timeline-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Legacy vertical timeline */
.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 8px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 8px;
  bottom: 8px;
  width: 0;
  border-left: 2px dotted #c8c8c4;
}

.timeline-item {
  position: relative;
  padding-left: 72px;
  margin-bottom: 40px;
}

.timeline-item .timeline-number {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. Happy clients ? logo marquee
   -------------------------------------------------------------------------- */
.clients-section,
.testimonials-section {
  padding: 88px 0 96px;
  background: var(--bg-white);
  overflow: hidden;
}

.clients-head {
  text-align: center;
  margin-bottom: 40px;
}

.clients-title,
.partners-title {
  margin: 10px 0 0;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.clients-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients-marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: clients-marquee 32s linear infinite;
  will-change: transform;
}

.clients-marquee:hover .clients-marquee-track {
  animation-play-state: paused;
}

@keyframes clients-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.clients-marquee .logo-item {
  flex: 0 0 auto;
  min-width: 160px;
  height: 84px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  filter: grayscale(1);
  opacity: 0.78;
  transition: filter 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
  margin: 0;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
}

.clients-marquee .logo-item:hover {
  filter: grayscale(0);
  opacity: 1;
  border-color: #d4d4ce;
}

.clients-marquee .logo-item img {
  max-height: 40px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Legacy leftovers kept inert if referenced elsewhere */
.testimonials-inner,
.testimonial-quote,
.testimonial-author,
.logos-grid,
.testimonial-logos { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .clients-marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    justify-content: center;
    padding: 0 24px;
  }
}

/* --------------------------------------------------------------------------
   10b. SEO analysis tool strip (admin-toggleable)
   -------------------------------------------------------------------------- */
.seo-tool-strip {
  margin: 40px 0 72px;
  padding: 0 24px;
}

.seo-tool-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 36px;
  background:
    linear-gradient(135deg, rgba(255, 212, 0, 0.14) 0%, rgba(255, 255, 255, 0.92) 42%, #fff 100%),
    var(--bg-white);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: none;
}

.seo-tool-copy {
  min-width: 0;
  flex: 1;
}

.seo-tool-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.seo-tool-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.25;
}

.seo-tool-strip p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.seo-tool-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .seo-tool-strip {
    margin: 28px 0 48px;
    padding: 0 16px;
  }

  .seo-tool-strip-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 20px;
    gap: 18px;
  }

  .seo-tool-cta {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   11. CTA banner
   -------------------------------------------------------------------------- */
.cta-banner {
  margin: 0 24px 96px;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  background: var(--black);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.cta-banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-banner-icon svg {
  width: 26px;
  height: 26px;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 6px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 420px;
}

.cta-banner .btn-primary {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* Legacy yellow CTA */
.cta {
  padding: 96px 40px;
  background: var(--bg);
  text-align: center;
}

.cta-content {
  max-width: 720px;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 14px;
}

.cta > .cta-content > p,
.cta-content > p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   12. Contact form (light theme)
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 96px 24px;
  background: var(--bg);
}

.contact-section .cta-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.contact-form-card {
  margin-top: 36px;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px 44px 44px;
  box-shadow: 0 12px 40px rgba(10, 10, 10, 0.06);
  border: 1px solid var(--border);
}

.contact-form {
  margin: 0;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.contact-form .form-group {
  margin-bottom: 0;
}

.contact-form .form-group-full {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.contact-form .form-group-full:first-of-type {
  margin-top: 0;
}

.contact-form label,
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text);
}

.contact-form .required {
  color: #c62828;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9a9a96;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: #cfcfc9;
  background: var(--bg-white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--black);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-kvkk {
  margin-top: 16px !important;
}

.contact-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--black);
  cursor: pointer;
}

.contact-checkbox-text a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-checkbox-text a:hover {
  color: var(--anthracite);
}

.contact-form-actions {
  margin-top: 24px;
}

.btn-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--yellow);
  color: var(--black);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  box-shadow: 0 8px 24px rgba(255, 212, 0, 0.28);
}

.btn-contact-submit:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 212, 0, 0.35);
}

.contact-message {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 15px;
}

.contact-message-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.contact-success {
  background: rgba(46, 125, 50, 0.1);
  color: #1b5e20;
  border: 1px solid rgba(46, 125, 50, 0.28);
}

.contact-error {
  background: rgba(198, 40, 40, 0.08);
  color: #b71c1c;
  border: 1px solid rgba(198, 40, 40, 0.25);
}

/* Toast overlay */
.contact-toast-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.contact-toast-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.contact-toast-modal {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 420px;
  width: calc(100% - 32px);
  box-shadow: 0 24px 64px rgba(10, 10, 10, 0.18);
  text-align: center;
}

.contact-toast-icon-wrap {
  margin-bottom: 16px;
}

.contact-toast-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
}

.contact-toast-success .contact-toast-icon {
  color: #2e7d32;
}

.contact-toast-error .contact-toast-icon {
  color: #c62828;
}

.contact-toast-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.contact-toast-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 24px;
}

.contact-toast-close {
  display: inline-block;
  padding: 12px 28px;
  background: var(--yellow);
  color: var(--black);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-toast-close:hover {
  background: var(--yellow-dark);
}

/* Policy popup */
.contact-policy-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.contact-policy-popup-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.contact-policy-popup-box {
  background: var(--bg-white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(10, 10, 10, 0.2);
  border: 1px solid var(--border);
}

.contact-policy-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.contact-policy-popup-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.contact-policy-popup-close {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 24px;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.contact-policy-popup-close:hover {
  background: var(--border);
}

.contact-policy-popup-iframe {
  flex: 1;
  min-height: 60vh;
  height: 400px;
  border: none;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--bg);
}

@media (max-width: 600px) {
  .contact-form-card {
    padding: 28px 20px 32px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-policy-popup-overlay {
    padding: 12px;
  }

  .contact-policy-popup-iframe {
    min-height: 50vh;
    height: 320px;
  }
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer,
.footer {
  background: #EEEEEC;
  padding: 72px 24px 0;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.footer-inner,
.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr 0.9fr;
  gap: 40px 32px;
  padding-bottom: 56px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.925rem;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 12px;
}

.footer-site-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--yellow-dark, #c9a000);
  color: #E6B800;
  text-decoration: none;
}

.footer-site-link:hover {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-col h4,
.footer h4,
.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text);
}

.footer-col a,
.footer-links a {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-links a:hover {
  color: var(--black);
}

.footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-contact .contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: currentColor;
  fill: none;
}

.footer-contact .contact-item a {
  color: inherit;
  margin: 0;
}

.footer-contact .contact-item a:hover {
  color: var(--black);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1.5px solid #cfcfc9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  margin: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease;
}

.social-links a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
}

.social-links svg {
  width: 16px;
  height: 16px;
}

.social-links a svg[fill="currentColor"] {
  fill: currentColor;
  stroke: none;
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 0 28px;
  border-top: 1px solid #dddcd8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-bottom-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--black);
}

/* --------------------------------------------------------------------------
   14. Bottom bar (mobile only) ? light theme
   -------------------------------------------------------------------------- */
.bottom-bar {
  display: none;
}

@media (max-width: 1024px) {
  body {
    padding-bottom: 88px;
  }

  .bottom-bar {
    display: flex;
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 999;
    background: var(--bg-white);
    border-radius: 28px;
    padding: 12px 8px 14px;
    box-shadow: 0 10px 40px rgba(10, 10, 10, 0.12), 0 0 0 1px var(--border);
    align-items: center;
    justify-content: space-around;
    max-width: 400px;
    margin: 0 auto;
  }

  .bottom-bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    color: var(--muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    border-radius: 16px;
    transition: color 0.2s ease, background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .bottom-bar-item:active {
    color: var(--black);
    background: rgba(255, 212, 0, 0.15);
  }

  .bottom-bar-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bottom-bar-icon svg {
    width: 22px;
    height: 22px;
  }

  .bottom-bar-label {
    line-height: 1.2;
  }

  .bottom-bar-whatsapp .bottom-bar-icon {
    background: var(--yellow);
    color: var(--black);
    border-radius: 50%;
    padding: 6px;
    width: 36px;
    height: 36px;
    margin-top: -8px;
  }

  .bottom-bar-whatsapp .bottom-bar-icon svg {
    width: 20px;
    height: 20px;
  }

  .bottom-bar-whatsapp {
    color: var(--text);
  }

  .bottom-bar-whatsapp:active .bottom-bar-icon {
    background: var(--yellow-dark);
  }
}

@media (max-width: 640px) {
  .bottom-bar {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 10px 6px 12px;
    border-radius: 24px;
  }

  .bottom-bar-item {
    font-size: 10px;
  }
}

/* --------------------------------------------------------------------------
   15. Inner pages
   -------------------------------------------------------------------------- */
.page-main {
  padding: 0 0 80px;
  min-height: 70vh;
}

.page-hero {
  padding: calc(var(--header-h) + 48px) 24px 40px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.page-breadcrumb {
  padding: calc(var(--header-h) + 24px) 24px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-breadcrumb .container {
  max-width: 800px;
}

.page-breadcrumb a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

.page-breadcrumb a:hover {
  color: var(--black);
}

.page-breadcrumb-sep {
  color: var(--muted);
  margin: 0 8px;
  font-size: 14px;
}

.page-breadcrumb-current {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.page-content {
  padding: 40px 24px 80px;
}

.page-content .container {
  max-width: 800px;
}

.page-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 28px;
  color: var(--text);
}

.page-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-body p {
  margin-bottom: 1em;
}

.page-body h2 {
  font-size: 1.35rem;
  margin: 1.5em 0 0.5em;
  color: var(--text);
}

.page-body h3 {
  font-size: 1.15rem;
  margin: 1.25em 0 0.4em;
  color: var(--text);
}

.page-body ul,
.page-body ol {
  margin: 0 0 1em 1.25em;
  list-style: disc;
}

.page-body a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-embed-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 20px 32px;
}

.page-embed-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 20px;
}

body.embed-page {
  background: var(--bg-white);
  min-height: auto;
}

/* --------------------------------------------------------------------------
   16. Landing
   -------------------------------------------------------------------------- */
.landing-hero {
  padding: calc(var(--header-h) + 56px) 24px 48px;
  background: var(--bg);
  text-align: left;
}

.landing-hero .container {
  max-width: 900px;
}

.landing-hero .hero-label {
  margin-bottom: 16px;
}

.landing-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.landing-hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin-bottom: 28px;
}

.landing-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.landing-content h2 {
  color: var(--text);
  margin: 1.5em 0 0.5em;
}

.landing-faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.landing-faq h2 {
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.landing-faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.landing-faq-item h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  color: var(--text);
}

.landing-faq-item p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   17. Blog listing + article
   -------------------------------------------------------------------------- */
.page-blog .page-hero.blog-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 32px) 24px 44px;
  text-align: left;
  background:
    radial-gradient(ellipse 55% 70% at 100% 0%, rgba(255, 212, 0, 0.12), transparent 58%),
    linear-gradient(180deg, #f4f4f1 0%, var(--bg-white) 72%);
  border-bottom: 1px solid var(--border);
}

.page-blog .blog-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-blog .blog-hero-crumb {
  margin-bottom: 20px;
}

.page-blog .blog-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 0;
}

.page-blog .blog-hero-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 1px;
  flex-shrink: 0;
}

.page-blog .blog-hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 5vw, 3.25rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--black);
}

.page-blog .blog-hero-lead {
  margin: 18px 0 0;
  max-width: 38ch;
  padding-top: 16px;
  border-top: 2px solid var(--yellow);
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.65;
  color: var(--muted);
}

@media (min-width: 900px) {
  .page-blog .page-hero.blog-hero {
    padding: calc(var(--header-h) + 40px) 24px 56px;
  }

  .page-blog .blog-hero-lead {
    max-width: 42ch;
  }
}

@media (max-width: 899px) {
  .page-blog .page-hero.blog-hero {
    padding: calc(var(--header-h) + 18px) 20px 34px;
  }

  .page-blog .blog-hero h1 {
    max-width: none;
  }

  .page-blog .blog-hero-lead {
    max-width: none;
  }
}

.blog-listing {
  padding: 12px 0 104px;
  background: var(--bg-white);
}

.blog-empty {
  text-align: center;
  padding: 72px 24px;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  min-width: 0;
}

.blog-item:first-child {
  padding-top: 8px;
}

.blog-item.is-featured {
  gap: 22px;
  padding-bottom: 36px;
  margin-bottom: 8px;
}

.blog-item-media {
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--anthracite);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  isolation: isolate;
}

.blog-item.is-featured .blog-item-media {
  aspect-ratio: 16 / 9;
}

.blog-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.blog-item:hover .blog-item-media img {
  transform: scale(1.035);
}

.blog-item-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(255, 212, 0, 0.22), transparent 45%),
    linear-gradient(180deg, #1f1f1f, #0d0d0d);
}

.blog-item-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.blog-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.blog-item-meta time::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 1px;
  background: var(--yellow);
  vertical-align: 1px;
}

.blog-item-body h2 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 4.2vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.22;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.blog-item.is-featured .blog-item-body h2 {
  font-size: clamp(1.55rem, 4.8vw, 2.35rem);
  line-height: 1.15;
}

.blog-item-body h2 a {
  color: var(--text);
  text-decoration: none;
}

.blog-item-body h2 a:hover {
  color: var(--black);
}

.blog-item-body p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 0 18px;
  max-width: 52ch;
}

.blog-item-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 0 0;
  font-weight: 750;
  font-size: 0.92rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
}

.blog-item-link:hover {
  color: var(--black);
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

@media (min-width: 900px) {
  .blog-item {
    grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    padding: 36px 0;
  }

  .blog-item.is-featured {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    gap: 48px;
    padding: 20px 0 48px;
  }

  .blog-item-body h2 {
    font-size: clamp(1.4rem, 2vw, 1.85rem);
  }

  .blog-item.is-featured .blog-item-body h2 {
    font-size: clamp(1.85rem, 2.8vw, 2.55rem);
  }
}

/* Blog article — editorial reading layout */
.page-blog-show {
  background: var(--bg-white);
}

.post-header {
  padding: calc(var(--header-h) + 28px) 0 24px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-white) 100%);
}

.post-header-inner {
  max-width: 760px;
}

.post-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 22px;
}

.post-crumb a:hover {
  color: var(--black);
}

.post-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.85rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text);
  overflow-wrap: anywhere;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.post-meta-brand {
  font-weight: 750;
  color: var(--text);
}

.post-meta-brand::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 10px;
  background: var(--yellow);
  border-radius: 1px;
  vertical-align: 0;
}

.post-cover {
  padding: 8px 0 36px;
  background: var(--bg-white);
}

.post-cover .container {
  max-width: 980px;
}

.post-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
}

.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 24px 48px;
  font-size: 1.06rem;
  line-height: 1.8;
  color: #3a3a3a;
}

.post-body > *:first-child {
  margin-top: 0;
}

.post-body h2,
.post-body h3,
.post-body h4 {
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 2em 0 0.65em;
}

.post-body h2 {
  font-size: clamp(1.28rem, 2.2vw, 1.55rem);
}

.post-body h3 {
  font-size: 1.12rem;
}

.post-body p {
  margin: 0 0 1.2em;
}

.post-body a {
  color: var(--black);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(10, 10, 10, 0.28);
}

.post-body a:hover {
  text-decoration-color: var(--yellow);
}

.post-body ul,
.post-body ol {
  margin: 0 0 1.3em;
  padding-left: 1.25em;
}

.post-body ul {
  list-style: disc;
}

.post-body ol {
  list-style: decimal;
}

.post-body li {
  margin: 0 0 0.55em;
}

.post-body li::marker {
  color: var(--muted);
}

.post-body blockquote {
  margin: 1.75em 0;
  padding: 0 0 0 1.1em;
  border-left: 3px solid var(--yellow);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.65;
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 1.5em 0;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95rem;
}

.post-body th,
.post-body td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.post-body th {
  font-weight: 700;
  color: var(--text);
}

.post-body hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.2em 0;
}

.post-body .blog-internal-links {
  list-style: none;
  padding: 0;
  margin: 1.5em 0;
  display: grid;
  gap: 8px;
}

.post-body .blog-internal-links li {
  margin: 0;
}

.post-body .blog-internal-links a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  font-weight: 700;
}

.post-body .blog-internal-links a:hover {
  color: var(--black);
  border-bottom-color: var(--yellow);
}

.post-footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.post-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.post-back {
  font-weight: 750;
  color: var(--text);
  text-decoration: none;
}

.post-back:hover {
  color: var(--black);
}

.post-share {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
  font-weight: 750;
}

.post-share a {
  color: var(--muted);
  text-decoration: none;
}

.post-share a:hover {
  color: var(--black);
}

.post-cta {
  margin-top: 36px;
  padding: 24px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 212, 0, 0.18), transparent 42%),
    var(--bg);
}

.post-cta p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 28ch;
}

.post-related {
  padding: 56px 0 96px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.post-related h2 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.post-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.post-related-item {
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.post-related-media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #e8e8e4;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

.post-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.post-related-item:hover .post-related-media img {
  transform: scale(1.03);
}

.post-related-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

@media (min-width: 800px) {
  .post-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 800px) {
  .post-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .post-header {
    padding-top: calc(var(--header-h) + 18px);
  }

  .post-body {
    font-size: 1.02rem;
    padding-left: 20px;
    padding-right: 20px;
  }

  .post-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Payment page shell */
.payment-page,
.payment-shell {
  min-height: 100vh;
  padding: calc(var(--header-h) + 48px) 24px 80px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: var(--bg);
}

.payment-card {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 12px 40px rgba(10, 10, 10, 0.06);
}

.payment-card label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text);
}

.payment-card input,
.payment-card select,
.payment-card textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.payment-card input:focus,
.payment-card select:focus,
.payment-card textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
  background: var(--bg-white);
}

.payment-field {
  margin-bottom: 18px;
}

.payment-row {
  display: flex;
  gap: 16px;
}

.payment-row > div {
  flex: 1;
}

.gateway-options {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.gateway-option {
  flex: 1;
  padding: 18px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  background: var(--bg);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.gateway-option:hover {
  border-color: #cfcfc9;
}

.gateway-option.selected {
  border-color: var(--yellow);
  background: rgba(255, 212, 0, 0.12);
}

.gateway-option input {
  display: none;
}

.gateway-name {
  font-weight: 700;
  font-size: 14px;
  margin-top: 8px;
  color: var(--text);
}

.payment-amount-display {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin: 20px 0;
  color: var(--text);
}

.payment-success,
.payment-error {
  text-align: center;
  padding: 32px 0;
}

.payment-success h2 {
  color: #1b5e20;
  margin-bottom: 12px;
}

.payment-error h2 {
  color: #b71c1c;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   18. Reveal animations (progressive enhancement — visible without JS)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Above-the-fold hero must paint immediately (FCP/LCP) — do not wait for JS */
.hero-section .reveal,
.js .hero-section .reveal {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

.js .reveal.active,
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .reveal.active,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .service-card:hover,
  .card:hover,
  .project-card:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   19. Responsive breakpoints
   -------------------------------------------------------------------------- */

/* ?1440 */
@media (max-width: 1440px) {
  .hero-copy h1,
  .hero-section h1,
  .hero-title {
    font-size: clamp(1.7rem, 3.1vw, 2.5rem);
  }

  .projects-grid {
    gap: 20px;
  }
}

/* ?1024 */
@media (max-width: 1024px) {
  :root {
    --header-h: 84px;
  }

  .brand img,
  .site-header.scrolled .brand img {
    height: 50px;
    max-width: 220px;
  }

  .brand picture {
    height: 50px;
  }

  .hero-section,
  .hero-fullscreen {
    height: auto;
    max-height: none;
    min-height: 0;
  }

  .hero-section .container,
  .hero-layout,
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: center;
  }

  .hero-visual {
    display: block !important;
    min-height: 0;
    max-height: none;
  }

  .services-grid,
  .services .grid,
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .project-card:first-child,
  .project-card:nth-child(2) {
    grid-row: auto;
    min-height: 280px;
  }

  .process-track,
  .process-list {
    flex-wrap: wrap;
    gap: 32px 0;
  }

  .process-step {
    flex: 0 0 50%;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .clients-marquee .logo-item {
    min-width: 140px;
    height: 72px;
    padding: 12px 18px;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 32px;
    margin-left: 24px;
    margin-right: 24px;
  }

  .footer-inner,
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }
header#header:not(.site-header) {
    padding: 0 24px;
  }

  .hero {
    padding: calc(var(--header-h) + 40px) 24px 56px;
  }
}

/* ?768 */
@media (max-width: 768px) {
  .services-grid,
  .services .grid,
  .grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card:first-child,
  .project-card:nth-child(2) {
    min-height: 240px;
  }

  .process-step {
    flex: 0 0 100%;
    text-align: left;
    padding-left: 0;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0 16px;
    align-items: start;
  }

  .process-number {
    grid-row: 1 / 3;
    margin-bottom: 0;
  }

  .clients-marquee .logo-item {
    min-width: 140px;
    height: 72px;
    padding: 12px 18px;
  }

  .footer-inner,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
.cta-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-row {
    flex-direction: column;
    gap: 0;
  }

  .gateway-options {
    flex-direction: column;
  }

  .hero-actions,
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .hero-buttons .btn {
    width: 100%;
  }

  .stats-bar,
  .stats,
  .services-section,
  .services,
  .projects-section,
  .process-section,
  .process,
  .clients-section,
  .testimonials-section,
  .contact-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/* ?430 */
@media (max-width: 430px) {
  .container,
  .header-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-section,
  .hero-fullscreen {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  .landing-hero,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy h1,
  .hero-section h1,
  .hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  .stats-bar .container,
  .stats-bar-inner,
  .stats {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-banner {
    margin-left: 16px;
    margin-right: 16px;
    padding: 28px 20px;
  }

  .cta-banner .btn-primary {
    width: 100%;
  }

  .service-card,
  .card {
    padding: 24px 20px;
  }

  .payment-card {
    padding: 28px 20px;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

/* --------------------------------------------------------------------------
   Home layout helpers (v3 redesign)
   -------------------------------------------------------------------------- */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto 48px;
  text-align: left;
}
.section-header-row .section-header,
.section-header-row > div { text-align: left; margin: 0; }
.text-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--black);
  white-space: nowrap;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
}
.services-grid { grid-template-columns: repeat(4, 1fr); }
.hero-visual-fallback {
  position: relative;
  min-height: 420px;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,212,0,.35), transparent 45%),
    linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-visual-fallback .device {
  position: absolute;
  background: #222;
  border: 1px solid #333;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.hero-visual-fallback .device-laptop {
  width: 58%; height: 42%; left: 12%; top: 28%;
  background: linear-gradient(180deg, #2a2a2a, #111);
}
.hero-visual-fallback .device-phone {
  width: 18%; height: 48%; right: 18%; top: 22%;
  border-radius: 18px;
  background: linear-gradient(180deg, #333, #111);
}
.hero-visual-fallback .device-tablet {
  width: 28%; height: 36%; right: 28%; bottom: 12%;
  background: linear-gradient(180deg, #2c2c2c, #151515);
}
.logo-item span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--anthracite);
}
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .section-header-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

.projects-section .section-header-row > div p {
  margin-top: 10px;
  max-width: 420px;
  color: var(--muted);
  font-size: 0.98rem;
}
.hero-visual-fallback {
  border: none !important;
  box-shadow: none !important;
}
@media (max-width: 768px) {
  .projects-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Portfolio project detail + listing
   -------------------------------------------------------------------------- */
.page-hero-left { text-align: left; background: var(--bg); border-bottom: none; }
.page-hero-left .container { max-width: var(--container); margin: 0 auto; }
.page-hero-left h1 { margin-top: 10px; }
.page-hero-left p { margin: 12px 0 0; max-width: 540px; }
.page-breadcrumb.inline {
  padding: 0;
  background: transparent;
  border: 0;
  margin-bottom: 18px;
}
.page-breadcrumb.inline .container { max-width: none; }

.projects-listing { padding: 24px 24px 96px; background: var(--bg); }
.projects-listing-grid { gap: 24px; }
.projects-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
}

/* ==========================================================================
   Case study / project detail (.cs-*) — editorial, theme-aligned
   ========================================================================== */
.page-project-show {
  background: var(--bg-white);
}
.cs-article {
  background: var(--bg-white);
}
.cs-header {
  padding: calc(var(--header-h) + 28px) 0 18px;
  background:
    linear-gradient(180deg, #F7F7F5 0%, #FFFFFF 72%);
}
.cs-header-inner {
  max-width: 820px;
}
.cs-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.cs-crumb a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.cs-crumb a:hover { color: var(--black); }
.cs-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.cs-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.05;
  color: var(--black);
}
.cs-lead {
  margin: 0 0 28px;
  max-width: 54ch;
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--muted);
}
.cs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
}
.cs-meta dt {
  display: block;
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.cs-meta dd {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
}
.cs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cs-actions .btn span {
  margin-left: 6px;
}
.cs-intro {
  padding: 36px 0 8px;
  background: var(--bg-white);
}
.cs-intro-inner {
  max-width: 760px;
}
.cs-intro .cs-lead {
  margin: 0 0 24px;
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

.cs-cover {
  position: relative;
  margin: 12px 0 0;
  padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,212,0,.12), transparent 55%),
    linear-gradient(180deg, #161616 0%, #0A0A0A 100%);
  overflow: hidden;
}
.cs-cover img {
  width: min(1120px, 100%);
  max-height: min(70vh, 720px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 28px 48px rgba(0,0,0,.45));
}
.cs-cover-caption {
  position: absolute;
  left: max(24px, calc((100% - var(--container)) / 2 + 24px));
  bottom: 28px;
  max-width: min(520px, calc(100% - 48px));
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.3;
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
}
.cs-cover-caption.is-dark {
  color: #111;
  text-shadow: none;
}

.cs-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 24px;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--muted);
}
.cs-body > *:first-child { margin-top: 0; }
.cs-body h2,
.cs-body h3,
.cs-body h4 {
  color: var(--text);
  font-family: var(--font-display);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 1.7em 0 .55em;
}
.cs-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.cs-body h3 { font-size: 1.2rem; }
.cs-body p { margin: 0 0 1.15em; }
.cs-body a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
}
.cs-body a:hover { color: var(--black); }
.cs-body ul,
.cs-body ol {
  margin: 0 0 1.2em;
  padding-left: 1.25em;
}
.cs-body li { margin-bottom: .45em; }
.cs-body li::marker { color: var(--yellow-dark); }
.cs-body img {
  width: 100%;
  height: auto;
  margin: 1.6em 0;
  border-radius: 0;
}
.cs-body blockquote {
  margin: 1.8em 0;
  padding: 8px 0 8px 22px;
  border-left: 3px solid var(--yellow);
  color: var(--text);
  font-size: 1.12rem;
}

.cs-case {
  padding: 28px 0 56px;
  background: var(--bg-white);
}
.cs-case-head {
  max-width: 760px;
  margin-bottom: 28px;
}
.cs-case-head h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -.03em;
}
.cs-case-list {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cs-case-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
}
.cs-case-item:last-child { border-bottom: 1px solid var(--border); }
.cs-case-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--yellow-dark);
  line-height: 1.2;
  padding-top: 2px;
}
.cs-case-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--text);
}
.cs-case-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.cs-tech {
  padding: 8px 0 48px;
  background: var(--bg-white);
}
.cs-tech .container { max-width: 760px; }
.cs-tech h2 {
  margin: 0 0 12px;
  font-size: 0.8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.cs-tech-list {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.7;
}

.cs-quote {
  padding: 12px 0 56px;
  background: var(--bg-white);
}
.cs-quote .container { max-width: 760px; }
.cs-quote blockquote {
  margin: 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--border);
}
.cs-quote p {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.45;
  color: var(--text);
}
.cs-quote cite {
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
}

.cs-gallery {
  padding: 0 0 24px;
  background: var(--bg);
}
.cs-gallery-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cs-gallery-item {
  margin: 0;
  background: #111;
  overflow: hidden;
}
.cs-gallery-item img {
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .7s ease;
}
.cs-gallery-item:hover img { transform: scale(1.015); }

.cs-footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}
.cs-footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}
.cs-back,
.cs-live {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.cs-back:hover,
.cs-live:hover { color: var(--black); }
.cs-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
}
.cs-cta p {
  margin: 0;
  max-width: 34ch;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.35;
  color: var(--text);
}

.cs-related {
  padding: 56px 24px 96px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.cs-related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.cs-related-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -.03em;
}
.cs-related-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
 .cs-header { padding-top: calc(var(--header-h) + 24px); }
  .cs-actions .btn { width: 100%; justify-content: center; }
  .cs-case-item { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .cs-cover img { max-height: 62vh; }
  .cs-cta { flex-direction: column; align-items: flex-start; }
  .cs-cta .btn { width: 100%; justify-content: center; }
  .cs-related-grid { grid-template-columns: 1fr; }
  .cs-related-head { align-items: flex-start; flex-direction: column; }
}

/* Corporate / legal inner pages (about, privacy, kvkk, terms) */
.corporate-hero { padding-top: 20px; padding-bottom: 36px; }
.corporate-content {
  padding: 24px 24px 96px;
  background: var(--bg-white);
}
.corporate-layout {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .7fr);
  gap: 48px;
  align-items: start;
}
.corporate-layout:has(article:only-child),
.corporate-layout:not(:has(aside)) {
  grid-template-columns: minmax(0, 760px);
  justify-content: start;
}
.corporate-body {
  font-size: 1.05rem;
  line-height: 1.85;
}
.page-corporate .cta-banner { margin-bottom: 80px; }

/* Keep site header intact on all inner pages */
.page-inner .site-header,
.page-corporate .site-header,
.page-project-show .site-header,
.page-projects .site-header,
.page-service .site-header {
  position: fixed;
  z-index: 1000;
}
.page-inner .brand img,
.page-corporate .brand img {
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .corporate-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* SEO landing related links */
.seo-related-list { list-style: none; padding: 0; margin: 12px 0 0; }
.seo-related-list li { margin: 0; border-bottom: 1px solid rgba(15,23,42,.08); }
.seo-related-list a {
  display: block;
  padding: 10px 0;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color .2s ease;
}
.seo-related-list a:hover { color: #111; }
.page-seo-landing .landing-faq { padding: 0 24px 48px; max-width: var(--container); margin: 0 auto; }
.page-seo-landing .landing-faq-item { margin-bottom: 18px; }
.page-seo-landing .seo-faq h3 { font-size: 1.05rem; margin: 1.1em 0 .35em; color: var(--text); }

/* Hero: content-height by default — desktop balance kept below */
@supports (height: 100dvh) {
  .hero-section,
  .hero-fullscreen {
    height: auto;
    max-height: none;
    min-height: 0;
  }
}
@media (max-width: 768px) {
  .hero-section,
  .hero-fullscreen {
    height: auto;
    max-height: none;
    min-height: 0;
  }
  .hero-shell {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .hero-visual {
    display: block !important;
    min-height: 0;
    max-height: none;
  }
}

/* Desktop hero balance must win over content-height resets above */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100dvh;
    min-height: 100vh;
  }
}
