/* Abdullah Exclusive — "parşömen üzerinde sıcak bir eczacı defteri"
   Tek vurgu rengi terracotta; yüzeyler parşömen → eski kâğıt → taupe çizgi sırasıyla yükselir. */

:root {
  --parchment: #fef9ef;
  --aged: #f5eee1;
  --taupe: #d1c9bf;
  --ink: #2a2b2f;
  --charcoal: #333333;
  --graphite: #515151;
  --ash: #808988;
  --terracotta: #b05a36;
  --terracotta-ink: #9c4c2c; /* küçük metinde eski kâğıt üzerinde AA kontrast için */
  --terracotta-wash: rgb(176 90 54 / 0.08);
  --seal-gradient: linear-gradient(116deg, #b05a36, #d4a68e);

  --font-display: 'Newsreader', 'Tiempos Headline', Georgia, 'Times New Roman', serif;
  --font-sans: 'Hanken Grotesk', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fragment Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --track: -0.023em;

  --radius-nav: 12px;
  --radius-card: 24px;
  --radius-btn: 40px;
  --radius-pill: 9999px;
  --shadow-lg: rgb(0 0 0 / 0.15) 0 0 20px 0;
  --shadow-xl: rgb(42 43 47 / 0.1) 12px 32px 80px 0;

  --max: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  --header-h: 68px;
}

/* ---------- Temel ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--parchment);
  color: var(--charcoal);
  font: 400 16px/1.5 var(--font-sans);
  letter-spacing: var(--track);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  background: var(--ink);
  color: var(--parchment);
  font-weight: 600;
}

.skip:focus {
  top: 16px;
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap.narrow {
  max-width: calc(880px + 2 * var(--gutter));
}

.section {
  padding-block: var(--section);
}

.band {
  background: var(--aged);
}

/* ---------- Tipografi ---------- */

.display,
.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: normal;
  color: var(--ink);
  text-wrap: balance;
}

.display em,
.h-display em,
.footer-slogan em,
.brand em {
  font-style: italic;
  font-weight: 300;
}

.display {
  display: block;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.95;
}

.h-display {
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.04;
}

.eyebrow {
  display: block;
  font: 600 12px/1.4 var(--font-sans);
  letter-spacing: -0.28px;
  text-transform: uppercase;
  color: var(--terracotta-ink);
}

.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  font-weight: 300;
  color: var(--charcoal);
  max-width: 36em;
}

.lead strong {
  font-weight: 600;
}

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-btn);
  background: none;
  font: 600 16px/1.2 var(--font-sans);
  letter-spacing: var(--track);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s,
    opacity 0.2s;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--parchment);
}

.btn-primary:hover {
  background: var(--terracotta-ink);
}

.btn-outline {
  border-color: var(--terracotta);
  color: var(--terracotta-ink);
}

.btn-outline:hover {
  background: var(--terracotta-wash);
}

.btn-ghost {
  padding-inline: 14px;
  color: var(--ink);
  font-weight: 500;
}

.btn-ghost:hover {
  background: var(--aged);
}

.band .btn-ghost:hover {
  background: var(--parchment);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn[aria-disabled='true'] {
  opacity: 0.5;
  cursor: not-allowed;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Duyuru + üst menü ---------- */

.announce {
  background: var(--terracotta);
  color: var(--parchment);
  font-size: 14px;
  text-align: center;
  padding: 8px 16px;
}

.announce a {
  font-weight: 600;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(254 249 239 / 0.94);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--taupe);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: normal;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

/* Siyah-beyaz logo: multiply ile beyaz zemin parşömene karışır */
.brand-logo,
.footer-logo {
  mix-blend-mode: multiply;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.footer-logo {
  flex: none;
  height: clamp(80px, 10vw, 120px);
  width: auto;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--seal-gradient);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(var(--terracotta), var(--terracotta)) no-repeat 0 100% / 0 1.5px;
  transition: background-size 0.25s;
}

.nav-links a:hover {
  background-size: 100% 1.5px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle:hover {
  background: var(--aged);
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    inset: 100% 0 auto; /* .nav aynı zamanda .wrap: dolgu kutusu zaten tam genişlik */
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--parchment);
    border-bottom: 1px solid var(--taupe);
    box-shadow: var(--shadow-xl);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--taupe);
    background: none;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 420px) {
  .nav {
    gap: 12px;
  }

  .brand {
    font-size: 18px;
    gap: 8px;
  }

  .brand-logo {
    height: 34px;
  }

  .nav-actions .btn-sm {
    padding-inline: 14px;
  }
}

/* En dar ekranda rozet yeterli: yazı görsel olarak gizlenir, bağlantının erişilebilir adı kalır */
@media (max-width: 380px) {
  .brand-logo + .brand-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* ---------- Hero: tam ekran deniz ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: calc(100svh - var(--header-h) - 37px);
  padding-block: clamp(48px, 8vw, 96px);
  overflow: hidden;
  background: #3a2418;
  color: var(--parchment);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

/* Sıcak, koyu katman: alttan yukarı açılır, yazı her zaman okunur */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgb(30 18 12 / 0.85) 0%, rgb(30 18 12 / 0.42) 45%, rgb(30 18 12 / 0.05) 72%, rgb(30 18 12 / 0.2) 100%),
    linear-gradient(to right, rgb(30 18 12 / 0.35), transparent 60%);
}

.hero-copy {
  width: 100%;
}

.hero h1,
.page-hero h1,
.notfound h1 {
  display: grid;
  gap: 20px;
}

.hero .eyebrow {
  color: #f3c9a8;
}

.hero .display {
  max-width: 11em;
  color: var(--parchment);
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.25);
}

.hero .lead {
  margin-top: 24px;
  color: rgb(254 249 239 / 0.88);
  font-weight: 400;
}

.hero .actions {
  margin-top: 32px;
}

.hero .btn-outline {
  border-color: var(--parchment);
  color: var(--parchment);
}

.hero .btn-outline:hover {
  background: rgb(254 249 239 / 0.12);
}

.open-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--graphite);
}

.open-status .dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ash);
}

.open-status.is-open .dot {
  background: var(--terracotta);
  box-shadow: 0 0 0 4px rgb(176 90 54 / 0.16);
}

.open-status.is-open {
  color: var(--ink);
}

.hero .open-status,
.hero .open-status.is-open {
  color: rgb(254 249 239 / 0.9);
}

.hero .open-status.is-open .dot {
  background: #f3c9a8;
  box-shadow: 0 0 0 4px rgb(243 201 168 / 0.25);
}

/* Tek yükleme anı: başlık satırları yükselir, deniz yavaşça yerine oturur. */
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow,
  .hero .display,
  .hero .lead,
  .hero .actions {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero .display {
    animation-delay: 0.08s;
  }

  .hero .lead {
    animation-delay: 0.2s;
  }

  .hero .actions {
    animation-delay: 0.3s;
  }

  .hero-bg img {
    animation: settle 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes settle {
  from {
    transform: scale(1.08);
  }
}

/* ---------- Bölüm başlıkları ---------- */

.section-head {
  display: grid;
  gap: 20px;
  max-width: 820px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head--split {
  grid-template-columns: 1fr 1fr;
  max-width: none;
  align-items: end;
  gap: 48px;
}

@media (max-width: 860px) {
  .section-head--split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------- Özet (GEO) ---------- */

.summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.summary-text {
  max-width: 62ch;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--charcoal);
}

.summary-date {
  margin-top: 16px;
  font-size: 13px;
  color: var(--graphite);
}

@media (max-width: 860px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Karşılaştırma tablosu ---------- */

.compare-wrap {
  margin-top: 24px;
  padding: clamp(20px, 3.5vw, 40px);
  border-radius: var(--radius-card);
  background: var(--parchment);
  overflow-x: auto;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.compare caption {
  padding-bottom: 12px;
  text-align: left;
  font: 600 12px/1.4 var(--font-sans);
  letter-spacing: -0.28px;
  text-transform: uppercase;
  color: var(--terracotta-ink);
}

.compare th,
.compare td {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--taupe);
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--ink);
}

.compare tbody th {
  width: 22%;
  font-weight: 600;
  color: var(--ink);
}

.compare tr:last-child > * {
  border-bottom: 0;
}

/* ---------- Deniz ---------- */

.sea-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}

.sea-points li {
  padding-top: 24px;
  border-top: 1px solid var(--taupe);
}

.sea-points .icon {
  color: var(--terracotta);
}

.sea-points h3 {
  margin: 20px 0 8px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
}

.sea-points p {
  max-width: 34em;
}

@media (max-width: 1080px) {
  .sea-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sea-points {
    grid-template-columns: 1fr;
  }
}

/* Aynı zeminde art arda gelen iki bölüm arasına ince çizgi */
.section:not(.band) + .section:not(.band) {
  padding-top: 0;
}

.section:not(.band) + .section:not(.band) > .wrap::before {
  content: '';
  display: block;
  margin-bottom: var(--section);
  border-top: 1px solid var(--taupe);
}

/* ---------- Yorumlar ---------- */

.quote blockquote {
  margin: 0;
}

.quote blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: normal;
  color: var(--ink);
  text-wrap: pretty;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 14px;
}

.quote figcaption > span:last-child {
  display: grid;
}

.quote-note {
  color: var(--graphite);
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--aged);
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: normal;
  color: var(--terracotta-ink);
}

.quote--featured {
  max-width: 920px;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.quote--featured blockquote p {
  font-size: clamp(30px, 3.6vw, 45px);
  line-height: 1.12;
}

.quote--featured .avatar {
  width: 52px;
  height: 52px;
  font-size: 24px;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 48px);
  margin-bottom: 48px;
}

.quotes .quote {
  padding-top: 24px;
  border-top: 1px solid var(--taupe);
}

@media (max-width: 960px) {
  .quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .quotes {
    grid-template-columns: 1fr;
  }
}

/* ---------- Berberler ---------- */

.barbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.barber {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-card);
  background: var(--parchment);
}

.barber-head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.barber-name {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 45px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--ink);
}

.barber-role {
  font-size: 14px;
  color: var(--graphite);
}

.barber-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding-block: 16px;
  border-block: 1px solid var(--taupe);
}

.price-num {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: normal;
  color: var(--ink);
}

.price-cap {
  font-size: 14px;
  color: var(--graphite);
}

.checks {
  display: grid;
  gap: 8px;
}

.checks li {
  display: flex;
  gap: 10px;
}

.checks .icon {
  flex: none;
  margin-top: 3px;
  color: var(--terracotta);
}

.for-whom {
  font-size: 15px;
  color: var(--graphite);
}

.barber .actions {
  margin-top: auto;
  padding-top: 8px;
}

@media (max-width: 860px) {
  .barbers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .barber-head {
    gap: 14px;
  }

  .barber-head > div {
    min-width: 0;
  }

  .barber-head .seal {
    width: 64px;
    height: 64px;
  }

  .barber-name {
    font-size: 38px;
  }
}

/* Mühür (logodaki yuvarlak rozetin yankısı) */
.seal {
  flex: none;
  color: var(--terracotta);
  overflow: visible;
}

.seal-ring {
  font: 600 12.5px var(--font-sans);
  letter-spacing: 0.06em;
  fill: currentColor;
}

.seal-initial {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 92px;
  fill: var(--ink);
}

/* ---------- Fiyat listesi ---------- */

.menus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 96px);
}

.menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.menu-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  width: 100%;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--ink);
}

.menu-title h3 {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--ink);
}

.menu-title span {
  font-size: 14px;
  color: var(--graphite);
}

.menu-list {
  width: 100%;
  margin-bottom: 32px;
}

.menu-item {
  padding-block: 20px;
  border-bottom: 1px solid var(--taupe);
}

.menu-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.menu-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.menu-leader {
  flex: 1;
  min-width: 24px;
  border-bottom: 1.5px dotted var(--ash);
  transform: translateY(-5px);
}

.menu-price {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: normal;
  color: var(--ink);
  white-space: nowrap;
}

.menu-desc {
  margin-top: 6px;
  max-width: 46ch;
  font-size: 15px;
  color: var(--graphite);
}

.menu-dur {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  white-space: nowrap;
  color: var(--terracotta-ink);
  font-weight: 600;
}

.menu-dur .icon {
  color: var(--terracotta);
}

.extras {
  display: grid;
  gap: 12px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 28px 32px;
  border-radius: var(--radius-card);
  background: var(--aged);
}

.extras-title {
  font: 600 12px/1.4 var(--font-sans);
  letter-spacing: -0.28px;
  text-transform: uppercase;
  color: var(--terracotta-ink);
}

.tag-flow {
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.tag-flow li + li::before {
  content: '·';
  padding-inline: 16px;
  color: var(--terracotta);
}

.tag-price {
  font-weight: 400;
  color: var(--graphite);
}

.seal-logo {
  mix-blend-mode: multiply;
  object-fit: contain;
}

.extras-note {
  font-size: 15px;
  color: var(--graphite);
}

@media (max-width: 860px) {
  .menus {
    grid-template-columns: 1fr;
  }
}

/* ---------- Randevu modülü ---------- */

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px;
  align-items: start;
}

.booking-steps {
  padding: clamp(20px, 3.5vw, 40px);
  border-radius: var(--radius-card);
  background: var(--parchment);
}

.page-booking .booking-steps {
  background: var(--aged);
}

.step {
  min-width: 0;
  margin: 0;
  padding: 0 0 28px;
  border: 0;
}

.step + .step {
  padding-top: 28px;
  border-top: 1px solid var(--taupe);
}

.step:last-child {
  padding-bottom: 0;
}

/* float: legend fieldset çizgisinin üstüne binmesin, normal blok gibi davransın */
.step legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 16px;
}

.step legend + * {
  clear: both;
}

.legend-inner {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.step-no {
  font: 600 14px/1 var(--font-sans);
  font-variant-numeric: tabular-nums;
  color: var(--terracotta-ink);
}

.step-title {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: normal;
  color: var(--ink);
}

.step.is-missing .step-title {
  text-decoration: underline 1.5px var(--terracotta);
  text-underline-offset: 6px;
}

.hint {
  font-size: 15px;
  color: var(--graphite);
}

.opts {
  display: grid;
  gap: 8px;
}

.opts-barber {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.opts-date {
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
}

.opts-time {
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
}

.opts .hint {
  grid-column: 1 / -1;
}

.opt {
  position: relative;
  display: block;
  cursor: pointer;
}

.opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: inherit;
}

.opt-body {
  display: block;
  height: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--taupe);
  border-radius: 20px;
  background: var(--parchment);
  transition:
    border-color 0.15s,
    background-color 0.15s,
    color 0.15s;
}

.page-booking .opt-body {
  background: var(--parchment);
}

.opt:hover .opt-body {
  border-color: var(--ash);
}

.opt input:checked + .opt-body {
  border-color: var(--terracotta);
  background: var(--terracotta-wash);
}

.opt input:focus-visible + .opt-body {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.opt input:disabled + .opt-body {
  opacity: 0.45;
  cursor: not-allowed;
}

.opt:has(input:disabled) {
  cursor: not-allowed;
}

.opt:has(input:disabled):hover .opt-body {
  border-color: var(--taupe);
}

/* berber */
.opt-barber .opt-body {
  display: grid;
  gap: 2px;
  padding: 18px 20px;
}

.opt-name {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: normal;
  color: var(--ink);
}

.opt-meta {
  font-size: 14px;
  color: var(--graphite);
}

.opt-price {
  margin-top: 6px;
  font-weight: 600;
  color: var(--ink);
}

/* hizmet */
.opt-service .opt-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.opt-service .opt-main {
  display: grid;
}

.opt-service .opt-name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: var(--track);
}

.opt-service .opt-price {
  margin: 0;
  white-space: nowrap;
}

/* gün */
.opt-date .opt-body {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 10px 4px 12px;
  text-align: center;
}

.opt-dow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--graphite);
}

.opt-day {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: normal;
  color: var(--ink);
}

.opt-mon {
  font-size: 12px;
  color: var(--graphite);
}

.opt-date input:checked + .opt-body .opt-day {
  color: var(--terracotta-ink);
  text-decoration: underline 1.5px;
  text-underline-offset: 4px;
}

/* saat */
.opt-time .opt-body {
  padding: 10px 8px;
  border-radius: var(--radius-pill);
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.opt-time input:checked + .opt-body {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--parchment);
}

/* ek hizmet */
.opts-sub {
  grid-column: 1 / -1;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.opts-extra {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.opt-extra .opt-body {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  color: var(--ink);
}

.opt-extra input:checked + .opt-body::before {
  content: '✓ ';
  color: var(--terracotta-ink);
}

/* alanlar */
.field {
  display: grid;
  gap: 8px;
}

.field + .field {
  margin-top: 16px;
}

.field-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.optional {
  font-weight: 400;
  color: var(--graphite);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--ash);
  border-radius: var(--radius-pill);
  background: var(--parchment);
  font: 400 16px/1.4 var(--font-sans);
  letter-spacing: var(--track);
  color: var(--ink);
}

.field textarea {
  border-radius: 20px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgb(176 90 54 / 0.2);
}

.field ::placeholder {
  color: var(--graphite);
  opacity: 0.75;
}

/* önizleme */
.booking-preview {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.preview-card {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-card);
  background: var(--parchment);
  box-shadow: var(--shadow-xl);
}

.preview-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
}

.preview-head .icon {
  color: var(--terracotta);
}

.preview-msg {
  min-height: 240px;
  padding: 18px 20px;
  border-radius: 20px 20px 20px 6px;
  background: var(--aged);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.preview-msg .ph {
  color: var(--ash);
}

.preview-msg .flash {
  animation: flash 0.9s ease-out;
}

@keyframes flash {
  from {
    background: rgb(176 90 54 / 0.18);
  }
}

.preview-status {
  min-height: 1.5em;
  font-size: 14px;
  color: var(--graphite);
}

.preview-status.is-ready {
  color: var(--terracotta-ink);
  font-weight: 600;
}

.preview-alt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.fineprint {
  font-size: 13px;
  text-align: center;
  color: var(--graphite);
}

@media (max-width: 960px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .booking-preview {
    position: static;
  }

  .preview-msg {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .opts-barber {
    grid-template-columns: 1fr;
  }
}

/* ---------- Konum ---------- */

.location {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.nap {
  margin-top: 28px;
  font-style: normal;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
}

.location .actions {
  margin-top: 24px;
}

.hours {
  width: 100%;
  margin-top: 36px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.hours caption {
  padding-bottom: 8px;
  text-align: left;
  font: 600 12px/1.4 var(--font-sans);
  letter-spacing: -0.28px;
  text-transform: uppercase;
  color: var(--terracotta-ink);
}

.hours th,
.hours td {
  padding: 10px 0;
  border-bottom: 1px solid var(--taupe);
  font-weight: 400;
  text-align: left;
}

.hours td {
  text-align: right;
}

.hours tr.is-today th,
.hours tr.is-today td {
  font-weight: 600;
  color: var(--ink);
}

.hours tr.is-today th::after {
  content: 'Bugün';
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--terracotta-wash);
  font-size: 12px;
  color: var(--terracotta-ink);
}

.map {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--taupe);
  border-radius: var(--radius-card);
  background: var(--aged);
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: sepia(0.18) saturate(0.9);
}

@media (max-width: 960px) {
  .location {
    grid-template-columns: 1fr;
  }
}

/* ---------- SSS ---------- */

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: start;
}

.faq details {
  border-bottom: 1px solid var(--taupe);
}

.faq details:first-child {
  border-top: 1px solid var(--taupe);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
}

.faq summary::after {
  content: '+';
  flex: none;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: var(--terracotta);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 62ch;
  padding-bottom: 24px;
}

@media (max-width: 860px) {
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- Alt sayfalar ---------- */

.crumbs {
  padding-top: 24px;
  font-size: 14px;
  color: var(--graphite);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.crumbs li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--ash);
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.page-booking .booking {
  padding-top: clamp(32px, 5vw, 56px);
}

.page-hero {
  padding-block: clamp(32px, 5vw, 64px) var(--section);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: center;
}

.page-hero .lead {
  margin-top: 28px;
}

.page-hero .barber-price {
  margin-top: 28px;
  max-width: 36em;
}

.page-hero .actions {
  margin-top: 28px;
}

.page-seal {
  justify-self: center;
}

.page-seal .seal {
  width: min(320px, 64vw);
  height: auto;
}

@media (max-width: 860px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-seal {
    order: -1;
    justify-self: start;
  }

  .page-seal .seal {
    width: 120px;
  }
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.step-card {
  padding: 40px 32px;
  border-radius: var(--radius-card);
  background: var(--parchment);
}

.step-card .step-no {
  display: block;
  margin-bottom: 40px;
}

.step-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--ink);
}

.cta-band {
  display: grid;
  justify-items: start;
  gap: 24px;
}

.cross {
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--taupe);
  color: var(--graphite);
}

.cross a {
  font-weight: 600;
  color: var(--terracotta-ink);
}

.notfound {
  min-height: 50vh;
}

.notfound .lead,
.notfound .actions {
  margin-top: 28px;
}

/* ---------- Alt bilgi ---------- */

.site-footer {
  padding-block: clamp(64px, 8vw, 96px) 32px;
  border-top: 1px solid var(--taupe);
}

.footer-slogan {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: 0.95;
  letter-spacing: normal;
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: clamp(48px, 6vw, 72px);
}

.footer-h {
  margin-bottom: 14px;
  font: 600 12px/1.4 var(--font-sans);
  letter-spacing: -0.28px;
  text-transform: uppercase;
  color: var(--terracotta-ink);
}

.footer-text {
  font-style: normal;
  line-height: 1.6;
}

.footer-list {
  display: grid;
  gap: 2px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--terracotta-ink);
  text-decoration: underline;
}

.footer-link .icon {
  color: var(--terracotta);
}

.footer-text + .footer-link {
  margin-top: 10px;
}

.footer-hours div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  font-variant-numeric: tabular-nums;
}

.footer-hours dd {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--taupe);
  font-size: 13px;
  color: var(--graphite);
}

.footer-bottom p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

/* Ajans imzası: logo beyaz olduğu için koyu rozet içinde */
.credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: rgb(254 249 239 / 0.75);
  font-size: 12px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.credit:hover {
  background: #000;
  color: var(--parchment);
}

.credit img {
  height: 18px;
  width: auto;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
