/* ============================================================
   GLOBAL STYLES
   Header, navigation, footer and reusable site utilities
   ============================================================ */


/* ==================== CSS VARIABLES AND RESET ==================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter",sans-serif;
  color: #122019;
  background: #fff;
  overflow-x: hidden;
}

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

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(1240px,calc(100% - 40px));
  margin-inline: auto;
}

:root {
  --green: #39b85a;
  --green-2: #10914b;
  --green-dark: #0b5c36;
  --green-deep: #093c27;
  --mint: #eff8f1;
  --cream: #fbf7ed;
  --ink: #122019;
  --muted: #68756e;
  --line: #e7ece8;
  --orange: #f5a213;
  --shadow: 0 24px 70px rgba(17,73,43,.11);
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ==================== SHARED BUTTONS AND LINKS ==================== */

.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 700;
  transition: .25s;
}

.button svg,
.text-link svg {
  width: 17px;
  height: 17px;
}

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

.button-primary {
  background: linear-gradient(135deg,#46be63,#209c4b);
  color: #fff;
  box-shadow: 0 13px 30px rgba(43,165,80,.22);
}

.button-large {
  min-height: 54px;
  padding: 0 24px;
  font-size: 14px;
}

.button-ghost {
  border: 1px solid #dfe8e1;
  background: #fff;
  color: #1d2c24;
}

.button-dark {
  background: #10251a;
  color: #fff;
}

.button-white {
  background: #fff;
  color: #0f6037;
  box-shadow: 0 12px 30px rgba(0,0,0,.09);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #198648;
}


/* ==================== ANNOUNCEMENT BAR ==================== */

.announcement {
  background: #0a4c31;
  color: #dff5e6;
  font-size: 12px;
}

.announcement-inner {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.announcement-inner>div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.announcement-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #70d98b;
}


/* ==================== SITE HEADER ==================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16,53,35,.06);
}

.header-main {
  height: 84px;
  display: grid;
  grid-template-columns: 210px minmax(300px,1fr) auto;
  gap: 28px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(145deg,#55c972,#249c4b);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(57,184,90,.22);
}

.brand-mark span {
  font-weight: 800;
  font-size: 22px;
}

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

.brand-copy strong {
  font-size: 15px;
  letter-spacing: .3px;
  color: #269c4c;
}

.brand-copy small {
  font-size: 12px;
  letter-spacing: 2.6px;
  color: #71947a;
}

.site-search {
  height: 48px;
  border: 1px solid #dfe7e1;
  border-radius: 14px;
  padding: 4px 5px 4px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fbfdfb;
  transition: .2s;
}

.site-search:focus-within {
  background: #fff;
  border-color: #87d49a;
  box-shadow: 0 0 0 4px rgba(57,184,90,.08);
}

.site-search svg {
  width: 18px;
  color: #82a08b;
}

.site-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.site-search input::placeholder {
  color: #93a099;
}

.site-search button {
  border: 0;
  background: #eaf6ed;
  color: #157f43;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eef6f0;
  color: #176f40;
  display: grid;
  place-items: center;
}

.contact-icon svg {
  width: 18px;
}

.header-contact-item>span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.header-contact-item small {
  font-size: 12px;
  color: #7c8b83;
}

.header-contact-item strong {
  font-size: 12px;
  white-space: nowrap;
}

.whatsapp-item .contact-icon {
  background: #e6f9ed;
  color: #1dab55;
}
.whatsapp-item .contact-icon svg {
    width: 19px;
    height: 19px;
    display: block;
}
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #163522;
  align-items: center;
  justify-content: center;
}

.mobile-toggle .close-icon {
  display: none;
}

.mobile-toggle.is-open .menu-icon {
  display: none;
}

.mobile-toggle.is-open .close-icon {
  display: block;
}


/* ==================== MAIN NAVIGATION AND MEGA MENU ==================== */

.nav-shell {
  border-top: 1px solid #f0f3f0;
}

.main-nav {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.nav-link {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  font-weight: 600;
  font-size: 13px;
  color: #26342c;
  cursor: pointer;
}

.nav-link svg {
  width: 15px;
  height: 15px;
  transition: .2s;
}

.nav-link:hover,
.nav-link.active,
.nav-group.open>.nav-link {
  background: #edf7ef;
  color: #147640;
}

.nav-group {
  position: static;
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 1px);
  background: #fff;
  border: 1px solid #e6ece8;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 26px 60px rgba(22,65,42,.13);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .22s;
  overflow: hidden;
}

.mega-group:hover>.mega-menu,
.mega-group.open>.mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-group:hover>.nav-trigger svg,
.mega-group.open>.nav-trigger svg {
  transform: rotate(180deg);
}

.mega-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 28px;
}

.mega-intro {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(155deg,#0b6037,#0f7541);
  color: #fff;
}

.mega-kicker {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #a7e7b7;
  font-weight: 800;
}

.mega-intro h3 {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.7px;
  margin: 12px 0;
}

.mega-intro p {
  font-size: 12px;
  line-height: 1.7;
  color: #cdebd5;
}

.mega-intro .text-link {
  color: #fff;
  margin-top: 8px;
}

.mega-products {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}

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

.mega-card {
  border: 1px solid #ebefec;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: .2s;
  min-width: 0;
}

.mega-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(18,65,39,.09);
}

.mega-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.mega-card > span {
  display: flex;
  flex-direction: column;
  padding: 13px 14px 14px;
  min-width: 0;
}

.mega-card > span > strong {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
  display: block;
}
.mega-card .product-category {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
  color: #718078;
}

/* Rating */

.mega-card .product-rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 0;
  min-width: 0;
  white-space: nowrap;
}

.mega-card .rating-stars {
  display: inline-flex;
  padding: 0;
  color: #f5a213;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 1px;
  font-family: Arial, sans-serif;
}

.mega-card .rating-number {
  display: inline;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  color: #3b4942;
}

.mega-card .review-count {
  display: inline;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1;
  color: #7b8780;
}

/* Pricing */

.mega-card .product-pricing {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
  margin-top: 9px;
  padding: 0;
  min-width: 0;
  white-space: nowrap;
}

.mega-card .product-pricing strong {
  display: inline;
  padding: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  color: #147640;
}

.mega-card .product-pricing del {
  display: inline;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  color: #8b958f;
}
.mega-card .product-rating span,
.mega-card .product-pricing span {
  padding: 0;
}

.mega-card small {
  font-size: 10px;
  color: #829087;
  margin-top: 4px;
}

.mega-footer {
  height: 48px;
  background: #f6faf7;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #69776f;
  border-top: 1px solid #ebefec;
}

.mega-footer a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #137942;
  font-weight: 700;
}

.mega-footer svg {
  width: 15px;
}


/* ==================== SITE FOOTER ==================== */

.site-footer {
  border-top: 1px solid #e9edea;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3,1fr);
  gap: 60px;
  padding: 70px 0 55px;
}

.footer-brand p {
  font-size: 12px;
  line-height: 1.7;
  color: #75827b;
  max-width: 300px;
  margin: 20px 0;
}

.footer-made {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #4d5f55;
}

.footer-made svg {
  width: 15px;
  color: #1b874b;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-column h4 {
  font-size: 12px;
  margin: 0 0 9px;
}

.footer-column a {
  font-size: 11px;
  color: #6e7b74;
}

.footer-column a:hover {
  color: #178247;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact svg {
  width: 15px;
  color: #20894e;
}

.footer-bottom {
  background: #0c5835;
  color: #d8eee0;
}

.footer-bottom .container {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.footer-bottom .container>div {
  display: flex;
  gap: 20px;
}


/* ==================== OTHER STYLES ==================== */

button,
input {
  font: inherit;
}

/* ============================================================
   GLOBAL RESPONSIVE STYLES
   ============================================================ */

@media (max-width:1120px) {
  .header-main {
    grid-template-columns: 190px 1fr auto;
  }
  .header-contact-item {
    display: none;
  }
  .mega-inner {
    grid-template-columns: 240px 1fr;
  }
  .mega-products {
    grid-template-columns: repeat(2,1fr);
  }
  .mega-card img {
    height: 100px;
  }
}

@media (max-width:900px) {
  .announcement {
    display: none;
  }
  .header-main {
    height: 72px;
    grid-template-columns: 1fr auto;
  }
  .site-search,
  .header-contact {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-shell {
    border: 0;
  }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    height: auto;
    max-height: calc(100vh - 90px);
    overflow: auto;
    background: #fff;
    border: 1px solid #e4ebe6;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 22px 60px rgba(15,62,37,.16);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0 13px;
  }
  .nav-group {
    position: relative;
  }
  .mega-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 14px;
    background: #f8fbf8;
    margin: 4px 0 8px;
  }
  .mega-group.open>.mega-menu {
    display: block;
  }
  .mega-group:hover>.mega-menu {
    opacity: 1;
    visibility: visible;
  }
  .mega-inner {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  .mega-intro {
    display: none;
  }
  .mega-products,
  .compact-mega .mega-products {
    grid-template-columns: repeat(2,1fr);
  }
  .mega-card img {
    height: 90px;
  }
  .mega-card > span {
  padding: 11px 12px 12px;
}

.mega-card > span > strong {
  font-size: 14px;
}

.mega-card .product-category {
  font-size: 14px;
  margin-top: 4px;
}

.mega-card .product-rating {
  margin-top: 7px;
  gap: 4px;
}

.mega-card .rating-stars,
.mega-card .rating-number,
.mega-card .review-count {
  font-size: 14px;
}

.mega-card .rating-stars {
  letter-spacing: .5px;
}

.mega-card .product-pricing {
  margin-top: 7px;
  gap: 7px;
}

.mega-card .product-pricing strong {
  font-size: 15px;
}

.mega-card .product-pricing del {
  font-size: 14px;
}
  .mega-footer {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width:620px) {

  .container {
    width: min(100% - 28px,1240px);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .footer-bottom .container {
    padding: 12px 0;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }

  .mega-products,
  .compact-mega .mega-products {
    grid-template-columns: 1fr;
  }

  /* Mobile product card */

  .mega-card {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: stretch;
  }

  .mega-card img {
    width: 90px;
    height: 100%;
    min-height: 128px;
    object-fit: cover;
  }

  .mega-card > span {
    justify-content: center;
    min-width: 0;
    padding: 12px 13px;
  }

  .mega-card > span > strong {
    font-size: 14px;
    line-height: 1.25;
  }

  .mega-card .product-category {
    display: block;
    font-size: 14px;
    line-height: 1.25;
    margin-top: 4px;
  }

  .mega-card .product-rating {
    margin-top: 7px;
    gap: 4px;
    white-space: nowrap;
  }

  .mega-card .rating-stars,
  .mega-card .rating-number,
  .mega-card .review-count {
    font-size: 14px;
  }

  .mega-card .rating-stars {
    letter-spacing: .5px;
  }

  .mega-card .product-pricing {
    margin-top: 7px;
    gap: 7px;
  }

  .mega-card .product-pricing strong {
    font-size: 15px;
  }

  .mega-card .product-pricing del {
    font-size: 14px;
  }
}


/* FOOTER */
/* ============================================================
   FINAL CTA
   ============================================================ */

.product-final-cta {
  padding: 70px 0;

  background: #fff;
}

.product-final-card {
  min-height: 310px;

  padding: 55px;

  display: grid;
  grid-template-columns: 1fr auto;

  align-items: center;
  gap: 50px;

  position: relative;
  overflow: hidden;

  border-radius: 30px;

  background:
    linear-gradient(
      135deg,
      #0a5c35,
      #0e7a43
    );

  color: #fff;
}

.final-pattern {
  position: absolute;
  inset: 0;

  opacity: .10;

  background-image:
    linear-gradient(
      45deg,
      #fff 25%,
      transparent 25%,
      transparent 75%,
      #fff 75%
    );

  background-size: 50px 50px;

  pointer-events: none;
}

.final-copy,
.final-actions {
  position: relative;
  z-index: 2;
}

.final-copy h2 {
  max-width: 700px;

  margin: 14px 0 13px;

  font-size: clamp(38px,4.8vw,56px);

  line-height: .98;

  letter-spacing: -3px;
}

.final-copy h2 span {
  color: #a5e4b3;
}

.final-copy p {
  max-width: 590px;

  color: #d2ecda;

  font-size: 12px;
  line-height: 1.7;
}


.final-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 16px;
}

.final-phone {
  display: flex;
  align-items: center;
  gap: 9px;

  color: #fff;
}

.final-phone > span {
  width: 39px;
  height: 39px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  background: rgba(255,255,255,.10);
}

.final-phone svg {
  width: 17px;
}

.final-phone div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.final-phone small {
  color: #b9e4c5;
  font-size: 8px;
}

.final-phone strong {
  font-size: 11px;
}

/* ============================================================
   FINAL CTA — RESPONSIVE
============================================================ */

@media (max-width: 850px) {

    .product-final-card {
        min-height: auto;

        padding: 45px 40px;

        grid-template-columns: 1fr;

        gap: 32px;

        border-radius: 24px;
    }

    .final-copy h2 {
        max-width: 600px;

        font-size: clamp(38px, 7vw, 52px);

        letter-spacing: -2.4px;
    }

    .final-copy p {
        max-width: 600px;

        font-size: 14px;
    }

    .final-actions {
        width: 100%;

        align-items: flex-start;
    }

}


@media (max-width: 600px) {

    .product-final-cta {
        padding: 55px 0;
    }

    .product-final-card {
        min-height: auto;

        padding: 36px 24px;

        grid-template-columns: 1fr;

        gap: 28px;

        border-radius: 20px;
    }

    .final-copy h2 {
        margin: 14px 0 15px;

        font-size: 38px;

        line-height: 1;

        letter-spacing: -1.8px;
    }

    .final-copy p {
        margin: 0;

        font-size: 14px;

        line-height: 1.7;
    }

    .final-actions {
        width: 100%;

        gap: 16px;

        align-items: stretch;
    }

    .final-actions .button {
        width: 100%;

        justify-content: center;
    }

    .final-phone {
        width: 100%;

        align-items: center;
    }

    .final-phone > span {
        width: 40px;
        height: 40px;

        flex: 0 0 40px;
    }

    .final-phone small {
        font-size: 14px;
    }

    .final-phone strong {
        font-size: 14px;
    }

}


@media (max-width: 380px) {

    .product-final-card {
        padding: 30px 20px;

        border-radius: 18px;
    }

    .final-copy h2 {
        font-size: 34px;

        letter-spacing: -1.5px;
    }

    .final-actions .button {
        padding-left: 16px;
        padding-right: 16px;
    }

}