/* ============================================================
   Largo · Klasik Piyano ve Teori Okulu
   Editorial-magazine design system
   ============================================================ */

:root {
  --bg: #F5F1E8;
  --surface: #ECE5D6;
  --surface-2: #E3DAC6;
  --ink: #1A1410;
  --ink-soft: #4A4036;
  --ink-mute: #6E6356;
  --accent: #7A2B2B;
  --accent-2: #B89150;
  --line: rgba(26, 20, 16, 0.14);
  --line-strong: rgba(26, 20, 16, 0.32);
  --header-h: 76px;
  --maxw: 1080px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Lora", Georgia, serif;
  --mono: "JetBrains Mono", "Courier New", monospace;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 0.5em;
}

p { margin: 0 0 1.15em; }
a { color: var(--accent); text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
}

.eyebrow {
  font-family: var(--body);
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.74rem;
  color: var(--accent);
  margin: 0 0 1.2em;
  display: inline-block;
}

.lede { font-size: 1.18rem; color: var(--ink-soft); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------------- Staff-line divider ---------------- */
.staff-divider {
  display: block;
  width: 100%;
  height: 34px;
  margin: clamp(40px, 7vw, 88px) 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 7px,
    var(--line) 7px,
    var(--line) 8px
  );
  position: relative;
}
.staff-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px; height: 12px;
  transform: translate(-50%, -50%) rotate(-18deg) scale(1);
  background: var(--accent-2);
  border-radius: 50% 50% 50% 0;
  /* Resting state is the fully-visible diamond; the breath only scales it,
     so a frozen capture at any phase still shows the note. */
  animation: noteBreath 4.6s ease-in-out infinite;
}
@keyframes noteBreath {
  0%, 100% { transform: translate(-50%, -50%) rotate(-18deg) scale(1); }
  50%      { transform: translate(-50%, -50%) rotate(-18deg) scale(1.22); }
}
@media (prefers-reduced-motion: reduce) {
  .staff-divider::after { animation: none; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: saturate(140%) blur(2px);
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, height 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.site-header.is-scrolled {
  background: rgba(245, 241, 232, 0.98);
  height: 64px;
  box-shadow: 0 8px 24px -16px rgba(0,0,0,.28);
  border-bottom-color: var(--line);
}
.header-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.42rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.brand small {
  font-family: var(--body);
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.56rem;
  color: var(--accent-2);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
.nav-desktop a {
  position: relative;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 200ms ease;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 240ms cubic-bezier(.2,.7,.2,1);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { width: 100%; }
.nav-desktop a.is-active { color: var(--accent); }

.nav-cta {
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 600;
  background: var(--ink);
  color: var(--surface);
  padding: 9px 18px;
  border-radius: 2px;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}
.nav-desktop .nav-cta::after { display: none; }
.nav-desktop .nav-cta:hover {
  background: var(--accent);
  color: var(--surface);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 1100;
  width: 46px; height: 46px;
  background: rgba(26, 20, 16, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: background 200ms ease, border-color 200ms ease;
}
.nav-toggle:hover { background: rgba(122, 43, 43, 0.08); border-color: var(--accent); }
.nav-toggle:active { background: rgba(122, 43, 43, 0.12); }
.nav-toggle[aria-expanded="true"] { background: rgba(122, 43, 43, 0.10); border-color: var(--accent); }
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 24px; height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21.5px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* drawer */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  padding: calc(var(--header-h) + 24px) 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: color 200ms ease, padding-left 200ms ease;
}
.drawer a:hover { color: var(--accent); padding-left: 6px; }
.drawer .drawer-cta {
  margin-top: 22px;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  background: var(--ink);
  color: var(--surface);
  border-radius: 2px;
  border-bottom: 0;
  padding: 14px;
}
.drawer .drawer-cta:hover { background: var(--accent); color: var(--surface); padding-left: 0; }
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  z-index: 1040;
  transition: opacity 240ms ease, visibility 240ms ease;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
}

/* ============================================================
   MAIN / SECTIONS
   ============================================================ */
main { padding-top: var(--header-h); }

section { padding: clamp(48px, 8vw, 96px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 5vw, 52px); }
.section-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent-2);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }

/* ---------------- HERO (type-only-massive) ---------------- */
.hero {
  position: relative;
  padding: clamp(56px, 11vw, 132px) 0 clamp(40px, 7vw, 80px);
  overflow: hidden;
}
.hero-staff {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}
.hero-staff line { stroke: var(--line-strong); stroke-width: 1; }
.hero-note {
  fill: var(--accent);
  opacity: 0.9;
  transform-box: fill-box;
  transform-origin: center;
  animation: noteAppear 620ms cubic-bezier(.2,.7,.2,1) both;
  animation-delay: calc(900ms + var(--n) * 240ms);
}
@keyframes noteAppear {
  0% { opacity: 0; transform: translateY(8px) scale(.4); }
  60% { opacity: 1; }
  100% { opacity: 0.9; transform: translateY(0) scale(1); }
}
.hero-inner { position: relative; z-index: 1; max-width: 940px; }
.hero h1 {
  font-size: clamp(2.9rem, 9.2vw, 4.5rem);
  line-height: 0.98;
  margin: 0.1em 0 0;
  letter-spacing: -0.014em;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line span {
  display: block;
  animation: maskUp 900ms cubic-bezier(.2,.7,.2,1) both;
}
.hero h1 .line:nth-child(1) span { animation-delay: 120ms; }
.hero h1 .line:nth-child(2) span { animation-delay: 280ms; color: var(--accent); }
/* Resting state is visible; the masked reveal lives in the keyframe so the
   headline stays readable even when animations are disabled/frozen. */
@keyframes maskUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
html.no-js .hero h1 .line span,
.no-anim .hero h1 .line span { transform: none; animation: none; }

.hero-rule {
  width: min(260px, 60%);
  height: 2px;
  background: var(--accent-2);
  margin: clamp(26px, 4vw, 44px) 0 28px;
  animation: ruleGrow 1000ms cubic-bezier(.2,.7,.2,1) 520ms both;
}
@keyframes ruleGrow { from { width: 0; } to { width: min(260px, 60%); } }
html.no-js .hero-rule { animation: none; }

.hero-sub {
  max-width: 580px;
  font-size: clamp(1.05rem, 2.2vw, 1.32rem);
  color: var(--ink-soft);
  font-style: italic;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  align-items: center;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--ink-mute);
  letter-spacing: 0.2px;
}
.trust-strip svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

/* ---------------- Buttons ---------------- */
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease, border-color 220ms ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: var(--surface); }
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent); color: var(--surface); transform: translateY(-2px);
}
.btn-primary::after {
  content: "→";
  transition: transform 220ms ease;
}
.btn-primary:hover::after { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--surface); color: var(--ink); border-color: var(--ink); transform: translateY(-2px);
}

/* ---------------- Manifesto / drop-cap ---------------- */
.manifesto { background: var(--surface); }
.manifesto-body { max-width: 680px; }
.manifesto-body p:first-of-type::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 4.4em;
  line-height: 0.7;
  float: left;
  margin: 0.06em 0.12em 0 0;
  color: var(--accent);
}
.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.22;
  color: var(--ink);
  margin: clamp(32px, 5vw, 52px) 0;
  padding-left: clamp(18px, 3vw, 30px);
  border-left: 3px solid var(--accent-2);
  max-width: 760px;
}
.pullquote cite {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 16px;
}

/* ---------------- Method (vertical timeline) ---------------- */
.timeline { max-width: 820px; }
.t-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(24px, 4vw, 38px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.t-step:last-child { border-bottom: 1px solid var(--line); }
.t-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--accent-2);
  line-height: 1;
  min-width: 0;
}
.t-body { min-width: 0; }
.t-body h3 { margin-bottom: 0.3em; }
.t-meta {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.5px;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 12px;
}
.t-icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 8px; }

/* ---------------- Repertuvar list ---------------- */
.rep-list { max-width: 820px; margin-top: 8px; }
.rep-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.rep-row:first-child { border-top: 1px solid var(--line); }
.rep-composer {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.18rem;
}
.rep-piece { color: var(--ink-soft); font-size: 0.98rem; min-width: 0; }
.rep-level {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent-2);
  white-space: nowrap;
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 2px;
}

/* ---------------- Hocalar (bios) ---------------- */
.hoca-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(22px, 3vw, 36px);
}
.hoca {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
  transition: border-top-color 260ms ease, transform 260ms cubic-bezier(.2,.7,.2,1);
}
.hoca:hover { border-top-color: var(--accent); transform: translateY(-3px); }
.hoca .role {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.hoca h3 { font-size: 1.35rem; margin-bottom: 0.4em; }
.hoca p { font-size: 0.96rem; color: var(--ink-soft); margin-bottom: 0; }

/* ---------------- Pricing ---------------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(18px, 2.6vw, 28px);
}
.price-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), box-shadow 260ms ease, border-color 260ms ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -28px rgba(122, 43, 43, 0.45);
  border-color: var(--accent-2);
}
.price-card.featured { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.price-card.featured h3, .price-card.featured .price-amt { color: var(--surface); }
.price-card.featured .price-incl li { color: rgba(236,229,214,0.86); }
.price-card .tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
  display: block;
}
.price-card h3 { font-size: 1.4rem; margin-bottom: 0.2em; }
.price-amt {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 2.2rem;
  margin: 12px 0 4px;
}
.price-amt small {
  font-family: var(--body);
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--ink-mute);
}
.price-card.featured .price-amt small { color: rgba(236,229,214,0.7); }
.price-note { font-size: 0.78rem; color: var(--ink-mute); margin: 0 0 18px; }
.price-card.featured .price-note { color: rgba(236,229,214,0.6); }
.price-incl, .price-excl { list-style: none; padding: 0; margin: 0 0 8px; }
.price-incl li, .price-excl li {
  font-size: 0.92rem;
  padding: 7px 0 7px 24px;
  position: relative;
  color: var(--ink-soft);
}
.price-incl li::before {
  content: "♪";
  position: absolute; left: 0; top: 6px;
  color: var(--accent-2);
}
.price-excl li { color: var(--ink-mute); }
.price-excl li::before {
  content: "–";
  position: absolute; left: 4px; top: 6px;
  color: var(--ink-mute);
}
.price-card .btn-primary, .price-card .btn-ghost { margin-top: auto; justify-content: center; }

/* ---------------- Calendar / kayit ---------------- */
.kayit { background: var(--ink); color: var(--surface); }
.kayit h2, .kayit h3 { color: var(--surface); }
.kayit .eyebrow { color: var(--accent-2); }
.kayit-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}
.cal-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(236,229,214,0.18);
}
.cal-row:first-child { border-top: 1px solid rgba(236,229,214,0.18); }
.cal-date {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent-2);
  white-space: nowrap;
}
.cal-name { font-family: var(--serif); font-style: italic; font-size: 1.1rem; min-width: 0; }
.cal-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(236,229,214,0.7);
  white-space: nowrap;
}
.kayit-card {
  background: rgba(236,229,214,0.06);
  border: 1px solid rgba(236,229,214,0.18);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 32px);
}
.kayit-card p { color: rgba(236,229,214,0.84); }
.kayit-card .btn-primary { background: var(--accent-2); color: var(--ink); width: 100%; justify-content: center; }
.kayit-card .btn-primary:hover { background: var(--surface); color: var(--ink); }

/* ---------------- Counters / stats ---------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(18px, 3vw, 40px);
  margin-top: 12px;
}
.stat { border-left: 2px solid var(--accent-2); padding-left: 18px; }
.stat .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1;
  color: var(--accent);
}
.stat .lbl {
  font-size: 0.84rem;
  color: var(--ink-mute);
  margin-top: 8px;
  display: block;
}

/* ---------------- Testimonials ---------------- */
.tst-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.tst {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 30px);
}
.tst p { font-style: italic; font-size: 1.02rem; color: var(--ink); }
.tst .who {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.4px;
  color: var(--accent);
  margin-top: 14px;
  display: block;
}
.tst .meta-line { font-size: 0.8rem; color: var(--ink-mute); margin-top: 2px; display: block; }

/* ---------------- FAQ (pure CSS) ---------------- */
.faq { max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px clamp(8px, 2vw, 16px) 22px 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.08rem, 2.2vw, 1.3rem);
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--body);
  font-style: normal;
  color: var(--accent);
  font-size: 1.5rem;
  transition: transform 300ms cubic-bezier(.4,0,.2,1);
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > .answer {
  height: 0;
  padding: 0 0;
  overflow: hidden;
  transition: height 360ms cubic-bezier(.4,0,.2,1),
              padding-block-end 360ms cubic-bezier(.4,0,.2,1);
}
.faq-item[open] > .answer {
  height: auto;
  padding-block-end: 24px;
}
.faq-item .answer p { margin: 0; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) {
  .faq-item > .answer { transition: none; }
}

/* ============================================================
   FORMS
   ============================================================ */
.form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(24px, 4vw, 40px);
}
form .grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 12px 14px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(122, 43, 43, 0.12);
}
.field.kvkk {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.field.kvkk span { margin: 0; font-weight: 400; }
.field input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 18px; height: 18px;
  min-width: 18px; min-height: 18px;
  padding: 0; border: 0; margin: 3px 0 0;
  accent-color: var(--accent);
}
form button[type="submit"] {
  width: 100%;
  border: 0;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  background: var(--ink);
  color: var(--surface);
  padding: 15px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}
form button[type="submit"]:hover {
  background: var(--accent); color: var(--surface); transform: translateY(-2px);
}
@media (min-width: 700px) {
  form button[type="submit"] { width: auto; padding-left: 40px; padding-right: 40px; }
}

/* ============================================================
   CONTACT page
   ============================================================ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}
.c-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  background: var(--bg);
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), box-shadow 240ms ease, border-color 240ms ease;
}
.c-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -26px rgba(0,0,0,0.4);
  border-color: var(--accent-2);
}
.c-ico {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface);
  color: var(--accent);
  margin-bottom: 16px;
}
.c-ico svg { width: 22px; height: 22px; }
.c-card .lbl {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 6px;
}
.c-card .val {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--ink);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.c-card .val a { color: var(--ink); }
.c-card .val a:hover { color: var(--accent); }
.c-card .sub { font-size: 0.82rem; color: var(--ink-mute); margin-top: 6px; }

.hours-grid {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.hours-grid .hrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.hours-grid .hrow:last-child { border-bottom: 0; }
.hours-grid .hrow.today { background: var(--surface); }
.hours-grid .hrow .d { font-weight: 600; }
.hours-grid .hrow .h { color: var(--ink-soft); font-family: var(--mono); font-size: 0.86rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 7vw, 80px) 0 32px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 4vw, 52px);
}
.footer-grid h4 {
  font-family: var(--body);
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.74rem;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.footer-brand {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--ink-soft); }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: var(--ink-soft); margin-bottom: 8px; }
.footer-bottom {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--ink-mute);
}
.footer-bottom a { color: var(--ink-mute); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--surface);
  border-radius: 10px;
  padding: 22px 22px 18px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.6);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 240ms ease;
  z-index: 9999;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner h2 {
  color: var(--surface);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.cookie-banner p { font-size: 0.88rem; color: rgba(236,229,214,0.82); margin-bottom: 16px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button {
  flex: 1 1 auto;
  min-height: 44px;
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid rgba(236,229,214,0.4);
  background: transparent;
  color: var(--surface);
  padding: 10px 16px;
  transition: background 200ms ease, color 200ms ease;
}
.cookie-actions button[data-consent="accept"] {
  background: var(--accent-2); color: var(--ink); border-color: var(--accent-2);
}
/* "Reddet" carries the same visual weight as "Kabul et" — consent must be a genuine choice. */
.cookie-actions button[data-consent="reject"] {
  flex: 1 1 auto;
  background: var(--surface); color: var(--ink); border-color: var(--surface);
}
.cookie-actions button[data-consent="settings"] { flex: 0 1 auto; }
.cookie-actions button:hover { background: rgba(236,229,214,0.16); color: var(--surface); }
.cookie-actions button[data-consent="accept"]:hover { background: var(--surface); color: var(--ink); }
.cookie-actions button[data-consent="reject"]:hover { background: var(--bg); color: var(--ink); }
@media (min-width: 720px) {
  .cookie-banner { left: 24px; right: auto; max-width: 420px; }
}

/* ============================================================
   TABLE SCROLL
   ============================================================ */
.table-scroll {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.table-scroll > table { margin: 0 !important; min-width: 480px; width: 100%; border-collapse: collapse; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }
table th, table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
table th { font-family: var(--body); font-weight: 600; background: var(--surface); }

/* ============================================================
   DOC pages (privacy/terms/etc)
   ============================================================ */
.doc { max-width: 760px; }
.doc h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.8em; }
.doc h3 { font-size: 1.2rem; margin-top: 1.4em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 8px; }
.page-hero {
  padding: clamp(40px, 7vw, 80px) 0 clamp(24px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); }

/* thank-you */
.thanks {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.thanks .inner { max-width: 560px; }
.thanks h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
.thanks .note { font-family: var(--serif); font-style: italic; font-size: 3rem; color: var(--accent-2); margin-bottom: 0.2em; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 600ms cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero h1 .line span, .hero-rule, .hero-note { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .kayit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  form .grid2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .rep-row { grid-template-columns: 1fr; }
  .rep-level { justify-self: start; }
  .cal-row { grid-template-columns: 1fr; gap: 4px; }
  .c-ico { width: 42px; height: 42px; }
  .price-card, .c-card, .tst { padding: 20px; }
  .footer-bottom { flex-direction: column; }
}

.scroll-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--accent);z-index:9998;transition:width 80ms linear;pointer-events:none}

/* form-reveal-opacity-fix */
main form.reveal, .form-section form.reveal, .contact-form.reveal, form[id*='iletisim'].reveal, form[class*='contact'].reveal { opacity: 1 !important; transform: none !important; translate: none !important; }
main form, .form-section form, .contact-form, form[id*='iletisim'], form[class*='contact'] { opacity: 1 !important; }

/* consent-checkbox-inline-fix */
main form label.checkbox, main form .form-checkbox, main form .consent, main form .kvkk, .contact-form label.checkbox, .contact-form .checkbox-group { display: flex !important; flex-direction: row !important; align-items: flex-start !important; gap: 10px !important; font-size: 14px !important; line-height: 1.5 !important; flex-wrap: nowrap !important; }
main form label.checkbox span, main form label.checkbox a, main form .form-checkbox span, main form .form-checkbox a, .contact-form label.checkbox span, .contact-form label.checkbox a { display: inline !important; flex: 1 1 auto; }
main form label.checkbox input[type='checkbox'], main form .form-checkbox input[type='checkbox'] { flex-shrink: 0 !important; width: 18px !important; height: 18px !important; margin-top: 3px !important; }


/* contacts-grid-v2 */
/* Contact cards in responsive grid */
.contact-grid, .contacts-grid, .iletisim-grid, .contact-cards, .contact-cards-grid,
.contact-list, main .contact-wrap, section[id*="iletisim"] > .container > div:has(> .contact-card) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 20px !important;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 16px;
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .contact-grid, .contacts-grid, .iletisim-grid, .contact-cards, .contact-cards-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 720px) {
  .contact-grid, .contacts-grid, .iletisim-grid, .contact-cards, .contact-cards-grid {
    grid-template-columns: 1fr !important;
  }
}
.contact-card { min-height: 0; box-sizing: border-box; }

/* Checkbox row alignment — override .field-checkbox column layout */
form .field.field-checkbox,
form .field-checkbox,
form .checkbox-field,
form .form-field--checkbox,
form .form-row--checkbox,
form .kvkk-field,
form .consent-field,
.contact-form .field.field-checkbox {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 10px !important;
  width: 100%;
}
form .field.field-checkbox > input[type="checkbox"],
form .field-checkbox > input[type="checkbox"],
form .checkbox-field > input[type="checkbox"],
form .kvkk-field > input[type="checkbox"],
form .consent-field > input[type="checkbox"] {
  flex-shrink: 0 !important;
  width: 18px !important;
  height: 18px !important;
  margin: 3px 0 0 0 !important;
  accent-color: var(--accent, currentColor);
}
form .field.field-checkbox > label,
form .field-checkbox > label,
form .checkbox-field > label,
form .kvkk-field > label,
form .consent-field > label {
  flex: 1 1 auto !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  display: inline !important;
  cursor: pointer;
}
form .field.field-checkbox > label a,
form .field-checkbox > label a {
  text-decoration: underline;
}

/* field-full inside form grid spans both columns */
form .form-grid > .field-full,
form .form-grid > .field.field-full,
form .form-grid > .col-full,
form .form-grid > .full,
form .form-grid > [class*="--full"] {
  grid-column: 1 / -1;
}

/* header-cta-padding-guard v1 */
.nav-desktop a.nav-cta, header a.nav-cta, .site-header a.nav-cta {
  padding: 10px 18px;
}
