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

:root {
  --green:   #2a4a1e;
  --green2:  #3d6b2c;
  --stone:   #7a6a52;
  --brown:   #4a2f12;
  --cream:   #f4efe6;
  --offwhite:#faf8f4;
  --text:    #1c1c1c;
  --muted:   #5a5a5a;
  --border:  #d5cdc0;
  --accent:  #c8a96e;
  --red:     #c41c1c;
  --amber:   #b8860b;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Georgia, sans-serif;
  color: var(--text);
  background: var(--offwhite);
  line-height: 1.6;
}

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--green);
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
  overflow: hidden;
  border-bottom: 3px solid var(--red);
}

nav.nav-open { overflow: visible; }

.nav-inner {
  max-width: 1100px;
  margin: auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }

.nav-logo img {
  height: 162px;
  width: auto;
  mix-blend-mode: screen;
  margin-top: -32px;
  margin-bottom: -64px;
}

nav ul { list-style: none; display: flex; gap: 1.4rem; }

nav ul a {
  color: #e8e2d6;
  text-decoration: none;
  font-size: .9rem;
  letter-spacing: .03em;
  transition: color .2s;
}

nav ul a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #e8e2d6;
  font-size: 1.7rem;
  cursor: pointer;
  line-height: 1;
}

/* ── HERO ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(30,50,15,.78) 0%, rgba(74,47,18,.7) 100%),
    url('https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Machu_Picchu%2C_Per%C3%BA%2C_2015-07-30%2C_DD_50.JPG/1920px-Machu_Picchu%2C_Per%C3%BA%2C_2015-07-30%2C_DD_50.JPG') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 13rem 1.5rem 4rem;
}

.hero-inner { max-width: 760px; margin: auto; text-align: center; color: #fff; }

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--brown);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.hero h1 em { font-style: normal; color: var(--accent); }

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #d8d0c4;
  max-width: 560px;
  margin: 0 auto 2.2rem;
}

.btn {
  display: inline-block;
  padding: .85rem 2.2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
  border: none;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }

.btn-primary { background: var(--accent); color: var(--brown); }
.btn-outline  { background: transparent; color: #fff; border: 2px solid #fff; margin-left: 1rem; }
.btn-outline:hover { background: rgba(255,255,255,.1); }

/* ── SECTION SHELL ───────────────────────────────── */
section { padding: 5rem 1.5rem; }

.container { max-width: 1100px; margin: auto; }

.section-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .5rem;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h3 { font-size: 1.3rem; font-weight: 800; color: var(--brown); margin: 2rem 0 .8rem; }

.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 560px; }

hr.divider { width: 60px; border: none; border-top: 3px solid var(--red); margin: 1.2rem 0 2.5rem; }

/* ── ABOUT ───────────────────────────────────────── */
#about { background: var(--cream); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.about-stat-row { display: flex; gap: 2rem; margin-top: 2rem; }

.stat {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  flex: 1;
}

.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--red); display: block; }
.stat-label { font-size: .85rem; color: var(--muted); }

.about-img-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  aspect-ratio: 4/3;
  background:
    linear-gradient(160deg, rgba(30,50,15,.55) 0%, rgba(74,47,18,.6) 100%),
    url('about-backdrop.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.block-photo {
  max-width: 78%;
  max-height: 82%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.45));
}

/* ── PRODUCT ─────────────────────────────────────── */
#product { background: var(--offwhite); }

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

.block-diagram {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.block-diagram img { width: 100%; max-width: 420px; height: auto; }

.block-diagram figcaption { margin-top: 1rem; font-size: .88rem; color: var(--muted); }

.feature-list { list-style: none; margin-top: 1.5rem; }

.feature-list li {
  display: flex;
  gap: .9rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.feature-list li:last-child { border-bottom: none; }

.feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.feat-text strong { display: block; font-size: 1rem; color: var(--brown); margin-bottom: .2rem; }
.feat-text span   { font-size: .9rem; color: var(--muted); }

/* ── WHY US ──────────────────────────────────────── */
#why-us { background: var(--cream); }

.chip-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }

.chip { padding: .6rem 1.1rem; border-radius: 6px; font-size: .88rem; font-weight: 700; color: #fff; }

.chip-red   { background: var(--red); }
.chip-green { background: var(--green); }

.table-wrap { overflow-x: auto; margin-top: 1rem; }

.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }

.compare-table th, .compare-table td {
  border: 1px solid var(--border);
  padding: .8rem 1rem;
  font-size: .92rem;
  text-align: center;
}

.compare-table th { background: var(--stone); color: #fff; font-size: .85rem; }

.compare-table td:first-child, .compare-table th:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--brown);
}

.mark-yes  { color: var(--green2); font-weight: 800; }
.mark-no   { color: var(--red); font-weight: 800; }
.mark-warn { color: var(--amber); font-weight: 700; font-size: .82rem; }

/* ── HOW IT WORKS ────────────────────────────────── */
#how { background: var(--green); color: #fff; }

#how h2  { color: var(--accent); }
#how .section-label { color: #9dbf7e; }
#how .section-sub   { color: #c8bfaf; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; margin-top: 3rem; }

.step {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 1.4rem 1rem;
  text-align: center;
}

.step-num {
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--brown);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 48px;
  margin-bottom: 1rem;
}

.step h3 { font-size: 1.05rem; margin: 0 0 .5rem; color: #fff; }
.step p  { font-size: .9rem; color: #b0a898; }

/* ── APPLICATIONS ────────────────────────────────── */
#applications { background: var(--cream); }

.app-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }

.app-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.6rem;
  transition: box-shadow .2s, transform .2s;
}

.app-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-3px); }

.app-card-icon { font-size: 2rem; margin-bottom: .8rem; }
.app-card h3   { font-size: 1.05rem; color: var(--brown); margin: 0 0 .4rem; }
.app-card p    { font-size: .88rem; color: var(--muted); }

/* ── OUR STORY ───────────────────────────────────── */
#story { background: var(--stone); color: #fff; }
#story h2 { color: #fff; }
#story .section-label { color: #e8dfd0; }
#story .section-sub { color: #e8dfd0; max-width: 700px; }

.pullquote {
  position: relative;
  margin-top: 2.5rem;
  background: rgba(0,0,0,.18);
  border-left: 4px solid var(--red);
  border-radius: 6px;
  padding: 2rem 2.2rem 2rem 2.6rem;
  max-width: 700px;
}

.pullquote::before {
  content: "\201C";
  position: absolute;
  top: -.6rem;
  left: 1.7rem;
  font-size: 4.5rem;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: .5;
  line-height: 1;
}

.pullquote p {
  position: relative;
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 1rem;
  color: #fff;
}
.pullquote cite { font-size: .9rem; font-style: normal; color: var(--accent); }

/* ── CONTACT ─────────────────────────────────────── */
#contact { background: var(--offwhite); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }

.contact-info h3 { font-size: 1.15rem; color: var(--brown); margin-bottom: 1.2rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
  font-size: .95rem;
  color: var(--muted);
}

.contact-detail .icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-detail a { color: var(--green2); text-decoration: none; }
.contact-detail a:hover { text-decoration: underline; }

form { display: flex; flex-direction: column; gap: 1rem; }

form label { font-size: .9rem; font-weight: 600; color: var(--brown); display: block; margin-bottom: .3rem; }

form input, form textarea, form select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .2s;
}

form input:focus, form textarea:focus { outline: none; border-color: var(--green2); }

form textarea { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── FOOTER ─────────────────────────────────────── */
footer { background: var(--brown); color: #c8bfaf; text-align: center; padding: 2.5rem 1.5rem; font-size: .88rem; }

footer strong { color: var(--accent); }
footer a { color: #c8bfaf; text-decoration: none; }
footer a:hover { color: var(--accent); }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 768px) {
  .about-grid, .product-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .about-img-wrap { aspect-ratio: 3/2; }

  .about-stat-row { gap: 1rem; }

  .form-row { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }

  nav ul {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--green);
    border-top: 1px solid rgba(255,255,255,.15);
  }

  nav.nav-open ul { display: flex; }

  nav ul li { width: 100%; }

  nav ul a { display: block; padding: .9rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }

  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}
