:root {
    --green-dark: #1a3d1a;
    --green-mid: #2d6a2d;
    --green-main: #3a8a3a;
    --green-light: #5bb05b;
    --green-pale: #d4edda;
    --green-soft: #f0f8f0;
    --earth: #7a5c2e;
    --earth-light: #c4a06a;
    --cream: #faf8f3;
    --text-dark: #1a2a1a;
    --text-mid: #3d5c3d;
    --text-light: #6b8f6b;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(30,80,30,0.10);
    --radius: 14px;
    --transition: 0.3s ease;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text-dark); }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(250,248,243,0.96); backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(58,138,58,0.12);
    padding: 0 5%;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
    /* display: flex;
    align-items: center;
    justify-content: space-between; 
    gap: 1rem;
    padding: 0 5%;
    height: 64px; */
  }
  .nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem; font-weight: 700; color: var(--green-dark);
    display: flex; align-items: center; gap: 10px; text-decoration: none;
  }
  .nav-logo span { font-size: 1.6rem; }
  .nav-links { display: flex; gap: 2rem; list-style: none; margin: 0 auto;}
  .nav-links a {
    text-decoration: none; color: var(--text-mid);
    font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em;
    transition: color var(--transition);
  }
  .nav-links a:hover, .nav-links a.active { color: var(--green-main); }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;   /* never shrink or wrap */
  }

  .nav-cta {
    /* background: var(--green-main); color: white;
    padding: 8px 20px; border-radius: 30px; font-size: 0.85rem;
    font-weight: 500; text-decoration: none; transition: background var(--transition);
    white-space: nowrap; */
    position: static;   /* was: position: absolute; right: 165px */
    background: #3a8a3a;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
  }
  .nav-cta:hover { background: var(--green-dark); }
  .nav-cta:hover { background: #1a3d1a; }

  .lang-switch {
    display: inline-flex;
    background: #e8f5e9;
    border-radius: 30px;
    padding: 3px;
    border: 1.5px solid #3a8a3a;
  }
  .lang-switch a {
    padding: 5px 12px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    color: #3a8a3a;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    align-self: center;
    height: stretch;
    align-content: center;
  }
  .lang-switch a.on { background: #3a8a3a; color: white; }

  .hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
  }
  .hamburger span { width: 24px; height: 2px; background: var(--green-dark); display: block; transition: var(--transition); }
  .mobile-menu {
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--green-pale);
    padding: 1.5rem 5%; z-index: 999; flex-direction: column; gap: 1.2rem;
  }
  .mobile-menu a { text-decoration: none; color: var(--text-mid); font-size: 1rem; font-weight: 500; }
  .mobile-menu.open { display: flex; }

  @media (max-width: 768px) {
    .nav-links  { display: none; }
    .nav-cta    { display: none; }
    .hamburger  { display: flex; }
  }

  /* PAGES */
  .page { display: none; padding-top: 64px; min-height: 100vh; }
  .page.active { display: block; }

  /* ---- HOME PAGE ---- */
  .hero {
    min-height: 92vh; background: linear-gradient(155deg, #1a3d1a 0%, #2d6a2d 50%, #3a8a3a 100%);
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 4rem 5%; position: relative; overflow: hidden;
  }
  .hero::before {
    content: ''; position: absolute; inset: 0;
    background: 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='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }
  .hero-content { position: relative; max-width: 780px; }
  .hero-badge {
    display: inline-block; background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9);
    padding: 6px 18px; border-radius: 30px; font-size: 0.8rem; letter-spacing: 0.1em;
    text-transform: uppercase; margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.2);
  }
  .hero h1 {
    font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 6vw, 4rem);
    color: white; line-height: 1.2; margin-bottom: 0.8rem;
  }
  .hero h1 em { font-style: italic; color: #b8e6b8; }
  .hero-sub { color: rgba(255,255,255,0.75); font-size: clamp(0.9rem,2vw,1.05rem); margin-bottom: 0.5rem; }
  .hero-sub-bm { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin-bottom: 2.5rem; }
  .hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
  .btn-white {
    background: white; color: var(--green-dark); padding: 13px 30px;
    border-radius: 40px; font-weight: 600; font-size: 0.92rem; text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition); cursor: pointer; border: none;
  }
  .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
  .btn-outline-white {
    background: transparent; color: white; padding: 13px 30px;
    border-radius: 40px; font-weight: 500; font-size: 0.92rem;
    border: 1.5px solid rgba(255,255,255,0.5); text-decoration: none;
    transition: background var(--transition); cursor: pointer;
  }
  .btn-outline-white:hover { background: rgba(255,255,255,0.1); }
  .hero-stats {
    display: flex; justify-content: center; gap: 3rem; margin-top: 4rem;
    flex-wrap: wrap;
  }
  .hero-stat { text-align: center; }
  .hero-stat strong { display: block; font-size: 2rem; color: white; font-weight: 700; }
  .hero-stat span { font-size: 0.8rem; color: rgba(255,255,255,0.65); }

  .section { padding: 5rem 5%; max-width: 1200px; margin: 0 auto; }
  .section-header { text-align: center; margin-bottom: 3.5rem; }
  .section-tag {
    display: inline-block; background: var(--green-pale); color: var(--green-main);
    padding: 5px 16px; border-radius: 20px; font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem;
  }
  .section-header h2 {
    font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--green-dark); margin-bottom: 0.5rem;
  }
  .section-header p { color: var(--text-light); font-size: 0.95rem; }
  .section-header .bm { color: var(--text-light); font-size: 0.82rem; margin-top: 0.2rem; }

  /* Benefits */
  .benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
  .benefit-card {
    background: white; border-radius: var(--radius); padding: 2rem;
    border: 1px solid rgba(58,138,58,0.1); transition: transform var(--transition), box-shadow var(--transition);
  }
  .benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .benefit-icon {
    width: 52px; height: 52px; border-radius: 14px; background: var(--green-soft);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.2rem;
  }
  .benefit-card h3 { font-size: 1rem; font-weight: 600; color: var(--green-dark); margin-bottom: 0.3rem; }
  .benefit-card .bm-label { font-size: 0.75rem; color: var(--text-light); margin-bottom: 0.6rem; font-style: italic; }
  .benefit-card p { font-size: 0.87rem; color: var(--text-light); line-height: 1.65; }

  /* Categories Strip */
  .categories-strip { background: var(--green-dark); padding: 3rem 5%; }
  .categories-inner { max-width: 1200px; margin: 0 auto; }
  .cat-title { text-align: center; color: rgba(255,255,255,0.6); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2rem; }
  .cat-items { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
  .cat-item {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 500;
  }
  .cat-emoji { font-size: 2rem; }

  /* ---- ABOUT PAGE ---- */
  .about-hero {
    background: var(--green-soft); padding: 4rem 5%; text-align: center;
    border-bottom: 1px solid rgba(58,138,58,0.1);
  }
  .about-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem,5vw,3rem); color: var(--green-dark); }
  .about-hero .bm { color: var(--text-light); font-size: 0.9rem; }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  @media(max-width:768px){ .about-grid { grid-template-columns: 1fr; gap: 2rem; } }
  .about-img-box {
    background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-soft) 100%);
    border-radius: 20px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
    font-size: 6rem;
  }
  .about-text h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--green-dark); margin-bottom: 1.2rem; }
  .about-text p { color: var(--text-mid); line-height: 1.85; margin-bottom: 1rem; font-size: 0.95rem; }
  .about-text .bm-text { color: var(--text-light); font-size: 0.82rem; font-style: italic; line-height: 1.6; }
  .values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
  .value-card {
    background: white; border-radius: var(--radius); padding: 1.5rem;
    border-left: 4px solid var(--green-main); box-shadow: var(--shadow);
  }
  .value-card h4 { color: var(--green-dark); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.3rem; }
  .value-card .bm-sm { color: var(--text-light); font-size: 0.75rem; font-style: italic; margin-bottom: 0.5rem; }
  .value-card p { color: var(--text-light); font-size: 0.83rem; line-height: 1.6; }
  .team-section { background: var(--green-soft); border-radius: 20px; padding: 3rem; margin-top: 4rem; text-align: center; }
  .team-section h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--green-dark); margin-bottom: 0.5rem; }

  /* ---- PRODUCTS PAGE ---- */
  .products-hero { background: linear-gradient(135deg, var(--green-dark), var(--green-mid)); padding: 4rem 5%; text-align: center; }
  .products-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem,5vw,3rem); color: white; }
  .products-hero p { color: rgba(255,255,255,0.7); margin-top: 0.5rem; }
  .product-tabs { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 3rem; }
  .tab-btn {
    padding: 9px 20px; border-radius: 30px; border: 1.5px solid var(--green-pale);
    background: white; color: var(--text-mid); font-size: 0.85rem; font-weight: 500;
    cursor: pointer; transition: all var(--transition);
  }
  .tab-btn.active, .tab-btn:hover { background: var(--green-main); color: white; border-color: var(--green-main); }
  .products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.8rem; }
  .product-card {
    background: white; border-radius: var(--radius); overflow: hidden;
    border: 1px solid rgba(58,138,58,0.1); transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
  }
  .product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
  .product-img {
    height: 160px; display: flex; align-items: center; justify-content: center;
    font-size: 4rem; background: var(--green-soft);
  }
  .product-body { 
    padding: 1.4rem; 
    display: flex;
    flex-direction: column;
    flex: 1; 
  }
  .product-badge {
    display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 0.72rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
  }
  .badge-animal { background: #fff3e0; color: #e65100; width: fit-content;}
  .badge-plant { background: var(--green-pale); color: var(--green-main); }
  .badge-land { background: #efebe9; color: #5d4037; }
  .product-body h3 { font-size: 1.05rem; font-weight: 600; color: var(--green-dark); margin-bottom: 0.25rem; }
  .product-body .bm-name { font-size: 0.78rem; color: var(--text-light); font-style: italic; margin-bottom: 0.6rem; }
  .product-body p { font-size: 0.85rem; color: var(--text-light); line-height: 1.65; }
  .product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--green-pale);  margin-top: auto;}
  .btn-sm {
    background: var(--green-main); color: white; padding: 8px 18px;
    border-radius: 25px; font-size: 0.82rem; font-weight: 500; border: none;
    cursor: pointer; transition: background var(--transition); text-decoration: none;
  }
  .btn-sm:hover { background: var(--green-dark); }

  /* ---- GALLERY PAGE ---- */
  .gallery-hero { background: var(--green-soft); padding: 4rem 5%; text-align: center; border-bottom: 1px solid rgba(58,138,58,0.1); }
  .gallery-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem,5vw,3rem); color: var(--green-dark); }
  .gallery-grid { columns: 3; gap: 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr);}
  @media(max-width:768px){ .gallery-grid { columns: 2; grid-template-columns: repeat(2, 1fr);} }
  @media(max-width:480px){ .gallery-grid { columns: 1; grid-template-columns: repeat(1, 1fr);} }
  .gallery-item {
    break-inside: avoid; background: white; border-radius: var(--radius);
    overflow: hidden; margin-bottom: 1.2rem; border: 1px solid rgba(58,138,58,0.1);
    transition: transform var(--transition);
  }
  .gallery-item img {
    width: 100%;
    height: 220px;          /* fixed height keeps all rows even */
    object-fit: cover;
  }
  .gallery-item:hover { transform: scale(1.02); }
  .gallery-visual {
    background: var(--green-soft); display: flex; align-items: center; justify-content: center;
    font-size: 4rem; padding: 2rem 1rem;
  }
  .gallery-visual.tall { padding: 3.5rem 1rem; }
  .gallery-info { padding: 1rem 1.2rem; }
  .gallery-info h4 { font-size: 0.92rem; font-weight: 600; color: var(--green-dark); margin-bottom: 0.2rem; }
  .gallery-info p { font-size: 0.8rem; color: var(--text-light); }
  .gallery-tag {
    display: inline-block; background: var(--green-pale); color: var(--green-main);
    padding: 2px 10px; border-radius: 12px; font-size: 0.7rem; font-weight: 600;
    margin-bottom: 0.5rem;
  }
  .testimonials { background: var(--green-dark); padding: 4rem 5%; }
  .testimonials-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column;}
  .testimonials h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: white; text-align: center; margin-bottom: 2.5rem; }
  .testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
  .testimonial-card {
    background: rgba(255,255,255,0.08); border-radius: var(--radius);
    padding: 1.8rem; border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .testimonial-card p { color: rgba(255,255,255,0.85); font-size: 0.9rem; line-height: 1.75; margin-bottom: 1rem; font-style: italic; }
  .testimonial-card .author { color: rgba(255,255,255,0.5); font-size: 0.8rem; font-weight: 600; margin-top: auto; }
  .stars { color: #f0c040; font-size: 0.9rem; margin-bottom: 0.8rem; }

  /* ---- CONTACT PAGE ---- */
  .contact-hero { background: linear-gradient(135deg, var(--green-dark), var(--green-mid)); padding: 4rem 5%; text-align: center; }
  .contact-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem,5vw,3rem); color: white; }
  .contact-hero p { color: rgba(255,255,255,0.7); margin-top: 0.5rem; }
  .contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
  @media(max-width:768px){ .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
  .contact-info h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--green-dark); margin-bottom: 1.5rem; }
  .contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
  .contact-icon {
    width: 42px; height: 42px; border-radius: 12px; background: var(--green-pale);
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
  }
  .contact-item h4 { font-size: 0.9rem; font-weight: 600; color: var(--green-dark); }
  .contact-item p { font-size: 0.85rem; color: var(--text-light); margin-top: 0.15rem; }
  .contact-form { background: white; border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow); border: 1px solid rgba(58,138,58,0.1); }
  .contact-form h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--green-dark); margin-bottom: 1.5rem; }
  .form-group { margin-bottom: 1.2rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  @media(max-width:480px){ .form-row { grid-template-columns: 1fr; } }
  .form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-mid); margin-bottom: 0.4rem; }
  .form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 11px 14px; border-radius: 10px;
    border: 1.5px solid rgba(58,138,58,0.2); font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem; color: var(--text-dark); background: var(--cream);
    transition: border-color var(--transition); outline: none;
  }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green-main); background: white; }
  .form-group textarea { resize: vertical; min-height: 110px; }
  .btn-submit {
    width: 100%; background: var(--green-main); color: white; padding: 13px;
    border-radius: 10px; font-size: 0.95rem; font-weight: 600; border: none;
    cursor: pointer; transition: background var(--transition); font-family: 'DM Sans', sans-serif;
  }
  .btn-submit:hover { background: var(--green-dark); }
  .form-success {
    display: none; background: var(--green-pale); border-radius: 10px;
    padding: 1rem; text-align: center; color: var(--green-dark); font-size: 0.9rem; margin-top: 1rem;
  }

  /* FOOTER */
  footer {
    background: var(--green-dark); color: rgba(255,255,255,0.7);
    padding: 3rem 5%; text-align: center;
  }
  .footer-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: white; margin-bottom: 0.5rem; }
  footer p { font-size: 0.82rem; margin-bottom: 0.3rem; }
  .footer-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin: 1rem 0; }
  .footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.83rem; }
  .footer-links a:hover { color: white; }

  /* WHATSAPP */
  .whatsapp-btn {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    background: #25d366; color: white; width: 52px; height: 52px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform var(--transition);
  }
  .whatsapp-btn:hover { transform: scale(1.1); }

  /* UTILS */
  .hidden { display: none; }
  .text-center { text-align: center; }
  .mt-2 { margin-top: 2rem; }
  .mt-3 { margin-top: 3rem; }


  .lang-switch { display: inline-flex; background: #e8f5e9; border-radius: 30px; padding: 3px; border: 1.5px solid #3a8a3a; }
  .lang-switch a { padding: 5px 13px; border-radius: 25px; font-size: 12px; font-weight: 600; color: #3a8a3a; text-decoration: none; transition: all 0.2s; }
  .lang-switch a.on { background: #3a8a3a; color: white; }

  @media (max-width: 600px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.aboutus-cert-div {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
 @media(max-width:768px){ .aboutus-cert-div { grid-template-columns: repeat(2, 1fr);} }
  @media(max-width:480px){ .aboutus-cert-div { grid-template-columns: repeat(1, 1fr);} }