/* =========================================================
   Global Celebrations — A Global Agro Treat
   Landing page · HTML + CSS (one small script for the enquiry form only)
   ========================================================= */

:root {
  --orange: #F26522;
  --orange-dark: #D14A0F;
  --amber: #F9A825;
  --gold: #FFC12E;
  --red: #B3121B;
  --maroon: #5A1A0F;
  --green: #2E7D32;

  /* pulled from the Global Celebrations logo */
  --logo-red: #E32227;
  --logo-blue: #29ABE2;

  --ink: #241008;
  --body: #6B5A50;
  --line: #F0DFCE;

  --cream: #FFF9F2;
  --cream-2: #FDF3E6;
  --peach: #FDE7D6;
  --white: #FFFFFF;

  --radius: 16px;
  --shadow-sm: 0 4px 14px rgba(90, 26, 15, .06);
  --shadow: 0 14px 38px rgba(90, 26, 15, .10);
  --shadow-lg: 0 26px 60px rgba(90, 26, 15, .18);

  /* orange-tinted shadows (service cards) */
  --shadow-orange: 0 6px 18px rgba(242, 101, 34, .22);
  --shadow-orange-lg: 0 18px 38px rgba(242, 101, 34, .34);

  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* tighter above the heading than below the content — the preceding
   section's bottom padding already supplies most of the breathing room */
.section {
  padding: 36px 0 68px;
  position: relative;
}

/* these three follow sections that already end in a tall block (the pack
   pyramid, the service cards, the quote), so they need less room on top */
.services,
.testimonial,
.enquiry {
  padding-top: 16px;
}

/* ---------- section title ---------- */
.section-title {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 44px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: .9rem;
  padding: 12px 24px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--orange), #FF8534);
  color: #fff;
  box-shadow: 0 10px 24px rgba(242, 101, 34, .32);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(242, 101, 34, .42);
}

.btn--ghost {
  border-color: var(--orange);
  color: var(--orange-dark);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-3px);
}

.btn--lg {
  padding: 15px 30px;
  font-size: .95rem;
}

.btn--sm {
  padding: 9px 18px;
  font-size: .8rem;
  border-radius: 6px;
}

/* =========================================================
   PRELOADER — brand splash until the page has loaded
   ========================================================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 28px;
  background:
    radial-gradient(120% 90% at 50% 30%, #FFE2C4 0%, transparent 60%),
    linear-gradient(160deg, var(--peach) 0%, #FFF1E2 55%, var(--cream) 100%);
  transition: opacity .6s ease, visibility .6s ease;
}

.preloader__logo {
  width: min(260px, 58vw);
  height: auto;
  animation: preloader-pulse 1.4s ease-in-out infinite;
}

.preloader__bar {
  width: min(210px, 50vw);
  height: 5px;
  border-radius: 5px;
  background: rgba(242, 101, 34, .18);
  overflow: hidden;
}

.preloader__bar i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  animation: preloader-slide 1.1s ease-in-out infinite;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes preloader-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

@keyframes preloader-slide {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(250%);
  }
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 104px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.logo__img {
  height: 175px;
  zoom: 83%;
  width: auto;
  transition: transform .3s ease;
}

.logo:hover .logo__img {
  transform: scale(1.05);
}

/* wordmark beside the logo — colours echo the logo artwork */
.logo__text {
  /* a touch under the hero headline scale — see .hero h1 */
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.1;
  color: var(--logo-red);
  white-space: nowrap;
}

/* "Celebrations" matches "Global" — one solid logo red across the wordmark */
.logo__text em {
  font-style: normal;
  color: var(--logo-red);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--body);
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width .3s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--orange);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-burger {
  display: none;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 20%, #FFE2C4 0%, transparent 60%),
    linear-gradient(160deg, var(--peach) 0%, #FFF1E2 55%, var(--cream) 100%);
  padding: 56px 0 76px;
}

/* the headline sits in the right column, directly on top of the pack pile;
   the supporting copy runs down the left beside both */
.hero__inner {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "copy title"
    "copy packs";
  gap: 0 40px;
  align-items: center;
}

/* centred over the pack pyramid, which is centred in the same column */
.hero__title {
  grid-area: title;
  text-align: center;
}

.hero__copy {
  grid-area: copy;
}

.hero__visual {
  grid-area: packs;
  /* .hero__inner centres its items, which parked the pack pile in the
     middle of the row and opened a gap under the headline — pin it up */
  align-self: start;
}

.hero h1 {
  font-size: clamp(1.8rem, 3.9vw, 3.1rem);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.hero__copy {
  position: relative;
  z-index: 5;
}

.hero__copy>p {
  font-size: 1.02rem;
  max-width: 46ch;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* brand lockup — logo artwork with the tagline set under it */
.hero__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

/* trimmed source — no transparent padding, so the height is all artwork */
.hero__logo {
  height: 380px;
  width: auto;
}

.hero__tagline {
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  line-height: 1.3;
}

.hero__stats {
  display: flex;
  gap: 34px;
  list-style: none;
  margin-top: 40px;
}

.hero__stats strong {
  display: block;
  font-size: 1.4rem;
  color: var(--orange-dark);
  line-height: 1.1;
}

.hero__stats span {
  font-size: .78rem;
  letter-spacing: .04em;
}

/* hero product packs — cut-out pouches piled under the headline */
.hero__visual {
  position: relative;
  z-index: 2;
  min-height: 0;
  display: grid;
  /* top-aligned so the packs sit right under the headline instead of
     floating in the middle of the column with dead space above them */
  place-items: start center;
}

.pack-fan {
  position: relative;
  width: 100%;
  /* sized to fill the headline-to-baseline space in the hero column —
     any smaller and a gap opens up under the title */
  max-width: 640px;
  margin-inline: auto;
  aspect-ratio: 1/.84;
}

/* a 3 - 4 pyramid: three packs on top, four across the base. Rows are
   spaced, never stacked, so every pack is fully visible without
   hovering — no label is ever covered. */
.pack-fan__item {
  position: absolute;
  width: 23.5%;
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(90, 26, 15, .2));
  transition: transform .45s cubic-bezier(.22, .8, .3, 1);
}

/* top row — three, centred over the base */
.pack-fan__item.p1 {
  left: 12.75%;
  bottom: 51.5%;
}

.pack-fan__item.p2 {
  left: 38.25%;
  bottom: 51.5%;
}

.pack-fan__item.p3 {
  left: 63.75%;
  bottom: 51.5%;
}

/* base row — four across */
.pack-fan__item.p4 {
  left: 0;
  bottom: 0;
}

.pack-fan__item.p5 {
  left: 25.5%;
  bottom: 0;
}

.pack-fan__item.p6 {
  left: 51%;
  bottom: 0;
}

.pack-fan__item.p7 {
  left: 76.5%;
  bottom: 0;
}

.pack-fan:hover .pack-fan__item {
  transform: translateY(-6px);
}

.pack-fan__item:hover {
  transform: translateY(-8px) scale(1.04);
  z-index: 7;
}

@media (prefers-reduced-motion: reduce) {

  .pack-fan__item,
  .pack-fan:hover .pack-fan__item,
  .pack-fan__item:hover {
    transition: none;
    transform: none;
  }
}

.leaf {
  position: absolute;
  font-size: 1.7rem;
  z-index: 4;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .12));
}

.leaf--1 {
  top: 2%;
  left: 6%;
  transform: rotate(-25deg);
}

.leaf--2 {
  bottom: 4%;
  right: 8%;
  transform: rotate(35deg);
}

/* =========================================================
   MARQUEE — scrolling brand strip between hero and products
   ========================================================= */
.marquee {
  overflow: hidden;
  padding: 15px 0;
  background: linear-gradient(90deg, var(--orange-dark), var(--orange) 35%, #FF8534 65%, var(--orange-dark));
  box-shadow: inset 0 8px 18px rgba(90, 26, 15, .12);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}

/* let people stop it to read a line */
.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  white-space: nowrap;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.marquee__group i {
  font-style: normal;
  font-size: .9em;
  opacity: .8;
}

/* two identical groups, so -50% lands exactly one group along */
@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   PRODUCTS — CSS-only tabs
   ========================================================= */
.products {
  background: var(--cream-2);
}

.tabs>input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tabs__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 42px;
}

.tabs__bar label {
  padding: 10px 26px;
  border-radius: 99px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: .87rem;
  font-weight: 600;
  color: var(--body);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.tabs__bar label:hover {
  transform: translateY(-2px);
  color: var(--orange-dark);
}

#cat-snacks:checked~.tabs__bar label[for="cat-snacks"],
#cat-powders:checked~.tabs__bar label[for="cat-powders"],
#cat-thokku:checked~.tabs__bar label[for="cat-thokku"] {
  background: linear-gradient(135deg, var(--orange), #FF8534);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px rgba(242, 101, 34, .3);
}

.tabs__panel {
  display: none;
}

#cat-snacks:checked~.panel-snacks,
#cat-powders:checked~.panel-powders,
#cat-thokku:checked~.panel-thokku {
  display: grid;
}

.panel--grid {
  /* auto-fit (not auto-fill) collapses the empty tracks, so a 3-card tab
     fills the row instead of leaving a gap on the right */
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  justify-content: center;
}

/* ---------- jar sizes, above the thokku cards ---------- */
.sizes {
  grid-column: 1 / -1;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.sizes li {
  position: relative;
  padding: 4px 26px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--maroon);
}

/* the section-title rule stood upright, used as a divider between sizes */
.sizes li+li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--orange), var(--gold));
}

/* ---------- product card ---------- */
.card {
  background: var(--white);
  border: 1px solid rgba(242, 101, 34, .22);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-orange);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-orange-lg);
  border-color: var(--orange);
}

.card__media {
  position: relative;
  aspect-ratio: 1/1.12;
  overflow: hidden;
  background: var(--white);
}

/* the pouches are cut out, so let them float on the panel rather than fill it */
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: 14px 14px 42px;
  filter: drop-shadow(0 12px 16px rgba(90, 26, 15, .2));
  transition: transform .5s ease;
}

.card:hover .card__media img {
  transform: translateY(-5px) scale(1.04);
}

/* posters/price lists still fill the frame edge to edge */
.card__media--poster img {
  object-fit: cover;
  object-position: center;
  padding: 0;
  filter: none;
}

.badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--red);
  color: #fff;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(179, 18, 27, .3);
}

.badge--green {
  background: var(--green);
  box-shadow: 0 6px 14px rgba(46, 125, 50, .3);
}

.card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.card__body h4 {
  font-size: 1.02rem;
}

.card__body h4 small {
  font-weight: 600;
  font-size: .72rem;
  color: var(--orange-dark);
}

.card__body>p {
  font-size: .81rem;
  line-height: 1.6;
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chips li {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .03em;
  background: var(--cream-2);
  color: var(--maroon);
  padding: 4px 10px;
  border-radius: 99px;
}

/* =========================================================
   FEATURES
   ========================================================= */
.features {
  background: var(--white);
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.features__col {
  list-style: none;
  display: grid;
  gap: 44px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature__icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.05rem;
  background: linear-gradient(135deg, #FFE6D3, #FFD2B0);
  box-shadow: var(--shadow-sm);
}

.feature h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

/* a touch larger and darker than the default body tone so the short
   one-liners read crisply against the white panel */
.feature p {
  font-size: .92rem;
  color: #4E3E35;
}

.features__center {
  position: relative;
  display: grid;
  place-items: center;
  padding: 34px;
}

.features__pack {
  position: relative;
  z-index: 2;
  width: min(400px, 80vw);
  filter: drop-shadow(0 18px 26px rgba(90, 26, 15, .22));
}

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why {
  background: var(--cream-2);
}

.why__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.why__media {
  position: relative;
}

/* same pack pile as the hero, sized to this column */
.why__media .pack-fan {
  max-width: 480px;
}

/* a larger heading for this section */
.why .section-title {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
}

.why__list {
  list-style: none;
  display: grid;
  gap: 34px;
}

.why__list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* rotated square badge, glyph stays upright (drawn on ::before) */
.diamond {
  flex: none;
  position: relative;
  isolation: isolate;
  width: 52px;
  height: 52px;
  margin: 6px 14px 6px 6px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
}

.diamond::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), #FF8B45);
  transform: rotate(45deg);
  box-shadow: 0 12px 26px rgba(242, 101, 34, .30);
}

.why__list li>div {
  padding-top: 6px;
}

.why__list h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.why__list p {
  font-size: 1.02rem;
  color: #4E3E35;
  max-width: 52ch;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  background: var(--white);
  /* the service cards carry their own padding, so the stock 68px tail
     left too big a hole before the Testimonial heading */
  padding-bottom: 34px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service {
  background: linear-gradient(160deg, var(--white) 0%, var(--cream) 100%);
  border: 1px solid rgba(242, 101, 34, .22);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-orange);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

.service:hover {
  transform: translateY(-6px);
  background: linear-gradient(160deg, var(--white) 0%, var(--peach) 100%);
  box-shadow: var(--shadow-orange-lg);
  border-color: var(--orange);
}

.service__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #FFE9D8, #FFD3B4);
}

.service h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.service p {
  font-size: .85rem;
}

/* =========================================================
   TESTIMONIALS — CSS-only slider
   ========================================================= */
.testimonial {
  background: var(--white);
  position: relative;
  overflow: hidden;
  /* the slider dots already sit low in the section, so the stock tail
     left a white hole before the peach trust bar */
  padding-bottom: 34px;
}

.quote {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 9rem;
  line-height: 1;
  color: rgba(242, 101, 34, .14);
  pointer-events: none;
  user-select: none;
}

.quote--open {
  top: 60px;
  left: 3%;
  transform: rotate(180deg);
}

.quote--close {
  bottom: 12px;
  right: 3%;
}

.slider {
  position: relative;
}

.slider>input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.slider__viewport {
  overflow: hidden;
}

.slider__track {
  display: flex;
  width: 300%;
  transition: transform .55s cubic-bezier(.65, .05, .36, 1);
}

.slider__slide {
  width: 33.3333%;
  flex: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  padding: 6px;
}

#rev-1:checked~.slider__viewport .slider__track {
  transform: translateX(0);
}

#rev-2:checked~.slider__viewport .slider__track {
  transform: translateX(-33.3333%);
}

#rev-3:checked~.slider__viewport .slider__track {
  transform: translateX(-66.6666%);
}

.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.review__head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.avatar {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #FFE1CB, #FFC8A3);
}

.avatar--pink {
  background: linear-gradient(135deg, #FFD9DC, #FFB9BF);
}

.avatar--green {
  background: linear-gradient(135deg, #DCEFD6, #B9DFAE);
}

.review h5 {
  font-size: .95rem;
}

.review small {
  font-size: .75rem;
  color: var(--body);
  display: block;
  margin-bottom: 2px;
}

.review p {
  font-size: .88rem;
}

.rating {
  color: var(--amber);
  font-size: .85rem;
  letter-spacing: .04em;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #EAD9C8;
  cursor: pointer;
  transition: all .3s ease;
}

.dot-btn:hover {
  background: #F5C2A0;
}

#rev-1:checked~.slider__dots label:nth-child(1),
#rev-2:checked~.slider__dots label:nth-child(2),
#rev-3:checked~.slider__dots label:nth-child(3) {
  background: var(--orange);
  width: 26px;
  border-radius: 99px;
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust {
  background: var(--peach);
  padding: 30px 0;
}

.trust__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 20px;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-inline: 20px;
  border-right: 1px solid rgba(90, 26, 15, .14);
}

.trust__item:last-child {
  border-right: 0;
}

.trust__item>span {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 1.2rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.trust__item h5 {
  font-size: .95rem;
}

.trust__item p {
  font-size: .78rem;
}

/* =========================================================
   ENQUIRY
   ========================================================= */
.enquiry {
  background: linear-gradient(180deg, var(--cream) 0%, #FFF3E4 100%);
  /* the footer picks up almost the same cream, so a full 88px tail here
     just reads as dead space before it — hand that room to the footer */
  padding-bottom: 0;
}

/* intro line sits under the section heading, not inside the form card */
.enquiry .section-title {
  margin-bottom: 30px;
}

.enquiry__lead {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 44px;
  font-size: 1.15rem;
  line-height: 1.65;
}

.enquiry__inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.enquiry__brand {
  display: grid;
  place-items: center;
}

.enquiry__logo {
  width: min(520px, 100%);
  height: auto;
}

.enquiry__panel {
  background: #fff;
  border: 1px solid rgba(242, 101, 34, .22);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.enquiry__panel-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 22px;
}

/* one field per row, stacked down the panel */
.enquiry__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--maroon);
}

.field input {
  width: 100%;
  font-family: inherit;
  font-size: .9rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px 14px;
  outline: 0;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.field input::placeholder {
  color: #B9A99E;
}

.field input:focus-visible {
  background: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 101, 34, .16);
}

/* only scold the user once they have typed something */
.field input:not(:placeholder-shown):invalid {
  border-color: var(--red);
}

.enquiry__submit {
  margin-top: 6px;
}

.enquiry__submit:disabled {
  opacity: .6;
  cursor: progress;
  transform: none;
}

/* submit feedback — stays empty until the form is sent */
.enquiry__status {
  font-size: .84rem;
  line-height: 1.5;
}

.enquiry__status:empty {
  display: none;
}

.enquiry__status.is-busy {
  color: var(--body);
}

.enquiry__status.is-ok {
  color: var(--green);
  font-weight: 600;
}

.enquiry__status.is-error {
  color: var(--red);
}

.enquiry__status a {
  font-weight: 700;
  text-decoration: underline;
}

/* off-screen spam trap — a real person never fills this in */
.enquiry__honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--cream-2);
  padding-top: 58px;
  /* darker than the page body copy so the footer reads crisply on cream */
  color: #3B2519;
}

.footer__grid {
  display: grid;
  /* the Location column runs wider than the rest so the map has room */
  grid-template-columns: 1.2fr .7fr 1.05fr 1.5fr;
  gap: 34px;
  padding-bottom: 40px;
  /* stretch: all four columns share the tallest column's height */
  align-items: stretch;
}

/* each column is a flex column so its last block can absorb the slack */
.footer__grid>div {
  display: flex;
  flex-direction: column;
}

/* ---- brand column ---- */
.footer__logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer__logo-row .logo__text {
  font-size: 1.65rem;
}

.footer__about {
  font-size: .97rem;
  line-height: 1.75;
  margin-bottom: 18px;
  max-width: 34ch;
}

.footer__about strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---- contact column ---- */
.footer__address {
  font-style: normal;
  font-size: .97rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* ---- location column ---- */
/* map grows to fill whatever height the tallest column sets */
.footer__map {
  flex: 1;
  min-height: 180px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.footer__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer__maplink {
  margin-top: 12px;
  margin-bottom: 0;
  font-weight: 600;
  font-size: .97rem;
  color: var(--orange-dark);
}

/* socials sit at the foot of the brand column, level with the other columns */
.footer__brand .socials {
  margin-top: auto;
}

.footer h5 {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.footer a {
  display: block;
  font-size: .97rem;
  font-weight: 500;
  margin-bottom: 11px;
  transition: color .25s ease;
}

.footer a:hover {
  color: var(--orange);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--orange);
  font-weight: 700;
  font-size: .8rem;
  box-shadow: var(--shadow-sm);
}

.socials a:hover {
  background: var(--orange);
  color: #fff;
}

.footer__bar {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 18px 20px;
  font-size: .92rem;
}

.footer__bar b {
  color: var(--orange);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "title"
      "copy"
      "packs";
    text-align: center;
  }

  .hero__copy>p {
    margin-inline: auto;
  }

  .hero__actions,
  .hero__stats {
    justify-content: center;
  }

  .hero__stats {
    display: inline-flex;
  }

  .hero__visual {
    margin-top: 34px;
    min-height: 0;
  }

  /* the pyramid is proportional, so it only needs centring here */
  .pack-fan {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }

  /* single-column hero: the blobs land on top of the copy and stats,
     so drop them here — the gradient background carries the colour */
  .blob--1,
  .blob--2,
  .dot--a {
    display: none;
  }

  .moon {
    display: none;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .features__center {
    order: -1;
  }

  .features__col {
    gap: 28px;
  }

  .why__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .enquiry__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:768px) {
  .header__inner {
    min-height: 88px;
    gap: 16px;
  }

  .logo__img {
    height: 70px;
  }

  .nav {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }

  .nav a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--line);
  }

  /* opened by the hamburger link (#menu); any nav link changes the hash,
     which drops :target and closes the menu again */
  .nav:target {
    max-height: 340px;
  }

  .nav-burger {
    display: block;
    width: 26px;
    height: 18px;
    position: relative;
    cursor: pointer;
    order: 3;
    /* sits to the right of the Order Now button */
  }

  .nav-burger span,
  .nav-burger::before,
  .nav-burger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: var(--maroon);
    border-radius: 2px;
    transition: .3s ease;
  }

  .nav-burger::before {
    top: 0;
  }

  .nav-burger span {
    top: 8px;
  }

  .nav-burger::after {
    bottom: 0;
  }

  /* swap the ☰ icon for an ✕ while the menu is open */
  .nav-burger--close {
    display: none;
  }

  .nav:target~.nav-burger--open {
    display: none;
  }

  .nav:target~.nav-burger--close {
    display: block;
  }

  .nav-burger--close span {
    opacity: 0;
  }

  .nav-burger--close::before {
    top: 8px;
    transform: rotate(45deg);
  }

  .nav-burger--close::after {
    bottom: 7px;
    transform: rotate(-45deg);
  }

  .btn--cart {
    padding: 10px 14px;
    font-size: .78rem;
    order: 2;
  }

  .section {
    padding: 64px 0;
  }

  .marquee {
    padding: 12px 0;
  }

  .marquee__group {
    font-size: .72rem;
    gap: 20px;
    padding-right: 20px;
  }

  .marquee__track {
    animation-duration: 26s;
  }

  .panel--grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
  }

  .slider__slide {
    grid-template-columns: 1fr;
  }

  .services__grid,
  .trust__inner {
    grid-template-columns: 1fr;
  }

  .trust__item {
    border-right: 0;
    border-bottom: 1px solid rgba(90, 26, 15, .14);
    padding-bottom: 14px;
  }

  .trust__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .hero__stats {
    gap: 22px;
  }

  .quote {
    display: none;
  }

}

@media (max-width:480px) {
  .panel--grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__about {
    max-width: none;
  }

  .socials {
    justify-content: center;
  }

  .why__list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .tabs__bar label {
    padding: 9px 18px;
    font-size: .8rem;
  }

  /* header only: the logo art carries the name on its own at this width.
     The footer wordmark has no artwork beside it, so it must stay. */
  .logo .logo__text {
    display: none;
  }
}

/* accessibility */
@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}