/* ====================================
   PRIVACY & COOKIES PAGES - RESPONSIVE
   ==================================== */

:root {
  --color-primary: #DC143C;
  --color-primary-dark: #B41030;
  --color-dark: #1a1a1a;
  --color-light: #ffffff;
  --color-gray-100: #f5f5f5;
  --color-gray-200: #eeeeee;
  --color-gray-300: #e0e0e0;
  --color-gray-600: #757575;
  --color-gray-700: #424242;
  --color-warning: #FF9800;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ====================================
   HEADER & NAVIGATION
   ==================================== */

.header {
  background: var(--color-dark);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-light);
  font-weight: 700;
  gap: 0.5rem;
}

.nav__logo-img {
  height: 45px;
  width: auto;
}

.nav__menu {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav__item {
  position: relative;
}

.nav__link {
  color: var(--color-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 1rem 1.25rem;
  display: block;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__link:hover,
.nav__link.active-link {
  background: rgba(220, 20, 60, 0.1);
  color: var(--color-primary);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--color-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
}

/* Dropdowns */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.nav__dropdown:hover .nav__dropdown-icon {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-dark);
  list-style: none;
  min-width: 250px;
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-menu--wide {
  min-width: 400px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.nav__dropdown-title {
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.nav__dropdown-link {
  display: block;
  padding: 0.75rem 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.nav__dropdown-link:hover {
  background: rgba(220, 20, 60, 0.1);
  color: var(--color-primary);
  padding-left: 1.5rem;
}

.nav__dropdown-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-light);
  font-size: 24px;
  cursor: pointer;
  z-index: 101;
}

.nav__close {
  display: none;
  color: var(--color-light);
  cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav {
    padding: 1rem;
  }

  .nav__logo-img {
    height: 40px;
  }

  .nav__toggle {
    display: block;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-dark);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 4rem;
    transition: left 0.3s ease;
    overflow-y: auto;
    z-index: 100;
  }

  .nav__menu.show-menu {
    left: 0;
  }

  .nav__list {
    flex-direction: column;
    width: 100%;
  }

  .nav__item {
    width: 100%;
  }

  .nav__link {
    padding: 1rem 1.5rem;
  }

  .nav__close {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 24px;
  }

  .nav__dropdown-menu {
    position: static;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    transform: none;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
  }

  .nav__dropdown-menu.show-dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
  }

  .nav__dropdown-menu--wide {
    grid-template-columns: 1fr;
    min-width: auto;
  }
}

/* ====================================
   FOOTER
   ==================================== */

.footer {
  background: var(--color-dark);
  color: var(--color-light);
  padding: 3rem 1.5rem 1rem;
  margin-top: 3rem;
}

.footer__content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__section {
  display: flex;
  flex-direction: column;
}

.footer__logo {
  height: 50px;
  margin-bottom: 1rem;
}

.footer__logo img {
  height: 100%;
  width: auto;
}

.footer__description {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.footer__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
}

.footer__link {
  color: var(--color-light);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  display: block;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.footer__link:hover {
  opacity: 1;
  color: var(--color-primary);
  transform: translateX(4px);
}

.footer__contact {
  list-style: none;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.75rem;
}

.footer__contact-item .material-icons {
  font-size: 1.2rem;
  color: var(--color-primary);
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-light);
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background: var(--color-primary);
  color: var(--color-light);
  transform: translateY(-4px);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer__copyright {
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer__bottom-link {
  color: var(--color-light);
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer__bottom-link:hover {
  opacity: 1;
  color: var(--color-primary);
}

/* ====================================
   PRIVACY MAIN
   ==================================== */

.privacy-main {
  min-height: calc(100vh - 200px);
}

/* HERO SECTION */
.privacy-hero {
  background: linear-gradient(135deg, #0a0d11 0%, #1a1a2e 50%, var(--color-primary) 100%);
  color: #ffffff;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.privacy-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(220, 20, 60, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.privacy-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.privacy-hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #ffffff;
}

.privacy-hero__subtitle {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.privacy-hero__date {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* CONTENT */
.privacy-content {
  padding: 3rem 1.5rem;
}

.privacy-body {
  max-width: 900px;
  margin: 0 auto;
}

/* TOC - Responsive Simple Design */
.privacy-toc {
  background: var(--color-gray-100);
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0;
}

.privacy-toc__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
  text-align: center;
}

.privacy-toc__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.privacy-toc__list li {
  list-style: none;
}

.privacy-toc__list a {
  display: inline-block;
  background: var(--color-light);
  border-radius: 6px;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  color: var(--color-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border-left: 3px solid var(--color-primary);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.privacy-toc__list a:hover {
  box-shadow: 0 4px 12px rgba(220, 20, 60, 0.15);
  background: rgba(220, 20, 60, 0.05);
  transform: translateY(-2px);
  color: var(--color-primary-dark);
}

@media (max-width: 1024px) {
  .privacy-toc__list a {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .privacy-toc {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }

  .privacy-toc__title {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    text-align: center;
    width: 100%;
  }

  .privacy-toc__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    width: 100%;
  }

  .privacy-toc__list a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
    white-space: normal;
    text-align: center;
    min-height: 55px;
    inline-size: 100%;
  }
}

/* SECTIONS */
.privacy-section {
  margin-bottom: 2rem;
}

.privacy-section__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid var(--color-gray-200);
  padding-bottom: 1rem;
  flex-wrap: wrap;
}

.privacy-section__title .material-icons {
  color: var(--color-primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.privacy-subsection__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 1rem 0 0.75rem 0;
}

.privacy-section__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-gray-700);
  margin-bottom: 1rem;
}

/* LISTS */
.privacy-list {
  list-style: none;
  margin-bottom: 1rem;
}

.privacy-list li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.6;
}

.privacy-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* BOXES */
.privacy-box {
  background: var(--color-gray-100);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
  margin-bottom: 1rem;
  word-wrap: break-word;
}

.privacy-box p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.privacy-box p:last-child {
  margin-bottom: 0;
}

/* RIGHTS GRID */
.privacy-rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-right-card {
  background: var(--color-light);
  border: 2px solid var(--color-gray-200);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.privacy-right-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(220, 20, 60, 0.1);
  transform: translateY(-4px);
}

.privacy-right-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.privacy-right-card__title .material-icons {
  color: var(--color-primary);
  font-size: 1.3rem;
}

.privacy-right-card p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* COOKIES TABLE */
.privacy-cookies-table {
  width: 100%;
  margin-bottom: 1rem;
  border: 1px solid var(--color-gray-300);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.9rem;
}

.privacy-cookies-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--color-gray-300);
}

.privacy-cookies-row:last-child {
  border-bottom: none;
}

.privacy-cookies-row.privacy-cookies-header {
  background: var(--color-dark);
  color: #ffffff;
  font-weight: 600;
}

.privacy-cookies-cell {
  padding: 1rem;
  word-break: break-word;
}

.privacy-cookies-row:nth-child(even) {
  background: var(--color-gray-100);
}

/* LINKS */
.privacy-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border-bottom: 2px solid transparent;
}

.privacy-link:hover {
  border-bottom-color: var(--color-primary);
}

/* ================================
   TABLET (768px)
   ================================ */

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .privacy-hero {
    padding: 2rem 1rem;
  }

  .privacy-hero__title {
    font-size: 1.75rem;
  }

  .privacy-hero__subtitle {
    font-size: 1rem;
  }

  .privacy-content {
    padding: 2rem 1rem;
  }

  .privacy-toc {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  .privacy-toc__title {
    font-size: 1rem;
  }

  .privacy-toc__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-toc__list a {
    font-size: 0.85rem;
  }

  .privacy-section__title {
    font-size: 1.25rem;
    gap: 0.5rem;
  }

  .privacy-section__title .material-icons {
    font-size: 1.2rem;
  }

  .privacy-rights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .privacy-right-card {
    padding: 1rem;
  }

  .privacy-cookies-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .privacy-cookies-cell {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
}

/* ================================
   MOBILE (480px)
   ================================ */

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 1rem;
  }

  .privacy-hero {
    padding: 1.5rem 1rem;
    position: relative;
  }

  .privacy-hero::before {
    width: 200px;
    height: 200px;
    right: -50px;
  }

  .privacy-hero__content {
    text-align: center;
  }

  .privacy-hero__title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
  }

  .privacy-hero__subtitle {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .privacy-hero__date {
    font-size: 0.8rem;
  }

  .privacy-content {
    padding: 1.5rem 1rem;
  }

  .privacy-toc {
    padding: 1rem;
    margin-bottom: 1.25rem;
    border-radius: 6px;
  }

  .privacy-toc__title {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .privacy-toc__list {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .privacy-toc__list a {
    font-size: 0.8rem;
    padding: 0.35rem 0;
  }

  .privacy-section {
    margin-bottom: 1.5rem;
  }

  .privacy-section__title {
    font-size: 1.1rem;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .privacy-section__title .material-icons {
    font-size: 1.1rem;
  }

  .privacy-subsection__title {
    font-size: 0.9rem;
    margin-top: 0.75rem;
  }

  .privacy-section__text {
    font-size: 0.85rem;
  }

  .privacy-list li {
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
  }

  .privacy-box {
    padding: 1rem;
    border-radius: 6px;
  }

  .privacy-box p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .privacy-rights-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .privacy-right-card {
    padding: 1rem;
    border-radius: 6px;
  }

  .privacy-right-card:hover {
    transform: translateY(-2px);
  }

  .privacy-right-card__title {
    font-size: 0.85rem;
    gap: 0.35rem;
  }

  .privacy-right-card__title .material-icons {
    font-size: 1rem;
  }

  .privacy-right-card p {
    font-size: 0.8rem;
  }

  .privacy-cookies-table {
    font-size: 0.8rem;
  }

  .privacy-cookies-row {
    grid-template-columns: 1fr;
    margin-bottom: 0.75rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
  }

  .privacy-cookies-row.privacy-cookies-header {
    display: none;
  }

  .privacy-cookies-cell {
    padding: 0.75rem;
    border-bottom: 1px solid var(--color-gray-300);
    display: flex;
    flex-direction: column;
  }

  .privacy-cookies-cell:last-child {
    border-bottom: none;
  }

  .privacy-cookies-cell::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
  }

  .privacy-box--warning {
    border-left-color: var(--color-warning);
  }
}

/* ================================
   SMALL MOBILE (320px)
   ================================ */

@media (max-width: 360px) {
  html {
    font-size: 13px;
  }

  .privacy-hero__title {
    font-size: 1.2rem;
  }

  .privacy-section__title {
    font-size: 1rem;
  }

  .privacy-toc__list {
    gap: 0.25rem;
  }

  .privacy-rights-grid {
    gap: 0.75rem;
  }
}
