:root {
  --primary: #071f3d;
  --primary-600: #0b2d57;
  --primary-700: #05162c;
  --secondary: #f5b400;
  --secondary-600: #d9a000;
  --secondary-100: #fff6d6;
  --accent: #0f766e;
  --accent-100: #ccfbf1;
  --background: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #d97706;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(7, 31, 61, 0.06);
  --shadow-md: 0 8px 30px rgba(7, 31, 61, 0.1);
  --shadow-lg: 0 18px 50px rgba(7, 31, 61, 0.16);
  --header-h: 60px;
  --bottom-nav-h: 68px;
  --container: 1200px;
  --container-wide: 1360px;
  --font: Inter, "Segoe UI", system-ui, sans-serif;
  --font-display: Poppins, Inter, sans-serif;
  --font-accent: Caveat, "Segoe Script", cursive;
  --focus: 0 0 0 3px rgba(15, 118, 110, 0.35);
  --ease: 220ms ease;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--background);
  line-height: 1.55;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.sheet-open,
body.modal-open,
body.search-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--primary);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 10000;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 32px, var(--container-wide));
  margin-inline: auto;
}

.accent-heading {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.muted {
  color: var(--muted);
}

.section {
  padding: 40px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 1.45rem;
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.page-main {
  padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 16px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 31, 61, 0.96);
  color: #fff;
  backdrop-filter: blur(16px);
  min-height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex: 1;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--secondary);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: -0.04em;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.logo-text span {
  font-size: 0.68rem;
  color: #cbd5e1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.desktop-nav {
  display: none;
}

.header-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform var(--ease), background var(--ease), box-shadow var(--ease);
  text-align: center;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(245, 180, 0, 0.28);
}

.btn-primary:hover {
  background: #ffc107;
}

.btn-navy {
  background: var(--primary);
  color: #fff;
}

.btn-outline {
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-wa {
  background: #1fa855;
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 168, 85, 0.28);
}

.btn-wa:hover {
  background: #189146;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.9rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 36px;
}

.chip.active {
  background: var(--primary);
  color: #fff;
}

.site-footer {
  background: var(--primary);
  color: #e2e8f0;
  padding: 40px 0 96px;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.site-footer h3,
.site-footer h2 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a:hover {
  color: var(--secondary);
}

.footer-brand p {
  margin-top: 8px;
  color: #94a3b8;
}

.footer-copy {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #94a3b8;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: calc(var(--bottom-nav-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  backdrop-filter: blur(16px);
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  min-height: 44px;
}

.bottom-nav a.active,
.bottom-nav a[aria-current="page"] {
  color: var(--primary);
}

.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 16px);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  z-index: 55;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.grid {
  display: grid;
  gap: 16px;
}

.media {
  aspect-ratio: 16 / 10;
  background: #dbe4ee;
  overflow: hidden;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--secondary-100);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
}

.empty-state,
.error-state,
.loading-state {
  text-align: center;
  padding: 40px 16px;
  color: var(--muted);
}

.empty-state h3,
.error-state h3 {
  color: var(--text);
  margin-bottom: 8px;
}

.skeleton {
  background: linear-gradient(90deg, #e8eef5 25%, #f8fafc 37%, #e8eef5 63%);
  background-size: 400% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
  border-radius: 12px;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.toast-wrap {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-nav-h) + 24px);
  transform: translateX(-50%);
  z-index: 80;
  width: min(92vw, 420px);
}

.toast {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 31, 61, 0.45);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 75;
  background: var(--surface);
  border-radius: 24px 24px 0 0;
  max-height: 88vh;
  transform: translateY(110%);
  transition: transform 280ms ease;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.bottom-sheet.open {
  transform: translateY(0);
}

.sheet-handle {
  width: 42px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 99px;
  margin: 10px auto 0;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 8px;
}

.sheet-body {
  overflow: auto;
  padding: 8px 16px 24px;
  -webkit-overflow-scrolling: touch;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 76;
  display: grid;
  place-items: center;
  padding: 16px;
  pointer-events: none;
}

.modal.open {
  pointer-events: auto;
}

.modal-card {
  width: min(100%, 560px);
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow: auto;
}

.search-screen {
  position: fixed;
  inset: 0;
  z-index: 78;
  background: #fff;
  display: none;
  flex-direction: column;
}

.search-screen.open {
  display: flex;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.field-control,
.input,
.select,
.textarea {
  min-height: 52px;
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
}

.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.textarea {
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}

.field-control {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.field.error .field-control,
.field.error .input,
.field.error .textarea {
  border-color: var(--danger);
}

.field-error {
  color: var(--danger);
  font-size: 0.78rem;
  min-height: 1em;
}

.sticky-cta {
  position: sticky;
  bottom: calc(var(--bottom-nav-h) + var(--safe-bottom));
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 12px 16px calc(12px + var(--safe-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 40;
  box-shadow: 0 -8px 24px rgba(7, 31, 61, 0.06);
}

.sticky-cta .price {
  font-weight: 800;
  font-size: 1.1rem;
}

.price-note {
  font-size: 0.72rem;
  color: var(--muted);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 16px 0;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item button {
  width: 100%;
  min-height: 52px;
  text-align: left;
  padding: 14px 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-item .faq-body {
  display: none;
  padding: 0 0 14px;
  color: var(--muted);
}

.faq-item.open .faq-body {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
