:root {
  --brand: #0b2a4a;
  --brand-2: #0077b6;
  --accent: #00aeef;
  --accent-ink: #ffffff;
  --ink: #16202c;
  --muted: #5b6777;
  --line: #e3e7ed;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --wa: #1fa855;
  --radius: 14px;
  --wrap: 1120px;
  --shadow: 0 6px 24px rgba(11, 42, 74, 0.08);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

[hidden] {
  display: none !important;
}

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

a {
  color: var(--brand-2);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--brand);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

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

.skip {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 100;
  padding: 8px 12px;
  background: #fff;
  transform: translateY(-300%);
}

.skip:focus {
  transform: none;
}

/* Header */
body {
  padding-top: 84px;
}

.site-header {
  --h: 84px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(11, 42, 74, 0.06);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}


.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  height: var(--h);
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--brand);
}

.brand img {
  width: auto;
  height: 56px;
  transition: height 0.25s ease, transform 0.4s cubic-bezier(.2, .8, .2, 1.4);
}


.brand:hover img {
  transform: rotate(-6deg) scale(1.05);
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.brand-text small {
  white-space: nowrap;
  margin-top: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--brand-2);
}

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

.nav a {
  position: relative;
  white-space: nowrap;
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:not(.btn):hover,
.nav a.current {
  color: var(--brand-2);
}

.nav a:not(.btn):hover::after,
.nav a.current::after {
  transform: scaleX(1);
}

.nav .nav-call {
  margin-left: 10px;
  padding: 0 18px;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 174, 239, 0.35);
}

.nav .nav-call svg,
.nav .nav-map svg {
  width: 18px;
  height: 18px;
}

.nav .nav-map {
  margin-left: 10px;
  padding: 0 16px;
  background: transparent;
  color: var(--brand-2);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.nav .nav-map:hover,
.nav .nav-map.current {
  background: var(--accent);
  color: #fff;
}

.nav .nav-map:hover svg {
  animation: pin-bounce 0.6s ease;
}

@keyframes pin-bounce {
  0%, 100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-4px);
  }

  70% {
    transform: translateY(1px);
  }
}

.nav .nav-map + .nav-call {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 46px;
  height: 46px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background: var(--accent);
  color: var(--accent-ink);
}

.btn:hover {
  filter: brightness(1.05);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn-wa {
  background: var(--wa);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.btn-line {
  background: transparent;
  color: var(--brand);
  box-shadow: inset 0 0 0 2px var(--brand);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.95rem;
}

/* Hero */
.hero {
  scroll-margin-top: 120px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 0% 0%, #0f3c66 0%, var(--brand) 55%, #061a30 100%);
  color: #fff;
  padding: 88px 0 96px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 16s ease-in-out infinite alternate;
}

.blob-1 {
  width: 460px;
  height: 460px;
  left: -120px;
  top: -140px;
  background: #00aeef;
  opacity: 0.35;
}

.blob-2 {
  width: 380px;
  height: 380px;
  right: -80px;
  bottom: -160px;
  background: #0077b6;
  animation-delay: -6s;
}

.hero-mark {
  position: absolute;
  right: 38%;
  top: 50%;
  width: 420px;
  height: auto;
  transform: translate(50%, -50%);
  opacity: 0.035;
  filter: grayscale(1) brightness(3);
}

@keyframes drift {
  to {
    transform: translate(60px, 40px) scale(1.12);
  }
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.pulse {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3ddc84;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #3ddc84;
  animation: ping 1.8s ease-out infinite;
}

@keyframes ping {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin-bottom: 20px;
}

.hl {
  display: block;
  background: linear-gradient(90deg, #00aeef, #7fe0ff 60%, #00aeef);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.hero .lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 33em;
}

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

.counters {
  display: flex;
  gap: 36px;
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.counters div {
  display: flex;
  flex-direction: column-reverse;
}

.counters dd {
  margin: 0;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.counters dt {
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hero-media {
  position: relative;
}

.stage {
  position: relative;
  height: 520px;
  touch-action: pan-y;
  user-select: none;
}

.stage-glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 380px;
  height: 380px;
  margin: -190px 0 0 -190px;
  border-radius: 50%;
  background: var(--glow, #00aeef);
  filter: blur(70px);
  opacity: 0.45;
  transition: background 0.8s ease;
}

.stage-floor {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 340px;
  height: 34px;
  margin-left: -170px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent);
}

.machine {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 300px;
  margin: 0 0 0 -150px;
  opacity: 0;
  transform: translateX(0) scale(0.6);
  transition: transform 0.85s cubic-bezier(.22, .8, .2, 1), opacity 0.85s ease, filter 0.85s ease;
  pointer-events: none;
  will-change: transform, opacity;
}

.machine img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.45));
}

.machine figcaption {
  display: none;
}

.machine.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 3;
  pointer-events: auto;
}

.machine.is-prev,
.machine.is-next {
  opacity: 0.45;
  filter: blur(1px) saturate(0.7);
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}

.machine.is-prev {
  transform: translateX(-62%) scale(0.68);
}

.machine.is-next {
  transform: translateX(62%) scale(0.68);
}

.machine.is-out-left {
  transform: translateX(-120%) scale(0.5);
}

.machine.is-out-right {
  transform: translateX(120%) scale(0.5);
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.about p {
  color: var(--muted);
}

.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.stats li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.stats strong {
  font-size: 2rem;
  line-height: 1;
  color: var(--brand-2);
  min-width: 3.4em;
  white-space: nowrap;
}

.stats span {
  color: var(--ink);
  font-weight: 600;
}

/* Strip */
.strip {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.strip ul {
  list-style: none;
  margin: 0;
  padding: 22px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.strip li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.strip svg {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--brand-2);
}

/* Sections */
.section {
  padding: 80px 0;
  scroll-margin-top: 64px;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 40em;
  margin-bottom: 40px;
}

.section-head p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card p {
  color: var(--muted);
  margin: 0;
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 174, 239, 0.12);
  color: #0077b6;
  margin-bottom: 16px;
}

.card .icon svg {
  width: 26px;
  height: 26px;
}

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.steps li {
  position: relative;
  padding: 56px 22px 22px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 18px;
  left: 22px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.steps p {
  color: var(--muted);
  margin: 0;
}

/* Locations */
.loc {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.stations-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.station-search {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.station-search input {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid #cdd5df;
  border-radius: 10px;
  width: 100%;
}

.station-search input:focus {
  outline: 2px solid var(--brand-2);
  outline-offset: 1px;
}

.stations {
  max-height: 440px;
  overflow-y: auto;
  padding-right: 4px;
}

.stations h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 14px 0 8px;
}

.stations h3:first-child {
  margin-top: 0;
}

.stations h3 small {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.stations ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.station {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.station:hover {
  border-color: var(--accent);
}

.station.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.station-empty {
  color: var(--muted);
  margin: 8px 0 0;
}

.map-box {
  position: sticky;
  top: 84px;
}

.map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 119, 182, 0.12), transparent 40%),
    radial-gradient(circle at 70% 65%, rgba(0, 174, 239, 0.14), transparent 45%),
    var(--bg-soft);
  display: grid;
  place-items: center;
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}

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

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery .wide {
  grid-column: span 2;
}

.gallery .wide picture {
  aspect-ratio: 2 / 0.975;
}

.gallery figure {
  margin: 0;
}

.gallery picture {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}

.gallery figcaption {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Feedback */
.feedback {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form select,
.form input,
.form textarea {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid #cdd5df;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}

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

.form select:focus,
.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--brand-2);
  outline-offset: 1px;
}

.form label small {
  font-weight: 400;
  color: var(--muted);
}

.soon {
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(0, 174, 239, 0.1);
  border: 1px dashed rgba(0, 119, 182, 0.4);
  color: var(--brand);
}

.form .hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.check {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4em;
  display: grid;
  gap: 10px;
}

.check li {
  padding-left: 30px;
  position: relative;
}

.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-grid .card a {
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}

.contact-grid h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* CTA band */
.band {
  background: var(--brand);
  color: #fff;
  border-radius: 20px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.band h2 {
  color: #fff;
  margin: 0 0 6px;
}

.band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

/* Footer */
.site-footer {
  background: #071d33;
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 28px;
  font-size: 0.94rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.foot-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

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

.foot-logo strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.foot-logo small {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.32em;
}

.foot-brand p {
  margin: 0 0 10px;
  max-width: 34ch;
  line-height: 1.6;
}

.foot-aykar strong {
  color: #fff;
}

.foot-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.foot-col h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.foot-contact a,
.foot-contact span {
  overflow-wrap: anywhere;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
}

.foot-bottom > a {
  margin-inline-end: 64px;
}

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

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-bottom: 96px;
  }

  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .foot-contact {
    grid-column: 1 / -1;
  }
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.wa-float svg {
  width: 32px;
  height: 32px;
}

/* Marmaray line */
.line-wrap {
  margin: -8px 0 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.line {
  position: relative;
  min-width: 720px;
  height: 92px;
  margin: 0 34px;
}

.line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 46px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
}

.line .sea {
  position: absolute;
  top: 34px;
  height: 28px;
  border-radius: 8px;
  background: repeating-linear-gradient(90deg, rgba(0, 174, 239, 0.18) 0 4px, transparent 4px 8px);
}

.line .sea span {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-2);
  white-space: nowrap;
}

.line .train {
  position: absolute;
  top: 42px;
  width: 26px;
  height: 12px;
  margin-left: -13px;
  border-radius: 6px;
  background: var(--brand);
  box-shadow: 0 0 0 3px #fff, 0 0 18px rgba(0, 174, 239, 0.9);
  animation: ride 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ride {
  from {
    left: 0;
  }

  to {
    left: 100%;
  }
}

.stop {
  position: absolute;
  top: 38px;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.stop::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-2);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.stop:hover::before,
.stop:focus-visible::before {
  transform: scale(1.5);
  border-color: var(--accent);
}

.stop.active::before {
  transform: scale(1.6);
  background: var(--accent);
  border-color: var(--accent);
}

.stop .tip {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 6px);
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.stop:hover .tip,
.stop:focus-visible .tip,
.stop.active .tip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.stop.end .label {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}

.line-hint {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Lightbox */
.gallery figure {
  cursor: zoom-in;
}

.gallery picture {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery figure:hover picture {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 42, 74, 0.18);
}

.gallery img {
  transition: transform 0.6s ease;
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(4, 14, 26, 0.94);
  color: #fff;
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox::backdrop {
  background: transparent;
}

.lightbox figure {
  margin: 0;
  max-width: min(92vw, 1100px);
  text-align: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 12px;
}

.lightbox figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.lightbox button {
  position: absolute;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox button:hover {
  background: rgba(255, 255, 255, 0.24);
}

.lb-close {
  top: 18px;
  right: 18px;
}

.lb-prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

/* Interactions */
.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.card,
.steps li {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover,
.steps li:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 174, 239, 0.45);
  box-shadow: 0 18px 40px rgba(11, 42, 74, 0.12);
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .grid-4,
  .steps,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero .wrap,
  .loc,
  .feedback,
  .about {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-box {
    position: static;
    order: -1;
  }

  .stations {
    max-height: 320px;
  }

  .hero {
    padding: 56px 0 80px;
  }

  .hero .wrap {
    gap: 40px;
  }

  .stage {
    height: 440px;
  }

  .machine {
    width: 250px;
    margin-left: -125px;
  }

  .hero-mark {
    right: 10%;
  }
}

@media (max-width: 1300px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a:not(.btn)::after {
    display: none;
  }

  .nav .nav-call,
  .nav .nav-map,
  .nav .nav-map + .nav-call {
    margin-left: 0;
  }

  .nav .btn {
    margin-top: 12px;
    border: 0;
  }
}

@media (max-width: 760px) {
  body {
    padding-top: 70px;
  }

  .site-header {
    --h: 70px;
  }


  .brand img {
    height: 46px;
  }


  .brand-text strong {
    font-size: 1.35rem;
  }

  .brand-text small {
    font-size: 0.6rem;
  }

  .strip ul {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 40px 0 72px;
  }

  .counters {
    gap: 24px;
  }

  .counters dd {
    font-size: 1.9rem;
  }

  .stage {
    height: 380px;
  }

  .machine {
    width: 220px;
    margin-left: -110px;
  }

  .machine.is-prev {
    transform: translateX(-58%) scale(0.62);
  }

  .machine.is-next {
    transform: translateX(58%) scale(0.62);
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .grid-4,
  .grid-3,
  .steps,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery .wide {
    grid-column: auto;
  }

  .gallery .wide picture {
    aspect-ratio: 1 / 1;
  }

  .actions .btn {
    width: 100%;
  }

  .band {
    padding: 28px;
  }

  .band .btn {
    width: 100%;
  }
}

/* Vitrin düğmeleri */
.stage-ui {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}

.stage-cap {
  margin: 0;
  min-width: 15em;
  text-align: center;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.stage-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.stage-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

.slide-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.slide-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.slide-dots button[aria-selected="true"] {
  width: 26px;
  background: #fff;
}

/* Hakkımızda: imza */
.signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

.signature img {
  width: auto;
  height: 54px;
}

.signature p {
  margin: 0;
  font-style: italic;
}

.signature strong {
  color: var(--brand);
  font-style: normal;
}

/* Ödeme rehberi */
.guide-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.guide-tabs button {
  font: inherit;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--brand);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.guide-tabs button:hover {
  border-color: var(--accent);
}

.guide-tabs button[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.guide-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.guide-art {
  position: relative;
  width: 360px;
  height: 330px;
  margin: 0 auto;
  border-radius: 24px;
  background: radial-gradient(120% 120% at 20% 0%, #0f3c66 0%, var(--brand) 60%, #061a30 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel {
  position: absolute;
  left: 34px;
  top: 14px;
  width: 150px;
  height: 302px;
  padding: 12px;
  border-radius: 14px;
  background: #1d2633;
  box-shadow: inset 0 0 0 2px #2c3846, 0 16px 30px rgba(0, 0, 0, 0.35);
}

.screen {
  position: relative;
  height: 52px;
  border-radius: 6px;
  background: #0b3a5c;
  color: #bfefff;
  font-size: 0.78rem;
  font-weight: 700;
  overflow: hidden;
}

.scr {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.scr b {
  color: #fff;
}

.guide[data-step="1"] .scr-1,
.guide[data-step="2"] .scr-2,
.guide[data-step="3"] .scr-3 {
  opacity: 1;
  transform: none;
}

.guide[data-step="3"] .screen {
  background: #0d5a3a;
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 12px;
}

.keypad i {
  height: 14px;
  border-radius: 3px;
  background: #3a4656;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.guide[data-step="1"] .keypad .k2,
.guide[data-step="1"] .keypad .k4 {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0, 174, 239, 0.8);
}

.reader {
  position: relative;
  height: 46px;
  margin-top: 12px;
  border-radius: 8px;
  background: #2c3846;
  border: 2px dashed rgba(0, 174, 239, 0.45);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.reader .wave {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  border: 3px solid rgba(0, 174, 239, 0.7);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(45deg);
}

.guide[data-step="2"]:not([data-method="qr"]) .reader {
  background: #12455f;
  border-color: var(--accent);
  box-shadow: 0 0 22px rgba(0, 174, 239, 0.7);
}

.slot {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 52px;
  border-radius: 8px;
  background: #0f151d;
  overflow: hidden;
}

.slot .item {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 46px;
  height: 26px;
  margin-left: -23px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffd166, #f4a259);
  opacity: 0;
  transform: translateY(-60px);
  transition: transform 0.6s cubic-bezier(.5, 0, .7, 1.4), opacity 0.3s ease;
}

.guide[data-step="3"] .slot .item {
  opacity: 1;
  transform: none;
}

.pay {
  position: absolute;
  z-index: 2;
  display: none;
  transition: transform 0.8s cubic-bezier(.2, .8, .2, 1);
}

.pay-card,
.pay-ikart {
  left: 226px;
  top: 150px;
  width: 104px;
  height: 66px;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.pay-card {
  background: linear-gradient(135deg, #00aeef, #0077b6);
}

.guide[data-method="banka"] .pay-card {
  background: linear-gradient(135deg, #2ec4b6, #138a7e);
}

.pay-card span {
  position: absolute;
  left: 12px;
  top: 18px;
  width: 20px;
  height: 15px;
  border-radius: 3px;
  background: #ffd166;
}

.pay-card::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.55);
}

.pay-ikart {
  display: none;
  background: linear-gradient(135deg, #e9f2fb, #b8d4f0);
  color: #0b2a4a;
  font-size: 0.72rem;
  font-weight: 800;
}

.pay-ikart span {
  position: absolute;
  left: 10px;
  bottom: 10px;
}

.pay-ikart::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e63946;
}

.pay-phone {
  left: 248px;
  top: 104px;
  width: 66px;
  height: 120px;
  padding: 10px 6px;
  border-radius: 14px;
  background: #111;
  box-shadow: inset 0 0 0 3px #333, 0 12px 24px rgba(0, 0, 0, 0.4);
}

.pay-phone .qr {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background:
    linear-gradient(90deg, #fff 50%, transparent 0) 0 0 / 12px 12px,
    linear-gradient(#fff 50%, transparent 0) 0 0 / 12px 12px,
    #0b3a5c;
  opacity: 0.85;
}

.guide[data-method="kart"] .pay-card,
.guide[data-method="banka"] .pay-card,
.guide[data-method="ikart"] .pay-ikart,
.guide[data-method="qr"] .pay-phone {
  display: block;
}

.guide[data-step="2"] .pay-card,
.guide[data-step="2"] .pay-ikart {
  transform: translate(-172px, 26px) rotate(-6deg);
}

.guide[data-step="2"] .pay-phone {
  transform: translate(-58px, -96px) rotate(-8deg);
}

.guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: g;
}

.guide-steps li {
  position: relative;
  padding: 16px 18px 16px 64px;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  background: #fff;
  cursor: pointer;
  counter-increment: g;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.guide-steps li::before {
  content: counter(g);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--brand);
  font-weight: 800;
  transition: background 0.3s ease, color 0.3s ease;
}

.guide-steps li.on {
  border-color: var(--accent);
  box-shadow: 0 10px 26px rgba(0, 174, 239, 0.18);
  transform: translateX(4px);
}

.guide-steps li.on::before {
  background: var(--accent);
  color: #fff;
}

.guide-steps h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: var(--brand);
}

.guide-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.guide .m {
  display: none;
}

.guide[data-method="kart"] .m-kart,
.guide[data-method="banka"] .m-banka,
.guide[data-method="qr"] .m-qr,
.guide[data-method="ikart"] .m-ikart {
  display: block;
}

/* SSS */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq details[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.faq summary {
  position: relative;
  padding: 18px 56px 18px 20px;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}

.faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

/* Form eklemeleri */
.req {
  color: #d92d20;
}

.qr-tip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.qr-tip svg {
  width: 36px;
  height: 36px;
  flex: none;
  color: var(--brand-2);
}

.from-qr {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  border-left: 4px solid var(--accent);
  background: rgba(0, 174, 239, 0.1);
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
}

.form fieldset.kind {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form .kind legend {
  width: 100%;
  margin-bottom: 6px;
  padding: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.form .kind label {
  display: block;
  position: relative;
}

.form .kind input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.form .kind label span {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 999px;
  border: 2px solid #cdd5df;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.form .kind label input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.form .kind input:focus-visible + span {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
}

.form .kind.invalid label span {
  border-color: #d92d20;
}

.form .invalid {
  border-color: #d92d20;
  background: #fff6f5;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.draft {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px dashed #cdd5df;
  background: var(--bg-soft);
}

.draft-title {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.draft pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font: inherit;
  font-size: 0.88rem;
  color: var(--ink);
}

.form-error {
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fdecea;
  color: #b42318;
  font-weight: 600;
}

@media (max-width: 960px) {
  .guide-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .row-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .guide-art {
    transform: scale(0.88);
    transform-origin: top center;
    margin-bottom: -40px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .machine {
    transition: transform 0.85s cubic-bezier(.22, .8, .2, 1), opacity 0.85s ease, filter 0.85s ease !important;
  }

  .stage-glow {
    transition: background 0.8s ease !important;
  }

  .slide-dots button {
    transition: width 0.3s ease, background 0.3s ease !important;
  }

  .scr,
  .keypad i,
  .reader,
  .slot .item,
  .pay,
  .guide-steps li,
  .guide-steps li::before {
    transition-property: all !important;
    transition-duration: 0.6s !important;
    transition-timing-function: cubic-bezier(.2, .8, .2, 1) !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Dil seçici */
.lang {
  position: relative;
  flex: none;
}

.lang summary {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

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

.lang summary:hover,
.lang[open] summary {
  border-color: var(--accent);
  background: rgba(0, 174, 239, 0.06);
}

.lang summary svg {
  width: 18px;
  height: 18px;
  color: var(--brand-2);
}

.lang ul {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 60;
  min-width: 180px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(11, 42, 74, 0.16);
}

.lang a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.lang a:hover {
  background: var(--bg-soft);
}

.lang a[aria-current] {
  color: var(--brand-2);
  background: rgba(0, 174, 239, 0.1);
}

@media (max-width: 1300px) {
  .site-header .wrap {
    gap: 10px;
  }

  .lang {
    order: 2;
    margin-inline-start: auto;
  }

  .nav-toggle {
    order: 3;
  }
}

/* Dil önerisi */
.lang-offer {
  position: fixed;
  left: 16px;
  right: 92px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  max-width: 560px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 16px 40px rgba(11, 42, 74, 0.3);
}

.lang-offer span {
  flex: 1 1 200px;
  font-size: 0.92rem;
}

.lang-offer .btn {
  white-space: nowrap;
}

.lang-offer-x {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

/* Harita izni ve yasal notlar */
.map {
  align-content: center;
  gap: 10px;
}

.map-consent {
  max-width: 300px;
  padding: 0 16px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.kvkk-note {
  margin-top: 6px;
}

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.site-footer .foot-legal a {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

/* Sağdan sola diller: numaralar ve adresler soldan sağa kalır */
a[href^="tel:"],
a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: isolate;
}

[dir="rtl"] input[type="tel"] {
  direction: ltr;
  text-align: right;
}

[dir="rtl"] .line {
  direction: ltr;
}

/* Yasal sayfalar */
.legal-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.legal-actions a:not(.btn) {
  color: var(--brand-2);
  font-weight: 600;
  text-decoration: none;
}

.legal {
  max-width: 820px;
  padding-top: 48px;
  padding-bottom: 72px;
  line-height: 1.7;
}

.legal h1 {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.legal h2 {
  margin: 36px 0 10px;
  color: var(--brand);
  font-size: 1.2rem;
}

.legal-date {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal ul {
  padding-inline-start: 22px;
}

.legal li {
  margin-bottom: 6px;
}

.legal-info {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 10px 20px;
  margin: 0;
}

.legal-info dt {
  color: var(--muted);
  font-weight: 600;
}

.legal-info dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.legal-page .site-footer {
  padding: 8px 0 28px;
}

@media (max-width: 560px) {
  .legal-info {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .legal-info dd {
    margin-bottom: 12px;
  }

  .legal-actions .btn {
    display: none;
  }
}

/* 404 */
.notfound {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 84px);
  padding: 48px 20px;
  text-align: center;
}

.notfound strong {
  display: block;
  color: var(--accent);
  font-size: clamp(5rem, 18vw, 9rem);
  line-height: 1;
}

.notfound p {
  margin: 8px 0;
  color: var(--muted);
}

.notfound .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* Telefon: ülke kodu seçici */
.tel-wrap {
  display: grid;
  gap: 6px;
  align-content: start;
}

.tel-field {
  display: flex;
  gap: 8px;
  direction: ltr;
}

.tel-cc {
  position: relative;
  flex: none;
}

.tel-cc-val {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 30px 0 12px;
  border: 1px solid #cdd5df;
  border-radius: 10px;
  background: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.tel-cc-val::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
}

.form .tel-cc select {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

.tel-cc:focus-within .tel-cc-val {
  outline: 2px solid var(--brand-2);
  outline-offset: 1px;
}

.tel-field input {
  min-width: 0;
  flex: 1;
}

[dir="rtl"] .tel-field input {
  text-align: left;
}

.form {
  scroll-margin-top: 90px;
}

/* QR ile gelince istasyon ve otomat kilitli */
.form .locked select:disabled {
  opacity: 1;
  color: var(--ink);
  background: var(--bg-soft);
  cursor: not-allowed;
}

.guide-note {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* QR karşılama ekranı */
.qr-sheet {
  width: min(440px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 18px 18px 22px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(6, 26, 48, 0.35);
  overflow: auto;
}

.qr-sheet::backdrop {
  background: radial-gradient(120% 120% at 0% 0%, rgba(15, 60, 102, 0.92), rgba(6, 26, 48, 0.96));
}

.qr-sheet-langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-bottom: 14px;
}

.qr-sheet-langs a {
  min-width: 34px;
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.qr-sheet-langs a[aria-current="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.qr-sheet-head {
  text-align: center;
}

.qr-sheet-head img {
  display: block;
  width: 64px;
  margin: 0 auto;
  height: auto;
}

.qr-sheet-hi {
  margin: 6px 0 0;
  color: var(--brand-2);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.qr-sheet-place {
  margin: 2px 0 0;
  color: var(--brand);
  font-size: 1.7rem;
  line-height: 1.2;
}

.qr-sheet-machine {
  margin: 4px 0 0;
  color: var(--muted);
}

.qr-sheet-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.qs-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--brand);
  text-decoration: none;
  text-align: start;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.qs-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.qs-btn svg {
  flex: none;
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.qs-btn span {
  display: grid;
}

.qs-btn strong {
  font-size: 1.05rem;
}

.qs-btn small {
  color: var(--muted);
  font-size: 0.85rem;
}

.qs-btn.qs-main {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.qs-btn.qs-main small {
  color: rgba(255, 255, 255, 0.75);
}

@media (prefers-reduced-motion: reduce) {
  .qs-btn {
    transition: none;
  }
}

/* Kullanım rehberi: ilerleme çubuğu ve adım düğmeleri */
.guide-player {
  min-width: 0;
}

.guide-progress {
  display: flex;
  gap: 6px;
  width: 100%;
  max-width: 360px;
  margin: 14px auto 0;
}

.guide-progress i {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}

.guide-progress i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

[dir="rtl"] .guide-progress i::after {
  transform-origin: right center;
}

.guide-progress i.done::after {
  transform: scaleX(1);
}

.guide-progress i.cur::after {
  animation: gfill var(--gtime, 4s) linear forwards;
}

@keyframes gfill {
  to {
    transform: scaleX(1);
  }
}

.guide-nav {
  display: none;
}

@media (max-width: 760px) {
  .guide {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .guide-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 14px;
  }

  .guide-tabs button {
    padding: 8px 10px;
    font-size: 0.9rem;
    border-width: 1.5px;
  }

  .guide-body {
    display: block;
  }

  .guide-player {
    overflow: hidden;
    direction: ltr;
  }

  .guide-art {
    margin: 0 0 calc(330px * (var(--gs, 1) - 1));
    transform: scale(var(--gs, 1));
    transform-origin: top left;
  }

  .guide-progress {
    max-width: none;
    margin-top: 12px;
  }

  [dir="rtl"] .guide-progress {
    direction: rtl;
  }

  .guide-steps {
    display: block;
    margin-top: 14px;
    min-height: 118px;
  }

  .guide-steps li {
    display: none;
    padding: 0 0 0 48px;
    border: 0;
    background: none;
    cursor: default;
  }

  [dir="rtl"] .guide-steps li {
    padding: 0 48px 0 0;
  }

  .guide-steps li.on {
    display: block;
    transform: none;
    box-shadow: none;
    animation: gstep 0.35s ease;
  }

  .guide-steps li::before {
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
  }

  [dir="rtl"] .guide-steps li::before {
    left: auto;
    right: 0;
  }

  .guide-steps h3 {
    font-size: 1.15rem;
  }

  .guide-steps p {
    font-size: 1rem;
  }

  .guide-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
  }

  .guide-nav button {
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    font: inherit;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
  }

  .guide-nav .g-next {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }

  [dir="rtl"] .guide-nav button {
    transform: scaleX(-1);
  }

  .g-count {
    color: var(--muted);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }

  .guide-note {
    margin-top: 10px;
  }
}

@keyframes gstep {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* Tam ekran rehber (QR'dan açılır) */
.guide-sheet {
  width: min(960px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--bg-soft);
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(6, 26, 48, 0.35);
}

.guide-sheet::backdrop {
  background: rgba(6, 26, 48, 0.75);
}

.guide-sheet-head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--brand);
  color: #fff;
}

.guide-sheet-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.guide-sheet-x {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.guide-sheet-body {
  padding: 16px;
}

.guide-sheet-help {
  display: flex;
  justify-content: center;
  margin: 0 16px 18px;
}

@media (max-width: 760px) {
  .guide-sheet {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }

  .guide-sheet-body {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guide-progress i.cur::after {
    animation: none !important;
    transform: scaleX(1);
  }
}

.guide-steps li::before {
  content: attr(data-step);
}

.guide-sheet-head h2 {
  color: #fff;
}

.g-count {
  direction: ltr;
  unicode-bidi: isolate;
}
