/* ==========================================================================
   Avadhoot Exim — corporate site stylesheet
   Palette is drawn from the product itself: cumin seed browns, warm amber,
   and a deep agricultural green for trust signals.
   ========================================================================== */

:root {
  /* Brand */
  --ink:          #1B1815;
  --ink-soft:     #4A423A;
  --ink-muted:    #7A6E62;
  --cream:        #FAF7F1;
  --cream-deep:   #F2EBDF;
  --line:         #E2D8C8;

  --cumin:        #A9682B;   /* primary — roasted cumin brown */
  --cumin-dark:   #8A5322;
  --amber:        #D99A44;
  --amber-light:  #F0C88A;
  --forest:       #1F4D3D;   /* trust / agriculture */
  --forest-light: #2E6B55;

  --white:        #FFFFFF;

  /* Type */
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Space */
  --wrap:  1180px;
  --gap:   clamp(1rem, 2.5vw, 2rem);
  --sect:  clamp(3.5rem, 8vw, 6.5rem);

  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 1px 2px rgba(27,24,21,.05), 0 8px 28px rgba(27,24,21,.07);
  --shadow-lg: 0 2px 6px rgba(27,24,21,.06), 0 24px 60px rgba(27,24,21,.12);
}

/* --- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--cumin-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1.1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--sect); }
.section--tint { background: var(--cream-deep); }
.section--dark { background: var(--ink); color: #CFC6BA; }
.section--dark h2, .section--dark h3 { color: var(--white); }

/* --- Shared bits -------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cumin);
  margin-bottom: .9rem;
}
.section--dark .eyebrow { color: var(--amber-light); }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 62ch; }
.section-head { max-width: 68ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.text-center { text-align: center; }
.center-head { margin-inline: auto; text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--cumin); color: var(--white); box-shadow: 0 6px 18px rgba(169,104,43,.28); }
.btn--primary:hover { background: var(--cumin-dark); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--cumin); color: var(--cumin-dark); }
.btn--light { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,241,.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.brand__tag  { font-size: .62rem; letter-spacing: .19em; text-transform: uppercase; color: var(--ink-muted); }

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  color: var(--ink-soft); text-decoration: none; font-size: .94rem; font-weight: 500;
  padding: .3rem 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--cumin-dark); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--cumin); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .5rem .6rem; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; transition: .2s; }

/* --- Hero --------------------------------------------------------------- */
/* The ship scene is layered UNDER a darkening scrim so headline text stays legible.
   Drop a real photo at assets/img/hero-ship.jpg and it takes over automatically:
   an unresolvable background layer is simply skipped, revealing the SVG beneath. */
.hero {
  position: relative;
  overflow: hidden;
  color: #E8DFD2;
  background-color: #2A2018;
  background-image:
    linear-gradient(100deg, rgba(20,17,14,.92) 0%, rgba(20,17,14,.72) 42%, rgba(20,17,14,.28) 100%),
    url("../img/hero-ship.jpg"),
    url("../img/hero-ship.svg");
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
.hero__pattern { position: absolute; inset: 0; opacity: .17; pointer-events: none; }
.hero__inner { position: relative; padding-block: clamp(4.5rem, 12vw, 9rem); max-width: 44rem; }
.hero h1 { color: var(--white); margin-bottom: .5em; }
.hero .lede { color: #DACEBE; font-size: clamp(1.08rem, 1.8vw, 1.28rem); }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(240,200,138,.14); border: 1px solid rgba(240,200,138,.34);
  color: var(--amber-light); padding: .42rem 1rem; border-radius: 100px;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber-light); }

/* Page hero (interior pages) */
.page-hero {
  color: #CFC6BA; padding-block: clamp(3.5rem, 8vw, 5.5rem); position: relative; overflow: hidden;
  background-color: var(--ink);
  background-image:
    linear-gradient(95deg, rgba(20,17,14,.95) 0%, rgba(20,17,14,.86) 50%, rgba(20,17,14,.55) 100%),
    url("../img/hero-ship.jpg"),
    url("../img/hero-ship.svg");
  background-size: cover; background-position: center 62%; background-repeat: no-repeat;
}
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: #BDB2A4; }
.breadcrumb { font-size: .82rem; color: var(--ink-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--amber-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* --- Trust strip -------------------------------------------------------- */
.trust { background: var(--ink); color: #B8ADA0; padding-block: 1.1rem; }
.trust__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.4rem; margin: 0; padding: 0; list-style: none; font-size: .84rem; letter-spacing: .04em; }
.trust__list li { display: flex; align-items: center; gap: .5rem; }
.trust__list svg { flex: none; color: var(--amber); }

/* --- Grids -------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.8rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 2rem); box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cream-deep); color: var(--cumin); margin-bottom: 1.1rem;
}
.section--dark .card { background: #262220; border-color: #3A3430; color: #BDB2A4; }
.section--dark .card__icon { background: #332D29; color: var(--amber-light); }

/* Numbered process steps */
.step { position: relative; padding-left: 3.4rem; }
.step__num {
  position: absolute; left: 0; top: 0;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cumin); color: var(--white);
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
}
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { font-size: .95rem; margin-bottom: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; }
.stat__value { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--ink); line-height: 1; margin-bottom: .35rem; }
.section--dark .stat__value { color: var(--amber-light); }
.stat__label { font-size: .86rem; color: var(--ink-muted); letter-spacing: .03em; }
.section--dark .stat__label { color: #9A8F82; }

/* --- Product ------------------------------------------------------------ */
.product-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.product-visual {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, #C89A5B, #A9682B 60%, #7A4A1E);
  box-shadow: var(--shadow-lg); position: relative;
}
.product-visual svg { width: 100%; height: 100%; }
.product-visual__label {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(27,24,21,.72); color: var(--white);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .4rem .8rem; border-radius: 100px; backdrop-filter: blur(4px);
}

.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.chip {
  font-size: .78rem; font-weight: 600; letter-spacing: .03em;
  background: var(--cream-deep); color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 100px; padding: .34rem .85rem;
}
.chip--live { background: rgba(31,77,61,.1); border-color: rgba(31,77,61,.28); color: var(--forest); }
.chip--soon { background: transparent; color: var(--ink-muted); border-style: dashed; }

/* Catalogue tiles */
.spice-tile {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  background: var(--white); display: flex; flex-direction: column; gap: .5rem;
}
.spice-tile--soon { background: transparent; border-style: dashed; box-shadow: none; }
.spice-tile__top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.spice-tile h3 { margin: 0; font-size: 1.15rem; }
.spice-tile__latin { font-style: italic; font-size: .86rem; color: var(--ink-muted); }
.spice-tile p { font-size: .93rem; margin: 0; }
.spice-tile__link { margin-top: auto; padding-top: .9rem; font-size: .9rem; font-weight: 600; text-decoration: none; }
.spice-tile__link::after { content: " →"; }

/* --- Tables ------------------------------------------------------------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 540px; font-size: .93rem; }
caption { text-align: left; padding: 1rem 1.2rem .4rem; font-size: .8rem; color: var(--ink-muted); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
th, td { padding: .8rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--cream-deep); color: var(--ink); font-weight: 600; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #FCFAF6; }
td strong { color: var(--ink); }

/* --- Spec list ---------------------------------------------------------- */
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.spec-list li { display: flex; justify-content: space-between; gap: 1.5rem; padding: .72rem 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.spec-list li:last-child { border-bottom: none; }
.spec-list dt, .spec-list .k { color: var(--ink-muted); }
.spec-list .v { color: var(--ink); font-weight: 600; text-align: right; }

.check-list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .96rem; }
.check-list svg { flex: none; margin-top: .28rem; color: var(--forest); }
.section--dark .check-list svg { color: var(--amber); }

/* --- Callout ------------------------------------------------------------ */
.callout {
  border-left: 3px solid var(--cumin); background: var(--cream-deep);
  padding: 1.2rem 1.4rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .95rem;
}
.callout strong { color: var(--ink); }

/* --- CTA band ----------------------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--forest), #163A2E); color: #D3E2DA; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band .lede { color: #B9CEC4; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.8rem; }

/* --- Forms -------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.field .hint { font-size: .78rem; color: var(--ink-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  padding: .72rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); width: 100%; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cumin); box-shadow: 0 0 0 3px rgba(169,104,43,.14);
}
.form-note { font-size: .84rem; color: var(--ink-muted); margin-top: 1rem; }

/* --- Contact ------------------------------------------------------------ */
.contact-line { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.4rem; }
.contact-line svg { flex: none; margin-top: .25rem; color: var(--cumin); }
.contact-line__label { font-size: .76rem; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: .1rem; }
.contact-line__value { color: var(--ink); font-weight: 500; }
.contact-line__value a { color: var(--ink); text-decoration: none; }
.contact-line__value a:hover { color: var(--cumin-dark); text-decoration: underline; }

/* --- FAQ ---------------------------------------------------------------- */
details.faq {
  border-bottom: 1px solid var(--line); padding: 1.1rem 0;
}
details.faq summary {
  cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--cumin); font-weight: 400; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: .9rem 0 0; font-size: .96rem; }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #9A8F82; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer a { color: #9A8F82; text-decoration: none; }
.site-footer a:hover { color: var(--amber-light); }
.site-footer .brand__name { color: var(--white); }
.site-footer .brand__tag { color: #7A6E62; }
.footer-bottom {
  border-top: 1px solid #332D29; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; font-size: .84rem; color: #6E6459;
}

/* --- Utilities ---------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-muted); }
.small { font-size: .88rem; }
.placeholder { color: var(--ink-muted); font-style: italic; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .product-feature { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .btn { margin-top: .9rem; justify-content: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust__list { gap: .5rem 1.4rem; font-size: .78rem; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .cta-band, .nav-toggle { display: none; }
  body { background: #fff; }
}
