/* ============================================================
   FOOTER-17 (Watermelon / Shadcn UI — Pure HTML & CSS)
   Exact Typography (Inter Sans-Serif) & Spacious Architecture
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

.footer-17 {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #09090b;
  color: #a1a1aa;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Noise Overlay ── */
.footer-17 .footer-noise {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  z-index: 1;
}

/* ── Vertical Floating Contact Text ── */
.footer-17 .footer-vertical-text {
  position: absolute;
  top: 40%;
  right: 28px;
  display: none;
  transform: rotate(-90deg);
  transform-origin: right bottom;
  z-index: 2;
}

@media (min-width: 1400px) {
  .footer-17 .footer-vertical-text {
    display: block;
  }
}

.footer-17 .footer-vertical-text span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #52525b;
}

/* ── Main Container: Широкий, просторный и воздушный (Spacious) ── */
.footer-17 .footer-container {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  width: 92%;
  margin: 0 auto;
  padding: 100px 0 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  min-height: 75vh;
}

/* ── Top Section: Heading & Nav Columns ── */
.footer-17 .footer-top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  width: 100%;
}

@media (min-width: 1024px) {
  .footer-17 .footer-top {
    flex-direction: row;
    align-items: flex-start;
    gap: 80px;
  }
}

/* Заголовок — строгий современный гротеск (Sans-serif) */
.footer-17 .footer-heading-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1024px) {
  .footer-17 .footer-heading-wrap {
    width: 42%;
    max-width: 520px;
  }
}

.footer-17 .footer-heading {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(48px, 6.2vw, 84px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0;
}

.footer-17 .footer-corner-arrow {
  color: #52525b;
  width: 85px;
  height: 85px;
  stroke-width: 1.5px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s ease;
}

.footer-17 .footer-heading-wrap:hover .footer-corner-arrow {
  color: #ffffff;
  transform: translate(8px, 8px);
}

/* ── Nav Columns Grid: Свободное распределение без скученности ── */
.footer-17 .footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  width: 100%;
}

@media (min-width: 640px) {
  .footer-17 .footer-nav-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 60px;
  }
}

@media (min-width: 1024px) {
  .footer-17 .footer-nav-grid {
    width: 50%;
    justify-content: flex-end;
    gap: 80px;
  }
}

@media (min-width: 1280px) {
  .footer-17 .footer-nav-grid {
    gap: 120px;
  }
}

.footer-17 .footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-17 .footer-col-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin: 0;
}

.footer-17 .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-17 .footer-links li {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  position: static !important;
}

/* Полный сброс линий подчеркивания от других стилей */
.footer-17 li::after,
.footer-17 li::before,
.footer-17 li:hover::after,
.footer-17 li:hover::before,
.footer-17 a::after,
.footer-17 a::before,
.footer-17 a:hover::after,
.footer-17 a:hover::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.footer-17 .footer-links a,
.footer-17 .footer-static-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #a1a1aa;
  text-decoration: none !important;
  transition: color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.footer-17 .footer-links a:hover {
  color: #ffffff !important;
  transform: translateX(4px);
  text-decoration: none !important;
}

.footer-17 .footer-static-text {
  color: #71717a;
}

/* ── Middle Section: Divider & Socials ── */
.footer-17 .footer-middle {
  margin-top: 90px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-17 .footer-middle {
    flex-direction: row;
    align-items: center;
  }
}

.footer-17 .footer-divider-line {
  display: none;
  height: 1px;
  flex: 1;
  background-color: rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
  .footer-17 .footer-divider-line {
    display: block;
  }
}

.footer-17 .footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 36px;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .footer-17 .footer-socials {
    justify-content: flex-end;
  }
}

.footer-17 .footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-17 .footer-arrow-icon {
  color: #71717a;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-17 .footer-social-link:hover {
  color: #ffffff;
}

.footer-17 .footer-social-link:hover .footer-arrow-icon {
  color: #ffffff;
  transform: translate(2px, -2px);
}

/* ── Lower Section: Giant Brand Name & Legal ── */
.footer-17 .footer-bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.footer-17 .footer-giant-brand {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
}

.footer-17 .footer-giant-svg {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

/* Крупный жирный гротеск (Grotesque Sans-Serif), как в Watermelon shadcn */
.footer-17 .footer-giant-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 900;
  letter-spacing: -0.06em;
  fill: rgba(255, 255, 255, 0.12);
  stroke: none;
  transition: fill 0.3s ease;
}

.footer-17:hover .footer-giant-text {
  fill: rgba(255, 255, 255, 0.18);
}

.footer-17 .footer-bottom-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.12);
}

.footer-17 .footer-legal-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: #71717a;
  padding-top: 14px;
}

@media (min-width: 1024px) {
  .footer-17 .footer-legal-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-17 .footer-legal-text {
  margin: 0;
}

.footer-17 .footer-legal-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-17 .footer-legal-links a {
  color: #71717a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-17 .footer-legal-links a:hover {
  color: #ffffff;
}

/* Сброс конфликтов со старыми стилями */
footer.footer-17 {
  height: auto !important;
  max-height: none !important;
  overflow: hidden !important;
  box-shadow: none !important;
}
