/*
  Reference-driven styling layer.
  Composition: About Instagram reference.
  Navbar/menu metrics and motion: Apple MacBook reference.
*/

:root {
  --apple-nav-height: 44px;
  --apple-nav-height-mobile: 48px;
  --apple-color-bg: #ffffff;
  --apple-color-text: #1d1d1f;
  --apple-color-muted: #6e6e73;
  --apple-color-line: rgba(0, 0, 0, 0.08);
  --apple-color-gray: #f5f5f7;
  --apple-color-blue: #0066cc;
  --apple-color-pink: #ead4d4;
  --apple-nav-ease: cubic-bezier(0.4, 0, 0.6, 1);
  --apple-reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --apple-font-text: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --apple-font-display: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-heading: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mini: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

body.theme-apple {
  font-family: var(--apple-font-text);
  background: var(--apple-color-bg);
  color: var(--apple-color-text);
  overflow-x: hidden;
  scroll-behavior: smooth;
  letter-spacing: -0.012em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.theme-apple main {
  padding-top: var(--apple-nav-height);
  background: #fff;
}

body.theme-apple .font-heading,
body.theme-apple h1,
body.theme-apple h2,
body.theme-apple h3,
body.theme-apple h4,
body.theme-apple h5,
body.theme-apple h6 {
  font-family: var(--apple-font-display);
}

body.theme-apple a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Global nav */
body.theme-apple .glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: var(--apple-nav-height);
  max-height: var(--apple-nav-height);
  background: rgba(250, 250, 252, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: background 0.32s var(--apple-nav-ease), box-shadow 0.32s var(--apple-nav-ease);
}

body.theme-apple .glass-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.5px;
  background: var(--apple-color-line);
}

body.theme-apple .glass-nav.is-scrolled {
  background: rgba(250, 250, 252, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

body.theme-apple .apple-nav-shell {
  height: 100%;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding-inline: max(22px, env(safe-area-inset-left)) max(22px, env(safe-area-inset-right));
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
}

body.theme-apple .apple-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

body.theme-apple .apple-brand-logo {
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

body.theme-apple .apple-nav-brand {
  font-size: 17px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--apple-color-text);
  white-space: nowrap;
}

body.theme-apple .apple-nav-brand.mobile {
  font-size: 17px;
}

body.theme-apple .apple-nav-links {
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

body.theme-apple .apple-nav-link {
  font-family: var(--apple-font-text);
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  transition: color 0.32s var(--apple-nav-ease);
}

body.theme-apple .apple-nav-link:hover {
  color: #000;
}

body.theme-apple .apple-nav-link[aria-current="page"] {
  color: #000;
}

body.theme-apple .apple-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  padding: 4px 11px;
  border-radius: 980px;
  border: 1px solid transparent;
  background: #1d1d1f;
  color: #fff;
  font-size: 12px;
  line-height: 1.3333733333;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

body.theme-apple .apple-nav-cta:hover {
  color: #fff;
  background: #272729;
}

body.theme-apple .apple-nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--apple-color-text);
  cursor: pointer;
}

body.theme-apple .apple-nav-toggle-line {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  margin: 0 auto 5px;
}

body.theme-apple .apple-nav-toggle-line:last-child {
  margin-bottom: 0;
}

body.theme-apple .apple-nav-toggle-line.short {
  margin-left: 21px;
  width: 12px;
}

body.theme-apple .apple-nav-close-line {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
}

body.theme-apple .apple-nav-close-line:first-child {
  transform: rotate(45deg);
}

body.theme-apple .apple-nav-close-line:last-child {
  transform: rotate(-45deg);
}

/* Mobile menu */
body.theme-apple .apple-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  background: rgba(232, 232, 237, 0.4);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: opacity 0.32s var(--apple-nav-ease), transform 0.32s var(--apple-nav-ease), visibility 0.32s step-end;
}

body.theme-apple .apple-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.32s var(--apple-nav-ease), transform 0.32s var(--apple-nav-ease), visibility 0.32s step-start;
}

body.theme-apple .apple-mobile-panel {
  width: 100%;
  height: 100%;
  background: rgba(250, 250, 252, 0.98);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  display: flex;
  flex-direction: column;
}

body.theme-apple .apple-mobile-top {
  height: var(--apple-nav-height-mobile);
  min-height: var(--apple-nav-height-mobile);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  border-bottom: 0.5px solid var(--apple-color-line);
}

body.theme-apple .apple-mobile-content {
  flex: 1;
  overflow-y: auto;
  padding: 10px max(32px, env(safe-area-inset-left)) 28px max(32px, env(safe-area-inset-right));
}

body.theme-apple .apple-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.theme-apple .apple-mobile-link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  font-size: 28px;
  line-height: 1.1428571429;
  font-weight: 600;
  letter-spacing: 0.007em;
  color: var(--apple-color-text);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.24s var(--apple-nav-ease), transform 0.24s var(--apple-nav-ease), color 0.24s var(--apple-nav-ease);
}

body.theme-apple .apple-mobile-menu.is-open .apple-mobile-link {
  opacity: 1;
  transform: translateY(0);
}

body.theme-apple .apple-mobile-menu.is-open .apple-mobile-list li:nth-child(1) .apple-mobile-link { transition-delay: 0.20s; }
body.theme-apple .apple-mobile-menu.is-open .apple-mobile-list li:nth-child(2) .apple-mobile-link { transition-delay: 0.24s; }
body.theme-apple .apple-mobile-menu.is-open .apple-mobile-list li:nth-child(3) .apple-mobile-link { transition-delay: 0.28s; }
body.theme-apple .apple-mobile-menu.is-open .apple-mobile-list li:nth-child(4) .apple-mobile-link { transition-delay: 0.32s; }

body.theme-apple .apple-mobile-link:hover,
body.theme-apple .apple-mobile-link.active {
  color: #000;
}

body.theme-apple .apple-mobile-bottom {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 0.5px solid rgba(0, 0, 0, 0.12);
  display: grid;
  gap: 14px;
}

body.theme-apple .apple-mobile-meta {
  font-size: 12px;
  line-height: 1.3333733333;
  letter-spacing: -0.01em;
  color: var(--apple-color-muted);
  text-decoration: none;
}

body.theme-apple .apple-mobile-meta:hover {
  color: #000;
}

body.theme-apple .apple-nav-cta.mobile {
  width: fit-content;
  font-size: 12px;
  line-height: 1.3333733333;
  padding: 4px 11px;
}

body.theme-apple.apple-nav-open {
  overflow: hidden;
}

/* About-style visual composition */
body.theme-apple .hero-section {
  background: radial-gradient(circle at 50% 100%, var(--apple-color-pink) 0%, #ffffff 80%);
  padding-top: var(--apple-nav-height);
}

body.theme-apple .hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.045em;
}

body.theme-apple .section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
}

body.theme-apple .craft-section {
  position: relative;
}

body.theme-apple .vision-section h3 {
  letter-spacing: -0.043em;
}

body.theme-apple .vision-section p {
  color: rgba(29, 29, 31, 0.5);
  max-width: 1000px;
  margin: 0 auto;
}

body.theme-apple .craft-grid {
  margin-top: 5.5rem;
}

body.theme-apple .craft-icon {
  color: rgba(29, 29, 31, 0.96);
}

body.theme-apple .craft-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

body.theme-apple .craft-section article {
  max-width: 320px;
  margin: 0 auto;
}

body.theme-apple .craft-section h5 {
  letter-spacing: -0.02em;
}

body.theme-apple .craft-section p {
  line-height: 1.45;
}

body.theme-apple .section-eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.8);
  color: rgba(0, 0, 0, 0.72);
  font-size: 12px;
  line-height: 1.3333733333;
  font-weight: 600;
  letter-spacing: -0.01em;
}

body.theme-apple .text-primary {
  color: #b06a85 !important;
}

body.theme-apple .apple-squircle {
  border-radius: 32px;
}

body.theme-apple .bento-card {
  background: var(--apple-color-gray);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-apple .bento-card:hover {
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

body.theme-apple .bento-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-apple .bento-card:hover .bento-image {
  transform: scale(1.03);
}

body.theme-apple .btn-primary,
body.theme-apple .btn-apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 14px 28px;
  border-radius: 980px;
  border: 1px solid transparent;
  background: #1d1d1f;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  line-height: 1.2353641176;
  font-weight: 500;
  letter-spacing: -0.022em;
  transition: transform 0.4s var(--apple-reveal-ease), background-color 0.24s ease, box-shadow 0.24s ease;
}

body.theme-apple .btn-primary:hover,
body.theme-apple .btn-apple:hover {
  color: #fff;
  background: #000;
  transform: scale(1.02);
}

body.theme-apple .btn-outline,
body.theme-apple .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 12px 24px;
  border-radius: 980px;
  border: 1px solid rgba(0, 102, 204, 0.24);
  background: rgba(255, 255, 255, 0.92);
  color: var(--apple-color-blue);
  text-decoration: none;
  font-size: 19px;
  line-height: 1.2105263158;
  font-weight: 400;
  letter-spacing: -0.022em;
  transition: all 0.3s var(--apple-nav-ease);
}

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

/* Motion */
body.theme-apple .reveal,
body.theme-apple [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s var(--apple-reveal-ease), transform 1.2s var(--apple-reveal-ease);
}

body.theme-apple [data-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s var(--apple-reveal-ease), transform 0.72s var(--apple-reveal-ease);
}

body.theme-apple .reveal.active,
body.theme-apple .reveal.is-visible,
body.theme-apple [data-reveal].is-visible,
body.theme-apple [data-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Forms */
body.theme-apple .form-label {
  color: rgba(29, 29, 31, 0.45);
  font-size: 13px;
  line-height: 1.3333733333;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.theme-apple .input-apple,
body.theme-apple .form-input,
body.theme-apple .form-select,
body.theme-apple .form-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(0, 0, 0, 0.04);
  color: var(--apple-color-text);
  padding: 16px;
  font-size: 17px;
  line-height: 1.2353641176;
  font-weight: 400;
  letter-spacing: -0.022em;
  transition: all 0.2s ease;
}

body.theme-apple .input-apple:focus,
body.theme-apple .form-input:focus,
body.theme-apple .form-select:focus,
body.theme-apple .form-textarea:focus {
  outline: none;
  background: #fff;
  border-color: rgba(234, 212, 212, 0.9);
  box-shadow: 0 0 0 4px rgba(234, 212, 212, 0.3);
}

/* Gallery */
body.theme-apple .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: var(--apple-color-gray);
  aspect-ratio: 1;
}

body.theme-apple .gallery-item img,
body.theme-apple .gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

body.theme-apple .gallery-item:hover img,
body.theme-apple .gallery-item:hover video {
  transform: scale(1.03);
}

body.theme-apple .gallery-item .overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.56), transparent 65%);
  transition: opacity 0.28s ease;
}

body.theme-apple .gallery-item:hover .overlay {
  opacity: 1;
}

body.theme-apple .filter-btn {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  color: rgba(0, 0, 0, 0.64);
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.2s var(--apple-nav-ease);
}

body.theme-apple .filter-btn:hover {
  border-color: rgba(0, 0, 0, 0.22);
  color: #000;
}

body.theme-apple .filter-btn.active-filter {
  background: #000;
  border-color: #000;
  color: #fff;
}

/* Booking visual layer (logic untouched) */
body.theme-apple .booking-wizard-shell,
body.theme-apple .booking-step-panel,
body.theme-apple .booking-calendar-card,
body.theme-apple .booking-slots-card,
body.theme-apple .booking-summary-card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.96), rgba(245, 245, 247, 0.94));
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.08);
}

body.theme-apple .booking-progress-bar {
  background: rgba(0, 0, 0, 0.1);
}

body.theme-apple .booking-progress-fill {
  background: linear-gradient(90deg, #ead4d4, #1d1d1f);
}

body.theme-apple .booking-progress-steps li {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: rgba(0, 0, 0, 0.6);
}

body.theme-apple .booking-progress-badge {
  background: rgba(0, 0, 0, 0.1);
  color: #1d1d1f;
}

body.theme-apple .booking-progress-steps li.is-active,
body.theme-apple .booking-progress-steps li.is-complete {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.22);
  color: #1d1d1f;
}

body.theme-apple .booking-progress-steps li.is-active .booking-progress-badge,
body.theme-apple .booking-progress-steps li.is-complete .booking-progress-badge {
  background: #1d1d1f;
  color: #fff;
}

body.theme-apple .booking-service-card,
body.theme-apple .booking-slot,
body.theme-apple .booking-day {
  border-color: rgba(0, 0, 0, 0.14);
}

body.theme-apple .booking-service-card.is-selected,
body.theme-apple .booking-slot.is-selected,
body.theme-apple .booking-day.is-selected {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #fff;
}

body.theme-apple .booking-slot.is-available {
  background: rgba(234, 212, 212, 0.42);
  color: #1d1d1f;
}

body.theme-apple .booking-hero-step,
body.theme-apple .booking-flow-list li span {
  background: rgba(0, 0, 0, 0.12);
  color: #1d1d1f;
}

/* Footer + utility */
body.theme-apple .apple-footer {
  background: #f5f5f7 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.12) !important;
}

body.theme-apple .apple-footer a {
  color: inherit;
}

body.theme-apple .apple-footer a:hover {
  color: #000;
}

body.theme-apple .whatsapp-float {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--apple-nav-ease), box-shadow 0.3s var(--apple-nav-ease);
}

body.theme-apple .whatsapp-float:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 16px 48px rgba(37, 211, 102, 0.55);
}

body.theme-apple .whatsapp-float svg {
  width: 28px;
  height: 28px;
}

body.theme-apple .field-error {
  color: #991b1b;
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

/* Responsive */
@media (min-width: 834px) {
  body.theme-apple .apple-nav-toggle,
  body.theme-apple .apple-mobile-menu {
    display: none !important;
  }
}

@media (max-width: 833px) {
  body.theme-apple main {
    padding-top: var(--apple-nav-height-mobile);
  }

  body.theme-apple .glass-nav {
    height: var(--apple-nav-height-mobile);
    max-height: var(--apple-nav-height-mobile);
  }

  body.theme-apple .apple-nav-shell {
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  }

  body.theme-apple .apple-nav-links,
  body.theme-apple .apple-nav-cta-desktop {
    display: none;
  }

  body.theme-apple .apple-nav-toggle {
    display: inline-block;
  }

  body.theme-apple .hero-section {
    padding-top: var(--apple-nav-height-mobile);
  }

  body.theme-apple .apple-squircle,
  body.theme-apple .gallery-item {
    border-radius: 26px;
  }

  body.theme-apple .btn-primary,
  body.theme-apple .btn-apple,
  body.theme-apple .btn-outline,
  body.theme-apple .btn-secondary {
    font-size: 16px;
    padding: 12px 22px;
  }

  body.theme-apple .apple-mobile-content {
    padding-inline: max(22px, env(safe-area-inset-left)) max(22px, env(safe-area-inset-right));
  }

  body.theme-apple .apple-mobile-link {
    font-size: 24px;
    line-height: 1.1666666667;
    letter-spacing: -0.01em;
  }

  body.theme-apple .craft-grid {
    margin-top: 2rem;
  }

  body.theme-apple .craft-section article {
    max-width: none;
  }

  body.theme-apple .whatsapp-float {
    right: 1rem;
    bottom: 6rem;
  }
}

/* --------------------------------------------
   NAV + FOOTER REFINEMENT (MacBook-inspired)
-------------------------------------------- */
body.theme-apple .apple-nav-shell {
  justify-content: space-between;
}

body.theme-apple .apple-nav-brand {
  font-size: 14px;
  line-height: 1.1428571429;
  font-weight: 600;
  letter-spacing: -0.016em;
}

body.theme-apple .apple-nav-links {
  gap: 34px;
}

body.theme-apple .apple-nav-link {
  opacity: 0.88;
}

body.theme-apple .apple-nav-link:hover,
body.theme-apple .apple-nav-link[aria-current="page"] {
  opacity: 1;
}

body.theme-apple .apple-nav-toggle {
  color: rgba(0, 0, 0, 0.85);
}

body.theme-apple .apple-nav-toggle-line {
  width: 17px;
  height: 1px;
  margin: 0 auto 6px;
}

body.theme-apple .apple-nav-toggle-line:last-child {
  margin-bottom: 0;
}

body.theme-apple .apple-mobile-menu {
  background: rgba(232, 232, 237, 0.4);
}

body.theme-apple .apple-mobile-panel {
  background: rgba(250, 250, 252, 0.98);
}

body.theme-apple .apple-mobile-content {
  padding-top: 6px;
}

body.theme-apple .apple-mobile-list {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.theme-apple .apple-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 2px;
}

body.theme-apple .apple-mobile-link-label {
  display: block;
}

body.theme-apple .apple-mobile-link-chevron {
  font-size: 20px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.36);
  transform: translateY(-1px);
  transition: color 0.24s var(--apple-nav-ease), transform 0.24s var(--apple-nav-ease);
}

body.theme-apple .apple-mobile-link:hover .apple-mobile-link-chevron,
body.theme-apple .apple-mobile-link.active .apple-mobile-link-chevron {
  color: rgba(0, 0, 0, 0.6);
  transform: translateX(2px) translateY(-1px);
}

body.theme-apple .apple-mobile-bottom {
  margin-top: 18px;
  padding-top: 18px;
}

body.theme-apple .apple-mobile-meta {
  font-size: 13px;
  line-height: 1.3076923077;
}

body.theme-apple .apple-nav-cta.mobile {
  width: 100%;
  justify-content: center;
  padding: 8px 14px;
  font-size: 14px;
  line-height: 1.2857742857;
}

body.theme-apple .apple-footer {
  margin-top: 0;
  padding: 18px 0 16px !important;
  background: #f5f5f7 !important;
  color: #1d1d1f;
}

body.theme-apple .apple-footer-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 max(22px, env(safe-area-inset-left)) 0 max(22px, env(safe-area-inset-right));
  box-sizing: border-box;
}

body.theme-apple .apple-footer-note {
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.3333733333;
  font-weight: 400;
  letter-spacing: -0.01em;
}

body.theme-apple .apple-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 16px 0 14px;
}

body.theme-apple .apple-footer-column {
  min-width: 0;
}

body.theme-apple .apple-footer-title {
  margin: 0 0 8px;
  color: #1d1d1f;
  font-size: 12px;
  line-height: 1.3333733333;
  font-weight: 600;
  letter-spacing: -0.01em;
}

body.theme-apple .apple-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

body.theme-apple .apple-footer-list li,
body.theme-apple .apple-footer-list a {
  color: #424245;
  font-size: 12px;
  line-height: 1.3333733333;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-decoration: none;
}

body.theme-apple .apple-footer-list a:hover {
  color: #1d1d1f;
  text-decoration: underline;
}

body.theme-apple .apple-footer-bottom {
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.theme-apple .apple-footer-copy {
  margin: 0;
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.3333733333;
  letter-spacing: -0.01em;
}

body.theme-apple .apple-footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.theme-apple .apple-footer-legal a,
body.theme-apple .apple-footer-legal span {
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.3333733333;
  letter-spacing: -0.01em;
  text-decoration: none;
}

body.theme-apple .apple-footer-legal a:hover {
  color: #1d1d1f;
  text-decoration: underline;
}

@media (max-width: 833px) {
  body.theme-apple .apple-nav-brand {
    font-size: 13px;
    line-height: 1.3076923077;
  }

  body.theme-apple .apple-mobile-content {
    padding-top: 4px;
  }

  body.theme-apple .apple-mobile-link {
    font-size: 27px;
    line-height: 1.1481481481;
    letter-spacing: 0.004em;
  }

  body.theme-apple .apple-footer-inner {
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  }

  body.theme-apple .apple-footer-columns {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px 0 12px;
  }

  body.theme-apple .apple-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  body.theme-apple .apple-footer-legal {
    gap: 10px;
  }
}
