/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  --color-primary: #0f3f7e;
  --color-primary-hover: #0a2f5c;
  --color-primary-rgb: 15, 63, 126;
  --color-secondary: #52b765;
  --color-secondary-hover: #44ae6f;
  --color-secondary-rgb: 82, 183, 101;
  --color-success: #10b981;
  --color-danger: #ef4444;
  --color-warning: #f59e0b;
  --color-background: #f9fafb;
  --color-surface: #ffffff;
  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Top utility bar (phone + hours) */
.site-topbar {
  background: linear-gradient(90deg, var(--color-primary), #0a2f5c);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.site-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 0;
  transition: opacity 0.15s ease;
}
.site-topbar-phone:hover { opacity: 0.85; }
.site-topbar-phone svg { flex-shrink: 0; }
.site-topbar-hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.92;
}
.site-topbar-hours svg { flex-shrink: 0; }

@media (max-width: 700px) {
  .site-topbar-inner { padding: 6px 16px; gap: 10px; }
  .site-topbar-hours { font-size: 12px; }
  .site-topbar-hours span { display: none; }
  .site-topbar-hours::after {
    content: "09:00 – 20:00";
    font-weight: 500;
  }
}
@media (max-width: 460px) {
  .site-topbar-inner { justify-content: center; }
  .site-topbar-hours { display: none; }
}

/* Header & Navigation */
.site-header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: block;
  width: 130px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.site-logo:hover { opacity: 0.85; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }

.site-nav a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover { color: var(--color-primary); }

main { min-height: calc(100vh - 70px); }

.container { max-width: 800px; margin: 0 auto; padding: 32px 16px; }
.container.container-wide { max-width: 1100px; }

.page-header { margin-bottom: 32px; }
.page-header h1 { font-size: 30px; font-weight: 700; color: var(--color-text); margin: 0; }

/* Form Styles */
.request-form {
  background: var(--color-surface);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

fieldset { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 24px; margin: 0 0 24px 0; }
legend { font-weight: 600; font-size: 16px; color: var(--color-text); padding: 0 8px; }

.form-section { margin-bottom: 28px; }
.form-section:last-of-type { margin-bottom: 0; }
.form-section-title { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-text-muted); margin: 0 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--color-border); }

.form-row { display: grid; gap: 16px; }
.form-row-2-1 { grid-template-columns: 2fr 1fr; }
.form-row-1-1 { grid-template-columns: 1fr 1fr; }
.form-row .form-group { margin-bottom: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

.form-section-hint {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: -8px 0 16px;
}

.form-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--color-text);
  cursor: pointer;
  user-select: none;
}
.form-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.recaptcha-notice {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 12px 0 0;
}
.recaptcha-notice a {
  color: var(--color-text-muted);
  text-decoration: underline;
}
.recaptcha-notice a:hover { color: var(--color-text); }

.form-amount-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(15, 63, 126, 0.06);
  border: 1px solid rgba(15, 63, 126, 0.16);
  border-radius: var(--radius);
}
.form-amount-summary > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.form-amount-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.form-amount-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}
.form-amount-basis {
  font-size: 13px;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.form-amount-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(82, 183, 101, 0.15);
  color: var(--color-secondary-hover);
}

.form-hint { font-size: 13px; color: var(--color-text-muted); margin-top: 6px; line-height: 1.5; }

.form-group { margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; color: var(--color-text); }

.required-mark { color: var(--color-danger); font-weight: 700; }

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(15, 63, 126, 0.1); }
.form-control::placeholder { color: var(--color-text-muted); }

input[type="date"].form-control::-webkit-datetime-edit-month-field,
input[type="date"].form-control::-webkit-datetime-edit-day-field,
input[type="date"].form-control::-webkit-datetime-edit-year-field,
input[type="date"].form-control::-webkit-datetime-edit-text {
  color: var(--color-text);
}

input[type="date"].form-control[value=""]::-webkit-datetime-edit-month-field,
input[type="date"].form-control[value=""]::-webkit-datetime-edit-day-field,
input[type="date"].form-control[value=""]::-webkit-datetime-edit-year-field,
input[type="date"].form-control[value=""]::-webkit-datetime-edit-text,
input[type="date"].form-control:not(:valid)::-webkit-datetime-edit {
  color: var(--color-text-muted);
}

input[type="date"].form-control { cursor: pointer; font-family: inherit; }

textarea.form-control { font-family: inherit; line-height: 1.5; resize: vertical; min-height: 96px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn:active { transform: scale(0.98); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-primary { background-color: var(--color-primary); color: white; }
.btn-primary:hover { background-color: var(--color-primary-hover); }
.btn-secondary { background-color: var(--color-secondary); color: white; }
.btn-secondary:hover { background-color: var(--color-secondary-hover); }
.btn-danger { background-color: var(--color-danger); color: white; }
.btn-danger:hover { background-color: #dc2626; }

.form-actions { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--color-border); display: flex; gap: 12px; }

.actions-footer { margin-top: 24px; }

/* Error Messages */
.error-messages {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 16px 24px;
  margin-bottom: 24px;
}

.error-messages h2 { font-size: 14px; font-weight: 600; color: var(--color-danger); margin: 0 0 8px 0; }
.error-messages ul { margin: 0; padding-left: 20px; }
.error-messages li { color: var(--color-danger); font-size: 14px; }

/* Inline Field Errors */
.has-error .form-control { border-color: var(--color-danger); }
.has-error .form-control:focus { box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15); }

.field-error { display: block; margin-top: 6px; font-size: 13px; color: var(--color-danger); }

/* Flash Messages */
.flash-container { max-width: 800px; margin: 0 auto; padding: 16px 16px 0 16px; }
.flash-container.container-wide { max-width: 1100px; }
.flash { padding: 16px 24px; border-radius: var(--radius); margin-bottom: 0; }
.container .flash { margin-bottom: 16px; }
.flash-notice { background-color: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.flash-alert { background-color: #fef2f2; border: 1px solid #fecaca; color: var(--color-danger); }
.flash-icon { display: flex; align-items: center; gap: 12px; }
.flash-icon svg { flex-shrink: 0; }

/* Confirmation Page */
.confirmation {
  background: var(--color-surface);
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 560px;
  margin: 32px auto;
}

.confirmation-header { text-align: center; margin-bottom: 28px; }

.confirmation-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #ecfdf5;
  color: var(--color-success);
}
.confirmation-icon svg { animation: confirmPop 0.4s ease-out; }

@keyframes confirmPop {
  0% { transform: scale(0.5); opacity: 0; }
  80% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.confirmation-title { font-size: 24px; font-weight: 700; color: var(--color-text); margin: 0 0 8px 0; }
.confirmation-message { font-size: 15px; color: var(--color-text-muted); line-height: 1.6; margin: 0; }

.confirmation-reference {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(15, 63, 126, 0.06), rgba(15, 63, 126, 0.02));
  border: 1px solid rgba(15, 63, 126, 0.15);
  border-radius: var(--radius);
}
.confirmation-reference-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.confirmation-reference-id { font-size: 32px; font-weight: 700; color: var(--color-primary); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

.confirmation-pickup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-bottom: 20px;
  background-color: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.confirmation-pickup > div { background-color: var(--color-surface); padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.confirmation-pickup-weekday, .confirmation-pickup-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); }
.confirmation-pickup-date, .confirmation-pickup-time { font-size: 18px; font-weight: 600; color: var(--color-text); }
@media (max-width: 480px) { .confirmation-pickup { grid-template-columns: 1fr; gap: 1px; } }

.confirmation-details {
  display: grid;
  gap: 12px;
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.confirmation-details > div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: baseline; }
.confirmation-details dt { margin: 0; font-size: 13px; font-weight: 600; color: var(--color-text-muted); }
.confirmation-details dd { margin: 0; font-size: 14px; color: var(--color-text); line-height: 1.5; }
@media (max-width: 480px) { .confirmation-details > div { grid-template-columns: 1fr; gap: 2px; } }

.confirmation-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.confirmation-actions .btn { flex: 1; min-width: 180px; }

/* Status Lookup Page */
.page-subtitle { color: var(--color-text-muted); margin: 8px 0 0 0; }

.status-hero {
  background: var(--color-surface);
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.status-hero-title { font-size: 28px; font-weight: 700; color: var(--color-text); margin: 0 0 8px 0; }
.status-hero-subtitle { font-size: 15px; color: var(--color-text-muted); margin: 0 0 24px 0; line-height: 1.5; }

.status-form { margin: 0; }
.status-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.status-search:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(15, 63, 126, 0.1); }
.status-search-icon { color: var(--color-text-muted); flex-shrink: 0; }
.status-search-input {
  flex: 1;
  min-width: 0;
  padding: 10px 4px;
  font-size: 16px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--color-text);
}
.status-search-input::placeholder { color: var(--color-text-muted); }
.status-search-submit { padding: 10px 20px; white-space: nowrap; }

/* Status Results */
.status-results { display: flex; flex-direction: column; gap: 16px; }
.status-results-count { font-size: 13px; color: var(--color-text-muted); margin: 0 4px; }
.status-results-count strong { color: var(--color-text); }

.status-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.status-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.status-card-ref { display: flex; flex-direction: column; gap: 2px; }
.status-card-ref-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.status-card-ref-id { font-size: 22px; font-weight: 700; color: var(--color-text); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

.status-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.status-card-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.status-card-field-label { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); }
.status-card-field-value { font-size: 14px; color: var(--color-text); line-height: 1.4; word-break: break-word; }
.status-card-field-value small { display: block; color: var(--color-text-muted); font-size: 13px; margin-top: 2px; }
@media (max-width: 480px) { .status-card-grid { grid-template-columns: 1fr; } }

.status-card-footer { font-size: 12px; color: var(--color-text-muted); margin: 0; }

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 9px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  border-radius: 9999px;
  background-color: var(--color-background);
  color: var(--color-text-muted);
  white-space: nowrap;
}
.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px color-mix(in srgb, currentColor 18%, transparent);
}

.status-pending { background-color: #fef3c7; color: #a16207; }
.status-pickup_confirmed { background-color: #dbeafe; color: #1d4ed8; }
.status-picked_up { background-color: #e0e7ff; color: #4338ca; }
.status-in_progress { background-color: #ede9fe; color: #6d28d9; }
.status-ready_for_delivery { background-color: #ccfbf1; color: #0f766e; }
.status-delivery_confirmed { background-color: #d1fae5; color: #047857; }
.status-delivered, .status-completed { background-color: #059669; color: #ffffff; }
.status-delivered::before, .status-completed::before { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3); }
.status-cancelled { background-color: #f3f4f6; color: #6b7280; text-decoration: line-through; text-decoration-thickness: 1px; }

/* Status Empty State */
.status-empty {
  text-align: center;
  padding: 40px 32px;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
}
.status-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-background);
  color: var(--color-text-muted);
}
.status-empty-title { font-size: 16px; font-weight: 600; color: var(--color-text); margin: 0 0 6px 0; }
.status-empty-hint { font-size: 14px; color: var(--color-text-muted); margin: 0; line-height: 1.5; }
.status-empty-hint strong { color: var(--color-text); }
.status-empty-hint a { color: var(--color-primary); text-decoration: none; font-weight: 500; }
.status-empty-hint a:hover { text-decoration: underline; }

.status-error {
  padding: 14px 16px;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  color: var(--color-danger);
  font-size: 14px;
}

.status-error p { margin: 0; }

/* Login Page */
.login-card {
  max-width: 420px;
  margin: 48px auto;
  background: var(--color-surface);
  padding: 40px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.login-header { text-align: center; margin-bottom: 28px; }
.login-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(82, 183, 101, 0.14), rgba(82, 183, 101, 0.04));
  color: var(--color-secondary);
}
.login-title { font-size: 22px; font-weight: 700; margin: 0 0 6px 0; color: var(--color-text); }
.login-subtitle { font-size: 14px; color: var(--color-text-muted); margin: 0; }

.login-form { display: flex; flex-direction: column; gap: 18px; }
.login-field { display: flex; flex-direction: column; gap: 6px; }
.login-field-label { font-size: 13px; font-weight: 500; color: var(--color-text); }
.login-field-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.login-field-input:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(15, 63, 126, 0.1); }
.login-field-icon { color: var(--color-text-muted); flex-shrink: 0; }
.login-field-input input {
  flex: 1;
  min-width: 0;
  padding: 12px 0;
  font-size: 15px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--color-text);
  font-family: inherit;
}
.login-field-input input::placeholder { color: var(--color-text-muted); }

.btn-full { width: 100%; margin-top: 4px; padding: 13px 24px; }

/* Nav Logout */
.site-nav a.nav-logout:hover { color: var(--color-danger); }

/* Confirm Dialog */
.confirm-dialog {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0;
  max-width: 400px;
  width: 90%;
}

.confirm-dialog::backdrop { background-color: rgba(0, 0, 0, 0.4); }

.confirm-dialog-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-background);
}
.confirm-dialog-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

.confirm-dialog-content { padding: 24px; }
.confirm-dialog-content p { margin: 0 0 20px 0; font-size: 16px; color: var(--color-text); line-height: 1.5; }
.confirm-dialog-actions { display: flex; justify-content: flex-end; gap: 12px; }

.confirm-dialog-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.confirm-dialog-fields-single { grid-template-columns: 1fr; }
.confirm-dialog-field { display: flex; flex-direction: column; gap: 6px; }
.confirm-dialog-field span {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
}
.confirm-dialog-field input {
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.confirm-dialog-field input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 63, 126, 0.12);
}
@media (max-width: 480px) {
  .confirm-dialog-fields { grid-template-columns: 1fr; gap: 10px; }
}

/* Buttons — Large variant */
.btn-lg { padding: 15px 28px; font-size: 17px; }

/* ======================================================================== */
/* HOME / LANDING PAGE                                                       */
/* ======================================================================== */

.home-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

/* --- Hero --- */
.home-hero {
  position: relative;
  background: radial-gradient(ellipse at top right, rgba(15, 63, 126, 0.08), transparent 60%),
              linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  overflow: hidden;
}
.home-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px 96px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 56px;
}
.home-hero-title {
  font-size: 56px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 20px;
}
.home-hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 0 32px;
}
.home-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

.home-hero-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-size: 14px;
  color: var(--color-text);
}
.home-hero-bullets li {
  position: relative;
  padding-left: 22px;
}
.home-hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* Hero photo composition */
.home-hero-art {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-hero-blob {
  position: absolute;
  inset: 0% 5% 5% 5%;
  background:
    radial-gradient(circle at 25% 30%, rgba(15, 63, 126, 0.55), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(20, 184, 166, 0.40), transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(132, 204, 22, 0.18), transparent 60%);
  filter: blur(40px);
  border-radius: 50%;
  z-index: 0;
}

.home-hero-ring {
  position: absolute;
  top: 4%;
  right: 6%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px dashed rgba(15, 63, 126, 0.4);
  z-index: 1;
  animation: heroSpin 28s linear infinite;
}
@keyframes heroSpin {
  to { transform: rotate(360deg); }
}

.home-hero-dots {
  position: absolute;
  left: -2%;
  bottom: 4%;
  width: 160px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(15, 63, 126, 0.45) 1.5px, transparent 1.7px);
  background-size: 16px 16px;
  z-index: 1;
  mask-image: linear-gradient(135deg, black 30%, transparent 80%);
  -webkit-mask-image: linear-gradient(135deg, black 30%, transparent 80%);
}

/* Photo frame */
.home-hero-photo-frame {
  position: relative;
  z-index: 2;
  width: 88%;
  aspect-ratio: 4 / 3;
  border-radius: 40px;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(15, 23, 42, 0.20),
    0 12px 30px rgba(15, 23, 42, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transform: rotate(-1.5deg);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  background: var(--color-surface);
  padding: 8px;
}
.home-hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 28px;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.20) 100%);
  pointer-events: none;
  z-index: 1;
}
.home-hero-photo-frame:hover { transform: rotate(0deg) scale(1.02); }

.home-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 28px;
}

/* Floating glass chips */
.home-hero-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.16),
    0 4px 12px rgba(15, 23, 42, 0.06);
}

.home-hero-chip-top {
  top: 6%;
  right: -4%;
  transform: rotate(2deg);
  animation: chipFloat1 6.5s ease-in-out infinite;
}
.home-hero-chip-bottom {
  bottom: 4%;
  left: -4%;
  transform: rotate(-3deg);
  animation: chipFloat2 7.5s ease-in-out infinite 0.6s;
}
@keyframes chipFloat1 {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50%      { transform: rotate(2deg) translateY(-10px); }
}
@keyframes chipFloat2 {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-3deg) translateY(-8px); }
}

.home-hero-chip-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary), #14b8a6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.home-hero-chip-label {
  font-size: 12px;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.3;
  max-width: 110px;
}

.home-hero-chip-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 63, 126, 0.20), rgba(20, 184, 166, 0.15));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}
.home-hero-chip-text { display: flex; flex-direction: column; line-height: 1.2; }
.home-hero-chip-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
}
.home-hero-chip-sub {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-ring,
  .home-hero-chip-top,
  .home-hero-chip-bottom { animation: none; }
}

/* --- Sections --- */
.home-section { padding: 88px 24px; background: var(--color-surface); }
.home-section-alt { background: var(--color-background); }
.home-section-inner { max-width: 1100px; margin: 0 auto; }
.home-section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.home-section-head h2 {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--color-text);
}
.home-section-lede { font-size: 17px; color: var(--color-text-muted); margin: 0; line-height: 1.55; }

/* --- Features (3 columns) --- */
.home-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.home-feature {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease;
}
.home-feature::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 63, 126, 0.18), transparent 70%);
  z-index: 0;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.4s ease, transform 0.5s ease;
  pointer-events: none;
}
.home-feature::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #14b8a6);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s ease;
}
.home-feature:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 63, 126, 0.35);
  box-shadow:
    0 24px 50px rgba(15, 63, 126, 0.14),
    0 8px 16px rgba(15, 23, 42, 0.04);
}
.home-feature:hover::before { opacity: 1; transform: scale(1); }
.home-feature:hover::after { transform: scaleX(1); }

.home-feature-num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  background: linear-gradient(135deg, rgba(15, 63, 126, 0.16), rgba(20, 184, 166, 0.06));
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.home-feature-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(82, 183, 101, 0.18), rgba(82, 183, 101, 0.06));
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.home-feature:hover .home-feature-icon {
  transform: rotate(-4deg) scale(1.06);
  background: linear-gradient(135deg, rgba(82, 183, 101, 0.28), rgba(82, 183, 101, 0.10));
}
.home-feature h3 {
  position: relative;
  z-index: 1;
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.home-feature p {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1;
}
.home-feature-tag {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  background: rgba(15, 63, 126, 0.10);
  border: 1px solid rgba(15, 63, 126, 0.18);
  border-radius: 9999px;
}

/* --- Process Slider (CSS-only, radio + transform) --- */
.process-slider {
  position: relative;
  border-radius: 24px;
  padding: 32px 24px 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(15, 63, 126, 0.08), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(20, 184, 166, 0.06), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f9fbfa 100%);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 63, 126, 0.12);
}

.process-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.process-slides-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.process-slides {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

#step-radio-1:checked ~ .process-slides-viewport .process-slides { transform: translateX(0%); }
#step-radio-2:checked ~ .process-slides-viewport .process-slides { transform: translateX(-100%); }
#step-radio-3:checked ~ .process-slides-viewport .process-slides { transform: translateX(-200%); }
#step-radio-4:checked ~ .process-slides-viewport .process-slides { transform: translateX(-300%); }
#step-radio-5:checked ~ .process-slides-viewport .process-slides { transform: translateX(-400%); }
#step-radio-6:checked ~ .process-slides-viewport .process-slides { transform: translateX(-500%); }

.process-slide {
  flex: 0 0 100%;
  background: var(--color-surface);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  min-height: 380px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  position: relative;
}

/* Image */
.process-slide-image {
  background: var(--color-background);
  position: relative;
  overflow: hidden;
}
.process-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 6s ease-out;
}
.process-slide-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 70%, rgba(255, 255, 255, 0.85) 100%);
  pointer-events: none;
}
.process-slide-image-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(15, 63, 126, 0.25), transparent 60%),
    linear-gradient(135deg, rgba(15, 63, 126, 0.18), rgba(20, 184, 166, 0.10));
  color: var(--color-primary);
}
.process-slide-image-icon::after { display: none; }
.process-slide-image-icon svg {
  filter: drop-shadow(0 4px 16px rgba(15, 63, 126, 0.25));
  transform: scale(1);
  transition: transform 0.5s ease-out;
}

/* Ken-burns on active image */
#step-radio-1:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(1) .process-slide-image img,
#step-radio-2:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(2) .process-slide-image img,
#step-radio-3:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(3) .process-slide-image img,
#step-radio-4:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(4) .process-slide-image img,
#step-radio-5:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(5) .process-slide-image img,
#step-radio-6:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(6) .process-slide-image img {
  transform: scale(1.12);
}
#step-radio-1:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(1) .process-slide-image-icon svg {
  transform: scale(1.08);
}

/* Body */
.process-slide-body {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.process-slide-bignum {
  position: absolute;
  top: -40px;
  right: -10px;
  font-size: 220px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  background: linear-gradient(135deg, rgba(15, 63, 126, 0.10), rgba(20, 184, 166, 0.04));
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  user-select: none;
}
.process-slide-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(15, 63, 126, 0.1);
  padding: 6px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.process-slide-body h3 {
  position: relative;
  z-index: 1;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--color-text);
  line-height: 1.15;
}
.process-slide-body p {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Animate active slide content in */
.process-slide-body > * {
  opacity: 0.6;
  transform: translateY(6px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}
.process-slide-body > .process-slide-bignum { transition-delay: 0s; transform: none; opacity: 1; }
#step-radio-1:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(1) .process-slide-body > *,
#step-radio-2:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(2) .process-slide-body > *,
#step-radio-3:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(3) .process-slide-body > *,
#step-radio-4:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(4) .process-slide-body > *,
#step-radio-5:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(5) .process-slide-body > *,
#step-radio-6:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(6) .process-slide-body > * {
  opacity: 1;
  transform: translateY(0);
}
#step-radio-1:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(1) .process-slide-body .process-slide-num,
#step-radio-2:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(2) .process-slide-body .process-slide-num,
#step-radio-3:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(3) .process-slide-body .process-slide-num,
#step-radio-4:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(4) .process-slide-body .process-slide-num,
#step-radio-5:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(5) .process-slide-body .process-slide-num,
#step-radio-6:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(6) .process-slide-body .process-slide-num { transition-delay: 0.15s; }
#step-radio-1:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(1) .process-slide-body h3,
#step-radio-2:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(2) .process-slide-body h3,
#step-radio-3:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(3) .process-slide-body h3,
#step-radio-4:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(4) .process-slide-body h3,
#step-radio-5:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(5) .process-slide-body h3,
#step-radio-6:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(6) .process-slide-body h3 { transition-delay: 0.22s; }
#step-radio-1:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(1) .process-slide-body p,
#step-radio-2:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(2) .process-slide-body p,
#step-radio-3:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(3) .process-slide-body p,
#step-radio-4:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(4) .process-slide-body p,
#step-radio-5:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(5) .process-slide-body p,
#step-radio-6:checked ~ .process-slides-viewport .process-slides .process-slide:nth-child(6) .process-slide-body p { transition-delay: 0.3s; }

/* Connected progress stepper (dots) */
.process-dots {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 0;
  margin: 32px 12px 4px;
  padding: 0;
  list-style: none;
}
.process-dots::before,
.process-dots::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 19px;
  height: 3px;
  border-radius: 2px;
  transform: translateY(-50%);
}
.process-dots::before {
  right: 19px;
  background: var(--color-border);
  z-index: 0;
}
.process-dots::after {
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), #14b8a6);
  z-index: 1;
  transition: width 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}
#step-radio-1:checked ~ .process-dots::after { width: 0%; }
#step-radio-2:checked ~ .process-dots::after { width: calc(20% * (100% - 38px) / 100%); }
/* width math: percent of segments × full available track */
#step-radio-2:checked ~ .process-dots::after { width: calc((100% - 38px) * 0.2); }
#step-radio-3:checked ~ .process-dots::after { width: calc((100% - 38px) * 0.4); }
#step-radio-4:checked ~ .process-dots::after { width: calc((100% - 38px) * 0.6); }
#step-radio-5:checked ~ .process-dots::after { width: calc((100% - 38px) * 0.8); }
#step-radio-6:checked ~ .process-dots::after { width: calc((100% - 38px) * 1); }

.process-dot {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.process-dot:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: scale(1.05);
}
.process-dot:active { transform: scale(0.95); }

/* "Visited" steps (those before current) get filled */
#step-radio-2:checked ~ .process-dots label[for="step-radio-1"],
#step-radio-3:checked ~ .process-dots label[for="step-radio-1"],
#step-radio-3:checked ~ .process-dots label[for="step-radio-2"],
#step-radio-4:checked ~ .process-dots label[for="step-radio-1"],
#step-radio-4:checked ~ .process-dots label[for="step-radio-2"],
#step-radio-4:checked ~ .process-dots label[for="step-radio-3"],
#step-radio-5:checked ~ .process-dots label[for="step-radio-1"],
#step-radio-5:checked ~ .process-dots label[for="step-radio-2"],
#step-radio-5:checked ~ .process-dots label[for="step-radio-3"],
#step-radio-5:checked ~ .process-dots label[for="step-radio-4"],
#step-radio-6:checked ~ .process-dots label[for="step-radio-1"],
#step-radio-6:checked ~ .process-dots label[for="step-radio-2"],
#step-radio-6:checked ~ .process-dots label[for="step-radio-3"],
#step-radio-6:checked ~ .process-dots label[for="step-radio-4"],
#step-radio-6:checked ~ .process-dots label[for="step-radio-5"] {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Active dot — bigger, glow */
#step-radio-1:checked ~ .process-dots label[for="step-radio-1"],
#step-radio-2:checked ~ .process-dots label[for="step-radio-2"],
#step-radio-3:checked ~ .process-dots label[for="step-radio-3"],
#step-radio-4:checked ~ .process-dots label[for="step-radio-4"],
#step-radio-5:checked ~ .process-dots label[for="step-radio-5"],
#step-radio-6:checked ~ .process-dots label[for="step-radio-6"] {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(15, 63, 126, 0.18), 0 8px 20px rgba(15, 63, 126, 0.3);
}

@media (max-width: 760px) {
  .process-slider { padding: 20px 16px 16px; border-radius: 18px; }
  .process-slide { grid-template-columns: 1fr; min-height: auto; border-radius: 14px; }
  .process-slide-image { aspect-ratio: 16 / 10; }
  .process-slide-image-icon { aspect-ratio: 16 / 9; }
  .process-slide-image::after {
    background: linear-gradient(180deg, transparent 60%, rgba(255, 255, 255, 0.6) 100%);
  }
  .process-slide-body { padding: 28px 24px; }
  .process-slide-body h3 { font-size: 22px; }
  .process-slide-bignum { font-size: 140px; top: -20px; right: -8px; }
  .process-dots { margin: 24px 4px 4px; }
  .process-dot { width: 32px; height: 32px; font-size: 12px; }
  .process-dots::before, .process-dots::after { left: 16px; }
  .process-dots::before { right: 16px; }
  #step-radio-2:checked ~ .process-dots::after { width: calc((100% - 32px) * 0.2); }
  #step-radio-3:checked ~ .process-dots::after { width: calc((100% - 32px) * 0.4); }
  #step-radio-4:checked ~ .process-dots::after { width: calc((100% - 32px) * 0.6); }
  #step-radio-5:checked ~ .process-dots::after { width: calc((100% - 32px) * 0.8); }
  #step-radio-6:checked ~ .process-dots::after { width: calc((100% - 32px) * 1); }
}

/* --- Pricing --- */
.home-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.home-pricing-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.home-pricing-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(82, 183, 101, 0.18), rgba(82, 183, 101, 0.06));
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}
.home-pricing-card:hover .home-pricing-icon {
  transform: rotate(-4deg) scale(1.06);
  background: linear-gradient(135deg, rgba(82, 183, 101, 0.28), rgba(82, 183, 101, 0.12));
}
.home-pricing-card-featured .home-pricing-icon {
  background: linear-gradient(135deg, var(--color-secondary), #1e5fb0);
  color: #fff;
  box-shadow: 0 8px 20px rgba(82, 183, 101, 0.28);
}
.home-pricing-card-featured:hover .home-pricing-icon {
  background: linear-gradient(135deg, var(--color-secondary), #1e5fb0);
}

.home-pricing-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 16px;
}
.home-pricing-amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.home-pricing-currency, .home-pricing-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: normal;
}
.home-pricing-note {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: -10px 0 0 0;
  padding: 6px 10px;
  background: rgba(15, 63, 126, 0.08);
  border-radius: 8px;
  align-self: flex-start;
  font-weight: 500;
}
.home-pricing-amount-quote { font-size: 24px; }
.home-pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home-pricing-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}
.home-pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(15, 63, 126, 0.1);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.home-pricing-card-featured {
  border-color: var(--color-primary);
  box-shadow: 0 16px 40px rgba(15, 63, 126, 0.12);
  transform: translateY(-4px);
}
.home-pricing-badge {
  position: absolute;
  top: -10px;
  left: 28px;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
}

/* --- Testimonials --- */
.home-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.home-testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px;
  margin: 0;
  position: relative;
}
.home-testimonial::before {
  content: "“";
  position: absolute;
  top: 8px;
  left: 20px;
  font-size: 56px;
  line-height: 1;
  color: rgba(15, 63, 126, 0.15);
  font-family: Georgia, serif;
}
.home-testimonial blockquote {
  margin: 0 0 16px;
  padding-left: 20px;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.6;
  font-style: italic;
}
.home-testimonial figcaption {
  padding-left: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* --- CTA Banner --- */
.home-cta {
  background: linear-gradient(135deg, var(--color-primary), #2f855a);
  color: #fff;
  padding: 64px 24px;
  text-align: center;
}
.home-cta-inner { max-width: 720px; margin: 0 auto; }
.home-cta h2 { font-size: 32px; font-weight: 700; margin: 0 0 12px; letter-spacing: -0.01em; }
.home-cta p { font-size: 17px; opacity: 0.9; margin: 0 0 28px; }
.home-cta .btn-primary {
  background: #fff;
  color: var(--color-primary);
}
.home-cta .btn-primary:hover { background: #f0fdf4; color: var(--color-primary); }

/* --- Footer --- */
.home-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 56px 24px 24px;
}
.home-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid #1e293b;
}
.home-footer-brand {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.home-footer p { font-size: 14px; line-height: 1.6; color: #94a3b8; margin: 0; max-width: 360px; }
.home-footer h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.home-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.home-footer a { color: #cbd5e1; text-decoration: none; transition: color 0.15s ease; }
.home-footer a:hover { color: #fff; }
.home-footer-bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 0;
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.home-footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.home-footer-legal a {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}
.home-footer-legal a:hover { color: #fff; }

.home-footer-staff {
  font-size: 12px;
  color: #64748b;
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid #1e293b;
  border-radius: 9999px;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.home-footer-staff:hover {
  color: #fff;
  border-color: #334155;
  background-color: #1e293b;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .home-hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 56px 20px 72px; }
  .home-hero-title { font-size: 40px; }
  .home-hero-subtitle { font-size: 16px; }
  .home-features, .home-pricing, .home-testimonials { grid-template-columns: 1fr; }
  .home-steps { grid-template-columns: repeat(2, 1fr); }
  .home-steps li::after { display: none; }
  .home-section { padding: 64px 20px; }
  .home-section-head h2 { font-size: 28px; }
  .home-pricing-card-featured { transform: none; }
  .home-footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .home-hero-title { font-size: 32px; }
  .home-steps { grid-template-columns: 1fr; }
  .home-cta h2 { font-size: 24px; }
}

/* --- Scroll-driven reveal animations (modern browsers only) --- */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(48px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes reveal-scale {
  from { opacity: 0; transform: scale(0.94) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes reveal-blur {
  from { opacity: 0; filter: blur(8px); transform: translateY(24px); }
  to   { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@supports (animation-timeline: view()) {
  /* Section heads — fade-up + blur out */
  .home-section-head {
    animation: reveal-blur linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
  }

  /* Feature cards — staggered fade-up */
  .home-feature {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
  .home-features > .home-feature:nth-child(2) { animation-range: entry 4% cover 34%; }
  .home-features > .home-feature:nth-child(3) { animation-range: entry 8% cover 38%; }

  /* Pricing cards — scale-in stagger */
  .home-pricing-card {
    animation: reveal-scale linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
  .home-pricing > .home-pricing-card:nth-child(2) { animation-range: entry 4% cover 34%; }
  .home-pricing > .home-pricing-card:nth-child(3) { animation-range: entry 8% cover 38%; }

  /* Testimonials — staggered fade-up */
  .home-testimonial {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 28%;
  }
  .home-testimonials > .home-testimonial:nth-child(2) { animation-range: entry 4% cover 32%; }
  .home-testimonials > .home-testimonial:nth-child(3) { animation-range: entry 8% cover 36%; }

  /* Process slider — bigger, slower reveal */
  .process-slider {
    animation: reveal-scale linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 35%;
  }

  /* CTA banner */
  .home-cta-inner {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
}

/* Hero entrance — runs once on page load (above-the-fold, won't scroll-reveal) */
@keyframes hero-text-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-art-in {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.home-hero-text > * {
  animation: hero-text-in 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.home-hero-text > .home-eyebrow      { animation-delay: 0.05s; }
.home-hero-text > .home-hero-title   { animation-delay: 0.15s; }
.home-hero-text > .home-hero-subtitle { animation-delay: 0.25s; }
.home-hero-text > .home-hero-actions  { animation-delay: 0.35s; }
.home-hero-text > .home-hero-bullets  { animation-delay: 0.45s; }
.home-hero-art {
  animation: hero-art-in 0.9s cubic-bezier(0.4, 0, 0.2, 1) both 0.2s;
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .home-hero-text > *,
  .home-hero-art {
    animation: none;
  }
  @supports (animation-timeline: view()) {
    .home-section-head,
    .home-feature,
    .home-pricing-card,
    .home-testimonial,
    .process-slider,
    .home-cta-inner {
      animation: none;
    }
  }
}

/* --- FAQ Page --- */
.faq-hero {
  background:
    radial-gradient(ellipse at top right, rgba(15, 63, 126, 0.10), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(82, 183, 101, 0.06), transparent 55%),
    linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  padding: 72px 24px 48px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.faq-hero-inner { max-width: 760px; margin: 0 auto; }
.faq-hero h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 12px 0 14px;
  line-height: 1.15;
}
.faq-hero p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}
.faq-hero a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.faq-hero a:hover { text-decoration: underline; }

.faq-list {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover { border-color: rgba(15, 63, 126, 0.35); }
.faq-item[open] {
  border-color: rgba(15, 63, 126, 0.45);
  box-shadow: 0 8px 24px rgba(15, 63, 126, 0.10), 0 2px 6px rgba(15, 23, 42, 0.04);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  list-style: none;
  user-select: none;
  transition: color 0.15s ease;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--color-primary); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform 0.3s ease, color 0.15s ease;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.65;
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
  animation: faq-reveal 0.3s ease;
}
.faq-answer p { margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { margin: 8px 0 0; padding-left: 20px; }
.faq-answer ul li { margin-bottom: 6px; line-height: 1.55; }
.faq-answer strong { color: var(--color-text); font-weight: 600; }
.faq-answer a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
}
.faq-answer a:hover { text-decoration: underline; }

@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .faq-hero { padding: 56px 20px 40px; }
  .faq-hero h1 { font-size: 28px; }
  .faq-question { padding: 16px 18px; font-size: 15px; }
  .faq-answer { padding: 16px 18px 18px; }
}

/* --- Contacts Page --- */
.contacts-hero {
  background:
    radial-gradient(ellipse at top right, rgba(15, 63, 126, 0.10), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(82, 183, 101, 0.06), transparent 55%),
    linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  padding: 72px 24px 48px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.contacts-hero-inner { max-width: 760px; margin: 0 auto; }
.contacts-hero h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 12px 0 14px;
  line-height: 1.15;
}
.contacts-hero p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .contacts-grid { grid-template-columns: 1fr; }
}

.contacts-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 28px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease;
  overflow: hidden;
}
.contacts-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 63, 126, 0.16), transparent 70%);
  z-index: 0;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.4s ease, transform 0.5s ease;
  pointer-events: none;
}
.contacts-card:not(.contacts-card-static):hover {
  transform: translateY(-4px);
  border-color: rgba(15, 63, 126, 0.4);
  box-shadow: 0 18px 36px rgba(15, 63, 126, 0.12), 0 6px 12px rgba(15, 23, 42, 0.04);
}
.contacts-card:not(.contacts-card-static):hover::before { opacity: 1; transform: scale(1); }

.contacts-card-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(82, 183, 101, 0.18), rgba(82, 183, 101, 0.06));
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.contacts-card:not(.contacts-card-static):hover .contacts-card-icon {
  transform: rotate(-4deg) scale(1.06);
}

.contacts-card-label {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.contacts-card-value {
  position: relative;
  z-index: 1;
  font-size: 19px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
  word-break: break-word;
}
.contacts-card-note {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 4px;
  line-height: 1.5;
}

/* Cities served */
.contacts-cities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px 14px;
  max-width: 880px;
  margin: 0 auto;
}
.contacts-city {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.contacts-city:hover {
  border-color: rgba(15, 63, 126, 0.4);
  background: rgba(15, 63, 126, 0.04);
}
.contacts-city svg { color: var(--color-primary); flex-shrink: 0; }

@media (max-width: 600px) {
  .contacts-hero { padding: 56px 20px 40px; }
  .contacts-hero h1 { font-size: 28px; }
}

/* --- Legal Pages (Terms / Privacy) --- */
.legal-hero {
  background: linear-gradient(180deg, #f9fbfa 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
  padding: 64px 24px 40px;
  text-align: center;
}
.legal-hero-inner { max-width: 720px; margin: 0 auto; }
.legal-hero h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 12px 0 12px;
  line-height: 1.15;
}
.legal-hero p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.legal-draft-notice {
  margin-top: 24px;
  padding: 14px 18px;
  background-color: #fffbeb;
  border: 1px solid #fcd34d;
  border-left: 4px solid var(--color-warning);
  border-radius: var(--radius);
  font-size: 14px;
  color: #92400e;
  line-height: 1.5;
}
.legal-draft-notice strong { color: #78350f; }

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1080px;
}

.legal-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  border-right: 1px solid var(--color-border);
  padding-right: 20px;
}
.legal-toc h2 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 14px;
}
.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: legal-step;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-toc li { counter-increment: legal-step; }
.legal-toc a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s ease;
}
.legal-toc a::before {
  content: counter(legal-step) ".";
  font-variant-numeric: tabular-nums;
  color: var(--color-primary);
  font-weight: 600;
  min-width: 18px;
}
.legal-toc a:hover { color: var(--color-text); }

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
}
.legal-content section { scroll-margin-top: 96px; }
.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}
.legal-content p { margin: 0 0 12px; color: var(--color-text); }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul,
.legal-content ol {
  margin: 0 0 12px;
  padding-left: 22px;
}
.legal-content ul li,
.legal-content ol li { margin-bottom: 8px; line-height: 1.6; }
.legal-content em {
  display: inline-block;
  font-style: normal;
  font-size: 13px;
  padding: 2px 8px;
  background-color: rgba(245, 158, 11, 0.12);
  border-radius: 4px;
  color: #92400e;
}
.legal-content a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { font-weight: 600; }

@media (max-width: 880px) {
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc {
    position: static;
    border-right: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 16px 20px;
    background: var(--color-surface);
  }
  .legal-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
}
@media (max-width: 600px) {
  .legal-hero { padding: 48px 20px 32px; }
  .legal-hero h1 { font-size: 26px; }
  .legal-content h2 { font-size: 19px; }
  .legal-toc ol { grid-template-columns: 1fr; }
}

/* --- New Request Page (client) --- */
.request-hero {
  background:
    radial-gradient(ellipse at top right, rgba(15, 63, 126, 0.10), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(82, 183, 101, 0.05), transparent 55%),
    linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  padding: 56px 24px 36px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.request-hero-inner { max-width: 720px; margin: 0 auto; }
.request-hero h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 12px 0 12px;
  line-height: 1.15;
}
.request-hero p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.request-page { padding-top: 32px; padding-bottom: 56px; }

.request-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 880px) {
  .request-layout { grid-template-columns: 1fr; gap: 24px; }
}

.request-form-col .request-form {
  padding: 36px 32px;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.03);
  border: 1px solid var(--color-border);
}

.request-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 100px;
  align-self: start;
}
@media (max-width: 880px) {
  .request-aside { position: static; }
}

.request-aside-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.request-aside-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.request-aside-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.request-aside-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.request-aside-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(82, 183, 101, 0.18), rgba(82, 183, 101, 0.06));
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.request-aside-steps strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}
.request-aside-steps p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

.status-aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
}
.status-aside-list strong { color: var(--color-text); font-weight: 600; }

.request-aside-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(15, 63, 126, 0.06), rgba(20, 184, 166, 0.04));
  border-color: rgba(15, 63, 126, 0.25);
}
.request-aside-contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), #14b8a6);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.request-aside-contact-body { display: flex; flex-direction: column; min-width: 0; }
.request-aside-contact-body .request-aside-eyebrow { margin-bottom: 4px; }
.request-aside-phone {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}
.request-aside-phone:hover { color: var(--color-primary); }
.request-aside-hours {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

@media (max-width: 600px) {
  .request-hero { padding: 44px 20px 28px; }
  .request-hero h1 { font-size: 26px; }
  .request-form-col .request-form { padding: 24px 20px; border-radius: 14px; }
  .request-aside-card { padding: 20px; border-radius: 14px; }
}

/* Cookie consent banner ---------------------------------------------------- */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
  padding: 18px 20px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent.is-visible { opacity: 1; transform: translateY(0); }
.cookie-consent.is-leaving { opacity: 0; transform: translateY(16px); }

.cookie-consent-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cookie-consent-text { flex: 1; min-width: 0; }
.cookie-consent-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}
.cookie-consent-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}
.cookie-consent-link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-consent-link:hover { color: var(--color-primary-hover); }

.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-consent-btn {
  padding: 10px 18px;
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .cookie-consent { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  .cookie-consent-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-consent-actions { justify-content: stretch; }
  .cookie-consent-btn { flex: 1; }
}
