/* ═══════════════════════════════════════════════
   CASABITE CHOCOLATES — styles.css
   Redesign: Playfair Display + Jost
   ═══════════════════════════════════════════════ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #faf5ec;
  --cream-2: #f2ead8;
  --cream-3: #e8dcca;
  --brown: #1c0a02;
  --brown-mid: #5c3317;
  --brown-light: #9b6b45;
  --gold: #c4963a;
  --gold-light: #e0b860;
  --warm-gray: #8a7968;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --radius: 8px;
  --radius-sm: 6px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--brown);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}

/* ─────────────────────────────────────
   NAV
───────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(250, 245, 236, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(196, 150, 58, 0.12);
  transition:
    padding 0.35s ease,
    background 0.35s ease;
}

nav.scrolled {
  padding: 0.75rem 4rem;
  background: rgba(250, 245, 236, 0.96);
}

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(92, 51, 23, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

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

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

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

.nav-cta {
  background: var(--brown) !important;
  color: var(--cream) !important;
  padding: 0.55rem 1.3rem !important;
  border-radius: var(--radius-sm) !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--brown) !important;
}

/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--cream);
}

/* Image slides: fill entire section */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Mask: image fades from invisible (left) to fully visible (right) */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 28%,
    rgba(0, 0, 0, 0.6) 42%,
    black 58%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 28%,
    rgba(0, 0, 0, 0.6) 42%,
    black 58%
  );
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.3s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: transparent;
}

/* Hero content: positioned left, above the slides */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 4rem 4rem;
  max-width: 54%;
  pointer-events: none; /* let clicks pass to slides in unmasked area */
}

.hero-content > * {
  pointer-events: auto;
}

/* Text slides */
.hero-text-slides {
  position: relative;
  min-height: 300px;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-text-slide {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(calc(-50% + 18px));
  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  pointer-events: none;
}

.hero-text-slide.active {
  opacity: 1;
  transform: translateY(-50%);
  pointer-events: auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}

.hero-eyebrow::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.8vw, 5.2rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--brown);
  margin-bottom: 1.6rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--warm-gray);
  max-width: 400px;
  margin-bottom: 2.4rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(196, 150, 58, 0.25);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(196, 150, 58, 0.25);
  flex-shrink: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-number {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--brown);
  line-height: 1;
}

.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  font-weight: 400;
}

/* Indicators */
.hero-indicators {
  display: flex;
  gap: 0.6rem;
  margin-top: 2rem;
}

.hero-indicator {
  width: 28px;
  height: 3px;
  border: none;
  border-radius: 2px;
  background: rgba(196, 150, 58, 0.3);
  cursor: pointer;
  transition:
    background 0.3s,
    width 0.3s;
  padding: 0;
}

.hero-indicator.active {
  width: 52px;
  background: var(--gold);
}

/* ─────────────────────────────────────
   MARQUEE
───────────────────────────────────── */
.marquee-strip {
  background: var(--brown);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ─────────────────────────────────────
   SECTION SHARED
───────────────────────────────────── */
section {
  padding: 7rem 4rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.section-eyebrow::before {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--brown);
  margin-bottom: 0.9rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-sub {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--warm-gray);
  margin-top: 0.5rem;
  font-weight: 300;
}

/* ─────────────────────────────────────
   BUTTONS
───────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  background: var(--brown);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition:
    background 0.25s,
    transform 0.2s;
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--brown);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  border: 1.5px solid var(--brown-mid);
  color: var(--brown-mid);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition:
    border-color 0.25s,
    color 0.25s,
    transform 0.2s;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  background: var(--gold);
  color: var(--brown);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition:
    background 0.25s,
    transform 0.2s;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.9rem;
  background: #25d366;
  color: white;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition:
    background 0.25s,
    transform 0.2s,
    box-shadow 0.2s;
}

.btn-whatsapp:hover {
  background: #1ebe58;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
}

/* ─────────────────────────────────────
   COLLECTIONS
───────────────────────────────────── */
#collections {
  background: var(--cream);
}

.collections-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.collections-header-left {
  max-width: 480px;
}

.view-all {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-mid);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(92, 51, 23, 0.3);
}

.view-all:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ── Bento product grid ── */
.product-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

/* Large card spans 2 rows */
.product-card.large {
  grid-row: 1 / 3;
}

.product-grid-2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

/* ── Product card ── */
.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(28, 10, 2, 0.1);
}

.product-card-img {
  width: 100%;
  overflow: hidden;
  /* Default aspect ratio for small cards */
  aspect-ratio: 4 / 3;
  position: relative;
  flex: 1 0 auto;
}

/* Large card: taller image */
.product-card.large .product-card-img {
  aspect-ratio: unset;
  height: calc(100% - 80px); /* leaves room for label */
  min-height: 340px;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.04);
}

/* Always-visible card label */
.product-card-info {
  padding: 0.9rem 1.1rem 1rem;
  border-top: 1px solid var(--cream-2);
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 86px;
}

.product-card-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--brown);
  line-height: 1.3;
}

.product-card.large .product-card-name {
  font-size: 1.15rem;
}

.product-card-meta {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-top: 0.25rem;
  font-weight: 400;
}

/* ─────────────────────────────────────
   CORPORATE GIFTING
───────────────────────────────────── */
#corporate {
  background: var(--brown);
  padding: 7rem 4rem;
  position: relative;
  overflow: hidden;
}

#corporate::before {
  content: "GIFT";
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 22vw;
  font-weight: 700;
  color: rgba(196, 150, 58, 0.04);
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.corporate-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.corporate-text .section-eyebrow {
  color: var(--gold);
}

.corporate-text .section-title {
  color: var(--cream);
  margin-bottom: 1.4rem;
}

.corporate-text .section-title em {
  color: var(--gold);
}

.corporate-desc {
  font-size: 0.93rem;
  line-height: 1.9;
  color: rgba(250, 245, 236, 0.58);
  margin-bottom: 2rem;
  font-weight: 300;
}

.corporate-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.corporate-perks li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.88rem;
  color: rgba(250, 245, 236, 0.72);
  line-height: 1.6;
  font-weight: 300;
}

.perk-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold);
}

.corporate-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.corporate-visual {
  position: relative;
}

.corporate-img-main {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  display: block;
}

.corporate-img-float {
  position: absolute;
  bottom: -6%;
  left: -8%;
  width: 44%;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: rotate(3deg);
}

/* ─────────────────────────────────────
   FIND US
───────────────────────────────────── */
#find-us {
  background: var(--cream-2);
  padding: 7rem 4rem;
}

.find-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.store-details {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-top: 2rem;
}

.store-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.store-icon {
  width: 40px;
  height: 40px;
  background: var(--brown);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.store-icon svg {
  width: 17px;
  height: 17px;
}

.store-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.store-item-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.store-item-value {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--brown);
  line-height: 1.5;
}

.store-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.store-map-placeholder {
  border-radius: 14px;
  overflow: hidden;
  height: 380px;
  border: 1px solid rgba(196, 150, 58, 0.22);
  box-shadow: 0 8px 32px rgba(28, 10, 2, 0.08);
  position: relative;
}

.store-map-placeholder iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  background: var(--brown);
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.directions-btn:hover {
  background: var(--gold);
  color: var(--brown);
}

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
footer {
  background: var(--brown);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.footer-logo {
  height: 46px;
  width: auto;
  display: block;
  margin-bottom: 1.1rem;
  /* Invert to show logo on dark background.
     Replace with a white version of the logo if available. */
  filter: brightness(0) invert(1) opacity(0.85);
}

.footer-desc {
  font-size: 0.84rem;
  line-height: 1.85;
  color: rgba(250, 245, 236, 0.42);
  max-width: 260px;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.social-link {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(196, 150, 58, 0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--gold);
  color: var(--brown);
  border-color: var(--gold);
}

.footer-col-title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  font-size: 0.84rem;
  color: rgba(250, 245, 236, 0.46);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 300;
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  padding: 1.1rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.73rem;
  color: rgba(250, 245, 236, 0.28);
  letter-spacing: 0.04em;
}

.footer-bottom span {
  color: var(--gold);
}

/* ─────────────────────────────────────
   FLOATING WHATSAPP
───────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 54px;
  height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  animation: pulse 3s ease infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5);
}

.wa-float svg {
  width: 26px;
  height: 26px;
  fill: white;
}

.wa-float svg path:first-child:not(:last-child) {
  display: none;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  }
  50% {
    box-shadow: 0 6px 36px rgba(37, 211, 102, 0.6);
  }
}

/* ─────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.22s;
}
.reveal-delay-3 {
  transition-delay: 0.34s;
}
.reveal-delay-4 {
  transition-delay: 0.46s;
}

/* Corporate order builder page */
.corporate-page {
  padding-bottom: 6rem;
}

.corporate-page-hero {
  background: var(--brown);
  color: var(--cream);
  min-height: 620px;
  padding: 9rem 4rem 5rem;
  position: relative;
  overflow: hidden;
}

.corporate-page-hero::before {
  content: "CORPORATE";
  position: absolute;
  right: -4vw;
  bottom: -2vw;
  font-family: var(--serif);
  font-size: 14vw;
  font-weight: 700;
  line-height: 1;
  color: rgba(196, 150, 58, 0.055);
  pointer-events: none;
}

.corporate-page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.corporate-page-hero .section-eyebrow,
.corporate-page-hero .section-title em {
  color: var(--gold);
}

.corporate-page-hero .section-title {
  color: var(--cream);
  font-size: clamp(2.6rem, 4.8vw, 5.6rem);
  max-width: 720px;
}

.corporate-page-hero-copy {
  color: rgba(250, 245, 236, 0.64);
  font-size: 1rem;
  line-height: 1.9;
  max-width: 560px;
  margin: 1.4rem 0 2.2rem;
}

.corporate-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.corporate-hero-panel {
  background: rgba(250, 245, 236, 0.06);
  border: 1px solid rgba(196, 150, 58, 0.24);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.corporate-hero-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.corporate-hero-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.corporate-hero-note {
  border-top: 1px solid rgba(196, 150, 58, 0.22);
  padding-top: 0.9rem;
}

.corporate-hero-note strong {
  display: block;
  font-family: var(--serif);
  color: var(--gold-light);
  font-size: 1.3rem;
  line-height: 1;
}

.corporate-hero-note span {
  display: block;
  color: rgba(250, 245, 236, 0.54);
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  line-height: 1.45;
  margin-top: 0.35rem;
  text-transform: uppercase;
}

.catalog-section {
  background: var(--cream);
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.catalog-header-text {
  max-width: 580px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.catalog-card {
  background: #fff;
  border: 1px solid rgba(196, 150, 58, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(28, 10, 2, 0.09);
}

.catalog-card-img {
  aspect-ratio: 4 / 3;
  background: var(--cream-2);
  overflow: hidden;
}

.catalog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog-card-body {
  padding: 1.15rem;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.catalog-card-kicker {
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.catalog-card-title {
  color: var(--brown);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.25;
  margin-top: 0.45rem;
}

.catalog-card-desc {
  color: var(--warm-gray);
  font-size: 0.84rem;
  line-height: 1.65;
  margin: 0.75rem 0 1rem;
}

.catalog-card-price {
  color: var(--brown-mid);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-top: auto;
  text-transform: uppercase;
}

.catalog-card-controls {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.quantity-control {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  height: 42px;
  border: 1px solid var(--cream-3);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.quantity-control button,
.cart-item-qty button {
  border: none;
  background: var(--cream-2);
  color: var(--brown);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1rem;
}

.quantity-control input {
  width: 100%;
  border: none;
  color: var(--brown);
  font-family: var(--sans);
  font-weight: 500;
  text-align: center;
}

.quantity-control input:focus {
  outline: none;
}

.add-cart-btn {
  border: none;
  background: var(--brown);
  color: var(--cream);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0 0.9rem;
  text-transform: uppercase;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.add-cart-btn:hover {
  background: var(--gold);
  color: var(--brown);
}

.cart-bar {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 180;
  width: min(960px, calc(100% - 2rem));
  transform: translateX(-50%) translateY(130%);
  opacity: 0;
  pointer-events: none;
  background: rgba(28, 10, 2, 0.96);
  border: 1px solid rgba(196, 150, 58, 0.34);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(28, 10, 2, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem 0.95rem 1.2rem;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.cart-bar.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.cart-bar-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 1rem;
}

.cart-bar-count {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.cart-bar-total {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-review-btn {
  border: none;
  background: var(--gold);
  color: var(--brown);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.8rem 1.35rem;
  text-transform: uppercase;
}

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
}

.order-modal.open {
  display: block;
}

.order-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 10, 2, 0.72);
}

.order-modal-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(960px, calc(100% - 2rem));
  max-height: min(86vh, 820px);
  overflow: auto;
  transform: translate(-50%, -50%);
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.order-modal-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-3);
  padding: 1.35rem 1.5rem;
}

.order-modal-title {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--brown);
}

.modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--cream-3);
  border-radius: 50%;
  background: #fff;
  color: var(--brown);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.order-modal-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

.order-summary {
  background: #fff;
  border: 1px solid var(--cream-3);
  border-radius: var(--radius);
  padding: 1rem;
}

.order-summary-heading,
.order-form-heading {
  color: var(--brown-mid);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  border-bottom: 1px solid var(--cream-2);
  padding-bottom: 0.75rem;
}

.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item-name {
  font-family: var(--serif);
  color: var(--brown);
  font-size: 1rem;
  line-height: 1.25;
}

.cart-item-meta {
  color: var(--warm-gray);
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

.cart-item-qty {
  display: grid;
  grid-template-columns: 28px 30px 28px;
  align-items: center;
  height: 32px;
  border: 1px solid var(--cream-3);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--cream-3);
  margin-top: 1rem;
  padding-top: 1rem;
  color: var(--brown);
  font-weight: 500;
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--brown-mid);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--cream-3);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--brown);
  font-family: var(--sans);
  font-size: 0.9rem;
  padding: 0.78rem 0.85rem;
}

.form-field textarea {
  min-height: 112px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.order-submit {
  grid-column: 1 / -1;
  border: none;
  background: #25d366;
  color: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.95rem 1.4rem;
  text-transform: uppercase;
}

.empty-cart-message {
  color: var(--warm-gray);
  font-size: 0.86rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .hero {
    height: 100svh;
    min-height: 600px;
  }

  .hero::after {
    opacity: 1;
    background: linear-gradient(
      to bottom,
      rgba(250, 245, 236, 0.12) 0%,
      rgba(250, 245, 236, 0.62) 48%,
      rgba(250, 245, 236, 0.94) 100%
    );
  }

  .hero-slides {
    inset: 0;
    opacity: 0.72;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hero-slide img {
    object-fit: cover;
    object-position: center center;
  }

  .hero-content {
    max-width: 100%;
    justify-content: flex-end;
    padding: 5rem 1.5rem 2.25rem;
  }

  .hero-text-slides {
    flex: 0 0 auto;
    min-height: 300px;
  }

  .hero-headline {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.6rem;
  }

  .hero-actions a {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    justify-content: center;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    text-align: center;
  }

  section {
    padding: 5rem 1.5rem;
  }

  nav {
    padding: 0.9rem 1rem;
  }

  nav.scrolled {
    padding: 0.7rem 1rem;
  }

  .nav-logo img {
    height: 36px;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .nav-links a {
    font-size: 0.65rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.65rem;
    background: rgba(250, 245, 236, 0.98);
    border: 1px solid rgba(196, 150, 58, 0.18);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(28, 10, 2, 0.12);
  }

  nav.nav-open .nav-links {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
  }

  .nav-links a:hover {
    background: var(--cream-2);
  }

  .nav-cta {
    justify-content: center !important;
    margin-top: 0.25rem;
    padding: 0.85rem 0.9rem !important;
  }

  .corporate-page-hero,
  #corporate,
  #find-us,
  footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .corporate-page-hero {
    padding-top: 5rem;
    min-height: auto;
  }

  .corporate-page-hero-inner,
  .corporate-inner,
  .find-us-inner,
  .order-modal-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .corporate-page-hero .section-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    max-width: 100%;
  }

  .corporate-page-hero-copy {
    max-width: 100%;
  }

  .corporate-hero-actions,
  .corporate-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .corporate-hero-actions a,
  .corporate-actions a {
    width: 100%;
    text-align: center;
  }

  .corporate-hero-notes {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .corporate-hero-note strong {
    font-size: 1rem;
  }

  .corporate-hero-note span {
    font-size: 0.6rem;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .product-grid,
  .product-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-card.large {
    grid-row: auto;
  }

  .product-card.large .product-card-img {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
  }

  .catalog-header {
    display: block;
    margin-bottom: 2rem;
  }

  .catalog-header-text {
    max-width: 100%;
  }

  .catalog-card-controls {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .quantity-control,
  .add-cart-btn {
    width: 100%;
  }

  .order-form {
    grid-template-columns: 1fr;
  }

  .cart-bar {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cart-review-btn {
    width: 100%;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 560px;
  }

  .hero-slides {
    inset: 0;
    opacity: 0.68;
  }

  .hero-content {
    max-width: 100%;
    padding: 4rem 1rem 1.75rem;
  }

  .hero-text-slides {
    min-height: 250px;
  }

  .hero-headline {
    font-size: clamp(1.5rem, 4.5vw, 2rem);
    margin-bottom: 1rem;
  }

  .hero-sub {
    font-size: 0.78rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    gap: 0.45rem;
  }

  .hero-actions a {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    padding: 0.72rem 0.5rem;
  }

  .hero-stats {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.55rem;
    padding-top: 1rem;
    margin-top: 1rem;
  }

  .stat-divider {
    display: block;
    height: 30px;
  }

  .stat-number {
    font-size: 1.35rem;
  }

  .stat-label {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  section {
    padding: 3rem 1rem;
  }

  nav {
    padding: 0.75rem 1rem;
  }

  nav.scrolled {
    padding: 0.7rem 1rem;
  }

  .nav-links {
    left: 0.75rem;
    right: 0.75rem;
  }

  .nav-links a {
    font-size: 0.7rem;
  }

  .corporate-page-hero,
  #corporate,
  #find-us,
  footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .corporate-page-hero {
    padding-top: 4rem;
    padding-bottom: 2rem;
  }

  .corporate-page-hero .section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .catalog-card {
    padding: 0.5rem;
  }

  .catalog-card-price,
  .catalog-card-title {
    font-size: 0.85rem;
  }

  .catalog-card-desc {
    font-size: 0.7rem;
  }

  .corporate-hero-notes {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .order-modal-panel {
    width: 95vw;
    margin: auto;
  }

  .order-summary {
    margin-bottom: 1rem;
  }

  .collections-header {
    display: block;
  }

  .view-all {
    display: inline-flex;
    margin-top: 1rem;
    white-space: normal;
  }

  .product-grid,
  .product-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-card.large {
    grid-row: auto;
  }

  .product-card.large .product-card-img {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 375px) {
  .hero {
    min-height: 540px;
  }

  .hero-slides {
    inset: 0;
    opacity: 0.64;
  }

  nav {
    padding: 0.65rem 0.75rem;
  }

  .nav-logo img {
    height: 28px;
  }

  .nav-links a {
    font-size: 0.68rem;
  }

  .hero-content {
    padding: 3.75rem 0.75rem 1.5rem;
  }

  .hero-text-slides {
    min-height: 230px;
  }

  .hero-headline {
    font-size: 1.35rem;
  }

  .hero-actions a {
    font-size: 0.56rem;
    padding: 0.66rem 0.35rem;
  }

  .hero-stats {
    gap: 0.35rem;
  }

  .stat-number {
    font-size: 1.15rem;
  }

  .stat-label {
    font-size: 0.5rem;
    letter-spacing: 0.05em;
  }

  h1,
  h2 {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  }

  section {
    padding: 2.5rem 0.75rem;
  }

  .corporate-page-hero,
  #corporate,
  #find-us {
    padding: 4.75rem 0.75rem 3rem;
  }

  .section-eyebrow {
    font-size: 0.55rem;
  }

  .footer-bottom {
    padding: 1rem 0.75rem;
  }
}
