:root {
  --dot-legal-blue: #0e3a5a;
  --dot-legal-cyan: #006494;
  --dot-legal-light: #eef7fb;
  --dot-legal-soft: #f6fbff;
  --dot-legal-border: rgba(14, 58, 90, 0.16);
  --dot-legal-text: #1f2937;
  --dot-legal-muted: #5f6f7a;
  --dot-legal-shadow: 0 14px 34px rgba(14, 58, 90, 0.10);
}

.dot-legal-hero {
  background:
    linear-gradient(135deg, rgba(14, 58, 90, 0.92), rgba(0, 100, 148, 0.86)),
    url("https://www.diverontour.com/index_html_files/taucher-hurghada.webp") center / cover no-repeat;
  color: #fff;
  padding: 96px 20px 82px;
  text-align: center;
}

.dot-legal-hero__inner {
  max-width: 980px;
  margin: 0 auto;
}

.dot-legal-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.dot-legal-hero p {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(1.02rem, 2.3vw, 1.28rem);
  line-height: 1.7;
}

.dot-legal-main {
  background: #fff;
  color: var(--dot-legal-text);
}

.dot-legal-section {
  padding: 70px 20px;
}

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

.dot-legal-intro {
  padding-top: 48px;
}

.dot-container {
  max-width: 1180px;
  margin: 0 auto;
}

.dot-section-head {
  max-width: 920px;
  margin: 0 auto 34px;
  text-align: center;
}

.dot-section-label {
  margin: 0 0 10px;
  color: var(--dot-legal-cyan);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.dot-legal-hero .dot-section-label {
  color: #aee6ff;
}

.dot-section-head h2 {
  margin: 0 0 14px;
  color: var(--dot-legal-blue);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.18;
}

.dot-section-head p {
  margin: 0;
  color: var(--dot-legal-muted);
  line-height: 1.7;
}

.dot-legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}

.dot-legal-card {
  background: #fff;
  border: 1px solid var(--dot-legal-border);
  border-radius: 18px;
  box-shadow: var(--dot-legal-shadow);
  padding: clamp(22px, 4vw, 34px);
  margin-bottom: 24px;
}

.dot-legal-card--notice {
  background: linear-gradient(180deg, #ffffff, var(--dot-legal-light));
}

.dot-legal-card h2,
.dot-legal-card h3 {
  color: var(--dot-legal-blue);
  line-height: 1.25;
}

.dot-legal-card h2 {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.dot-legal-card h3 {
  margin: 24px 0 10px;
  font-size: 1.2rem;
}

.dot-legal-card h3:first-child {
  margin-top: 0;
}

.dot-legal-card p {
  margin: 0 0 15px;
  line-height: 1.72;
}

.dot-legal-card p:last-child {
  margin-bottom: 0;
}

.dot-legal-card ul,
.dot-legal-card ol {
  margin: 10px 0 18px;
  padding-left: 22px;
}

.dot-legal-card li {
  margin: 7px 0;
  line-height: 1.65;
}

.dot-legal-card a {
  color: var(--dot-legal-cyan);
  font-weight: 700;
  text-decoration: none;
}

.dot-legal-card a:hover {
  text-decoration: underline;
}

.dot-legal-card blockquote {
  margin: 18px 0 0;
  padding: 18px 20px;
  background: var(--dot-legal-light);
  border-left: 5px solid var(--dot-legal-cyan);
  border-radius: 12px;
  line-height: 1.7;
  color: var(--dot-legal-blue);
  font-weight: 600;
}

.dot-legal-toc {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}

.dot-legal-toc a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--dot-legal-blue);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 10px 22px rgba(14, 58, 90, 0.14);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.dot-legal-toc a:hover {
  background: var(--dot-legal-cyan);
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .dot-legal-grid {
    grid-template-columns: 1fr;
  }

  .dot-legal-toc {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .dot-legal-hero {
    padding: 72px 18px 60px;
  }

  .dot-legal-section {
    padding: 52px 16px;
  }

  .dot-legal-card {
    border-radius: 16px;
  }

  .dot-legal-toc {
    grid-template-columns: 1fr;
  }

  .dot-legal-toc a {
    justify-content: flex-start;
    text-align: left;
  }
}
