* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #db2777;
  --color-secondary: #9d174d;
  --color-accent: #fbcfe8;
  --color-bg: #fffbfd;
  --color-surface: #fef1f7;
  --color-text: #500724;
  --color-text-muted: #9b6b80;
  --color-border: #e8c8d8;
  --font-main: 'Verdana', 'Geneva', 'Tahoma', sans-serif;
  --max-width: 1100px;
  --radius: 16px;
  --shadow-sm: 0 2px 8px rgba(219, 39, 119, 0.08);
  --shadow-md: 0 4px 16px rgba(219, 39, 119, 0.12);
  --shadow-lg: 0 8px 24px rgba(219, 39, 119, 0.16);
  --shadow-xl: 0 12px 32px rgba(219, 39, 119, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 0.75em;
  color: var(--color-secondary);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 2rem;
  margin-top: 1.5em;
}

h3 {
  font-size: 1.5rem;
  margin-top: 1.25em;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.25em;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  border-radius: 4px;
  position: relative;
}

a:hover {
  color: var(--color-secondary);
}

a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

strong {
  font-weight: 700;
  color: var(--color-secondary);
}

em {
  font-style: italic;
}

::selection {
  background: var(--color-accent);
  color: var(--color-secondary);
}

blockquote {
  margin: 2em 0;
  padding: 1.5em 1.5em 1.5em 2em;
  background: var(--color-surface);
  border-left: 6px solid var(--color-primary);
  border-radius: var(--radius);
  font-style: italic;
  color: var(--color-text-muted);
  box-shadow: var(--shadow-sm);
  position: relative;
}

blockquote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, transparent 100%);
  border-radius: var(--radius) var(--radius) 0 0;
}

.site-header {
  background: linear-gradient(135deg, rgba(255, 251, 253, 0.95) 0%, rgba(254, 241, 247, 0.95) 100%);
  backdrop-filter: blur(10px);
  padding: 1.5rem 1rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--color-border);
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.site-nav a {
  padding: 0.65rem 1.5rem;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.site-nav a:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.site-main {
  flex: 1;
  padding: 2rem 1rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-surface);
  border-radius: 50px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.breadcrumbs a {
  color: var(--color-text-muted);
  padding: 0.25rem 0.5rem;
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.breadcrumbs span {
  color: var(--color-border);
}

.card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2em 0;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

table thead {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
}

table th {
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.2s ease;
}

table tbody tr {
  transition: background-color 0.2s ease;
}

table tbody tr:nth-child(even) {
  background: var(--color-surface);
}

table tbody tr:hover {
  background: var(--color-accent);
}

table tbody tr:last-child td {
  border-bottom: none;
}

details {
  margin: 1.5em 0;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

details:hover {
  box-shadow: var(--shadow-lg);
}

details[open] {
  box-shadow: var(--shadow-xl);
}

summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-secondary);
  background: linear-gradient(135deg, var(--color-surface) 0%, white 100%);
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

summary:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

summary::marker {
  color: var(--color-primary);
}

summary::-webkit-details-marker {
  color: var(--color-primary);
}

details[open] summary {
  border-bottom: 2px solid var(--color-border);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
}

details[open] summary::marker {
  color: white;
}

details[open] summary::-webkit-details-marker {
  color: white;
}

details > *:not(summary) {
  padding: 1.5rem;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  color: white;
  padding: 3rem 1rem 2rem;
  margin-top: 4rem;
  border-top: 6px solid var(--color-primary);
  box-shadow: 0 -4px 16px rgba(219, 39, 119, 0.15);
}

.site-footer a {
  color: var(--color-accent);
  font-weight: 600;
}

.site-footer a:hover {
  color: white;
  text-decoration: underline;
}

button, input[type="submit"], input[type="button"] {
  font-family: var(--font-main);
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
  font-size: 1rem;
}

button:hover, input[type="submit"]:hover, input[type="button"]:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

button:focus-visible, input[type="submit"]:focus-visible, input[type="button"]:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  font-family: var(--font-main);
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: white;
  color: var(--color-text);
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-accent);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

@media (min-width: 768px) {
  body {
    font-size: 18px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  .site-header {
    padding: 2rem 2rem;
  }

  .site-nav {
    gap: 1.5rem;
    justify-content: flex-start;
  }

  .site-main {
    padding: 3rem 2rem;
  }

  .card {
    padding: 2.5rem;
  }

  .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .site-header {
    padding: 2rem 3rem;
  }

  .site-nav {
    gap: 2rem;
  }

  .site-main {
    padding: 4rem 2rem;
  }

  .card {
    padding: 3rem;
  }

  blockquote {
    padding: 2rem 2rem 2rem 3rem;
  }

  table th, table td {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .site-nav, .site-footer {
    display: none;
  }

  .site-main {
    padding: 0;
  }

  .container {
    max-width: 100%;
  }

  .card {
    box-shadow: none;
    border: 1px solid var(--color-border);
    page-break-inside: avoid;
  }

  a {
    color: var(--color-text);
    text-decoration: underline;
  }

  body {
    background: white;
  }
}