@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --red: #ED151A;
  --navy: #09214A;
  --blue: #3DC2E2;
  --white: #FFFFFF;
  --light: #F4F7FB;
  --text: #1a1a2e;
  --muted: #6b7a99;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  background: var(--light);
  color: var(--text);
  line-height: 1.7;
}

/* ─── HEADER ─── */
header {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 60px 40px 50px;
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

header h1 span {
  color: var(--blue);
}

.header-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(61, 194, 226, 0.15);
  border: 1px solid rgba(61, 194, 226, 0.4);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 20px;
}

/* ─── LAYOUT ─── */
.page-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ─── TABLE OF CONTENTS ─── */
.toc {
  background: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  padding: 28px 32px;
  margin: 48px 0 40px;
  box-shadow: 0 4px 24px rgba(9, 33, 74, 0.06);
}

.toc h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.toc ol {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
}

.toc li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc li a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.toc li a:hover {
  color: var(--navy);
}

.toc li a:hover::before {
  opacity: 1;
}

/* ─── SECTIONS ─── */
.section {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 44px;
  margin-bottom: 28px;
  box-shadow: 0 2px 16px rgba(9, 33, 74, 0.05);
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  opacity: 0;
  transition: opacity 0.3s;
}

.section:hover::before {
  opacity: 1;
}

.section-number {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8edf5;
  line-height: 1.3;
}

.article {
  margin-bottom: 28px;
}

.article:last-child {
  margin-bottom: 0;
}

.article h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
  padding: 8px 14px;
  background: var(--light);
  border-left: 3px solid var(--blue);
  border-radius: 0 6px 6px 0;
}

.article p {
  font-size: 0.92rem;
  color: #3a4a6b;
  margin-bottom: 10px;
  line-height: 1.75;
}

.article ul, .article ol {
  padding-left: 20px;
  margin: 10px 0;
}

.article li {
  font-size: 0.9rem;
  color: #3a4a6b;
  margin-bottom: 6px;
  line-height: 1.6;
}

/* ─── HIGHLIGHT BOXES ─── */
.info-box {
  background: rgba(61, 194, 226, 0.07);
  border: 1px solid rgba(61, 194, 226, 0.3);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 0.88rem;
  color: var(--navy);
}

.warning-box {
  background: rgba(237, 21, 26, 0.05);
  border: 1px solid rgba(237, 21, 26, 0.2);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 0.88rem;
  color: var(--navy);
}

.warning-box strong, .info-box strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

/* ─── RETRACTATION FORM ─── */
.form-section {
  background: var(--navy);
  border-radius: 16px;
  padding: 40px 44px;
  margin-bottom: 28px;
  color: var(--white);
}

.form-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}

.form-section .subtitle {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--blue);
}

.form-field input,
.form-field textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  background: rgba(61, 194, 226, 0.08);
}

.form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-address {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  line-height: 1.6;
}

.form-address a {
  color: var(--blue);
  text-decoration: none;
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  padding: 32px 40px;
  text-align: center;
}

footer p {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
}

footer a {
  color: var(--blue);
  text-decoration: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  header { padding: 40px 20px 36px; }
  .section, .form-section { padding: 28px 22px; }
  .toc ol { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-wrapper { padding: 0 16px 60px; }
}
