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

/* ── Variables ── */
:root {
  --color-brand:   #1a73e8;
  --color-accent:  #fbbc04;
  --color-text:    #202124;
  --color-bg:      #ffffff;
  --color-muted:   #5f6368;
  --color-border:  #dadce0;
  --color-success: #34a853;
  --color-error:   #ea4335;
  --color-warning: #fbbc04;
  --font-base:     system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono:     'Cascadia Code', Consolas, monospace;
  --max-width:     1200px;
  --radius:        8px;
  --radius-sm:     4px;
  --shadow:        0 1px 3px rgba(0,0,0,.12);
  --shadow-lg:     0 4px 12px rgba(0,0,0,.15);
  --transition:    0.2s ease;
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-base); color: var(--color-text);
  background: var(--color-bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.text-center { text-align: center; }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.3; }
h1 { font-size: 2.5rem; } h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; } h4 { font-size: 1.25rem; }
.text-muted { color: var(--color-muted); }
.text-small { font-size: 0.85rem; }

/* ── Buttons ── */
.btn {
  display: inline-block; padding: .75rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; cursor: pointer; border: none;
  font-size: 1rem; transition: opacity var(--transition);
}
.btn:hover { opacity: 0.9; text-decoration: none; }
.btn-primary { background: var(--color-brand); color: #fff; }
.btn-secondary { background: transparent; color: var(--color-brand); border: 2px solid var(--color-brand); }
.btn-accent { background: var(--color-accent); color: #202124; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }

/* ── Cards ── */
.card {
  background: #fff; border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow); transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .5rem; }

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .65rem .9rem; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); font-family: var(--font-base); font-size: 1rem;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(26,115,232,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: 1rem; }
.form-check input[type="checkbox"] { margin-top: .3rem; width: auto; }
.form-feedback { padding: 1rem; border-radius: var(--radius-sm); margin: 1rem 0; display: none; }
.form-feedback.success { background: #e6f4ea; color: #137333; display: block; }
.form-feedback.error { background: #fce8e6; color: #c5221f; display: block; }

/* ── Navigation ── */
.site-header { background: #fff; border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 100; }
.site-header nav ul { list-style: none; display: flex; gap: 1.5rem; }
.site-header nav a { color: var(--color-text); font-weight: 500; }
.site-header nav a:hover { color: var(--color-brand); text-decoration: none; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ── Breadcrumb ── */
.breadcrumb { padding: 1rem 0; font-size: .85rem; color: var(--color-muted); }
.breadcrumb a { color: var(--color-brand); }

/* ── Hero ── */
.hero { background: linear-gradient(135deg, var(--color-brand), #1557b0); color: #fff; }
.hero h1 { font-size: 3rem; margin-bottom: .5rem; }
.hero p { font-size: 1.2rem; opacity: .9; }
.hero .btn-primary { background: var(--color-accent); color: #202124; }

/* ── Sections ── */
.section { padding: 4rem 0; }
.section-alt { background: #f8f9fa; }
.section h2 { text-align: center; margin-bottom: 2.5rem; }

/* ── Tables ── */
.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
th { font-weight: 600; background: #f8f9fa; }

/* ── Badges ── */
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.badge-primary { background: var(--color-brand); color: #fff; }
.badge-accent { background: var(--color-accent); color: #202124; }
.badge-success { background: var(--color-success); color: #fff; }

.service-card { display: flex; flex-direction: column; gap: 1rem; }
.service-card__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.service-card p { min-height: 3rem; color: var(--color-muted); }

/* ── Disclaimer ── */
.disclaimer { background: #fff3cd; border: 1px solid #ffc107; border-radius: var(--radius-sm); padding: 1rem; font-size: .85rem; color: #856404; margin: 1rem 0; }

.faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; cursor: pointer; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { background: #f8f9fa; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; line-height: 1; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-answer { padding: 0 1.25rem 1rem; color: var(--color-muted); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  h1 { font-size: 2rem; } h2 { font-size: 1.5rem; }
  .menu-toggle { display: block; }
  .site-header nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--color-border); padding: 1rem 1.5rem; }
  .site-header nav ul.open { display: flex; }
}

/* ── Print ── */
@media print {
  .site-header, .cookie-bar, .menu-toggle, .btn { display: none !important; }
  body { color: #000; background: #fff; }
}
