/* VignettePass Custom CSS - VignettPass */
:root {
  --primary: #1f618d;
  --accent: #d4ac0d;
  --bg: #fef9e7;
  --text: #1a2530;
  --sidebar-w: 260px;
  --radius: 6px;
  --shadow: 0 2px 8px rgba(0,0,0,0.10);
  --font-main: 'Segoe UI', Arial, sans-serif;
  --font-mono: 'Courier New', monospace;
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== UTILITY BAR ===== */
.utility-bar {
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  padding: 0.35rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.utility-bar a { color: #fff; text-decoration: none; opacity: 0.9; }
.utility-bar a:hover { opacity: 1; text-decoration: underline; }

/* ===== HEADER ===== */
header.site-header {
  background: #fff;
  border-bottom: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary);
}
.site-logo img { width: 40px; height: 40px; }
.site-logo .brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}
.site-logo .brand-tagline {
  font-size: 0.75rem;
  color: #666;
  display: block;
}

/* ===== MAIN NAV ===== */
nav.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
nav.main-nav ul li a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
nav.main-nav ul li a:hover,
nav.main-nav ul li a.active {
  background: var(--primary);
  color: #fff;
}

/* ===== LAYOUT: SIDEBAR ===== */
.layout-wrapper {
  display: flex;
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 1.5rem;
  gap: 2rem;
}

aside.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
}

.sidebar-nav {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  padding: 1rem;
  position: sticky;
  top: 80px;
  box-shadow: var(--shadow);
}
.sidebar-nav h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}
.sidebar-nav ul { list-style: none; }
.sidebar-nav ul li a {
  display: block;
  padding: 0.4rem 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  border-radius: 4px;
  transition: background var(--transition);
}
.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
  background: var(--accent);
  color: #fff;
}

main.content {
  flex: 1;
  min-width: 0;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 70%, #000) 100%);
  color: #fff;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
  border-radius: var(--radius);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-text h1 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.hero-text p {
  font-size: 1.05rem;
  opacity: 0.92;
  max-width: 540px;
}
.hero-img { flex-shrink: 0; }
.hero-img img { width: clamp(120px, 20vw, 200px); height: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  transition: opacity var(--transition), transform var(--transition);
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.85rem; }

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.card-icon { margin-bottom: 0.75rem; }
.card-icon img { width: 48px; height: 48px; }
.card h3 { font-size: 1rem; color: var(--primary); margin-bottom: 0.5rem; }
.card p { font-size: 0.9rem; color: #555; }

/* ===== SECTIONS ===== */
section { margin-bottom: 2.5rem; }
section h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}
section h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin: 1.25rem 0 0.5rem;
}
section p { margin-bottom: 0.85rem; }

/* ===== TABLES ===== */
.table-wrap { overflow-x: auto; margin: 1.25rem 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
thead tr { background: var(--primary); color: #fff; }
th, td {
  padding: 0.65rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid #e8e8e8;
}
tbody tr:nth-child(even) { background: #f8f9fa; }
tbody tr:hover { background: color-mix(in srgb, var(--accent) 10%, #fff); }

/* ===== DETAILS / FAQ ===== */
details {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
details[open] { border-color: var(--accent); }
summary {
  padding: 0.85rem 1rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::after { content: '+'; font-size: 1.2rem; color: var(--accent); }
details[open] summary::after { content: '−'; }
details .details-body { padding: 0 1rem 1rem; }

/* ===== DEFINITION LIST ===== */
dl.glossary { margin: 1rem 0; }
dl.glossary dt {
  font-weight: 700;
  color: var(--primary);
  margin-top: 1rem;
  font-size: 0.95rem;
}
dl.glossary dd {
  margin-left: 1.5rem;
  color: #444;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* ===== TIMELINE ===== */
ol.timeline {
  list-style: none;
  position: relative;
  padding-left: 2rem;
}
ol.timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
}
ol.timeline li {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
}
ol.timeline li::before {
  content: '';
  position: absolute;
  left: -1.65rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}
ol.timeline li .step-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
ol.timeline li strong { display: block; font-size: 1rem; color: var(--primary); margin: 0.2rem 0; }

/* ===== CHECKLIST ===== */
ul.checklist { list-style: none; margin: 1rem 0; }
ul.checklist li {
  padding: 0.4rem 0 0.4rem 1.75rem;
  position: relative;
  font-size: 0.92rem;
  border-bottom: 1px solid #f0f0f0;
}
ul.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== ALERT / ASIDE ===== */
aside.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, #fff);
  margin: 1.25rem 0;
  font-size: 0.92rem;
}
aside.alert.info { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, #fff); }
aside.alert.warning { border-color: #e67e22; background: #fef9f0; }
aside.alert strong { color: var(--primary); }

/* ===== BLOCKQUOTE ===== */
blockquote {
  border-left: 4px solid var(--accent);
  padding: 0.75rem 1.25rem;
  background: #f8f9fa;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: #555;
  margin: 1.25rem 0;
}
blockquote cite { display: block; margin-top: 0.5rem; font-style: normal; font-size: 0.85rem; color: #888; }

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.review-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.review-card .reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.review-card .reviewer img { width: 48px; height: 48px; border-radius: 50%; }
.review-card .reviewer-name { font-weight: 700; font-size: 0.95rem; }
.review-card .reviewer-city { font-size: 0.8rem; color: #888; }
.review-card .stars { color: #f39c12; font-size: 1.1rem; margin-bottom: 0.5rem; }
.review-card p { font-size: 0.9rem; color: #444; }

/* ===== TERMS MINI-BLOCK ===== */
.terms-block {
  background: color-mix(in srgb, var(--primary) 5%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary) 20%, #fff);
  border-radius: var(--radius);
  padding: 1rem;
  margin: 1.5rem 0;
}
.terms-block h4 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary); margin-bottom: 0.5rem; }
.terms-block ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.terms-block ul li a {
  font-size: 0.82rem;
  background: var(--primary);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  text-decoration: none;
  transition: background var(--transition);
}
.terms-block ul li a:hover { background: var(--accent); }

/* ===== CONTACT FORM ===== */
.contact-form {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  max-width: 600px;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: var(--font-main);
  transition: border-color var(--transition);
  background: #fafafa;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-error { color: #e74c3c; font-size: 0.82rem; margin-top: 0.25rem; display: none; }
.form-error.visible { display: block; }
.checkbox-group { display: flex; align-items: flex-start; gap: 0.5rem; }
.checkbox-group input { width: auto; margin-top: 0.2rem; }
.checkbox-group label { font-size: 0.85rem; font-weight: 400; }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a2e;
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  z-index: 9999;
  font-size: 0.88rem;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
#cookie-banner a { color: var(--accent); }
#cookie-banner.hidden { display: none; }

/* ===== FOOTER ===== */
footer.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.9);
  padding: 2.5rem 1.5rem 1rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 1.5rem;
}
.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 0.4rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col ul li a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.88rem; }
.footer-col ul li a:hover { color: #fff; text-decoration: underline; }
.footer-col p { font-size: 0.88rem; color: rgba(255,255,255,0.8); line-height: 1.6; }
.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #bbb; }

/* ===== FIGURE ===== */
figure {
  margin: 1.5rem 0;
  text-align: center;
}
figure img { max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
figcaption { font-size: 0.82rem; color: #888; margin-top: 0.5rem; font-style: italic; }

/* ===== NAP ===== */
.nap-block {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  margin: 1.25rem 0;
}
.nap-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; }
.nap-item strong { color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .layout-wrapper { flex-direction: column; padding: 1rem; }
  aside.sidebar { width: 100%; }
  .sidebar-nav { position: static; }
  .hero { flex-direction: column; text-align: center; }
  nav.main-nav ul { gap: 0.1rem; }
  nav.main-nav ul li a { padding: 0.4rem 0.6rem; font-size: 0.82rem; }
  .utility-bar { font-size: 0.78rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
}

/* ===== PRINT ===== */
@media print {
  .utility-bar, nav.main-nav, aside.sidebar, #cookie-banner, footer.site-footer { display: none; }
  .layout-wrapper { display: block; padding: 0; }
  main.content { width: 100%; }
}
