.site-footer {
  margin-top: var(--space-20);
  padding: var(--space-12) 0 var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at top left, rgba(141, 47, 76, 0.14), transparent 32%),
    linear-gradient(180deg, #473734 0%, #3a2e2c 100%);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.15fr) minmax(0, 1.6fr);
  gap: var(--space-10);
}

.site-footer__grid > * {
  min-width: 0;
}

.site-footer__brand {
  display: grid;
  align-content: start;
  gap: var(--space-4);
  max-width: 28rem;
}

@media (min-width: 1024px) and (max-width: 1300px) {
  .site-footer__grid {
    grid-template-columns: minmax(240px, 0.84fr) minmax(0, 1.76fr);
    column-gap: 0;
    row-gap: 0;
  }

  .site-footer__brand {
    max-width: 22.75rem;
  }

  .site-footer__brand-text {
    justify-items: center;
    text-align: center;
  }

  .site-footer__brand-title-sub {
    display: block !important;
  }
}

.site-footer__brand-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-footer__brand-mark img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.site-footer__brand-text {
  display: grid;
  gap: 0.3rem;
}

.site-footer__brand-title {
  margin: 0;
  font-family: "Sirin Display", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 2rem;
  line-height: 1.05;
  color: #f1ddd5;
}

.site-footer__brand-title-main,
.site-footer__brand-title-sub {
  display: inline;
}

.site-footer__links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
  min-width: 0;
}

.site-footer__title {
  margin: 0 0 var(--space-4);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0d4ca;
}

.site-footer__description,
.site-footer__link,
.site-footer__meta {
  color: rgba(245, 236, 231, 0.72);
  line-height: 1.75;
}

.site-footer__meta-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 236, 231, 0.26);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.site-footer__meta-link:hover {
  color: rgba(255, 245, 241, 0.92);
  border-color: rgba(255, 245, 241, 0.52);
}

.site-footer__meta-developer {
  display: inline;
}

.site-footer__description {
  padding-inline: 3px;
}

.site-footer__stack {
  display: grid;
  align-content: start;
  gap: 0.72rem;
  min-width: 0;
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  line-height: 1.62;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-footer__link--button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.site-footer__link:hover {
  color: #fff8f4;
  border-color: rgba(240, 212, 202, 0.35);
  transform: translateX(2px);
}

.site-footer__contact-list {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.site-footer__contact-row {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
  min-width: 0;
  color: rgba(245, 236, 231, 0.72);
  line-height: 1.6;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-footer__contact-row span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-footer__contact-row:hover {
  color: rgba(245, 236, 231, 0.92);
  border-color: rgba(240, 212, 202, 0.35);
  transform: translateX(2px);
}

.site-footer__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  margin-top: 0.05rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f0d4ca;
}

.site-footer__contact-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer__shortcut-links,
.site-footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.site-footer__shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: auto;
  max-width: 52px;
  height: 52px;
  overflow: hidden;
  padding: 0 0.95rem;
  flex-shrink: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: max-width 180ms ease, gap 180ms ease, transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-footer__shortcut:hover {
  max-width: 168px;
  gap: 0.7rem;
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(240, 212, 202, 0.24);
}

.site-footer__shortcut-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: currentColor;
}

.site-footer__shortcut-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer__shortcut-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  transition: max-width 180ms ease, opacity 180ms ease;
}

.site-footer__shortcut:hover .site-footer__shortcut-label {
  max-width: 110px;
  opacity: 1;
}

.site-footer__shortcut--store {
  color: #ffffff;
}

.site-footer__shortcut--store:hover {
  max-width: 188px;
}

.site-footer__shortcut--store:hover .site-footer__shortcut-label {
  max-width: 132px;
}

.site-footer__shortcut[aria-label="Google Play"]:hover {
  max-width: 184px;
}

.site-footer__shortcut[aria-label="Google Play"]:hover .site-footer__shortcut-label {
  max-width: 128px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__trust {
  align-items: center;
  justify-content: flex-end;
  gap: 0.875rem;
}

.site-footer__trust-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 46px;
  max-width: 46px;
  height: 46px;
  overflow: hidden;
  padding: 0;
  flex-shrink: 0;
  border-radius: 17px;
  color: rgba(245, 236, 231, 0.82);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: width 180ms ease, max-width 180ms ease, transform 180ms ease, box-shadow 180ms ease, gap 180ms ease;
}

.site-footer__trust-item:hover {
  width: 150px;
  max-width: 150px;
  gap: 0.6rem;
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.site-footer__trust-item svg {
  width: 22px;k
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer__trust-item img {
  width: auto;
  height: 22px;
  object-fit: contain;
}

.site-footer__trust-item--payment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 132px;
  padding: 0 0.75rem;
  color: #fff8f4;
  background: rgba(255, 255, 255, 0.1);
}

.site-footer__trust-item--payment:hover {
  width: auto;
  max-width: 280px;
  gap: 0.7rem;
}

.site-footer__trust-item--payment img {
  width: auto;
  height: 21.5px;
  max-width: none;
  transition: height 180ms ease;
}

.site-footer__trust-item--payment:hover img {
  width: auto;
  height: 23px;
}

.site-footer__trust-item[aria-label="Banka"] {
  color: #7b665f;
}

.site-footer__trust-item[aria-label="Güvenlik"] {
  color: #3f8b5f;
}

.site-footer__trust-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 700;
  opacity: 0;
  transition: max-width 180ms ease, opacity 180ms ease;
}

.site-footer__trust-item:hover .site-footer__trust-label {
  max-width: 88px;
  opacity: 1;
}

.site-footer__trust-item[aria-label="Havale ile ödeme"]:hover {
  width: 190px;
  max-width: 190px;
}

.site-footer__trust-item[aria-label="Havale ile ödeme"]:hover .site-footer__trust-label {
  max-width: 128px;
}

.site-footer__trust-item--payment:hover .site-footer__trust-label {
  max-width: 20rem;
}

@media (max-width: 1023.98px) and (min-width: 768px) {
  .site-footer {
    margin-top: 0;
    padding-top: 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .site-footer__brand {
    justify-items: center;
    text-align: center;
    max-width: none;
    gap: 0;
  }

  .site-footer__brand-head {
    justify-content: center;
    gap: 0;
  }

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

  .site-footer__shortcut-links {
    justify-content: center;
  }

  .site-footer__trust {
    gap: 0.7rem;
  }

  .site-footer__trust-item {
    width: 37px;
    max-width: 37px;
    height: 37px;
    border-radius: 14px;
  }

  .site-footer__trust-item svg {
    width: 18px;
    height: 18px;
  }

  .site-footer__trust-item img {
    height: 18px;
  }

  .site-footer__trust-item--payment {
    width: auto;
    max-width: 114px;
    padding: 0 0.6rem;
  }

  .site-footer__trust-item--payment img {
    height: 17.5px;
  }

  .site-footer__stack:last-child {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .site-footer__meta-separator {
    display: none;
  }

  .site-footer__meta-developer {
    display: block;
    margin-top: 0.2rem;
  }
}

@media (max-width: 767.98px) {
  .site-footer {
    margin-top: 0;
    padding-top: 0.4rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    justify-items: center;
    text-align: center;
    max-width: none;
    gap: 0;
  }

  .site-footer__brand-head {
    justify-content: center;
  }

  .site-footer__brand-title {
    text-align: center;
  }

  .site-footer__brand-title-sub {
    display: block !important;
  }

  .site-footer__links-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    justify-items: start;
    text-align: left;
  }

  .site-footer__shortcut-links {
    justify-content: center;
  }

  .site-footer__stack {
    width: 100%;
    justify-items: start;
    text-align: left;
    gap: 0.88rem;
  }

  .site-footer__stack + .site-footer__stack {
    position: relative;
    margin-top: 0.9rem;
    padding-top: 1.25rem;
  }

  .site-footer__stack + .site-footer__stack::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100px;
    height: 1px;
    transform: translateX(-50%);
    background: rgba(240, 212, 202, 0.2);
  }

  .site-footer__title {
    justify-self: stretch;
    display: block;
    margin-bottom: var(--space-4);
    width: 100%;
    text-align: center;
  }

  .site-footer__contact-list,
  .site-footer__contact-row {
    justify-items: start;
    text-align: left;
  }

  .site-footer__bottom {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.85rem;
    margin-top: var(--space-8);
    padding-top: var(--space-5);
  }

  .site-footer__meta {
    max-width: 22rem;
  }

  .site-footer__trust {
    justify-content: center;
    gap: 0.75rem;
  }

  .site-footer__trust-item {
    width: 40px;
    max-width: 40px;
    height: 40px;
    border-radius: 15px;
  }

  .site-footer__trust-item svg {
    width: 19px;
    height: 19px;
  }

  .site-footer__trust-item img {
    height: 19px;
  }

  .site-footer__trust-item--payment {
    width: auto;
    max-width: 106px;
    padding: 0 0.56rem;
  }

  .site-footer__trust-item--payment img {
    height: 17.5px;
  }

  .site-footer__stack:last-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .site-footer__grid,
  .site-footer__links-grid {
    grid-template-columns: 1fr;
    display: grid;
  }
}
