:root {
  --p186: #c8102e;
  --p293: #003da5;
  --ink: #0b1220;
  --muted: rgba(11, 18, 32, 0.68);
  --bg: #ffffff;
  --surface: rgba(255, 255, 255, 0.7);
  --line: rgba(11, 18, 32, 0.12);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.12);
  --radius: 18px;
  --radius-sm: 14px;
  --container: 1120px;
}

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

html,
body {
  height: 100%;
}

html {
  scroll-padding-top: var(--header-h, 112px);
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    "Noto Sans",
    "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--ink);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(0, 61, 165, 0.14), transparent 55%),
    radial-gradient(1100px 520px at 90% 5%, rgba(200, 16, 46, 0.14), transparent 55%),
    linear-gradient(180deg, #ffffff, #fbfcff 40%, #ffffff);
  padding-top: var(--header-h, 112px);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 9999;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 96px;
  height: 64px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(0, 61, 165, 0.18);
  border: 1px solid rgba(0, 61, 165, 0.15);
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav a {
  font-weight: 650;
  font-size: 14px;
  color: rgba(11, 18, 32, 0.85);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.nav a:hover {
  background: rgba(0, 61, 165, 0.07);
  text-decoration: none;
}

.nav .nav-alert {
  background: rgba(200, 16, 46, 0.95);
  color: #ffffff;
  border: 1px solid rgba(200, 16, 46, 0.25);
}

.nav .nav-alert:hover {
  background: rgba(200, 16, 46, 1);
  color: #ffffff;
}

.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: 14px;
  cursor: pointer;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    background-color 120ms ease,
    border-color 120ms ease;
  user-select: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--p293), #1a67ff);
  color: white;
  box-shadow: 0 16px 34px rgba(0, 61, 165, 0.22);
}

.btn-primary:hover {
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(0, 61, 165, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: rgba(11, 18, 32, 0.88);
}

.btn-ghost:hover {
  text-decoration: none;
  border-color: rgba(0, 61, 165, 0.22);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  box-shadow: 0 16px 34px rgba(18, 140, 126, 0.22);
}

.btn-whatsapp:hover {
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(18, 140, 126, 0.28);
}

.btn-sm {
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
}

.hero {
  padding: 44px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: rgba(0, 61, 165, 0.9);
  background: rgba(0, 61, 165, 0.08);
  border: 1px solid rgba(0, 61, 165, 0.14);
  padding: 8px 12px;
  border-radius: 999px;
}

.hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 18px;
  color: rgba(11, 18, 32, 0.78);
  font-size: 16px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.quick-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.card {
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

.card-title {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.card-value {
  display: inline-block;
  margin-top: 8px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.card-meta {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(11, 18, 32, 0.7);
}

.hero-panel {
  position: relative;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(200, 16, 46, 0.2);
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.78),
      rgba(255, 255, 255, 0.6)
    ),
    radial-gradient(800px 300px at 20% 0%, rgba(200, 16, 46, 0.16), transparent 60%),
    radial-gradient(800px 300px at 90% 0%, rgba(0, 61, 165, 0.14), transparent 60%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 12px;
  color: rgba(200, 16, 46, 0.95);
  background: rgba(200, 16, 46, 0.1);
  border: 1px solid rgba(200, 16, 46, 0.2);
  padding: 8px 10px;
  border-radius: 999px;
}

.panel-title {
  margin: 14px 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.panel-text {
  margin: 0 0 10px;
  color: rgba(11, 18, 32, 0.8);
  line-height: 1.6;
}

.panel-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgba(11, 18, 32, 0.78);
  line-height: 1.55;
}

.panel-note {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(0, 61, 165, 0.25);
  color: rgba(11, 18, 32, 0.72);
  background: rgba(0, 61, 165, 0.06);
  font-size: 13px;
  line-height: 1.55;
}

.section {
  padding: 30px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(0, 61, 165, 0.06), rgba(255, 255, 255, 0));
  border-top: 1px solid rgba(0, 61, 165, 0.12);
  border-bottom: 1px solid rgba(0, 61, 165, 0.12);
}

.section-nobetci {
  background: linear-gradient(180deg, rgba(200, 16, 46, 0.12), rgba(255, 255, 255, 0));
  border-top: 1px solid rgba(200, 16, 46, 0.18);
  border-bottom: 1px solid rgba(200, 16, 46, 0.18);
}

.section-nobetci .section-head p,
.section-nobetci .muted {
  color: rgba(11, 18, 32, 0.72);
}

.section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: rgba(11, 18, 32, 0.72);
  line-height: 1.6;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.info,
.notice,
.form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

.info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
}

.info-row:last-child {
  border-bottom: 0;
}

.info-label {
  color: rgba(11, 18, 32, 0.62);
  font-weight: 750;
}

.info-value {
  color: rgba(11, 18, 32, 0.9);
  font-weight: 650;
  line-height: 1.45;
}

.info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.notice h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.notice p {
  margin: 0 0 10px;
  color: rgba(11, 18, 32, 0.75);
  line-height: 1.6;
}

.api-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 12px;
}

.api-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 850;
  font-size: 12px;
  color: rgba(0, 61, 165, 0.95);
  background: rgba(0, 61, 165, 0.08);
  border: 1px solid rgba(0, 61, 165, 0.16);
  padding: 8px 10px;
  border-radius: 999px;
}

.duty-status {
  margin: 4px 0 12px;
  font-size: 13px;
  color: rgba(11, 18, 32, 0.7);
  min-height: 18px;
}

.duty-status[data-type="error"] {
  color: rgba(200, 16, 46, 0.95);
  font-weight: 750;
}

.duty-status[data-type="success"] {
  color: rgba(0, 61, 165, 0.95);
  font-weight: 850;
}

.duty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.duty-card {
  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  padding: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 8px;
}

.duty-title {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.duty-address {
  color: rgba(11, 18, 32, 0.74);
  line-height: 1.45;
  font-size: 13px;
}

.duty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.muted {
  color: rgba(11, 18, 32, 0.68);
  line-height: 1.6;
}

.map-wrap {
  border: 1px solid rgba(0, 61, 165, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

.map {
  display: block;
  width: 100%;
  height: min(62vh, 420px);
  border: 0;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(11, 18, 32, 0.08);
}

.form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  font-weight: 750;
  color: rgba(11, 18, 32, 0.86);
}

input,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11, 18, 32, 0.16);
  background: rgba(255, 255, 255, 0.85);
  font: inherit;
  outline: none;
  transition:
    border-color 120ms ease,
    box-shadow 120ms ease;
}

input:focus,
textarea:focus {
  border-color: rgba(0, 61, 165, 0.42);
  box-shadow: 0 0 0 4px rgba(0, 61, 165, 0.12);
}

input.is-invalid,
textarea.is-invalid {
  border-color: rgba(200, 16, 46, 0.7);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.12);
}

.field-error {
  min-height: 16px;
  font-size: 12px;
  font-weight: 650;
  color: rgba(200, 16, 46, 0.95);
}

textarea {
  resize: vertical;
}

.hint {
  font-size: 12px;
  color: rgba(11, 18, 32, 0.62);
}

.checkbox {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-weight: 400;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.form-status {
  font-size: 13px;
  color: rgba(11, 18, 32, 0.7);
  min-height: 18px;
}

.form-status[data-type="error"] {
  color: rgba(200, 16, 46, 0.95);
  font-weight: 700;
}

.form-status[data-type="success"] {
  color: rgba(0, 61, 165, 0.95);
  font-weight: 800;
}

.footer {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-brand {
  font-weight: 850;
  letter-spacing: -0.02em;
}

.footer-meta {
  color: rgba(11, 18, 32, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.footer-right {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(11, 18, 32, 0.78);
  font-weight: 650;
}

.sep {
  color: rgba(11, 18, 32, 0.35);
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cta"
      "nav nav";
  }
  .brand {
    grid-area: brand;
  }
  .nav {
    grid-area: nav;
    justify-content: space-between;
  }
  .header-cta {
    grid-area: cta;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .quick-cards {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .duty-grid {
    grid-template-columns: 1fr;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
