* { box-sizing: border-box; font-family: inherit; font-weight: 600; }

html {
  scroll-behavior: smooth;
}

html, body {
  background: var(--surface);
  color: var(--navy);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
}

button, input, textarea, select {
  font-family: inherit;
}

::selection {
  background-color: var(--midnight);
  color: var(--white);
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--sky); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--midnight); }

body { overflow-x: hidden; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--midnight);
  outline-offset: 2px;
}

.hero-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  flex-wrap: nowrap;
}

#site-header {
  background: #FFFFFF;
}

.hero-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.hero-nav-logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  flex-shrink: 0;
}

#site-header .hero-nav-logo {
  height: 46px;
  max-width: 200px;
}

footer .hero-nav-logo {
  height: 56px;
  max-width: 240px;
}

.hero-nav-mark {
  width: 34px;
  height: 26px;
  fill: #0F172A;
}

.hero-nav-name {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #0F172A;
  line-height: 1;
}

.hero-nav-sub {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8B9BB0;
  line-height: 1;
}

.hero-nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.hero-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #1F2937;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.04);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  white-space: nowrap;
  text-decoration: none;
}

.hero-nav-link.is-active {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  box-shadow: none;
}

.hero-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hero-nav-wa {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #E9FBEF;
  color: #1DA851;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: background .15s ease, color .15s ease;
}

.hero-nav-wa:hover {
  background: #25D366;
  color: #FFFFFF;
}

.hero-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #4C8EFF;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.hero-nav-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #E4ECF5;
  background: #FFFFFF;
  color: #0F172A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-ref {
  position: relative;
  background: #FFFFFF;
  padding-bottom: 36px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  padding: 44px 20px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: #5B6573;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #4C8EFF;
}

.hero-ref-title {
  margin: 0 auto 16px;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #1C2330;
}

.hero-sub {
  margin: 0 auto;
  max-width: 460px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #4B5563;
  padding-bottom: 0;
}

.hero-visual {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  background: #FFFFFF;
}

.hero-dunes {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center top;
  background: #FFFFFF;
}

.hero-ctas {
  position: absolute;
  left: 0;
  right: 0;
  top: 22%;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
}

.hero-btn-primary {
  background: #4C8EFF;
  color: #FFFFFF;
}

.hero-btn-secondary {
  background: #FFFFFF;
  color: #1C2330;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.hero-panel {
  position: relative;
  z-index: 3;
  display: flex;
  width: 94%;
  max-width: 1280px;
  margin: -48px auto 0;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 14px 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.hero-panel-item {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 16px;
  text-decoration: none;
  border-right: 1px solid #EEF0F3;
}

.hero-panel-item:last-child {
  border-right: 0;
}

.hero-panel-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: #1C2330;
}

.hero-panel-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.cta-gradient {
  background: linear-gradient(135deg, #7EC8FF 0%, #4C8EFF 100%);
}

.glass-pill {
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
  border-radius: 9999px;
  padding: 11px 22px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

a, button {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}

[data-animate] {
  will-change: transform, opacity;
}

.is-scrolled {
  background: #FFFFFF;
  box-shadow: 0 1px 0 #E4ECF5;
}

@media (min-width: 1280px) {
  .hero-nav-links { display: flex; gap: 2px; }
  .hero-nav-link { padding: 6px 9px; font-size: 11px; }
  .hero-nav-wa { display: inline-flex; }
  .hero-nav-toggle { display: none; }
}

@media (min-width: 1024px) {
  .hero-copy { padding: 52px 24px 0; }
  .hero-ref-title { font-size: 64px; }
  .hero-dunes { height: 430px; object-position: center top; }
  .hero-visual { margin-top: 8px; }
  .hero-ctas { top: 18%; }
  .hero-panel { margin-top: -52px; padding: 16px 12px; }
}

@media (max-width: 1023px) {
  .hero-copy { padding: 32px 20px 0; }
  .hero-ref-title { font-size: 40px; }
  .hero-dunes { height: 280px; object-position: center top; }
  .hero-visual { margin-top: 8px; }
  .hero-ctas { top: 16%; }
  .hero-panel {
    width: auto;
    margin: -32px 12px 0;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .hero-panel::-webkit-scrollbar { display: none; }
  .hero-panel-item { min-width: 188px; flex: 0 0 auto; }
}

@media (max-width: 639px) {
  .hero-ref-title { font-size: 36px; }
  .hero-sub { font-size: 13px; }
  .hero-dunes { height: 240px; }
  .hero-btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

