/* ===== Shefa Trading Company — shared styles (mobile-first) ===== */

:root {
  --green: #1f4d3a;
  --green-dark: #153628;
  --green-light: #e8f1ec;
  --amber: #d9962b;
  --amber-dark: #b97a17;
  --cream: #fbf8f2;
  --text: #22302a;
  --muted: #5f6b65;
  --border: #e4e2dc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(21, 54, 40, 0.08);
  --max: 1180px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--amber-dark); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; color: var(--green-dark); }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.25rem); font-weight: 600; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

.section { padding: clamp(48px, 8vw, 88px) 0; }
.section--cream { background: var(--cream); }
.section--green { background: var(--green); color: #e9f1ed; }
.section--green h2, .section--green h3 { color: var(--white); }

.section-head { max-width: 680px; margin: 0 auto clamp(28px, 5vw, 48px); text-align: center; }
.section-head p { color: var(--muted); }
.section--green .section-head p { color: #cfe0d7; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 0.6em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--amber); color: var(--white); }
.btn--primary:hover { background: var(--amber-dark); color: var(--white); }
.btn--whatsapp { background: #25d366; color: var(--white); }
.btn--whatsapp:hover { background: #1ebe5a; color: var(--white); }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green); color: var(--white); }
.btn--light { border-color: var(--white); color: var(--white); background: transparent; }
.btn--light:hover { background: var(--white); color: var(--green); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Header / Nav ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--green-dark); }
.logo:hover { color: var(--green-dark); }
.logo__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green);
  color: var(--amber);
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-weight: 700; font-size: 1.05rem; }
.logo__tag { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.nav-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s, background 0.25s;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.nav-open .nav { max-height: 480px; }
.nav ul { list-style: none; margin: 0; padding: 8px 16px 16px; }
.nav a {
  display: block;
  padding: 12px 8px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.nav li:last-child a { border-bottom: 0; }
.nav a.active { color: var(--amber-dark); }
.nav .nav__cta {
  margin-top: 10px;
  text-align: center;
  border-radius: 999px;
  background: var(--amber);
  color: var(--white);
  border: 0;
}
.nav .nav__cta:hover, .nav .nav__cta.active { background: var(--amber-dark); color: var(--white); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(217, 150, 43, 0.25), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(135deg, var(--green-dark), var(--green));
  color: #e9f1ed;
  padding: clamp(64px, 12vw, 130px) 0;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .eyebrow { color: #f3c577; }
.hero__lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); max-width: 560px; color: #d4e4db; margin-bottom: 1.8em; }
.hero__tagline { font-weight: 500; color: #f3c577; margin-bottom: 1.2em; }

.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #d4e4db;
  padding: clamp(48px, 9vw, 90px) 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 5vw, 2.8rem); }
.page-hero p { max-width: 620px; margin: 0 auto; }
.page-hero .eyebrow { color: #f3c577; }

/* ===== Stats strip ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: calc(-1 * clamp(32px, 5vw, 48px));
  position: relative;
  z-index: 2;
}
.stat { background: var(--white); padding: 22px 16px; text-align: center; }
.stat strong { display: block; font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--green); }
.stat span { font-size: 0.88rem; color: var(--muted); }

/* ===== Cards / Grids ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(21, 54, 40, 0.12); }
.card p { color: var(--muted); margin: 0; }
.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green);
  margin-bottom: 16px;
}
.card__icon svg { width: 26px; height: 26px; }

.product-card { display: flex; flex-direction: column; }
.product-card__badge {
  align-self: flex-start;
  background: var(--amber);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.product-card ul { margin: 14px 0 20px; padding-left: 18px; color: var(--muted); font-size: 0.95rem; }
.product-card .btn { margin-top: auto; align-self: flex-start; }

/* ===== Two-column split ===== */
.split { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4d3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.info-panel {
  background: var(--green);
  color: #d4e4db;
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.info-panel h3 { color: var(--white); }
.info-panel .checklist li::before { background-color: rgba(255, 255, 255, 0.15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3c577' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }

/* ===== Process steps ===== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.step {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.step__num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--white);
  font-weight: 700;
}
.step h3 { margin-bottom: 0.25em; }
.step p { margin: 0; color: var(--muted); font-size: 0.93rem; }
/* connector (mobile: vertical line) */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 39px;
  bottom: -15px;
  width: 2px;
  height: 14px;
  background: var(--amber);
}
.steps--compact .step p { display: none; }

/* ===== CTA band ===== */
.cta-band { text-align: center; }
.cta-band p { max-width: 560px; margin: 0 auto 1.6em; }
.cta-band .btn-row { justify-content: center; }

/* ===== Forms ===== */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field label .req { color: #c0392b; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* prevents iOS zoom */
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 77, 58, 0.15);
  background: var(--white);
}
.field--full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-actions .btn { width: 100%; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 500;
}
.form-status.is-success { display: block; background: #e6f4ea; color: #1e6b3a; border: 1px solid #b7dfc3; }
.form-status.is-error { display: block; background: #fdecea; color: #a4281b; border: 1px solid #f5c0b9; }
.btn[disabled] { opacity: 0.7; cursor: wait; transform: none; }

/* ===== Contact ===== */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .card__icon { margin: 0; width: 46px; height: 46px; flex-shrink: 0; }
.contact-list strong { display: block; color: var(--green-dark); }
.contact-list span, .contact-list a { color: var(--muted); word-break: break-word; }
.contact-list a:hover { color: var(--amber-dark); }
.map {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Footer ===== */
.footer { background: var(--green-dark); color: #b9ccc2; padding: 56px 0 0; font-size: 0.95rem; }
.footer h4 { color: var(--white); font-size: 1rem; margin: 0 0 14px; }
.footer a { color: #b9ccc2; }
.footer a:hover { color: #f3c577; }
.footer__grid { display: grid; gap: 32px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer .logo { color: var(--white); margin-bottom: 14px; }
.footer .logo__tag { color: #9fb5aa; }
.footer__bottom {
  margin-top: 40px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  text-align: center;
}

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); color: var(--white); }
.wa-float svg { width: 30px; height: 30px; }

/* ===== Tablet (≥600px) ===== */
@media (min-width: 600px) {
  .container { padding: 0 24px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-actions .btn { width: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .map { height: 380px; }
}

/* ===== Desktop (≥960px) ===== */
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav {
    position: static;
    max-height: none;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav ul { display: flex; align-items: center; gap: 4px; padding: 0; }
  .nav a { border: 0; padding: 8px 12px; border-radius: 8px; font-size: 0.95rem; }
  .nav a:hover { background: var(--green-light); color: var(--green); }
  .nav a.active { color: var(--amber-dark); }
  .nav .nav__cta { margin: 0 0 0 8px; padding: 10px 20px; }
  .nav .nav__cta:hover { background: var(--amber-dark); color: var(--white); }

  .split { grid-template-columns: 1.1fr 0.9fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }

  /* horizontal process with arrows */
  .steps { grid-template-columns: repeat(6, 1fr); gap: 22px; }
  .step { flex-direction: column; align-items: center; text-align: center; padding: 22px 14px; }
  .step:not(:last-child)::after {
    display: block;
    content: "";
    left: auto;
    right: -17px;
    top: 50%;
    bottom: auto;
    width: 12px;
    height: 12px;
    background: none;
    border-top: 3px solid var(--amber);
    border-right: 3px solid var(--amber);
    transform: translateY(-50%) rotate(45deg);
  }
}

img.logo__mark { background: none; border-radius: 10px; }

/* ===== Enhancements: fonts, illustrations ===== */
body { font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1, h2, .logo__name { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-weight: 700; }
h3 { font-family: "Manrope", sans-serif; font-weight: 700; }
.btn, .eyebrow { font-family: "Manrope", sans-serif; }
.eyebrow { font-weight: 800; }

.hero__grid { display: grid; gap: 24px; align-items: center; }
.hero__art { width: 100%; max-width: 380px; height: auto; margin: 8px auto 0; filter: drop-shadow(0 20px 30px rgba(0,0,0,.25)); }
.hero { padding-bottom: clamp(80px, 12vw, 130px); }

.card__icon--img { background: var(--cream); width: 72px; height: 72px; border-radius: 18px; }
.card__icon--img img { width: 50px; height: 50px; }

.product-card__art {
  position: relative;
  display: grid;
  place-items: center;
  height: 150px;
  margin: calc(-1 * clamp(22px, 3vw, 30px)) calc(-1 * clamp(22px, 3vw, 30px)) 18px;
  background: radial-gradient(circle at 50% 60%, #fff 0, var(--cream) 65%);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
}
.product-card__art img { width: 100px; height: 100px; transition: transform .3s; }
.product-card:hover .product-card__art img { transform: scale(1.08) rotate(-3deg); }
.product-card__art .product-card__badge { position: absolute; top: 14px; left: 14px; margin: 0; font-size: .85rem; }

.journey__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 16px; }
.journey__item { position: relative; text-align: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 14px; box-shadow: var(--shadow); }
.journey__item img { width: 72px; height: 72px; margin: 0 auto 12px; }
.journey__item h3 { margin-bottom: .2em; }
.journey__item p { margin: 0; font-size: .9rem; color: var(--muted); }

.panel-art { width: 64px; height: 64px; margin-bottom: 14px; background: rgba(255,255,255,.95); border-radius: 16px; padding: 6px; }
.art-row { display: flex; gap: 12px; margin-bottom: 18px; }
.art-row img { width: 64px; height: 64px; background: var(--white); border-radius: 16px; padding: 6px; box-shadow: var(--shadow); }

/* decorative sugarcane on page heroes */
.page-hero { position: relative; overflow: hidden; }
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; bottom: -10px; width: 160px; height: 200px;
  background: url("img/icons/cane.svg") center bottom / contain no-repeat; opacity: .18; pointer-events: none;
}
.page-hero::before { left: -20px; transform: rotate(-8deg); }
.page-hero::after { right: -20px; transform: scaleX(-1) rotate(-8deg); }
.page-hero .container { position: relative; z-index: 1; }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 40px; }
  .hero__art { max-width: 500px; margin: 0; justify-self: end; }
  .page-hero::before, .page-hero::after { width: 240px; height: 300px; opacity: .22; }
  .journey__item:not(:last-child)::after {
    content: ""; position: absolute; right: -12px; top: 50%; width: 10px; height: 10px;
    border-top: 3px solid var(--amber); border-right: 3px solid var(--amber); transform: translateY(-50%) rotate(45deg);
  }
}
.step__icon { width: 48px; height: 48px; margin-bottom: 8px; }
@media (min-width: 960px) { .step__icon { margin: 4px auto 10px; } }
