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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-apple);
  color: var(--apple-ink);
  background: var(--apple-bg);
  line-height: 1.47059;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Global Apple-style Top Bar */
.globalnav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 48px;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.globalnav-inner {
  max-width: 1024px;
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--apple-ink);
  white-space: nowrap;
}

.nav-logo img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(29, 29, 31, 0.82);
  transition: color 0.2s ease;
}

.nav-menu a:hover { color: var(--apple-ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 980px;
  background: var(--apple-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--apple-blue-hover); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: var(--apple-ink);
}

/* Buttons & Apple Links */
.cta-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.btn-apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
  padding: 11px 22px;
  border-radius: 980px;
  background: var(--apple-blue);
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-apple:hover { background: var(--apple-blue-hover); }
.btn-apple:active { transform: scale(0.985); }

.btn-apple-outline {
  background: transparent;
  color: var(--apple-blue-link);
  border-color: var(--apple-blue-link);
}

.btn-apple-outline:hover {
  background: var(--apple-blue);
  color: #fff;
  border-color: var(--apple-blue);
}

.btn-whatsapp { background: #1d1d1f; color: #fff; }
.btn-whatsapp:hover { background: #333336; }

.link-chevron {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 17px;
  font-weight: 400;
  color: var(--apple-blue-link);
  transition: opacity 0.2s ease;
}

.link-chevron:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.band-dark .link-chevron { color: var(--apple-dark-link); }

.container-narrow {
  max-width: 980px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-title h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-title p {
  margin: 0;
  font-size: 19px;
  color: var(--apple-muted);
}

/* Floating WhatsApp Pill */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 980px;
  background: rgba(29, 29, 31, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.18s ease, background 0.18s ease;
}

.wa-float:hover { transform: translateY(-2px); background: #000; }

.wa-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--apple-green);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25);
}

/* Apple-style Footer */
footer.apple-footer {
  background: var(--apple-gray);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 28px 22px 44px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--apple-muted);
}

.footer-container { max-width: 980px; margin: 0 auto; }

.footer-note {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
}

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

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a:hover { text-decoration: underline; color: var(--apple-ink); }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 860px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: rgba(251, 251, 253, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 22px;
    gap: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .wa-float { right: 14px; bottom: 14px; padding: 10px 15px; }
}
