header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  background: rgba(255, 250, 244, 0.92);
  border-bottom: 1px solid rgba(83, 59, 40, 0.08);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #d28a45;
  color: #fff;
  box-shadow: 0 16px 30px rgba(210, 138, 69, 0.22);
}

.brand h1 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0.02em;
}

.brand-copy small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
}

nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--button-radius);
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

nav a:hover,
nav a:focus-visible,
nav a.active {
  background: rgba(255, 250, 244, 0.98);
  border-color: var(--border);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(55, 35, 22, 0.06);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 18px 28px 18px 28px;
  background: rgba(255, 250, 244, 0.96);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(55, 35, 22, 0.06);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(210, 138, 69, 0.28);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition:
    transform 200ms ease,
    opacity 200ms ease,
    width 200ms ease;
}

header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding: 88px 0 120px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.8;
  pointer-events: none;
}

.hero::before {
  width: 320px;
  height: 320px;
  left: -70px;
  top: 20px;
  background: rgba(210, 138, 69, 0.12);
  animation: drift 12s ease-in-out infinite;
}

.hero::after {
  width: 240px;
  height: 240px;
  right: -50px;
  bottom: 10px;
  background: rgba(44, 140, 124, 0.1);
  animation: drift 16s ease-in-out infinite reverse;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 250, 244, 0.95);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(55, 35, 22, 0.05);
}

.hero-copy h2 {
  max-width: 14ch;
  margin-top: 20px;
  font-size: clamp(2.8rem, 4.8vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.hero-copy p {
  max-width: 60ch;
  margin: 0 0 28px;
  font-size: 1.04rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
}

.stat-card strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 580px;
}

.hero-gallery {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 18px;
}

.visual-stack {
  display: grid;
  gap: 18px;
}

.visual-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(83, 59, 40, 0.08);
  box-shadow: 0 30px 70px rgba(55, 35, 22, 0.12);
  background-color: #fffaf4;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  animation: floatCard 8s ease-in-out infinite;
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
}

.visual-card-lg {
  min-height: 580px;
}

.visual-card-sm {
  min-height: 281px;
}

.visual-card-latte {
  background-image: url("../assets/hero-latte.svg");
}

.visual-card-croissant {
  background-image: url("../assets/hero-croissant.svg");
  animation-delay: 0.8s;
}

.visual-card-cake {
  background-image: url("../assets/hero-cake.svg");
  animation-delay: 1.4s;
}

.visual-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 250, 244, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(83, 59, 40, 0.08);
}

.visual-label strong {
  display: block;
  font-size: 1rem;
}

.visual-label small {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-floating-panel {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(360px, calc(100% - 44px));
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.96);
  border: 1px solid rgba(83, 59, 40, 0.08);
  box-shadow: 0 18px 40px rgba(55, 35, 22, 0.08);
  animation: floatCard 7s ease-in-out infinite;
}

.hero-floating-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: #d28a45;
}

.hero-floating-panel strong {
  display: block;
  font-size: 1rem;
}

.hero-floating-panel p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
