*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #d02e3e;
  --primary-dark: #a82332;
  --aqua: #7ec8e3;
  --aqua-light: #b8e4f5;
  --aqua-dark: #1a6b8a;
  --sky: #e8f6fc;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.85);
  --text-dark: #0f2433;
  --text-mid: #1e4055;
  --text-light: #ffffff;
  --section-alt: linear-gradient(135deg, #d4eef9 0%, #e8f4fa 50%, #fce8ea 100%);
  --section-warm: linear-gradient(160deg, #fff5f6 0%, #ffe8eb 100%);
  --section-cool: linear-gradient(160deg, #e0f4fc 0%, #c5e8f7 100%);
  --section-deep: linear-gradient(160deg, #1a4a5e 0%, #0f2433 100%);
  --shadow: 0 8px 32px rgba(26, 107, 138, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--sky);
  line-height: 1.65;
  min-width: 320px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.editorial-notice {
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.55;
}

.editorial-notice strong {
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.35rem;
}

.disclaimer-bar {
  background: var(--text-dark);
  color: var(--text-light);
  font-size: 0.78rem;
  text-align: center;
  padding: 0.55rem 1rem;
  line-height: 1.45;
}

.site-header {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--text-mid);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.3rem 0.55rem;
  line-height: 1;
}

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--section-cool);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(126, 200, 227, 0.85) 0%, rgba(208, 46, 62, 0.55) 100%);
  z-index: 1;
}

.hero-bubbles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(126, 200, 227, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: float 6s ease-in-out infinite;
}

.bubble:nth-child(1) { width: 80px; height: 80px; top: 15%; left: 10%; animation-delay: 0s; }
.bubble:nth-child(2) { width: 50px; height: 50px; top: 60%; left: 75%; animation-delay: 1.5s; }
.bubble:nth-child(3) { width: 65px; height: 65px; top: 30%; right: 15%; animation-delay: 3s; }
.bubble:nth-child(4) { width: 40px; height: 40px; bottom: 20%; left: 40%; animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 4rem 0;
  max-width: 680px;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  backdrop-filter: blur(6px);
}

.hero h1 {
  font-size: clamp(1.85rem, 5vw, 3rem);
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.5);
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 1.75rem;
  max-width: 540px;
}

.hero-cards {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  flex: 1;
  min-width: 140px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}

.hero-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 28px rgba(208, 46, 62, 0.25);
  border-color: var(--primary);
}

.hero-card i {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.hero-card strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.hero-card span {
  font-size: 0.82rem;
  color: var(--text-mid);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(208, 46, 62, 0.35);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.85);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-random {
  background: linear-gradient(135deg, #ff6b7a 0%, var(--primary) 50%, #ff4757 100%);
  color: var(--text-light);
  font-size: clamp(1rem, 3vw, 1.35rem);
  padding: 1.1rem 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 0 var(--primary-dark), 0 12px 24px rgba(208, 46, 62, 0.4);
  animation: pulse-btn 2.5s ease-in-out infinite;
}

.btn-random:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 0 var(--primary-dark), 0 16px 32px rgba(208, 46, 62, 0.5);
}

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 8px 0 var(--primary-dark), 0 12px 24px rgba(208, 46, 62, 0.4); }
  50% { box-shadow: 0 8px 0 var(--primary-dark), 0 12px 36px rgba(208, 46, 62, 0.6); }
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--section-alt);
}

.section-warm {
  background: var(--section-warm);
}

.section-cool {
  background: var(--section-cool);
}

.section-deep {
  background: var(--section-deep);
  color: var(--text-light);
}

.section-deep h2,
.section-deep h3 {
  color: var(--text-light);
}

.section-deep p,
.section-deep li {
  color: rgba(255, 255, 255, 0.9);
}

.section-deep .timeline-item h4 {
  color: var(--text-light);
}

.section-deep .timeline-item p {
  color: rgba(255, 255, 255, 0.88);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-header p.lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 640px;
}

.section-deep .section-header h2 {
  color: var(--text-light);
}

.section-deep .section-header p.lead {
  color: rgba(255, 255, 255, 0.85);
}

.magazine-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.magazine-grid.reverse {
  grid-template-columns: 1fr 1.4fr;
}

.magazine-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.magazine-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 2px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card-accent {
  border-left: 4px solid var(--primary);
}

.card h3 {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-mid);
  font-size: 0.95rem;
}

.section-deep .card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.section-deep .card h3 {
  color: var(--text-light);
}

.section-deep .card p {
  color: rgba(255, 255, 255, 0.88);
}

.image-block {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.image-block img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.image-caption {
  background: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-mid);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  border: 1px solid rgba(126, 200, 227, 0.4);
}

.feature-item i {
  color: var(--primary);
  font-size: 1.3rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.feature-item h4 {
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.feature-item p {
  color: var(--text-mid);
  font-size: 0.9rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.stat-box {
  text-align: center;
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  border: 2px solid var(--aqua);
}

.stat-box i {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.stat-box .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-box .label {
  font-size: 0.85rem;
  color: var(--text-mid);
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--aqua), var(--primary));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.65rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--text-light);
  box-shadow: 0 0 0 3px var(--aqua);
}

.timeline-item h4 {
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.timeline-item p {
  color: var(--text-mid);
  font-size: 0.92rem;
}

.section-alt .timeline-item h4,
.section-warm .timeline-item h4,
.section-cool .timeline-item h4 {
  color: var(--text-dark);
}

.section-alt .timeline-item p,
.section-warm .timeline-item p,
.section-cool .timeline-item p {
  color: var(--text-mid);
}

.numbered-list {
  counter-reset: item;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.numbered-list li {
  counter-increment: item;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.65);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
}

.numbered-list li::before {
  content: counter(item);
  background: var(--primary);
  color: var(--text-light);
  font-weight: 800;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.numbered-list li div h4 {
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.numbered-list li div p {
  color: var(--text-mid);
  font-size: 0.9rem;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  color: var(--text-mid);
  font-size: 0.93rem;
  border-bottom: 1px solid rgba(126, 200, 227, 0.3);
}

.check-list li i {
  color: var(--primary);
  margin-top: 0.2rem;
}

.random-section {
  text-align: center;
}

.random-result {
  margin-top: 1.5rem;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.random-card {
  background: rgba(255, 255, 255, 0.9);
  border: 3px dashed var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  max-width: 520px;
  margin: 0 auto;
  animation: pop-in 0.4s ease;
}

@keyframes pop-in {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(126, 200, 227, 0.5);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question i {
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.25rem 1rem;
  color: var(--text-mid);
  font-size: 0.9rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.event-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  padding: 1.25rem;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow);
}

.event-date {
  display: inline-block;
  background: var(--primary);
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}

.event-card h4 {
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.event-card p {
  color: var(--text-mid);
  font-size: 0.88rem;
}

.cta-block {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(126, 200, 227, 0.3), rgba(208, 46, 62, 0.15));
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.cta-block h2 {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.cta-block p {
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item i {
  color: var(--primary);
  font-size: 1.3rem;
  margin-top: 0.2rem;
}

.contact-item h4 {
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.contact-item p,
.contact-item a {
  color: var(--text-mid);
  font-size: 0.93rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  padding: 2rem;
  border: 2px solid var(--glass-border);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--aqua);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--text-light);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.checkbox-group input {
  margin-top: 0.25rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.45;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--glass-border);
  margin-top: 2rem;
}

.map-wrap iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

.footer-brand .footer-business-id {
  font-size: 0.82rem;
  margin-top: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

.footer-brand .footer-business-id a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-nav .open-cookie-settings {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  text-align: left;
}

.footer-nav .open-cookie-settings:hover {
  color: var(--aqua-light);
}

.compliance-strip {
  background: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(126, 200, 227, 0.45);
  border-bottom: 1px solid rgba(126, 200, 227, 0.45);
  padding: 0.65rem 0;
  font-size: 0.8rem;
  color: var(--text-mid);
  text-align: center;
}

.compliance-strip a {
  color: var(--primary);
  font-weight: 600;
}

.site-footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 0.75rem;
  line-height: 1.55;
}

.footer-nav h4 {
  color: var(--text-light);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

.footer-nav a:hover {
  color: var(--aqua-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom a:hover {
  color: var(--aqua-light);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: var(--text-light);
  padding: 1.25rem;
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.cookie-text {
  flex: 1;
  min-width: 240px;
  font-size: 0.85rem;
  line-height: 1.55;
}

.cookie-text strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--text-light);
}

.cookie-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.cookie-text a {
  color: var(--aqua-light);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: stretch;
}

.cookie-buttons .btn {
  font-size: 0.82rem;
  padding: 0.65rem 1.1rem;
  min-width: 8.5rem;
  justify-content: center;
  font-weight: 700;
}

.btn-cookie-accept {
  background: var(--primary);
  color: var(--text-light);
  border: 2px solid var(--primary);
}

.btn-cookie-reject {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-cookie-reject:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--text-light);
}

.btn-cookie-settings {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.cookie-settings-panel {
  display: none;
  width: 100%;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-settings-panel.open {
  display: block;
}

.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 1rem;
}

.cookie-category-info h5 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.cookie-category-info p {
  font-size: 0.78rem;
  opacity: 0.75;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 26px;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--text-light);
  border-radius: 50%;
  transition: transform var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.policy-content {
  max-width: 820px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.35rem;
  color: var(--text-dark);
  margin: 2rem 0 0.75rem;
}

.policy-content h3 {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin: 1.5rem 0 0.5rem;
}

.policy-content p,
.policy-content li {
  color: var(--text-mid);
  font-size: 0.93rem;
  margin-bottom: 0.75rem;
}

.policy-content code {
  background: rgba(208, 46, 62, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--text-dark);
}

.policy-content em {
  font-style: italic;
}

.policy-content ul,
.policy-content ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.policy-content ul {
  list-style: disc;
}

.policy-content ol {
  list-style: decimal;
}

.success-block {
  text-align: center;
  padding: 5rem 1rem;
}

.success-block i {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.success-block h1 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.success-block p {
  color: var(--text-mid);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.tag {
  background: rgba(208, 46, 62, 0.12);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(208, 46, 62, 0.25);
}

.quote-block {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-mid);
  margin: 1rem 0;
}

.inner-hero {
  min-height: 320px;
}

.inner-hero .hero-content {
  max-width: 100%;
}

@media (max-width: 900px) {
  .magazine-grid,
  .magazine-grid.reverse {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .three-col {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--text-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 2rem;
    gap: 0;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    transition: right var(--transition);
    z-index: 999;
    overflow-y: auto;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav a {
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(126, 200, 227, 0.3);
    font-size: 1rem;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 36, 51, 0.5);
    z-index: 998;
  }

  .nav-overlay.open {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 420px;
  }

  .hero-cards {
    flex-direction: column;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    justify-content: stretch;
  }

  .cookie-buttons .btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2.5rem 0;
  }

  .hero-content {
    padding: 2.5rem 0;
  }

  .btn-random {
    width: 100%;
    padding: 1rem 1.25rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .disclaimer-bar {
    font-size: 0.72rem;
  }

  .logo-link img {
    height: 34px;
  }

  .btn {
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
  }
}
