/* @section: FOOTER — rx-footer (desktop + mobil) */
/* =====================================================
   FOOTER
   ===================================================== */
.rx-footer {
  color: #fff;
  background: var(--ink);
}
.rx-footer-ribbon {
  background:
    linear-gradient(rgba(201,0,0,.92), rgba(201,0,0,.92)),
    url("../images/red-business-bg.jpg") center / cover;
  padding: 22px clamp(20px, 5vw, 60px);
  text-align: center;
}
.rx-footer-ribbon h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: .5px;
}

/* Üst grid: 2 sütun — Links (sol) | Brand logo (sağ) */
.rx-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(36px, 5vw, 56px) clamp(20px, 6vw, 80px);
}
.rx-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  background: #2a3744;
  padding: 20px;
  border-radius: 18px;
}
.rx-footer-links a {
  background: #fff;
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  font-size: 14px;
  transition: background .2s, color .2s;
}
.rx-footer-links a:hover { background: var(--red); color: #fff; }

/* Sağ — REXON yatay logo (ortalı) */
.rx-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}
.rx-footer-logo {
  width: clamp(200px, 22vw, 320px);
  height: auto;
  display: block;
}

/* İletişim — sayfa içinde ortalı blok */
.rx-footer-contact {
  display: flex;
  justify-content: center;
  padding: clamp(8px, 1vw, 16px) clamp(20px, 6vw, 80px) clamp(24px, 3vw, 36px);
}
.rx-contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(820px, 100%);
}
.rx-contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
}
.rx-contact-row .rx-contact-item { flex: 0 1 auto; }
.rx-contact-address {
  align-items: center;
  text-align: center;
  justify-content: center;
}
.rx-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 15px;
}
.rx-contact-item .rx-ico {
  width: 26px;
  height: 26px;
  color: #fff;
  flex-shrink: 0;
}
.rx-contact-item a { color: #fff; font-weight: 700; }
.rx-contact-item a:hover { color: #ffb8b8; }
.rx-contact-address span { line-height: 1.4; }

/* Sosyal medya */
.rx-socials {
  padding: 24px clamp(20px, 6vw, 80px) 36px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.08);
}
.rx-socials p {
  margin: 0 0 14px;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
}
.rx-socials nav {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.rx-soc {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #fff;
  transition: transform .2s ease;
}
.rx-soc:hover { transform: translateY(-2px); }
.rx-soc svg { width: 22px; height: 22px; fill: #fff; }

/* Marka renkleri (orijinal sosyal medya renkleri) */
.rx-soc-ig {
  background: radial-gradient(circle at 30% 110%, #fdcb52 0%, #f95b3a 28%, #d63d77 60%, #8d4cf0 100%);
}
.rx-soc-fb { background: #1877f2; }
.rx-soc-x  { background: #000; }
.rx-soc-in { background: #0a66c2; }
.rx-soc-yt { background: #ff0000; }

/* ---------- FOOTER (tablet <= 980px) ---------- */
@media (max-width: 980px) {
  .rx-footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 20px;
    justify-items: center;
  }
  .rx-footer-links { width: 100%; max-width: 560px; }
  .rx-contact-row { gap: 18px; }
}

/* ---------- FOOTER (mobile <= 640px) ---------- */
@media (max-width: 640px) {
  .rx-footer-ribbon { padding: 20px 16px; }
  .rx-footer-ribbon h2 { font-size: 16px; line-height: 1.35; }

  .rx-footer-main { padding: 28px 16px; gap: 24px; }
  .rx-footer-links {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 10px;
  }
  .rx-footer-links a { font-size: 14px; padding: 12px 14px; }
  .rx-footer-logo { width: clamp(180px, 60vw, 240px); }

  .rx-footer-contact { padding: 8px 16px 24px; }
  .rx-contact-row {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .rx-contact-block { align-items: center; }
  .rx-contact-address { text-align: center; }
  .rx-contact-item { font-size: 14px; }

  .rx-socials { padding: 22px 16px 28px; }
}

/* @section: ÇEREZ BANNER — rx-cookie */
.rx-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}
.rx-cookie[hidden] { display: none; }
.rx-cookie-card {
  pointer-events: auto;
  width: 100%;
  max-width: 720px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 12px;
  padding: 20px 24px 22px;
  box-shadow: 0 12px 40px rgba(32, 42, 51, .22);
  text-align: center;
}
.rx-cookie-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}
.rx-cookie-text {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.rx-cookie-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.rx-cookie-btn {
  min-width: 140px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.rx-cookie-reject {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.rx-cookie-reject:hover { border-color: var(--ink); }
.rx-cookie-accept {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
}
.rx-cookie-accept:hover { background: #a80000; border-color: #a80000; }

@media (max-width: 768px) {
  /* Mobil sabit iletişim barının üstünde dursun */
  .rx-cookie { padding: 12px; bottom: 64px; }
  .rx-cookie-card { padding: 18px 18px 20px; }
  .rx-cookie-title { font-size: 16px; }
  .rx-cookie-text { font-size: 13px; }
  .rx-cookie-btn { flex: 1; min-width: 0; }
}
