/* ==========================================================================
   LEXERA — style.css
   Token system (light theme, per client feedback):
     Color   page bg #f7f6f1 · surfaces #ffffff/#eeece2 · text #17181d/#6b6e78 ·
             signal blue #3f5fd6 · lamp accent #c9791c
     Type    display: Bricolage Grotesque · body: Manrope · data: IBM Plex Mono
     Layout  fixed WebGL canvas behind alternating asymmetric glass panels
     Signature: the tulip tea-glass silhouette recurring through the 3D world
   ========================================================================== */

:root {
  /* Light theme — role names kept from the original dark palette to avoid
     touching every usage site; current meaning noted per token. */
  --ink: #f7f6f1; /* page background (was near-black, now warm off-white) */
  --ink-2: #ffffff; /* elevated base, e.g. nav backdrop */
  --graphite: #ffffff; /* card/panel surface */
  --graphite-2: #eeece2; /* soft recessed surface (chips, hover, footer) */
  --silver: #6b6e78; /* secondary/muted text */
  --pearl: #17181d; /* primary text + dark UI surfaces (buttons, toast) */
  --signal: #3f5fd6; /* accent blue, deepened for contrast on white */
  --signal-dim: rgba(63, 95, 214, 0.12);
  --lamp-glow: #c9791c; /* warm accent, deepened for contrast on white */
  --line: rgba(23, 24, 29, 0.1); /* subtle borders/dividers on light surfaces */

  --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.5s;
  --dur-slow: 0.9s;

  --container: 1220px;
  --section-pad: clamp(5rem, 12vw, 10rem);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: auto; /* Lenis owns smooth scrolling, not native CSS */
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--pearl);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button {
  cursor: none;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  color: var(--silver);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
textarea {
  font-family: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1.1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
}

.section {
  position: relative;
  padding: var(--section-pad) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-title {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
}

/* ---------- Fixed 3D backdrop ---------- */
#webgl-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

body.no-webgl #webgl-canvas {
  display: none;
}

body.no-webgl {
  background: radial-gradient(ellipse at 50% -10%, #ffffff 0%, var(--ink) 60%);
}

/* ---------- Loading screen ---------- */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  transition: opacity var(--dur-slow) var(--ease-out), visibility var(--dur-slow);
}

#loading-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-wordmark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--pearl);
}

.loading-bar {
  width: min(220px, 60vw);
  height: 2px;
  background: var(--graphite-2);
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--signal), var(--pearl));
  transition: width 0.3s var(--ease-out);
}

/* ---------- Custom cursor ---------- */
#cursor-dot,
#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.has-custom-cursor #cursor-dot,
body.has-custom-cursor #cursor-ring {
  opacity: 1;
}

#cursor-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--pearl);
}

#cursor-ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 1px solid rgba(23, 24, 29, 0.35);
  transition: opacity 0.3s ease, border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

#cursor-ring.is-active {
  border-color: var(--signal);
  box-shadow: 0 0 24px 4px var(--signal-dim);
}

/* ---------- Nav ---------- */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(247, 246, 241, 0.86), rgba(247, 246, 241, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: clamp(1.2rem, 2vw, 2.2rem);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pearl);
  flex-shrink: 0;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

.icon-button:hover {
  border-color: var(--signal);
  background: var(--signal-dim);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--signal);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform var(--dur-fast) var(--ease-out);
}

.cart-badge.is-visible {
  transform: scale(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--pearl);
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle span {
  top: 20px;
}
.nav-toggle span::before {
  top: -7px;
}
.nav-toggle span::after {
  top: 7px;
}

body.nav-open .nav-toggle span {
  background: transparent;
}
body.nav-open .nav-toggle span::before {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle span::after {
  transform: translateY(-7px) rotate(-45deg);
}

#nav-menu {
  position: fixed;
  inset: 0;
  z-index: 450;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.4rem;
  padding: 0 2rem;
  background: rgba(247, 246, 241, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(-100%);
  transition: transform var(--dur-med) var(--ease-out);
}

body.nav-open #nav-menu {
  transform: translateY(0);
}

#nav-menu .nav-link {
  font-family: var(--font-display);
  font-size: 2rem;
}

#nav-menu .nav-actions-mobile {
  margin-top: 1rem;
}

/* ---------- Cart drawer ---------- */
#cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 590;
  background: rgba(23, 24, 29, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out);
}

body.cart-open #cart-overlay {
  opacity: 1;
  pointer-events: auto;
}

#cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  z-index: 600;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 60px -30px rgba(23, 24, 29, 0.3);
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease-out);
  display: flex;
  flex-direction: column;
}

body.cart-open #cart-drawer {
  transform: translateX(0);
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.6rem;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head h3 {
  font-size: 1.15rem;
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.cart-drawer__empty {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--silver);
  font-size: 0.92rem;
}

.cart-item {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.cart-item__thumb {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.cart-item__thumb svg {
  width: 22px;
  height: 22px;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  display: block;
  font-size: 0.9rem;
  color: var(--pearl);
}

.cart-item__price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--silver);
}

.cart-item__remove {
  background: none;
  border: none;
  padding: 0;
  color: var(--silver);
  font-size: 0.76rem;
  text-decoration: underline;
  cursor: pointer;
}

.cart-item__remove:hover {
  color: var(--signal);
}

.cart-drawer__footer {
  padding: 1.4rem 1.6rem 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-drawer__subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 1.02rem;
  color: var(--pearl);
}

.nav-link {
  font-size: 0.9rem;
  color: var(--silver);
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--dur-fast) var(--ease-out);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--pearl);
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  transform: translate(var(--magnet-x, 0px), var(--magnet-y, 0px));
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn--primary {
  background: var(--pearl);
  color: var(--ink);
}
.btn--primary:hover {
  transform: translate(var(--magnet-x, 0px), var(--magnet-y, 0px)) scale(1.03);
}

.btn--ghost {
  background: rgba(23, 24, 29, 0.04);
  border-color: rgba(23, 24, 29, 0.16);
  color: var(--pearl);
}
.btn--ghost:hover {
  border-color: var(--signal);
  background: var(--signal-dim);
}

.btn--sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.78rem;
}

.magnetic {
  transform: translate(var(--magnet-x, 0px), var(--magnet-y, 0px));
}

/* ---------- Glass panel (base for cards / content panels) ---------- */
.glass-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 24, 29, 0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 48px -24px rgba(23, 24, 29, 0.18), 0 2px 10px rgba(23, 24, 29, 0.05);
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 6rem;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--silver);
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.hero__title {
  font-size: clamp(4rem, 15vw, 11rem);
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--pearl) 40%, var(--silver));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--silver);
  max-width: 34ch;
}

.hero__actions {
  margin-top: 2.6rem;
  display: flex;
  gap: 1rem;
}

.hero__scroll-cue {
  position: absolute;
  bottom: 2.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--silver);
}

.hero__scroll-cue-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, var(--silver), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-cue-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--pearl);
  animation: cue-drop 2.2s var(--ease-out) infinite;
}

@keyframes cue-drop {
  0% {
    top: -100%;
  }
  70%,
  100% {
    top: 100%;
  }
}

/* ==========================================================================
   KATEGORİLER — department rows
   ========================================================================== */
.departments {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.department {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

.department__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.department__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.department__icon svg {
  width: 22px;
  height: 22px;
}

.department__title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 0.6rem;
}

.department__desc {
  max-width: 40ch;
}

/* Shared accent-gradient "media" tone, reused by department icons,
   product-card image placeholders, and cart-drawer thumbnails — see
   README for why these are icon+gradient tiles rather than photographs. */
.media--silver {
  background: linear-gradient(135deg, #b7bcc7, #6b6e78);
}
.media--lamp {
  background: linear-gradient(135deg, #f0b768, #c9791c);
}
.media--graphite {
  background: linear-gradient(135deg, #9298a6, #454854);
}
.media--signal {
  background: linear-gradient(135deg, #8ba0ec, #3f5fd6);
}

.department__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.department__categories li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 24, 29, 0.12);
  color: var(--pearl);
  background: rgba(23, 24, 29, 0.03);
}

.dept--silver .department__title {
  color: var(--pearl);
}
.dept--lamp .department__title {
  color: var(--lamp-glow);
}
.dept--graphite .department__title {
  color: var(--pearl);
}
.dept--signal .department__title {
  color: var(--signal);
}
.dept--lamp .department__categories li {
  border-color: rgba(201, 121, 28, 0.35);
}
.dept--signal .department__categories li {
  border-color: rgba(63, 95, 214, 0.35);
}

/* ==========================================================================
   ÖNE ÇIKANLAR — featured product cards
   ========================================================================== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.product-card {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}

.product-card__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.95);
}

.product-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.4), transparent 60%);
}

.product-card__media svg {
  width: 30%;
  height: 30%;
  position: relative;
  z-index: 1;
}

.product-card:hover {
  transform: translate(var(--magnet-x, 0px), var(--magnet-y, 0px)) translateY(-6px);
  border-color: rgba(63, 95, 214, 0.35);
}

.product-card__category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
}

.product-card__name {
  font-size: 1.25rem;
}

.product-card__desc {
  font-size: 0.9rem;
}

.product-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
}

.product-card__price {
  font-family: var(--font-mono);
  color: var(--pearl);
}

/* ==========================================================================
   Generic side-panel section layout (Züccaciye / Lambalar / Bisiklet / Dekor)
   ========================================================================== */
.showcase {
  display: flex;
}

.showcase__panel {
  width: min(480px, 100%);
  padding: clamp(2rem, 4vw, 3rem);
}

.showcase--right {
  justify-content: flex-end;
}

.showcase__list {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.showcase__list li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--pearl);
}

.showcase__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

/* ==========================================================================
   PREMIUM KOLEKSİYON
   ========================================================================== */
.premium {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.premium__panel {
  max-width: 620px;
  padding: clamp(2.5rem, 6vw, 4rem);
}

.premium__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.premium__panel .btn {
  margin-top: 1.8rem;
}

/* ==========================================================================
   NEDEN LEXERA
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}

.why-card {
  padding: 1.8rem;
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--pearl);
}

.why-card p {
  font-size: 0.92rem;
}

/* ==========================================================================
   İSTATİSTİKLER
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat {
  padding: 2rem 1rem;
}

.stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--pearl);
}

.stat__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--silver);
}

/* ==========================================================================
   MÜŞTERİ YORUMLARI
   ========================================================================== */
.testimonials {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.testimonials__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.testimonials-track {
  display: flex;
  transition: transform var(--dur-slow) var(--ease-out);
}

.testimonial {
  min-width: 100%;
  margin: 0;
  padding: clamp(2.4rem, 5vw, 4rem);
}

.testimonial blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  color: var(--pearl);
  font-weight: 500;
}

.testimonial figcaption {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial__name {
  font-weight: 600;
  color: var(--pearl);
}

.testimonial__role {
  font-size: 0.8rem;
  color: var(--signal);
  font-family: var(--font-mono);
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.testimonials__controls button.arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
}

#testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

#testimonial-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(23, 24, 29, 0.2);
  padding: 0;
}

#testimonial-dots .dot.is-active {
  background: var(--signal);
}

/* ==========================================================================
   SSS — accordion
   ========================================================================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  padding: 1.4rem 1.7rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--pearl);
}

.faq-item__icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--signal);
  transition: transform var(--dur-fast) var(--ease-out);
}
.faq-item__icon::before {
  left: 0;
  top: 6px;
  width: 14px;
  height: 1.5px;
}
.faq-item__icon::after {
  left: 6px;
  top: 0;
  width: 1.5px;
  height: 14px;
}
.faq-item.is-open .faq-item__icon::after {
  transform: rotate(90deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-med) var(--ease-out);
}

.faq-item.is-open .faq-item__answer {
  max-height: 320px;
}

.faq-item__answer p {
  padding: 0 1.7rem 1.5rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   İLETİŞİM
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact__info {
  padding: clamp(2rem, 4vw, 3rem);
}

.contact__info-row {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact__info-row span:first-child {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--signal);
}

.contact-form {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.78rem;
  color: var(--silver);
}

.form-field input,
.form-field textarea {
  background: rgba(23, 24, 29, 0.03);
  border: 1px solid rgba(23, 24, 29, 0.14);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--pearl);
  transition: border-color var(--dur-fast) var(--ease-out);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--signal);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#site-footer {
  position: relative;
  z-index: 2;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
  background: var(--graphite-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.4rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 32ch;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  color: var(--pearl);
  margin-bottom: 1rem;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 0.88rem;
  color: var(--silver);
  margin-bottom: 0.65rem;
}

.footer-col a:hover {
  color: var(--signal);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(23, 24, 29, 0.14);
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font-size: 0.85rem;
  color: var(--pearl);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(23, 24, 29, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--silver);
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-row {
  display: flex;
  gap: 0.8rem;
}

.social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(23, 24, 29, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Toast ---------- */
#toast {
  position: fixed;
  left: 50%;
  bottom: 2.2rem;
  transform: translate(-50%, 140%);
  background: var(--pearl);
  color: var(--ink);
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 700;
  transition: transform var(--dur-med) var(--ease-out);
}

#toast.is-visible {
  transform: translate(-50%, 0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .department {
    grid-template-columns: 1fr;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .showcase__panel {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .testimonials__controls {
    gap: 0.9rem;
  }
}

/* ---------- Reduced motion & no-WebGL fallback ---------- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    transition-duration: 0.01ms !important;
  }
  .hero__scroll-cue-line::after {
    animation: none;
  }
}

body.no-webgl [data-reveal] {
  opacity: 1;
  transform: none;
}
