/* ==========================================================================
   Static pages (About / Privacy / Terms / Contact / 404)
   ========================================================================== */

.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }

.page-hero {
  text-align: center; padding: 64px 0 120px;
  background:
    radial-gradient(700px 300px at 50% -20%, rgba(230,0,35,.12), transparent 70%),
    linear-gradient(180deg, #fff, var(--bg-warm));
}
.page-hero-icon {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 20px;
  display: grid; place-items: center; background: var(--red); color: #fff; font-size: 24px;
  box-shadow: var(--shadow-red);
}
.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 10px; }
.page-hero p { color: var(--muted); font-size: 17px; }

.static-page { padding-bottom: 88px; }
.static-page > .container { margin-top: -72px; position: relative; }
.static-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 44px 48px;
}
.static-card section + section { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.static-card h2 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.static-card p { color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.static-card a:not(.btn) { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.check-list { display: grid; gap: 10px; }
.check-list li { position: relative; padding-inline-start: 32px; color: var(--ink-2); }
.check-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 10px;
  position: absolute; inset-inline-start: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red-50); color: var(--red);
}
.static-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
.contact-form { display: grid; gap: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: grid; gap: 8px; }
.form-group label { font-weight: 700; font-size: 14px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px;
  background: var(--bg-soft); font-size: 15px; outline: 0; resize: vertical;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus { background: #fff; border-color: var(--red); box-shadow: 0 0 0 4px rgba(230,0,35,.1); }
.contact-form .btn { justify-self: start; }
.contact-aside { display: grid; gap: 14px; }
.contact-tile { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-tile-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red-50); color: var(--red); flex-shrink: 0; }
.contact-tile strong { display: block; font-size: 15px; margin-bottom: 2px; }
.contact-tile span, .contact-tile a { font-size: 14px; color: var(--muted); word-break: break-word; }
.contact-tile a { color: var(--red); font-weight: 600; }

.alert { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 14px; margin-bottom: 22px; font-weight: 600; font-size: 14.5px; }
.alert-success { background: #E7F6EE; color: #0B7A43; }
.alert-error { background: var(--red-50); color: var(--red-700); }

/* 404 */
.page-404 { padding: 80px 0 100px; text-align: center; }
.err-pins { display: flex; justify-content: center; gap: 10px; margin-bottom: 26px; }
.err-pins span { width: 54px; border-radius: 16px; }
.err-pins span:nth-child(1) { height: 76px; background: linear-gradient(160deg,#ff8a65,#e60023); margin-top: 18px; }
.err-pins span:nth-child(2) { height: 96px; background: linear-gradient(160deg,#9fa8da,#3949ab); }
.err-pins span:nth-child(3) { height: 70px; background: linear-gradient(160deg,#ffe082,#ffb300); margin-top: 26px; }
.err-code { font-size: clamp(80px, 14vw, 128px); font-weight: 800; line-height: 1; letter-spacing: -0.06em; color: var(--red); margin-bottom: 10px; }
.err-title { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.err-desc { color: var(--muted); font-size: 16px; max-width: 520px; margin: 0 auto 30px; }
.err-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page-hero { padding: 44px 0 100px; }
  .static-card { padding: 28px 20px; border-radius: 20px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-form .btn { width: 100%; }
}
