/* ============================================================
   UstaFiyat Garaj — Modern Garage + Blueprint Design System
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-bg-dark: #1a1d23;
  --color-bg-card: #22262e;
  --color-bg-card-hover: #2a2f38;
  --color-bg-surface: #272b33;
  --color-bg-input: #1e2128;
  --color-border: #33383f;
  --color-border-grid: rgba(70, 130, 180, 0.08);
  --color-accent: #e8a624;
  --color-accent-hover: #f0b840;
  --color-accent-dim: rgba(232, 166, 36, 0.15);
  --color-accent-glow: rgba(232, 166, 36, 0.3);
  --color-text: #e0e2e6;
  --color-text-muted: #9a9fa8;
  --color-text-heading: #f0f1f3;
  --color-success: #34c759;
  --color-error: #e53e3e;
  --color-info: #4a90d9;
  --color-panel-glow: rgba(74, 144, 217, 0.12);
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Cascadia Code", "Fira Code", "Consolas", monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 2px 12px rgba(0,0,0,0.25);
  --shadow-card-hover: 0 6px 24px rgba(0,0,0,0.35);
  --transition-base: 0.25s ease;
  --max-width: 1200px;
  --header-height: 72px;
}

/* --- Reduced Motion --- */
@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;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--color-border-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border-grid) 1px, transparent 1px);
  background-size: 60px 60px;
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-base);
}
a:hover { color: var(--color-accent-hover); }

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-accent);
  color: var(--color-bg-dark);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
  outline: 3px solid var(--color-text);
  outline-offset: 2px;
}

/* --- Focus Styles --- */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 0;
}

/* --- Headings --- */
h1, h2, h3, h4 {
  color: var(--color-text-heading);
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section --- */
.section {
  padding: 72px 0;
}
.section--alt {
  background-color: var(--color-bg-surface);
}

.section-title {
  text-align: center;
  margin-bottom: 12px;
  position: relative;
}
.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26, 29, 35, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

/* Desktop nav */
.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
}
.nav-list a {
  display: block;
  padding: 8px 14px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color var(--transition-base), background var(--transition-base);
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--color-accent);
  background: var(--color-accent-dim);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  color: var(--color-text);
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-list {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(26, 29, 35, 0.98);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 24px;
    gap: 2px;
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 12px 16px; font-size: 1rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  padding: 48px 0 24px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  color: var(--color-accent);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--color-accent); }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  position: relative;
  margin-bottom: 20px;
}
.hero p {
  position: relative;
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-accent {
  color: var(--color-accent);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  font-family: inherit;
  line-height: 1.4;
}
.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg-dark);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg-dark);
  box-shadow: 0 4px 20px var(--color-accent-glow);
}
.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn--outline:hover {
  background: var(--color-accent-dim);
  color: var(--color-accent-hover);
}
.btn--small {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-accent);
}

.card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  color: var(--color-accent);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}
.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Card grid */
.card-grid {
  display: grid;
  gap: 28px;
}
.card-grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.card-grid--2 {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   PANEL — "Blueprint" info panel
   ============================================================ */
.panel {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-info);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 24px 0;
  box-shadow: inset 0 0 30px var(--color-panel-glow);
}
.panel p { color: var(--color-text-muted); }
.panel strong { color: var(--color-text-heading); }

/* ============================================================
   PRICE TABLE / CARDS
   ============================================================ */
.price-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.price-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-card);
}
.price-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.price-range {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  font-family: var(--font-mono);
  margin: 12px 0;
}
.price-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: italic;
}
.price-includes {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.price-includes li {
  list-style: none;
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.price-includes li::before {
  content: "\2022";
  color: var(--color-accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* ============================================================
   MINI PRICE on homepage
   ============================================================ */
.mini-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.mini-price-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.mini-price-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.mini-price-item .price-range {
  font-size: 1.15rem;
  margin: 6px 0 0;
}

/* ============================================================
   SERVICE SELECTOR (index.html)
   ============================================================ */
.service-selector {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  max-width: 640px;
  margin: 0 auto;
}
.service-selector label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-text-heading);
  font-size: 0.95rem;
}
.service-selector select {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-bg-input);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 20px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9fa8' fill='none' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.selector-result {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.selector-result .price-range { margin: 4px 0; }
.selector-result .duration {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ============================================================
   PRICE CALCULATOR (fiyatlar.html)
   ============================================================ */
.calculator {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  max-width: 640px;
  margin: 0 auto;
}
.calculator label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-text-heading);
  font-size: 0.95rem;
}
.calculator select {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-bg-input);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 20px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9fa8' fill='none' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.calc-result {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-result .price-range {
  font-size: 1.6rem;
}
.calc-result .calc-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ============================================================
   SYMPTOM CARDS (ariza-belirtileri.html)
   ============================================================ */
.symptom-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.symptom-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.symptom-icon {
  width: 32px;
  height: 32px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.symptom-card p {
  color: var(--color-text-muted);
  margin-top: 12px;
  font-size: 0.95rem;
}
.symptom-card .warning {
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(229, 62, 62, 0.08);
  border-left: 3px solid var(--color-error);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: #f0a0a0;
}

/* ============================================================
   PROCESS STEPS (servis-sureci.html)
   ============================================================ */
.process-steps {
  position: relative;
  padding-left: 40px;
}
.process-steps::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.step {
  position: relative;
  margin-bottom: 48px;
}
.step:last-child { margin-bottom: 0; }
.step-number {
  position: absolute;
  left: -40px;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  color: var(--color-bg-dark);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin-bottom: 10px; }
.step p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   FAQ ACCORDION (sss.html)
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--color-bg-card);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  color: var(--color-text-heading);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: background var(--transition-base);
}
.faq-question:hover {
  background: var(--color-bg-card-hover);
}
.faq-question[aria-expanded="true"] {
  background: var(--color-bg-card-hover);
}
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--color-accent);
}
.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-text-heading);
}
.form-group .required-star {
  color: var(--color-error);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-bg-input);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-base);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.form-group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.form-group--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--color-accent);
}
.form-group--checkbox label {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.form-message {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin-top: 16px;
  display: none;
}
.form-message--success {
  display: block;
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid var(--color-success);
  color: var(--color-success);
}
.form-message--error {
  display: block;
  background: rgba(229, 62, 62, 0.1);
  border: 1px solid var(--color-error);
  color: #f0a0a0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Form Card */
.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
}
.form-card-title {
  text-align: center;
  margin-bottom: 8px;
  font-size: 1.5rem;
}
.form-card-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin: 14px auto 0;
  border-radius: 2px;
}
.form-card-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.form-card-info {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.form-card-info p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}
.form-card-info strong {
  color: var(--color-text-heading);
}
@media (max-width: 600px) {
  .form-card {
    padding: 28px 20px;
  }
}

/* Contact info grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.contact-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.contact-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-item p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}
.about-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}
.about-content p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}
.policy-content h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.policy-content h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.policy-content p {
  margin-bottom: 14px;
  color: var(--color-text-muted);
}
.policy-content ul {
  margin-bottom: 14px;
  padding-left: 24px;
  color: var(--color-text-muted);
}
.policy-content li {
  margin-bottom: 6px;
}

/* ============================================================
   SITE MAP PAGE
   ============================================================ */
.sitemap-links {
  max-width: 600px;
  margin: 0 auto;
}
.sitemap-links h2 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.sitemap-links ul {
  list-style: none;
  padding: 0;
}
.sitemap-links li {
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}
.sitemap-links li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  text-align: center;
  padding: 120px 0;
}
.error-code {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 800;
  color: var(--color-accent);
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: 16px;
}
.error-page p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

/* ============================================================
   IMAGE PLACEHOLDERS
   ============================================================ */
.img-placeholder {
  background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-bg-surface) 100%);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  min-height: 200px;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  padding: 20px 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.cookie-banner.visible {
  display: block;
}
.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.cookie-banner p {
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}
.cookie-banner a { text-decoration: underline; }
.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 10px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-accent);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-base);
}
.cookie-btn--accept {
  background: var(--color-accent);
  color: var(--color-bg-dark);
}
.cookie-btn--accept:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}
.cookie-btn--reject {
  background: transparent;
  color: var(--color-accent);
}
.cookie-btn--reject:hover {
  background: var(--color-accent-dim);
}
.cookie-btn--settings {
  background: transparent;
  color: var(--color-accent);
}
.cookie-btn--settings:hover {
  background: var(--color-accent-dim);
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cookie-modal-overlay.visible {
  display: flex;
}
.cookie-modal {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 32px;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.cookie-category {
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
}
.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.cookie-category h3 {
  font-size: 1rem;
}
.cookie-category p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--color-border);
  border-radius: 26px;
  transition: background var(--transition-base);
}
.toggle-slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--color-text);
  border-radius: 50%;
  transition: transform var(--transition-base);
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--color-accent);
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}
.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ============================================================
   CONTENT WITH IMAGE
   ============================================================ */
.content-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.content-with-image--reverse .content-text {
  order: 2;
}
.content-with-image--reverse .content-image {
  order: 1;
}
.content-text h2 {
  margin-bottom: 16px;
}
.content-text p {
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.content-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  object-fit: cover;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .section { padding: 48px 0; }
  .hero { padding: 72px 0 56px; }
  .container { padding: 0 16px; }
  .card { padding: 24px 20px; }
  .card-grid--3, .card-grid--2 {
    grid-template-columns: 1fr;
  }
  .content-with-image {
    grid-template-columns: 1fr;
  }
  .content-with-image--reverse .content-text,
  .content-with-image--reverse .content-image {
    order: unset;
  }
  .mini-price-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cookie-buttons {
    flex-direction: column;
  }
  .cookie-btn { text-align: center; }
  .process-steps { padding-left: 36px; }
}
