/* =========================================================
   تاج السفرة — Taj Al-Sofra
   Design system · Premium corporate food marketing
   ========================================================= */

:root {
  --gold: #f9b613;
  --gold-light: #ffd84a;
  --gold-deep: #d4980a;
  --red: #c9191e;
  --red-deep: #9e1216;
  --green: #0f7b45;
  --green-dark: #075c33;
  --green-soft: #e8f5ee;
  --white: #ffffff;
  --ivory: #fffbf0;
  --cream: #f7f1e3;
  --sand: #efe6d2;
  --ink: #1a2e24;
  --muted: #5a6b62;
  --line: rgba(15, 123, 69, 0.12);
  --shadow: 0 18px 50px rgba(7, 92, 51, 0.1);
  --shadow-sm: 0 8px 24px rgba(7, 92, 51, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 128px;
  --container: 1180px;
  --font: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --display: "El Messiri", "Cairo", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  position: relative;
}

.section--cream {
  background: linear-gradient(180deg, var(--cream), var(--ivory));
}

.section--green {
  background: linear-gradient(145deg, var(--green-dark), var(--green) 55%, #129555);
  color: var(--white);
}

.section--gold {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 216, 74, 0.35), transparent 40%),
    linear-gradient(135deg, #fff8e4, #ffe9a8 50%, #f9b61322);
}

.section-head {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green);
  background: var(--green-soft);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.section--green .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: var(--gold-light);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.85rem;
}

.section--green .section-title {
  color: var(--white);
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
}

.section--green .section-sub {
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--green-dark);
  box-shadow: 0 12px 28px rgba(249, 182, 19, 0.35);
}

.btn--gold:hover {
  box-shadow: 0 16px 36px rgba(249, 182, 19, 0.45);
}

.btn--green {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(15, 123, 69, 0.28);
}

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--outline-dark {
  background: transparent;
  border-color: var(--green);
  color: var(--green-dark);
}

.btn--outline-dark:hover {
  background: var(--green);
  color: var(--white);
}

.btn-ripple::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-ripple:active::after {
  opacity: 1;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(7, 92, 51, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav__brand img {
  width: 136px;
  height: 136px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.2));
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav__brand-text strong {
  font-family: var(--display);
  font-size: 1.65rem;
  color: var(--green-dark);
}

.nav__brand-text span {
  font-size: 0.88rem;
  color: var(--muted);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav__links a {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}

.nav__links a:hover,
.nav__links a.is-active {
  background: var(--green-soft);
  color: var(--green-dark);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-dark);
  cursor: pointer;
  font-size: 1.2rem;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 216, 74, 0.45), transparent 35%),
    radial-gradient(circle at 10% 80%, rgba(15, 123, 69, 0.18), transparent 40%),
    linear-gradient(160deg, #fff9eb 0%, #ffe9a3 38%, #f4d56a 72%, #e8c44a);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230F7B45' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.7;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 123, 69, 0.15);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1.2rem;
  backdrop-filter: blur(8px);
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.hero__title em {
  font-style: normal;
  color: var(--red);
  position: relative;
}

.hero__lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.8rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero__meta-item strong {
  display: block;
  font-size: 1.35rem;
  color: var(--green-dark);
  font-family: var(--display);
}

.hero__meta-item span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero__logo-wrap {
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--gold-light), var(--gold) 70%, var(--gold-deep));
  box-shadow:
    0 30px 80px rgba(212, 152, 10, 0.35),
    inset 0 -18px 40px rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
  animation: floatY 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.hero__logo-wrap img {
  width: 78%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
}

.hero__orbit {
  position: absolute;
  width: min(92%, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(15, 123, 69, 0.25);
  animation: spin 28s linear infinite;
}

.hero__chip {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 0.7rem 0.9rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-dark);
  z-index: 3;
}

.hero__chip img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
}

.hero__chip--1 {
  top: 8%;
  inset-inline-start: -4%;
  animation: floatY 5s ease-in-out infinite;
}

.hero__chip--2 {
  bottom: 12%;
  inset-inline-end: -2%;
  animation: floatY 5.5s ease-in-out infinite 0.6s;
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.8;
  z-index: 2;
}

.hero__scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--green);
  border-radius: 14px;
  position: relative;
}

.hero__scroll-mouse::after {
  content: "";
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 4px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

/* ---------- Split / About preview ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  height: min(520px, 70vw);
  object-fit: cover;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
}

.split__media::after {
  content: "";
  position: absolute;
  inset: auto -12px -12px auto;
  width: 45%;
  height: 45%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: var(--radius);
  z-index: -1;
}

.split__pills {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}

.pill-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-sm);
}

.pill-card h4 {
  color: var(--green-dark);
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.pill-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 2rem 1.2rem 1.8rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.stat-card strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 4.75rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.stat-card strong span {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
}

.stat-card > span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 600;
}

/* ---------- Cards grids ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards--5 {
  grid-template-columns: repeat(5, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  color: var(--green-dark);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.08rem;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

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

.cat-card {
  text-align: center;
  padding: 1.6rem 1rem;
}

.cat-card .card__icon {
  margin-inline: auto;
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--cream));
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.06);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 92, 51, 0.72));
  opacity: 0;
  display: grid;
  place-items: end center;
  padding-bottom: 1.2rem;
  transition: opacity 0.3s;
}

.product-card:hover .product-card__overlay {
  opacity: 1;
}

.product-card__body {
  padding: 1.1rem 1.2rem 1.35rem;
}

.product-card__body h3 {
  font-size: 1.05rem;
  color: var(--green-dark);
  margin-bottom: 0.25rem;
}

.product-card__body span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  gap: 1.2rem;
  position: relative;
  max-width: 820px;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 18px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(var(--gold), var(--green));
  border-radius: 4px;
}

.timeline__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  align-items: start;
}

.timeline__dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 0 0 6px rgba(249, 182, 19, 0.2);
  position: relative;
  z-index: 1;
}

.timeline__content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.timeline__content h3 {
  color: var(--green-dark);
  margin-bottom: 0.35rem;
}

.timeline__content p {
  color: var(--muted);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.gallery__item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--cream);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}

/* ---------- Partners / logos strip ---------- */
.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.partner {
  min-width: 140px;
  padding: 1rem 1.2rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  text-align: center;
  color: var(--green-dark);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* ---------- Sales channels / branches ---------- */
.branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.branch-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.35rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.branch-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.branch-card__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  color: var(--green-dark);
  font-size: 1.35rem;
}

.branch-card strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.branch-card h3 {
  color: var(--green-dark);
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.branch-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.branch-card--wide {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  text-align: right;
  padding: 1.25rem 1.5rem;
}

.branch-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .branches {
    grid-template-columns: 1fr;
  }

  .branch-card--wide {
    grid-column: auto;
  }
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.testimonial__stars {
  color: var(--gold);
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.testimonial p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.testimonial__author strong {
  display: block;
  color: var(--green-dark);
}

.testimonial__author span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 0.85rem;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq__q {
  width: 100%;
  text-align: right;
  background: transparent;
  border: 0;
  padding: 1.1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--green-dark);
}

.faq__q i {
  transition: transform 0.3s;
  color: var(--gold-deep);
}

.faq__item.is-open .faq__q i {
  transform: rotate(180deg);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq__a-inner {
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  color: var(--white);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.cta-band p {
  opacity: 0.88;
}

/* ---------- Contact hub ---------- */
.contact-hub {
  display: grid;
  gap: 1.4rem;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.contact-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  min-height: 190px;
}

.contact-action:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(249, 182, 19, 0.45);
}

.contact-action__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--white);
}

.contact-action__icon--wa {
  background: linear-gradient(145deg, #25d366, #128c7e);
}

.contact-action__icon--phone {
  background: linear-gradient(145deg, var(--gold-light), var(--gold-deep));
  color: var(--green-dark);
}

.contact-action__icon--mail {
  background: linear-gradient(145deg, var(--green), var(--green-dark));
}

.contact-action__icon--fb {
  background: linear-gradient(145deg, #4b7bec, #1877f2);
}

.contact-action h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--green-dark);
}

.contact-action p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.contact-action__value {
  font-weight: 800;
  color: var(--ink);
  font-size: 1.05rem;
  direction: ltr;
}

.contact-action .btn {
  margin-top: 0.25rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.15rem;
}

.contact__info,
.contact__map {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem;
}

.contact__list {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.contact__row {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.contact__row i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  flex-shrink: 0;
}

.contact__row strong {
  display: block;
  color: var(--green-dark);
  font-size: 0.95rem;
}

.contact__row span,
.contact__row a {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact__map {
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  position: relative;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}

.contact__map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(15, 123, 69, 0.08), rgba(249, 182, 19, 0.12));
}

.contact__map-head strong {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green-dark);
  font-size: 0.98rem;
}

.contact__map-head strong i {
  color: var(--green);
}

.contact__map-head span {
  color: var(--muted);
  font-size: 0.85rem;
}

.contact__map-frame {
  position: relative;
  flex: 1;
  min-height: 280px;
  background: #dfe8df;
}

.contact__map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact__map-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.contact__map-actions a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.contact__map-actions a:hover {
  color: var(--green-dark);
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, #063d24, #042a19);
  color: rgba(255, 255, 255, 0.82);
  padding: 4rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer__brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 0.9rem;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.footer__brand h3 {
  font-family: var(--display);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer h4 {
  color: var(--gold-light);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.footer a {
  display: block;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--gold-light);
}

.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 0;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer__bottom a {
  color: var(--gold-light);
  font-weight: 600;
}

.footer__bottom a:hover {
  color: var(--white);
}

.back-top {
  position: fixed;
  bottom: 1.4rem;
  inset-inline-start: 1.4rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--green-dark);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 900;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  transform: translateY(-3px);
}

/* ---------- Page banner ---------- */
.page-banner {
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 216, 74, 0.4), transparent 35%),
    linear-gradient(145deg, #fff8e8, #ffe08a 55%, #f3c94a);
  position: relative;
  overflow: hidden;
}

.page-banner h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--green-dark);
  margin-bottom: 0.6rem;
}

.page-banner p {
  color: var(--muted);
  max-width: 560px;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--green);
  font-weight: 600;
}

/* ---------- Products toolbar ---------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.toolbar__search {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ivory);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
}

.toolbar__search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  transition: 0.2s;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.product-card.is-hidden {
  display: none;
}

/* ---------- Values / mission blocks ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
}

.value-card h3 {
  color: var(--green-dark);
  margin: 0.8rem 0 0.45rem;
}

.value-card p {
  color: var(--muted);
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal="left"] {
  transform: translateX(28px);
}

[data-reveal="right"] {
  transform: translateX(-28px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 1.4rem;
  inset-inline-end: 1.4rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: transform 0.25s;
}

.wa-float:hover {
  transform: scale(1.08);
}

/* ---------- Quick view modal ---------- */
.qv {
  position: fixed;
  inset: 0;
  background: rgba(7, 92, 51, 0.55);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 1.25rem;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

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

.qv__panel {
  width: min(100%, 520px);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateY(16px);
  transition: transform 0.3s var(--ease);
}

.qv.is-open .qv__panel {
  transform: none;
}

.qv__media {
  background: linear-gradient(180deg, #fff, var(--cream));
  padding: 1.5rem;
  display: grid;
  place-items: center;
  min-height: 260px;
}

.qv__media img {
  max-height: 280px;
  object-fit: contain;
}

.qv__body {
  padding: 1.35rem 1.5rem 1.6rem;
}

.qv__body h3 {
  color: var(--green-dark);
  font-family: var(--display);
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.qv__body p {
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.qv__close {
  position: absolute;
  top: 0.8rem;
  inset-inline-start: 0.8rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-dark);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.qv__panel {
  position: relative;
}

/* ---------- Mobile nav ---------- */
.nav__drawer {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards,
  .product-grid,
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards--5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero__grid,
  .split,
  .contact-panel,
  .cta-band,
  .stats {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 5rem;
  }

  .hero__visual {
    order: -1;
  }

  .hero__logo-wrap {
    width: min(78%, 320px);
  }

  .hero__chip--1 {
    inset-inline-start: 0;
  }

  .hero__chip--2 {
    inset-inline-end: 0;
  }

  .nav__links,
  .nav__cta .btn {
    display: none;
  }

  .nav__toggle {
    display: grid;
    place-items: center;
  }

  .nav__drawer {
    display: block;
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.4rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s var(--ease);
    box-shadow: var(--shadow-sm);
  }

  .nav.is-open .nav__drawer {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav__drawer a {
    display: block;
    padding: 0.85rem 0.4rem;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
    color: var(--green-dark);
  }

  .cards,
  .cards--3,
  .cards--5,
  .product-grid,
  .values,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__item--tall {
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  :root {
    --nav-h: 110px;
  }

  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .cards,
  .cards--3,
  .cards--5,
  .product-grid,
  .values,
  .gallery,
  .stats,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .nav__brand img {
    width: 104px;
    height: 104px;
  }

  .nav__brand-text strong {
    font-size: 1.35rem;
  }

  .nav__brand-text span {
    display: none;
  }

  .contact__map-frame {
    min-height: 240px;
  }

  .hero__title {
    font-size: 2.1rem;
  }
}
