/* =========================================================================
   TEKA PRODUCTS LIMITED — site stylesheet
   Palette: deep forest green + warm cream + muted gold, in the register of
   an agro-industrial export brand (annual-report confidence, not a
   consumer food label).
   Type: Fraunces (display serif) for headlines + editorial kickers,
         Work Sans (grotesque sans) for everything functional.
   ========================================================================= */

:root{
  /* --- core palette --- */
  --forest-deep:#132A1F;      /* near-black green: headers on dark, footer, CTA bands */
  --forest:#1E4432;           /* mid forest green: hero overlay, dark section fields */
  --forest-line:#2C5C44;      /* lighter green for hairlines/hovers on dark surfaces */
  --gold:#B9863F;             /* primary gold accent — buttons, numerals, rules */
  --gold-deep:#93692E;        /* deeper gold for text-on-cream (better contrast) */
  --gold-soft:#E4C583;        /* pale gold for text/accents on dark surfaces */
  --cream:#F8F3E6;            /* page background / text-on-dark */
  --cream-2:#EFE6D3;          /* alternate section background */
  --ink:#1C1E1A;              /* primary text */
  --ink-soft:#585C51;         /* secondary / muted text */
  --rule:#E1D9C4;             /* hairline borders on light surfaces */
  --white:#FFFFFF;

  /* --- elevation / shape --- */
  --shadow:0 24px 48px -26px rgba(19,42,31,0.38);
  --shadow-sm:0 10px 24px -16px rgba(19,42,31,0.28);
  --radius-sm:8px;
  --radius:14px;
  --radius-lg:22px;

  /* --- layout --- */
  --container:1180px;
  --edge:24px;
  --header-h:84px;
}

@media (min-width:640px){ :root{ --edge:32px; } }
@media (min-width:1080px){ :root{ --edge:40px; } }

/* ---------------------------------------------------------------------- */
/* Reset / base                                                            */
/* ---------------------------------------------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
html{
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-h) + 16px);
}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }
table{ border-collapse:collapse; width:100%; }
video{ max-width:100%; }
::selection{ background:var(--gold-soft); color:var(--forest-deep); }

h1,h2,h3{
  font-family:'Fraunces', Georgia, serif;
  color:var(--forest-deep);
  font-weight:500;
  line-height:1.14;
  margin:0;
  letter-spacing:-0.01em;
}
h2{ font-size:clamp(1.7rem, 1.15rem + 2.2vw, 2.4rem); }
h3{ font-size:1.18rem; font-weight:600; color:var(--forest-deep); }
p{ margin:0; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
}

:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; border-radius:4px; }

/* ---------------------------------------------------------------------- */
/* Layout utilities                                                        */
/* ---------------------------------------------------------------------- */
.wrap{
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:var(--edge);
}
main > section{ padding-block:clamp(52px, 5vw + 20px, 96px); }
main > section + section{ padding-top:0; }
.bg-cream-2{ background:var(--cream-2); padding-block:clamp(52px, 5vw + 20px, 96px); }
.bg-forest{
  background:linear-gradient(175deg, var(--forest) 0%, var(--forest-deep) 100%);
  color:var(--cream);
  position:relative;
  overflow:hidden;
}
.bg-forest h2, .bg-forest h3{ color:var(--cream); }

.grid{ display:grid; gap:26px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:900px){
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:600px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; }
}

.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}
@media (max-width:860px){
  .two-col{ grid-template-columns:1fr; gap:34px; }
  .two-col > .figure{ order:-1; }
}

.divider{ height:1px; background:var(--rule); border:0; margin:0; }

/* ---------------------------------------------------------------------- */
/* Eyebrows, section heads, crumbs                                         */
/* ---------------------------------------------------------------------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:'Fraunces', Georgia, serif;
  font-style:italic;
  font-weight:500;
  font-size:1.02rem;
  color:var(--gold-deep);
  margin-bottom:10px;
}
.eyebrow::before{
  content:"";
  width:20px; height:1px;
  background:currentColor;
  opacity:0.75;
  flex:none;
}
.page-hero .eyebrow, .bg-forest .eyebrow, .home-hero .eyebrow{ color:var(--gold-soft); }

.section-head{ max-width:640px; margin-bottom:40px; }
.section-head h2{ margin-bottom:4px; }
.section-head p{ color:var(--ink-soft); margin-top:12px; font-size:1.02rem; }
.section-head.center{ max-width:600px; margin-inline:auto; text-align:center; }

.crumb{
  font-size:0.86rem;
  color:rgba(246,241,227,0.62);
  margin-bottom:22px;
}
.crumb a{ color:rgba(246,241,227,0.9); }
.crumb a:hover{ color:var(--gold-soft); }

.tag-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:0.82rem;
  font-weight:500;
  padding:7px 14px 7px 12px;
  border-radius:999px;
  border:1px solid var(--rule);
  color:var(--forest-deep);
  margin-bottom:18px;
}
.tag-pill .dot{
  width:7px; height:7px; border-radius:50%;
  background:var(--gold);
  flex:none;
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:'Work Sans', sans-serif;
  font-size:0.94rem;
  font-weight:600;
  padding:13px 24px;
  border-radius:999px;
  border:1px solid transparent;
  cursor:pointer;
  transition:background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }

.btn-gold{
  background:var(--gold);
  color:var(--forest-deep);
  border-color:var(--gold);
}
.btn-gold:hover{ background:#CB9B52; border-color:#CB9B52; }

.btn-primary{
  background:var(--forest-deep);
  color:var(--cream);
  border-color:var(--forest-deep);
}
.btn-primary:hover{ background:var(--forest); border-color:var(--forest); }

.btn-outline{
  background:transparent;
  color:var(--forest-deep);
  border-color:var(--rule);
}
.btn-outline:hover{ border-color:var(--forest-deep); background:rgba(19,42,31,0.05); }

.btn-outline-light{
  background:transparent;
  color:var(--cream);
  border-color:rgba(246,241,227,0.4);
}
.btn-outline-light:hover{ border-color:var(--cream); background:rgba(246,241,227,0.1); }

/* ---------------------------------------------------------------------- */
/* Header / navigation                                                     */
/* ---------------------------------------------------------------------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(248,243,230,0.98);
  backdrop-filter:blur(10px);
  border-bottom:1px solid transparent;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled{
  border-bottom-color:var(--rule);
  box-shadow:0 12px 30px -24px rgba(19,42,31,0.4);
}
.nav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:var(--header-h);
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.brand img{ height:40px; width:auto; }
.brand-name{
  font-family:'Fraunces', Georgia, serif;
  font-weight:600;
  font-size:0.98rem;
  letter-spacing:0.02em;
  color:var(--forest-deep);
  line-height:1.25;
  display:flex;
  flex-direction:column;
  min-width:0;
}
.brand-name small{
  font-family:'Work Sans', sans-serif;
  font-weight:400;
  font-style:italic;
  font-size:0.72rem;
  letter-spacing:0;
  color:var(--ink-soft);
}

.nav-links{
  display:flex;
  align-items:center;
  gap:30px;
  font-size:0.94rem;
  font-weight:500;
}
.nav-links a{
  position:relative;
  padding:8px 0;
  color:var(--ink);
}
.nav-links a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:2px;
  height:2px;
  background:var(--gold);
  transition:right .2s ease;
}
.nav-links a:hover{ color:var(--forest-deep); }
.nav-links a:hover::after, .nav-links a.active::after{ right:0; }
.nav-links a.active{ color:var(--forest-deep); font-weight:600; }

.nav-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex:none;
  min-width:0;
}
.nav-actions .btn{ padding:11px 20px; font-size:0.88rem; }

.nav-toggle{
  display:none;
  background:none; border:0; padding:8px; margin:-8px;
  cursor:pointer;
}
.nav-toggle-lines{
  display:block; width:22px; height:16px; position:relative;
}
.nav-toggle-lines span{
  position:absolute; left:0; right:0; height:2px;
  background:var(--forest-deep);
  border-radius:2px;
  transition:transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle-lines span:nth-child(1){ top:0; }
.nav-toggle-lines span:nth-child(2){ top:7px; }
.nav-toggle-lines span:nth-child(3){ top:14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(1){ top:7px; transform:rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(3){ top:7px; transform:rotate(-45deg); }

@media (max-width:960px){
  .nav-links{
    position:absolute;
    top:100%; left:0; right:0;
    background:var(--cream);
    border-bottom:1px solid var(--rule);
    box-shadow:var(--shadow-sm);
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:8px var(--edge) 18px;
    transform-origin:top;
    transform:scaleY(0);
    opacity:0;
    pointer-events:none;
    transition:transform .2s ease, opacity .2s ease;
  }
  .nav-links.is-open{ transform:scaleY(1); opacity:1; pointer-events:auto; }
  .nav-links a{ padding:13px 2px; border-bottom:1px solid var(--rule); }
  .nav-links a:last-child{ border-bottom:0; }
  .nav-links a::after{ display:none; }
  .nav-actions .btn-outline{ display:none; }
  .nav-toggle{ display:block; }
}
@media (max-width:520px){
  .brand-name small{ display:none; }
  .brand img{ height:32px; }
  .brand-name{ font-size:0.84rem; }
  .nav-row{ gap:10px; }
  .nav-actions{ gap:8px; }
  .nav-actions .btn-gold{ padding:9px 14px; font-size:0.82rem; }
}
@media (max-width:360px){
  .brand-name{ font-size:0.72rem; }
}

/* ---------------------------------------------------------------------- */
/* Inner-page hero (about / what-we-do / quote / contact)                  */
/* ---------------------------------------------------------------------- */
.page-hero{
  position:relative;
  background:linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 78%);
  color:var(--cream);
  padding-block:56px 60px;
  overflow:hidden;
}
.page-hero::before{
  content:"";
  position:absolute;
  right:-6%; top:50%; transform:translateY(-50%);
  width:min(560px, 46vw); aspect-ratio:1;
  background:url('motif-avocado.svg') center/contain no-repeat;
  opacity:0.16;
  pointer-events:none;
}
.page-hero .wrap{ position:relative; z-index:1; }
.page-hero h1{
  color:var(--cream);
  font-size:clamp(2rem, 1.4rem + 2.6vw, 2.9rem);
  max-width:23ch;
  margin-bottom:16px;
}
.page-hero p{
  color:rgba(246,241,227,0.82);
  max-width:56ch;
  font-size:1.05rem;
}

/* ---------------------------------------------------------------------- */
/* Stats strip                                                             */
/* ---------------------------------------------------------------------- */
.stats{
  background:var(--forest-deep);
  color:var(--cream);
  padding-block:44px;
}
.stat{ display:flex; flex-direction:column; gap:6px; }
.stat .num{
  font-family:'Fraunces', Georgia, serif;
  font-size:clamp(1.7rem, 1.2rem + 1.8vw, 2.3rem);
  font-weight:500;
  color:var(--gold-soft);
}
.stat .label{
  font-size:0.88rem;
  color:rgba(246,241,227,0.72);
  max-width:24ch;
  line-height:1.4;
}
@media (max-width:900px){
  .stats .grid-4{ grid-template-columns:repeat(2,1fr); row-gap:28px; }
}
@media (max-width:520px){
  .stats .grid-4{ grid-template-columns:1fr; }
}

/* ---------------------------------------------------------------------- */
/* Figures / gallery                                                       */
/* ---------------------------------------------------------------------- */
.figure{
  aspect-ratio:4/3;
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:var(--cream-2);
  position:relative;
}
.figure img{ width:100%; height:100%; object-fit:cover; }

.gallery{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.gallery .figure{ aspect-ratio:3/4; border-radius:var(--radius); }
@media (max-width:900px){ .gallery{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .gallery{ grid-template-columns:1fr 1fr; gap:12px; } }

/* ---------------------------------------------------------------------- */
/* Cards — value / process cards                                          */
/* ---------------------------------------------------------------------- */
.card{
  background:var(--white);
  border:1px solid var(--rule);
  border-radius:var(--radius);
  padding:28px 26px;
}
.card-icon{
  width:44px; height:44px;
  border-radius:50%;
  background:var(--cream-2);
  color:var(--gold-deep);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.card-icon svg{ width:22px; height:22px; }
.card h3{ margin-bottom:8px; }
.card p{ color:var(--ink-soft); font-size:0.96rem; margin:0; }
.bg-cream-2 .card, .bg-forest .card{ background:var(--white); }

/* Step cards (genuinely sequential processes) */
.step{ display:flex; gap:18px; }
.step-num{
  flex:none;
  width:38px; height:38px;
  border-radius:50%;
  border:1.5px solid var(--gold);
  color:var(--gold-deep);
  font-family:'Fraunces', Georgia, serif;
  font-weight:600;
  display:flex; align-items:center; justify-content:center;
  font-size:0.98rem;
}
.step h3{ font-size:1.05rem; margin-bottom:4px; }
.step p{ color:var(--ink-soft); font-size:0.95rem; margin:0; }

/* Team cards */
.team-card{ text-align:left; }
.team-photo{
  aspect-ratio:1;
  border-radius:var(--radius);
  overflow:hidden;
  margin-bottom:16px;
  background:var(--cream-2);
  max-width:180px;
}
.team-photo img{ width:100%; height:100%; object-fit:cover; }
.team-card h3{ font-size:1.02rem; margin-bottom:2px; }
.team-card .role{
  font-size:0.86rem;
  font-weight:600;
  color:var(--gold-deep);
  margin-bottom:10px;
}
.team-card p{ color:var(--ink-soft); font-size:0.93rem; margin:0; }

/* ---------------------------------------------------------------------- */
/* Spec table (what-we-do)                                                 */
/* ---------------------------------------------------------------------- */
.spec-table{ font-size:0.94rem; }
.spec-table tr{ border-bottom:1px solid var(--rule); }
.spec-table tr:last-child{ border-bottom:0; }
.spec-table th, .spec-table td{
  text-align:left;
  padding:12px 16px 12px 0;
  vertical-align:top;
  font-weight:400;
}
.spec-table th{
  color:var(--ink-soft);
  width:38%;
  font-weight:500;
}
.spec-table td{ color:var(--ink); font-weight:500; }

/* ---------------------------------------------------------------------- */
/* CTA banner                                                              */
/* ---------------------------------------------------------------------- */
.cta-banner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  flex-wrap:wrap;
}
.cta-banner h2{ color:var(--cream); margin-bottom:8px; font-size:clamp(1.5rem, 1.1rem + 1.6vw, 2rem); }
.cta-banner p{ color:rgba(246,241,227,0.78); max-width:46ch; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; flex:none; }

@media (max-width:560px){
  .cta-banner{ align-items:flex-start; }
  .cta-actions{ flex-direction:column; align-items:stretch; width:100%; }
  .cta-actions .btn{ width:100%; }
}

/* ---------------------------------------------------------------------- */
/* Forms                                                                   */
/* ---------------------------------------------------------------------- */
.form-card{
  background:var(--white);
  border:1px solid var(--rule);
  border-radius:var(--radius-lg);
  padding:clamp(22px, 3vw, 34px);
}
.note-box{
  background:var(--cream-2);
  border:1px solid var(--rule);
  border-radius:var(--radius-sm);
  padding:13px 16px;
  font-size:0.87rem;
  color:var(--ink-soft);
  margin-bottom:24px;
  line-height:1.55;
}
.note-box strong{ color:var(--forest-deep); }

.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:560px){ .field-row{ grid-template-columns:1fr; } }

.field{ margin-bottom:18px; }
.field label{
  display:block;
  font-size:0.86rem;
  font-weight:600;
  color:var(--forest-deep);
  margin-bottom:7px;
}
.field .req{ color:var(--gold-deep); font-weight:600; }

.field input,
.field select,
.field textarea{
  width:100%;
  font-family:inherit;
  font-size:0.96rem;
  color:var(--ink);
  background:var(--cream);
  border:1px solid var(--rule);
  border-radius:var(--radius-sm);
  padding:12px 14px;
  transition:border-color .15s ease, background .15s ease;
}
.field input::placeholder, .field textarea::placeholder{ color:#9A9584; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none;
  border-color:var(--gold);
  background:var(--white);
}
.field textarea{ min-height:120px; resize:vertical; }
.field select{ cursor:pointer; }

.form-success{
  display:none;
  margin-top:18px;
  padding:14px 16px;
  border-radius:var(--radius-sm);
  background:rgba(185,134,63,0.14);
  border:1px solid rgba(185,134,63,0.35);
  color:var(--forest-deep);
  font-size:0.92rem;
  font-weight:500;
}
.form-success.is-visible{ display:block; }

.form-error{
  display:none;
  margin-top:18px;
  padding:14px 16px;
  border-radius:var(--radius-sm);
  background:rgba(179,58,58,0.08);
  border:1px solid rgba(179,58,58,0.3);
  color:#8A2E2E;
  font-size:0.92rem;
  font-weight:500;
}
.form-error.is-visible{ display:block; }

.btn[aria-busy="true"]{ opacity:0.7; pointer-events:none; }

/* ---------------------------------------------------------------------- */
/* Contact page — info list, map                                          */
/* ---------------------------------------------------------------------- */
.info-list{ display:flex; flex-direction:column; gap:20px; }
.info-item{ display:flex; gap:16px; align-items:flex-start; }
.info-item .ic{
  flex:none;
  width:42px; height:42px;
  border-radius:50%;
  background:var(--cream-2);
  color:var(--gold-deep);
  display:flex; align-items:center; justify-content:center;
}
.info-item .ic svg{ width:20px; height:20px; }
.info-item h4{
  font-family:'Work Sans', sans-serif;
  font-size:0.98rem;
  font-weight:600;
  color:var(--forest-deep);
  margin:0 0 3px;
}
.info-item p{ color:var(--ink-soft); font-size:0.94rem; }
.info-item a:hover{ color:var(--gold-deep); }

.map-frame{
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1px solid var(--rule);
  aspect-ratio:16/10;
}
.map-frame iframe{ width:100%; height:100%; border:0; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */
.site-footer{
  background:var(--forest-deep);
  color:rgba(246,241,227,0.75);
  padding-block:60px 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:36px;
  padding-bottom:36px;
}
.footer-brand{
  display:flex; align-items:center; gap:10px;
  margin-bottom:14px;
}
.footer-brand img{ height:32px; }
.footer-brand span{
  font-family:'Fraunces', Georgia, serif;
  font-weight:600;
  color:var(--cream);
  font-size:0.94rem;
}
.footer-col p{ font-size:0.9rem; line-height:1.6; }
.footer-col h4{
  font-family:'Work Sans', sans-serif;
  color:var(--cream);
  font-size:0.88rem;
  font-weight:600;
  letter-spacing:0.02em;
  margin-bottom:16px;
}
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-size:0.9rem; }
.footer-col a:hover{ color:var(--gold-soft); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
  padding-top:24px;
  border-top:1px solid rgba(246,241,227,0.14);
  font-size:0.82rem;
  color:rgba(246,241,227,0.5);
}
@media (max-width:860px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .footer-grid{ grid-template-columns:1fr; gap:28px; }
  .footer-bottom{ flex-direction:column; }
}

/* ---------------------------------------------------------------------- */
/* WhatsApp floating action button                                        */
/* ---------------------------------------------------------------------- */
.wa-float{
  position:fixed;
  right:22px; bottom:22px;
  width:56px; height:56px;
  border-radius:50%;
  background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow);
  z-index:90;
  transition:transform .18s ease;
}
.wa-float:hover{ transform:translateY(-3px); }
.wa-float svg{ width:28px; height:28px; }
@media (max-width:520px){
  .wa-float{ right:16px; bottom:16px; width:50px; height:50px; }
  .wa-float svg{ width:25px; height:25px; }
}
