/* Chennupati's Trade - shared stylesheet */
:root {
  --ink: #1f2933;
  --muted: #5f6c7b;
  --bg: #faf8f5;
  --card: #ffffff;
  --brand: #14532d;
  --brand-dark: #0d3a1f;
  --accent: #d97706;
  --line: #e6e1d8;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(20, 30, 20, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(var(--max), 92%); margin-inline: auto; }

/* Top bar */
.topbar { background: var(--brand-dark); color: #e8f3ec; font-size: 0.85rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding: 8px 0; }
.topbar a { color: #fff; }

/* Header / nav */
header.site { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.logo { font-weight: 800; font-size: 1.35rem; color: var(--brand); letter-spacing: -0.02em; }
.logo span { color: var(--accent); }
.logo:hover { text-decoration: none; }
.nav ul { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; }
.nav ul a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav ul a:hover { background: #f1ede6; text-decoration: none; }
.nav ul a.active { background: var(--brand); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 1rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 600; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #b45f04; }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Hero */
.hero { background: linear-gradient(135deg, #14532d 0%, #1f7a45 60%, #3a9d5d 100%); color: #fff; padding: 90px 0 100px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.07); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.15; max-width: 680px; letter-spacing: -0.02em; }
.hero p { max-width: 560px; margin: 18px 0 30px; font-size: 1.1rem; color: #e3f2e9; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero { background: linear-gradient(135deg, #14532d, #1f7a45); color: #fff; padding: 56px 0; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.02em; }
.page-hero p { color: #d8eee1; margin-top: 8px; }

/* Sections */
section.block { padding: 70px 0; }
section.alt { background: #f3efe7; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.02em; color: var(--brand-dark); }
.section-head p { color: var(--muted); margin-top: 10px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { color: var(--brand-dark); margin-bottom: 8px; font-size: 1.15rem; }
.card p { color: var(--muted); }
.icon { width: 48px; height: 48px; border-radius: 12px; background: #e6f2ea; color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; }

/* Category tiles (no images needed) */
.tile { border-radius: var(--radius); padding: 30px 24px; min-height: 170px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .2s; }
.tile:hover { transform: translateY(-4px); }
.tile h3 { font-size: 1.25rem; }
.tile p { font-size: 0.9rem; opacity: .9; }
.t1 { background: linear-gradient(160deg, #1f7a45, #14532d); }
.t2 { background: linear-gradient(160deg, #e69a2e, #b45f04); }
.t3 { background: linear-gradient(160deg, #3b6ea5, #264a73); }
.t4 { background: linear-gradient(160deg, #a64b6b, #6f2a45); }

/* Info strip */
.strip { background: var(--card); border-block: 1px solid var(--line); }
.strip .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; padding: 26px 0; }
.strip div { text-align: center; }
.strip strong { display: block; color: var(--brand-dark); }
.strip span { color: var(--muted); font-size: 0.9rem; }

/* CTA */
.cta { background: var(--brand-dark); color: #fff; text-align: center; padding: 64px 0; }
.cta h2 { font-size: 1.9rem; margin-bottom: 10px; }
.cta p { color: #cfe6d8; margin-bottom: 24px; }

/* Content (legal / about) */
.content { padding: 56px 0 80px; }
.prose { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 5vw, 52px); max-width: 860px; margin-inline: auto; box-shadow: var(--shadow); }
.prose h2 { color: var(--brand-dark); margin: 34px 0 10px; font-size: 1.35rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 20px 0 6px; font-size: 1.05rem; }
.prose p, .prose li { color: #374151; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 6px; }
.meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.notice { background: #fff7e8; border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 8px; margin: 18px 0; color: #5b3a07; }

/* Contact */
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-list .icon { margin: 0; flex-shrink: 0; }
.contact-list strong { display: block; color: var(--brand-dark); }
form label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: 0.95rem; }
form input, form textarea, form select { width: 100%; padding: 12px 14px; border: 1px solid #cfc8bb; border-radius: 10px; font: inherit; background: #fff; }
form input:focus, form textarea:focus, form select:focus { outline: 2px solid var(--brand); border-color: transparent; }
form textarea { min-height: 150px; resize: vertical; }
form .btn { margin-top: 20px; }
.map-box { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-box iframe { width: 100%; height: 280px; border: 0; }

/* Footer */
footer.site { background: #10261a; color: #cbd9d0; padding: 56px 0 0; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 34px; }
footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
footer a { color: #cbd9d0; }
footer a:hover { color: #fff; }
footer address { font-style: normal; line-height: 1.7; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding: 18px 0; font-size: 0.85rem; text-align: center; color: #94a89b; }

/* Responsive */
@media (max-width: 780px) {
  .menu-toggle { display: block; }
  .nav { flex-wrap: wrap; }
  .nav ul { display: none; width: 100%; flex-direction: column; padding-top: 8px; }
  .nav ul.open { display: flex; }
  .hero { padding: 64px 0 72px; }
  section.block { padding: 50px 0; }
}
