:root {
  --green: #16843a;
  --green-dark: #0d5d2a;
  --orange: #f28c1b;
  --ink: #17211b;
  --muted: #607066;
  --soft: #f5faf6;
  --line: #e3ece6;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 33, 27, 0.11);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2 { font-weight: 800; line-height: 1.08; letter-spacing: 0; }
h1 { font-size: clamp(2.7rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.08rem; font-weight: 800; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: opacity .35s ease, visibility .35s ease;
}
.page-loader span {
  width: 52px;
  height: 52px;
  border: 5px solid #dbeee1;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.page-loaded .page-loader { opacity: 0; visibility: hidden; }
@keyframes spin { to { transform: rotate(360deg); } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(227,236,230,.8);
  box-shadow: 0 10px 30px rgba(23,33,27,.05);
}
.navbar { min-height: 86px; }
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: .02em;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--orange));
}
.nav-link {
  font-weight: 700;
  color: var(--ink);
  padding: .8rem .7rem !important;
}
.nav-link.active, .nav-link:hover { color: var(--green); }
.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.search-box {
  width: 190px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: .55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 .8rem;
  background: var(--soft);
}
.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: .9rem;
}
.header-phone { color: var(--green-dark); font-weight: 800; white-space: nowrap; }
.btn {
  border-radius: 999px;
  font-weight: 800;
  padding: .8rem 1.35rem;
  border: 0;
}
.btn-primary { background: var(--green); box-shadow: 0 12px 24px rgba(22,132,58,.2); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-whatsapp, .whatsapp-float { background: #25d366; color: var(--white); }

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,32,17,.82), rgba(8,32,17,.42), rgba(8,32,17,.12));
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 760px;
  margin-left: max(calc((100vw - 1140px) / 2), 1rem);
}
.hero-content p, .page-hero p { font-size: 1.18rem; max-width: 660px; }
.eyebrow, .section-kicker {
  display: inline-flex;
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 900;
  font-size: .82rem;
  letter-spacing: .13em;
  margin-bottom: .9rem;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.section { padding: 92px 0; }
.section-soft { background: var(--soft); }
.section-title { text-align: center; max-width: 740px; margin: 0 auto 2.8rem; }
.rounded-asset {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.feature-list {
  display: grid;
  gap: .65rem;
  margin-top: 1.2rem;
}
.feature-list i { color: var(--green); margin-right: .5rem; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.category-card, .benefit-card, .review-card, .offer-card, .contact-panel, .contact-form, .product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(23, 33, 27, 0.06);
}
.category-card {
  min-height: 132px;
  display: grid;
  place-items: center;
  gap: .55rem;
  padding: 1.2rem;
  text-align: center;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease;
}
.category-card i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff2df;
  color: var(--orange);
  font-size: 1.3rem;
}
.category-card:hover, .product-card:hover, .benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card {
  position: relative;
  height: 100%;
  padding: 1rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--soft);
}
.product-card h3 { margin: 1rem 0 .35rem; }
.price { color: var(--green-dark); font-weight: 900; }
.price del { color: #9aa7a0; font-weight: 600; margin-left: .35rem; }
.badge-discount {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  background: var(--orange);
  color: var(--white);
  padding: .35rem .65rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 900;
}
.offer-band {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}
.offer-band img, .promo-banner img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.benefit-card, .review-card, .offer-card {
  height: 100%;
  padding: 1.6rem;
}
.benefit-card i, .offer-card i {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--green);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.counter-section {
  padding: 64px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #ffad43);
}
.counter-section strong { display: block; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
.counter-section span { font-weight: 800; }
.stars { color: var(--orange); letter-spacing: .08em; margin-bottom: .8rem; }
.review-card h3 { color: var(--green-dark); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}
.gallery-large { grid-template-columns: repeat(3, 1fr); }
.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(23,33,27,.08);
}
.accordion-item { border: 1px solid var(--line); border-radius: var(--radius) !important; overflow: hidden; margin-bottom: .8rem; }
.accordion-button { font-weight: 800; }
.accordion-button:not(.collapsed) { color: var(--green-dark); background: var(--soft); }
.contact-panel, .contact-form { padding: 1.6rem; }
.contact-panel i { width: 26px; color: var(--green); }
.form-control {
  min-height: 52px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: .85rem 1rem;
}
.form-control:focus { border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(22,132,58,.12); }
.map-section iframe { width: 100%; height: 420px; border: 0; display: block; }
.page-hero {
  padding: 138px 0 82px;
  color: var(--white);
  background: linear-gradient(90deg, rgba(8,32,17,.86), rgba(8,32,17,.5)), url("../images/hero-supermarket.png") center/cover;
}
.offers-hero { background-image: linear-gradient(90deg, rgba(8,32,17,.86), rgba(8,32,17,.5)), url("../images/offers-banner.png"); }
.promo-banner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.site-footer {
  color: #d8e9de;
  background: #0d2416;
  padding: 64px 0 22px;
}
.site-footer h2, .site-footer h3 { color: var(--white); }
.site-footer a { display: block; color: #d8e9de; margin: .45rem 0; }
.site-footer a:hover { color: var(--orange); }
.social-links { display: flex; gap: .7rem; }
.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.newsletter-form {
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: var(--white);
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: .85rem 1rem;
  outline: 0;
}
.newsletter-form button {
  width: 54px;
  border: 0;
  color: var(--white);
  background: var(--orange);
}
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  text-align: center;
  color: #b8cfc1;
}
.floating-btn, .back-to-top {
  position: fixed;
  right: 18px;
  z-index: 950;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: var(--shadow);
  border: 0;
  color: var(--white);
}
.whatsapp-float { bottom: 84px; }
.call-float { bottom: 142px; background: var(--orange); }
.back-to-top {
  bottom: 24px;
  background: var(--green-dark);
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.toast-msg {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 1100;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--white);
  padding: .8rem 1.1rem;
  border-radius: 999px;
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
}
.toast-msg.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.is-hidden { display: none !important; }

@media (max-width: 1199px) {
  .header-actions { align-items: stretch; flex-direction: column; padding: 1rem 0; }
  .search-box { width: 100%; }
}
@media (max-width: 991px) {
  .hero { min-height: 760px; }
  .hero-content { margin-left: auto; padding: 0 1rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid, .gallery-large, .promo-banner { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .navbar { min-height: 74px; }
  .navbar-brand { font-size: .88rem; }
  .brand-mark { width: 40px; height: 40px; }
  .hero { min-height: 690px; }
  .section { padding: 68px 0; }
  .category-grid { grid-template-columns: 1fr; }
  .hero-buttons .btn { width: 100%; }
  .gallery-grid img { height: 220px; }
}
