:root {
  color-scheme: light;
  --bg: #f9f1e6;
  --ink: #3b2418;
  --accent: #d47b3d;
  --accent-strong: #b4532f;
  --soft: #f1e1cf;
  --card: #fff7ec;
  --shadow: 0 24px 40px rgba(60, 35, 18, 0.14);
  --radius: 24px;
  --radius-sm: 16px;
  font-family: "Inter", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: radial-gradient(circle at top, #fff5e6, var(--bg));
  color: var(--ink);
  min-height: 100vh;
}

body.is-animating {
  overflow: hidden;
  touch-action: none;
}

body.menu-open {
  overflow: hidden;
}

.app-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 120px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease forwards;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand__home-link {
  display: inline-grid;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #f6c28b);
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
}

.brand__name {
  font-weight: 700;
  font-size: 1.2rem;
}

.brand__tag {
  font-size: 0.9rem;
  opacity: 0.7;
}

.menu-button {
  width: 54px;
  height: 54px;
  background: linear-gradient(145deg, #fff7f0, #fff);
  border: 1px solid rgba(196, 120, 70, 0.2);
  border-radius: 18px;
  box-shadow: 0 16px 30px rgba(60, 35, 18, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 99px;
  transition: transform 0.35s ease, opacity 0.35s ease, width 0.35s ease;
}

.menu-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(60, 35, 18, 0.22);
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
  width: 24px;
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
  width: 24px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}

.hero__content {
  display: grid;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s ease forwards 0.2s;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #fff;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.1;
}

.hero__copy {
  font-size: 1.05rem;
  opacity: 0.8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__actions .primary,
.hero__actions .ghost {
  flex: 1 1 220px;
  text-align: center;
}

button {
  font: inherit;
}

.primary,
.ghost {
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: var(--shadow);
}

.ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(43, 31, 36, 0.1);
}

.primary:hover,
.ghost:hover,
.nav-item:hover {
  transform: translateY(-2px);
}

.hero__image {
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s ease forwards 0.4s;
}

.image-reel {
  width: min(360px, 90%);
  height: 380px;
  border-radius: 40px;
  position: relative;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-reel::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 32px;
  background: linear-gradient(140deg, rgba(255, 245, 233, 0.6), rgba(120, 70, 35, 0.15));
  pointer-events: none;
}

.reel__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  animation: reelFade 12s infinite;
}

.reel__item:nth-child(1) {
  animation-delay: 0s;
}

.reel__item:nth-child(2) {
  animation-delay: 4s;
}

.reel__item:nth-child(3) {
  animation-delay: 8s;
}

.reel__slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel__caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20, 12, 8, 0.75), rgba(60, 35, 18, 0.35));
  color: #fff9f3;
  box-shadow: 0 16px 30px rgba(30, 16, 8, 0.35);
  backdrop-filter: blur(6px);
  animation: reelCaption 12s infinite;
}

.reel__caption h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.reel__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 8px;
}

.reel__sub {
  font-size: 0.85rem;
  opacity: 0.85;
}

.reel__item:nth-child(1) .reel__caption {
  animation-delay: 0s;
}

.reel__item:nth-child(2) .reel__caption {
  animation-delay: 4s;
}

.reel__item:nth-child(3) .reel__caption {
  animation-delay: 8s;
}

.highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.highlight__card {
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.8s ease forwards 0.5s;
}

.highlight__card h2 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.9s ease forwards 0.6s;
}

.service-card__media {
  height: 140px;
  border-radius: 18px;
  background: linear-gradient(140deg, #efb07a, #f7d9b2);
}

.text-link {
  border: none;
  background: none;
  color: var(--accent-strong);
  font-weight: 600;
  cursor: pointer;
  justify-self: start;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: max(20px, env(safe-area-inset-bottom));
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  display: flex;
  gap: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: min(90%, 360px);
  justify-content: space-between;
  z-index: 30;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  contain: layout paint;
}

.nav-item {
  flex: 1;
  border: none;
  background: transparent;
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 8px 0;
  font-size: 0.8rem;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
  text-decoration: none;
  position: relative;
}

.nav-item.is-active {
  color: var(--accent-strong);
}

.nav-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(244, 229, 211, 0.7));
  box-shadow: inset 0 0 0 1px rgba(180, 83, 47, 0.12), 0 10px 18px rgba(60, 35, 18, 0.12);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.nav-icon svg {
  width: 20px;
  height: 20px;
}

.nav-item.is-active .nav-icon {
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 20px rgba(180, 83, 47, 0.35);
  color: #fffaf5;
  animation: navPop 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-icon::after {
  content: "";
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.35s ease, transform 0.45s ease;
}

.nav-item:active .nav-icon,
.nav-item:focus-visible .nav-icon {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 26px rgba(180, 83, 47, 0.3);
}

.nav-item:active .nav-icon::after,
.nav-item:focus-visible .nav-icon::after {
  opacity: 0.65;
  transform: scale(1);
}

@keyframes navPop {
  0% {
    transform: scale(0.92);
  }
  55% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.menu-drawer {
  position: fixed;
  inset: 0;
  background: rgba(12, 8, 9, 0.42);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 40;
}

.menu-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-panel {
  background: linear-gradient(180deg, rgba(255, 249, 240, 0.98), rgba(255, 255, 255, 0.92));
  padding: 36px 32px;
  border-radius: 0;
  display: grid;
  gap: 24px;
  width: min(360px, 92vw);
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  align-content: start;
  box-shadow: -24px 0 50px rgba(60, 35, 18, 0.18);
  transform: translateX(110%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.menu-drawer.is-open .menu-panel {
  transform: translateX(0);
}

.menu-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
}

.menu-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.menu-subtitle {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: rgba(44, 28, 18, 0.7);
  letter-spacing: 0.04em;
}

.menu-section {
  display: grid;
  gap: 12px;
}

.menu-section__title {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(44, 28, 18, 0.6);
}

.menu-link {
  color: var(--ink);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(241, 225, 207, 0.7);
  transition: transform 0.3s ease, background 0.3s ease;
}

.menu-link:hover {
  transform: translateX(4px);
  background: rgba(241, 225, 207, 1);
}

.menu-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.menu-category {
  border: 1px solid rgba(212, 123, 61, 0.25);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 10px 24px rgba(60, 35, 18, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.menu-category:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 123, 61, 0.5);
  box-shadow: 0 16px 30px rgba(60, 35, 18, 0.12);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reelFade {
  0% {
    opacity: 0;
    transform: scale(1.03);
  }
  8%,
  33% {
    opacity: 1;
    transform: scale(1);
  }
  41%,
  100% {
    opacity: 0;
    transform: scale(1.02);
  }
}

@keyframes reelCaption {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  12%,
  33% {
    opacity: 1;
    transform: translateY(0);
  }
  41%,
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

@media (min-width: 900px) {
  .bottom-nav {
    display: none;
  }

  .app-shell {
    padding-bottom: 40px;
  }
}

@media (max-width: 899px) {
  .top-bar {
    position: sticky;
    top: 0;
    z-index: 30;
    margin: -24px -24px 24px;
    padding: 16px 24px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 24px rgba(60, 35, 18, 0.12);
    backdrop-filter: blur(12px);
  }

  .menu-panel {
    width: min(320px, 88vw);
  }
}

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

  .reel__item {
    opacity: 1;
    position: static;
    transform: none;
  }

  .reel__item + .reel__item {
    display: none;
  }
}
