/* ENJ Enterprise – Premium Corporate Styles */
:root {
  --forest: #174D32;
  --forest-dark: #0F3422;
  --green: #39834B;
  --gold: #E7B43B;
  --gold-dark: #C9962A;
  --cream: #F8F8F2;
  --white: #FFFFFF;
  --ink: #252B27;
  --muted: #5A635C;
  --line: #E3E6E1;
  --shadow: 0 12px 40px rgba(23, 77, 50, 0.12);
  --radius: 14px;
  --nav-h: 78px;
  --font: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .6em; color: var(--forest-dark); }
p { margin: 0 0 1rem; color: var(--muted); }
.container { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .75rem;
}
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .92rem; letter-spacing: .02em; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  text-decoration: none; font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-dark); color: var(--white); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--forest-dark); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--forest); }
.btn-outline-dark { background: transparent; border-color: var(--forest); color: var(--forest); }
.btn-outline-dark:hover { background: var(--forest); color: var(--white); }
.btn-sm { padding: .65rem 1.1rem; font-size: .85rem; }

/* Navigation */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(23,77,50,.08);
  border-bottom-color: var(--line);
  background: rgba(255,255,255,.97);
}
.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .75rem; color: var(--forest); }
.brand img, .brand svg { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.15rem; letter-spacing: .04em; }
.brand-text span { font-size: .68rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .95rem; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--gold); transition: width .2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: .5rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--white); cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--forest); margin: 4px auto; transition: .2s; }

/* Hero */
.hero {
  position: relative; min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center; color: var(--white);
  overflow: hidden; background: var(--forest-dark);
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.1s ease, transform 6.5s ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(105deg, rgba(15,52,34,.88) 0%, rgba(23,77,50,.72) 48%, rgba(23,77,50,.42) 100%),
    radial-gradient(circle at 80% 20%, rgba(231,180,59,.16), transparent 42%);
}
.hero-nav {
  position: absolute; top: 50%; z-index: 4; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(15,52,34,.45); color: #fff; cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(6px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-nav:hover { background: rgba(231,180,59,.92); color: var(--forest-dark); border-color: transparent; }
.hero-nav-prev { left: 1.1rem; }
.hero-nav-next { right: 1.1rem; }
.hero-dots {
  position: absolute; left: 50%; bottom: 1.4rem; z-index: 4;
  transform: translateX(-50%); display: flex; gap: .55rem;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0;
  background: rgba(255,255,255,.45); cursor: pointer; transition: width .25s ease, background .25s ease;
}
.hero-dots button.is-active { width: 28px; background: var(--gold); }
.hero-content { position: relative; z-index: 3; max-width: 720px; padding: 4rem 0; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
  animation: fadeUp .8s ease both;
}
.hero p {
  color: rgba(255,255,255,.9);
  font-size: 1.1rem;
  max-width: 580px;
  animation: fadeUp .8s ease .1s both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.75rem; animation: fadeUp .8s ease .2s both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .85rem; border-radius: 999px;
  background: rgba(231,180,59,.18); color: var(--gold);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1.25rem; animation: fadeUp .8s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Intro */
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.intro-visual {
  border-radius: 24px; overflow: hidden; min-height: 380px;
  box-shadow: var(--shadow);
  position: relative; background: #eef3ef;
}
.intro-visual img {
  width: 100%; height: 100%; min-height: 380px; object-fit: cover; display: block;
}
.intro-visual::after {
  content: ""; position: absolute; inset: auto 1.5rem 1.5rem 1.5rem; height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* Product cards */
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column; height: 100%;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card .thumb {
  aspect-ratio: 4/3; background: #eef3ef; position: relative; overflow: hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .body { padding: 1.35rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.product-card p { flex: 1; font-size: .94rem; }
.product-card .actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }

/* Features */
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.feature:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(23,77,50,.1), rgba(231,180,59,.2));
  display: grid; place-items: center; margin-bottom: 1rem; color: var(--forest);
}
.feature h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.feature p { margin: 0; font-size: .92rem; }

/* Buy / Sell */
.split-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.panel {
  border-radius: 20px; padding: 2.25rem; color: var(--white); min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.panel-buy {
  background:
    linear-gradient(145deg, rgba(23,77,50,.95), rgba(57,131,75,.9)),
    url("../images/hero/panel-texture.svg");
}
.panel-sell {
  background:
    linear-gradient(145deg, rgba(15,52,34,.96), rgba(201,150,42,.85)),
    url("../images/hero/panel-texture.svg");
}
.panel h3 { color: var(--white); font-size: 1.5rem; }
.panel p { color: rgba(255,255,255,.88); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
.process-step {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  border: 1px solid var(--line); position: relative;
}
.process-step .num {
  font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: .75rem;
}
.process-step h3 { font-size: 1rem; }

/* CTA band */
.cta-band {
  background:
    linear-gradient(120deg, var(--forest-dark), var(--forest) 55%, #2a6a3d);
  color: var(--white); border-radius: 28px; padding: 3rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: var(--white); margin: 0 0 .5rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; max-width: 520px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Contact strip / form */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; }
.contact-card {
  background: var(--white); border-radius: 20px; padding: 2rem; border: 1px solid var(--line);
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .icon {
  width: 42px; height: 42px; border-radius: 10px; background: rgba(23,77,50,.08);
  display: grid; place-items: center; flex-shrink: 0; color: var(--forest);
}
.wa-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; font-size: .88rem; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: .85rem 1rem;
  font: inherit; background: var(--cream); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(57,131,75,.15);
}
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.alert {
  padding: 1rem 1.15rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 600;
}
.alert-success { background: #e8f6ec; color: var(--forest); border: 1px solid #c6e6cf; }
.alert-error { background: #fdeeee; color: #8a1f1f; border: 1px solid #f3c6c6; }

/* Footer */
.site-footer {
  background: var(--forest-dark); color: rgba(255,255,255,.82); padding: 4rem 0 1.5rem; margin-top: 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; margin-bottom: 2.5rem;
}
.site-footer h4 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-brand p { color: rgba(255,255,255,.7); font-size: .92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .88rem;
}

/* Floating WhatsApp */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 1200; }
.wa-float-btn {
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: #25D366; color: white; box-shadow: 0 10px 30px rgba(37,211,102,.4);
  display: grid; place-items: center; transition: transform .2s;
}
.wa-float-btn:hover { transform: scale(1.06); }
.wa-menu {
  position: absolute; right: 0; bottom: 70px; width: 260px;
  background: var(--white); border-radius: 16px; box-shadow: var(--shadow);
  padding: 1rem; display: none; border: 1px solid var(--line);
}
.wa-menu.open { display: block; animation: fadeUp .25s ease; }
.wa-menu h4 { margin: 0 0 .75rem; font-size: .95rem; }
.wa-menu a {
  display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem;
  border-radius: 10px; color: var(--ink); font-weight: 600; background: var(--cream); margin-bottom: .5rem;
}
.wa-menu a:hover { background: rgba(37,211,102,.12); color: #128C7E; }

/* Page hero (inner) */
.page-hero {
  background:
    linear-gradient(120deg, rgba(15,52,34,.92), rgba(23,77,50,.78)),
    url("../images/hero/page-products.jpg") center/cover no-repeat;
  color: white; padding: 4.5rem 0 3.5rem;
}
.page-hero.page-hero-about {
  background:
    linear-gradient(120deg, rgba(15,52,34,.92), rgba(23,77,50,.78)),
    url("../images/hero/page-about.jpg") center/cover no-repeat;
}
.page-hero.page-hero-products {
  background:
    linear-gradient(120deg, rgba(15,52,34,.92), rgba(23,77,50,.78)),
    url("../images/hero/page-products.jpg") center/cover no-repeat;
}
.page-hero.page-hero-contact {
  background:
    linear-gradient(120deg, rgba(15,52,34,.92), rgba(23,77,50,.78)),
    url("../images/hero/page-contact.jpg") center/cover no-repeat;
}
.page-hero h1 { color: white; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: rgba(255,255,255,.88); max-width: 640px; margin: 0; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: start; }
.product-gallery {
  border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid var(--line);
}
.product-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.price-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(231,180,59,.18); color: var(--forest-dark);
  padding: .45rem .9rem; border-radius: 999px; font-weight: 700; margin-bottom: 1rem;
}

/* Maps */
.map-embed {
  border: 0; width: 100%; min-height: 280px; border-radius: 16px; margin-top: 1.25rem;
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4, .process { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; background: white;
    flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line); display: none; gap: .25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .75rem .5rem; }
  .nav-cta { margin: .5rem 0 0; width: 100%; text-align: center; }
  .intro-grid, .contact-grid, .product-detail, .split-panel, .grid-2 { grid-template-columns: 1fr; }
  .hero { min-height: min(100vh - var(--nav-h), 720px); padding: 2rem 0 3.5rem; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-6, .process, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 2rem; }
  .section { padding: 3.5rem 0; }
  .hero-nav { display: none; }
  .hero-dots { bottom: 1rem; }
}
