/* CareRelief — editorial redesign (2026) */
:root {
  --bg-page: #ebe8e3;
  --bg-elevated: #fdfcfa;
  --bg-muted: #e0dcd4;
  --bg-dark: #141618;
  --bg-dark-soft: #1c1f23;
  --bg-warm: #f5f0e8;

  --primary: #3d5a73;
  --primary-deep: #2c4252;
  --primary-soft: #dce6ee;

  --accent: #c45c32;
  --accent-deep: #9a4525;
  --accent-soft: #f4e6df;

  --text-primary: #141618;
  --text-secondary: #4a4f54;
  --text-muted: #6b7178;

  --border: rgba(20, 22, 24, 0.12);
  --border-strong: rgba(20, 22, 24, 0.22);
  --ring: rgba(61, 90, 115, 0.45);

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 4px 6px 0 rgba(20, 22, 24, 0.06);
  --shadow-md: 8px 12px 0 rgba(20, 22, 24, 0.08);
  --shadow-hard: 6px 6px 0 var(--text-primary);

  --font-heading: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  --header-offset: 38px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: clamp(3rem, 8vw, 5rem);

  --primary-color: var(--primary-deep);
  --bg-accent: var(--bg-warm);
  --bg-card: var(--bg-elevated);
  --border-color: var(--border-strong);
  --border-radius: var(--radius-md);
  --border-radius-sm: var(--radius-sm);
  --spacing-xs: var(--space-xs);
  --spacing-sm: var(--space-sm);
  --spacing-md: var(--space-md);
  --spacing-lg: var(--space-lg);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text-primary);
  background-color: var(--bg-page);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 24px,
      rgba(20, 22, 24, 0.03) 24px,
      rgba(20, 22, 24, 0.03) 25px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 24px,
      rgba(20, 22, 24, 0.03) 24px,
      rgba(20, 22, 24, 0.03) 25px
    );
  min-height: 100vh;
  overflow-x: hidden;
}

body.page-doc {
  background-image:
    linear-gradient(165deg, rgba(61, 90, 115, 0.06) 0%, transparent 42%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 24px,
      rgba(20, 22, 24, 0.025) 24px,
      rgba(20, 22, 24, 0.025) 25px
    );
}

body.page-contact {
  background-image:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(196, 92, 50, 0.09), transparent),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 24px,
      rgba(20, 22, 24, 0.025) 24px,
      rgba(20, 22, 24, 0.025) 25px
    );
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}
h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

p {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

a {
  color: var(--primary-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
a:hover {
  color: var(--accent-deep);
}

/* Promo strip — minimal rail */
.ad-label {
  position: sticky;
  top: 0;
  z-index: 1000;
  text-align: center;
  padding: 0.45rem var(--space-sm);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--bg-warm);
  background: var(--bg-dark);
  border-bottom: 3px solid var(--accent);
  font-family: var(--font-body);
}

/* Disclaimer — inset panel */
.disclaimer-banner {
  background: var(--bg-elevated);
  color: var(--accent-deep);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.94rem;
  border: 2px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.disclaimer-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--accent);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-title {
  text-align: left;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  position: relative;
  padding-bottom: var(--space-md);
  padding-left: var(--space-md);
  border-left: 4px solid var(--accent);
}

.section-title::after {
  display: none;
}

/* Header — flat bar */
.header {
  position: sticky;
  top: var(--header-offset);
  z-index: 999;
  padding: var(--space-sm) 0;
  margin-bottom: 0;
}

.header-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-elevated);
  border: 2px solid var(--text-primary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hard);
}

.logo,
.logo a {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo a {
  text-decoration: none;
}

.logo a:hover {
  color: var(--accent-deep);
}

.nav-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: var(--font-body);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--text-primary);
  box-shadow: 4px 4px 0 var(--text-primary);
}
.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--text-primary);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--text-primary);
  box-shadow: 3px 3px 0 var(--primary-soft);
}
.btn-secondary:hover {
  background: var(--primary-soft);
  text-decoration: none;
  transform: translate(-1px, -1px);
}

.btn-link {
  background: transparent;
  color: var(--primary-deep);
  padding: 0.35rem 0;
  border: none;
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}
.btn-link:hover {
  color: var(--accent-deep);
}

/* Hero — dark editorial band */
.hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  margin-bottom: var(--space-xl);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  padding: clamp(3rem, 10vw, 5.5rem) clamp(1.25rem, 5vw, 3rem);
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(196, 92, 50, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(61, 90, 115, 0.4) 0%, transparent 50%),
    var(--bg-dark);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 50% 100%, 0 calc(100% - 28px));
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
  padding-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.4rem, 6.5vw, 4rem);
  margin-bottom: var(--space-md);
  color: var(--bg-warm);
  font-weight: 400;
  font-style: italic;
  line-height: 1.05;
  max-width: 18ch;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(245, 240, 232, 0.82);
  max-width: 38rem;
  line-height: 1.65;
}

/* Page hero */
.page-hero {
  padding: var(--space-lg) 0 var(--space-md);
  text-align: left;
  border-bottom: 2px solid var(--text-primary);
  margin-bottom: var(--space-lg);
}

.page-hero h1 {
  margin-bottom: var(--space-xs);
}

.page-hero p {
  max-width: 42rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.stats-strip {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.stat-chip {
  background: var(--bg-elevated);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
  box-shadow: 3px 3px 0 var(--primary-soft);
  transition: transform 0.15s ease;
}
.stat-chip:hover {
  transform: translate(-2px, -2px);
}

/* Cards — paper stack, top accent */
.glass-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  border: 2px solid var(--text-primary);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: visible;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 6px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  opacity: 1;
}

.glass-card:hover {
  box-shadow: var(--shadow-hard);
  transform: translate(-3px, -3px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
}

.card-highlight {
  background: var(--bg-warm);
  border-color: var(--primary-deep);
}

.card-highlight h3 {
  color: var(--primary-deep);
}

/* Legal block */
.legal-block {
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-md) 0;
  border: 2px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.legal-block h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.legal-block p,
.legal-block .legal-info {
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.legal-block strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Forms */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--text-primary);
  background: var(--bg-elevated);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 4px 4px 0 var(--ring);
}

.form-group .error {
  color: #b91c1c;
  font-size: 0.85rem;
  margin-top: var(--space-xs);
  display: none;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin: var(--space-md) 0;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.35rem;
  cursor: pointer;
  accent-color: var(--accent);
}

.checkbox-group label {
  font-weight: 400;
  margin-bottom: 0;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}

.order-form {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 2px solid var(--text-primary);
  box-shadow: var(--shadow-hard);
}

.order-form--compact {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.order-form--compact .form-intro {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.65;
}

.order-form--compact label {
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.order-form--compact .form-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.45;
}

.order-form--compact input::placeholder,
.order-form--compact textarea::placeholder {
  color: #8b9096;
  opacity: 1;
}

.order-form--compact textarea {
  resize: vertical;
  min-height: 5.5rem;
  line-height: 1.5;
}

.order-form-submit {
  width: 100%;
  margin-top: var(--space-sm);
  padding: 0.95rem 1.5rem;
  font-size: 0.95rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: rgba(20, 22, 24, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 2px solid var(--text-primary);
  box-shadow: 12px 12px 0 var(--text-primary);
  text-align: center;
  transform: translateY(16px) rotate(-0.5deg);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.is-open .modal-dialog {
  transform: translateY(0) rotate(0deg);
}

.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid var(--text-primary);
  background: var(--bg-warm);
  color: var(--text-primary);
  font-size: 1.25rem;
  line-height: 1;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.modal-close:hover {
  background: var(--text-primary);
  color: var(--bg-elevated);
}

.modal-icon {
  width: 3.75rem;
  height: 3.75rem;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border: 2px solid var(--text-primary);
  border-radius: var(--radius-sm);
  box-shadow: 4px 4px 0 var(--text-primary);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-style: italic;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.modal-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.65;
}

.modal-btn-ok {
  min-width: 140px;
}

/* Accordion */
.accordion {
  margin-bottom: var(--space-sm);
}

.accordion-header {
  background: var(--bg-elevated);
  border: 2px solid var(--text-primary);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  transition: background 0.15s, transform 0.15s;
}

.accordion-header:hover {
  background: var(--bg-warm);
}

.accordion-header::after {
  content: '→';
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.accordion-header.active::after {
  transform: rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
  padding: 0 var(--space-md);
}

.accordion-content.active {
  max-height: 2000px;
  padding: var(--space-md);
  background: var(--bg-warm);
  border: 2px solid var(--text-primary);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* Images */
.image-placeholder {
  width: 100%;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  border: 2px dashed var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  overflow: hidden;
  position: relative;
}

.image-placeholder::before {
  content: '';
  display: block;
  padding-top: var(--aspect-ratio, 56.25%);
}

.image-placeholder.ratio-16-9 {
  --aspect-ratio: 56.25%;
}

.image-placeholder.ratio-1-1 {
  --aspect-ratio: 100%;
}

.image-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.image-placeholder.ratio-1-1 img {
  object-fit: contain;
  padding: 0.5rem;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

/* Carousel */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
  border: 2px solid var(--text-primary);
  box-shadow: var(--shadow-hard);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-elevated);
  border: 2px solid var(--text-primary);
  color: var(--text-primary);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.25rem;
  box-shadow: 3px 3px 0 var(--text-primary);
}

.carousel-nav:hover {
  background: var(--accent);
  color: #fff;
}

.carousel-nav.prev {
  left: var(--space-md);
}

.carousel-nav.next {
  right: var(--space-md);
}

/* References */
.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.reference-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  border: 2px solid var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.reference-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hard);
}

.reference-card h4 {
  color: var(--primary-deep);
  margin-bottom: var(--space-xs);
  font-size: 1.08rem;
  font-family: var(--font-heading);
  font-style: italic;
}

.reference-card p {
  font-size: 0.94rem;
}

/* Footer — inverted light */
.footer {
  margin-top: var(--space-xl);
  background: var(--bg-warm);
  color: var(--text-primary);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 4px solid var(--text-primary);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.footer-section {
  padding: var(--space-sm);
}

.footer-section h4 {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  font-weight: 400;
  font-style: italic;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.45rem;
}

.footer-section ul li a {
  color: var(--text-secondary);
  font-size: 0.94rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-section ul li a:hover {
  color: var(--accent-deep);
  border-bottom-color: var(--accent-deep);
}

.footer-bottom {
  text-align: left;
  padding: var(--space-lg) var(--space-md);
  border-top: 2px solid var(--border-strong);
  font-size: 0.86rem;
  color: var(--text-muted);
  max-width: 1080px;
  margin: 0 auto;
}

.footer-bottom p {
  color: inherit;
  margin-bottom: var(--space-xs);
}

.footer-bottom strong {
  color: var(--accent-deep);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border-top: 3px solid var(--text-primary);
  padding: var(--space-md);
  z-index: 10000;
  display: none;
  box-shadow: 0 -8px 24px rgba(20, 22, 24, 0.12);
}

.cookie-banner.active {
  display: block;
}

.cookie-banner-content {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.cookie-banner-text {
  flex: 1;
  min-width: 280px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.cookie-banner-text a {
  color: var(--accent-deep);
}

.cookie-banner-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.5s ease-out;
}

body.page-doc .glass-card::before {
  opacity: 1;
  height: 5px;
}

body.page-doc .section-title {
  border-left-color: var(--primary);
}

body.page-contact .glass-card::before {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-deep) 100%);
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: stretch;
  }

  .nav-buttons {
    width: 100%;
    justify-content: stretch;
  }

  .nav-buttons .btn {
    flex: 1;
    justify-content: center;
  }

  .hero {
    min-height: 48vh;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    align-items: center;
    padding-top: 2.5rem;
  }

  .hero-content {
    text-align: left;
  }

  .section-title {
    padding-left: var(--space-sm);
  }

  .cookie-banner-content {
    flex-direction: column;
    text-align: left;
  }

  .cookie-banner-buttons {
    justify-content: flex-start;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .glass-card {
    padding: var(--space-md);
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.78rem;
  }

  .modal-dialog {
    box-shadow: 8px 8px 0 var(--text-primary);
  }
}
