/* ============================================================
   THIKSA — Integrated Facility Management & Staffing
   Theme: Green & Slate (Sustainable)
   ============================================================ */

:root {
  /* Thiksa brand palette (Brand Guidelines v1.0) */
  --forest: #1B5E20;   /* Deep Green — hover / dark green surfaces */
  --emerald: #2E7D32;  /* Thiksa Green — primary */
  --green: #2E7D32;    /* Thiksa Green */
  --mint: #A5D6A7;     /* light green accent (reversed text on ink/green) */
  --mint-100: #EEF4EE; /* Mist — light panels & tints */
  --amber: #F2A516;    /* Amber — attention / sign-off */
  --ink: #1C2B2A;      /* Ink — body text / dark surfaces */
  --slate-900: #1C2B2A;
  --slate-800: #24322f;
  --slate-700: #33413f;
  --slate-600: #4a5654;
  --slate-500: #6b7674;
  --slate-300: #cbd5cf;
  --slate-200: #e2e8e4;
  --slate-100: #eef2ef;
  --slate-50: #f6f8f6;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(28, 43, 42, .08);
  --shadow: 0 10px 30px rgba(28, 43, 42, .09);
  --shadow-lg: 0 24px 60px rgba(28, 43, 42, .15);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --font: "Calibri", "Arial", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-head: "Montserrat", "Poppins", "Arial", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--slate-900); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--emerald); text-decoration: none; transition: color .2s; }
a:hover { color: var(--forest); }
img, svg { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section.tight { padding: 60px 0; }
.bg-slate { background: var(--slate-50); }
.bg-mint { background: var(--mint-100); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .16em;
  font-size: .78rem; font-weight: 700; color: var(--emerald);
  background: var(--mint-100); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.lead { font-size: 1.15rem; color: var(--slate-600); max-width: 640px; }
.center-block { margin-left: auto; margin-right: auto; }
.muted { color: var(--slate-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  cursor: pointer; border: 2px solid transparent; transition: all .22s ease; white-space: nowrap;
}
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 8px 20px rgba(31,138,95,.28); }
.btn-primary:hover { background: var(--forest); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--slate-900); border-color: var(--slate-300); }
.btn-ghost:hover { border-color: var(--emerald); color: var(--forest); }
.btn-white { background: #fff; color: var(--forest); }
.btn-white:hover { background: var(--mint-100); color: var(--forest); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); color:#fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--slate-200);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { height: 34px; width: auto; }
.brand-text { font-weight: 800; font-size: 1.35rem; color: var(--slate-900); letter-spacing: -.02em; }
.brand-text span { color: var(--emerald); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--slate-700); font-weight: 600; font-size: .97rem; }
.nav-links a:hover, .nav-links a.active { color: var(--forest); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--slate-800); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(46,125,50,.45), transparent 60%),
              linear-gradient(135deg, #14231f 0%, #1B5E20 55%, #2E7D32 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 90px 0; }
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,.86); font-size: 1.15rem; max-width: 520px; }
.hero .eyebrow { background: rgba(255,255,255,.14); color: var(--mint); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-badges { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero-badges .hb-num { font-size: 1.7rem; font-weight: 800; color: #fff; }
.hero-badges .hb-lbl { font-size: .85rem; color: rgba(255,255,255,.75); }
.hero-visual { position: relative; }
.hero-blob { position: absolute; inset: -40px -60px auto auto; width: 420px; opacity: .5; z-index: 1; }

.page-hero {
  color: #fff; padding: 76px 0 66px;
  background: radial-gradient(900px 500px at 85% -20%, rgba(46,125,50,.45), transparent 60%),
              linear-gradient(130deg, #14231f 0%, #1B5E20 55%, #2E7D32 100%);
}
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 640px; font-size: 1.12rem; }
.breadcrumb { font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.breadcrumb a { color: var(--mint); }

/* ---------- Cards / grids ---------- */
.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); }
.card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--mint); }
.card .icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mint-100); margin-bottom: 18px;
}
.card .icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; color: var(--slate-600); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split.reverse .split-media { order: 2; }
.media-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--slate-100);
  border: 1px solid var(--slate-200);
}

/* ---------- Photographic hero ---------- */
.hero--photo {
  background:
    linear-gradient(102deg, rgba(18,32,28,.95) 0%, rgba(18,32,28,.86) 34%, rgba(27,94,32,.55) 64%, rgba(27,94,32,.12) 100%),
    url('../img/team-hero.jpg') center right / cover no-repeat;
}
.hero--photo .hero-grid { grid-template-columns: 1fr; padding: 104px 0; }
.hero--photo .hero-inner { max-width: 620px; }
.hero--photo .hero-visual { display: none; }

/* ---------- Full-width image band ---------- */
.img-band { position: relative; }
.img-band img { width: 100%; display: block; }
.band-frame {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200); background: var(--slate-100);
}
.split-media.photo img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }

/* ---------- Skill-tier cards ---------- */
.tier { position: relative; border-top: 4px solid var(--green); }
.tier .tier-k { display:inline-block; font-size:.72rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
  color: var(--forest); background: var(--mint-100); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.env .icon { background: var(--mint-100); }
.env ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
.env ul li { position: relative; padding-left: 20px; font-size: .94rem; color: var(--slate-600); }
.env ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ---------- Chips / lists ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; padding: 0; list-style: none; }
.chips li {
  background: var(--white); border: 1px solid var(--slate-200); color: var(--slate-700);
  padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-sm);
}
.chips li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: middle; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--slate-700); }
.check-list li svg { flex: 0 0 22px; margin-top: 3px; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 20px; }
.stat .num { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: var(--forest); }
.stat .lbl { color: var(--slate-600); font-weight: 600; font-size: .95rem; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .n {
  width: 46px; height: 46px; border-radius: 12px; background: var(--forest); color: #fff;
  font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; font-size: 1.1rem;
}
.step h3 { font-size: 1.08rem; }
.step p { font-size: .94rem; color: var(--slate-600); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  color: #fff; border-radius: 24px; padding: 54px; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(700px 400px at 15% 0%, rgba(165,214,167,.30), transparent 60%),
              linear-gradient(120deg, #1B5E20, #2E7D32);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 620px; margin: 0 auto 26px; }

/* ---------- Logos / trust ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: center; opacity: .8; }
.trust span { font-weight: 700; color: var(--slate-500); letter-spacing: .04em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.contact-info .info-item { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.contact-info .info-item .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--mint-100); display: grid; place-items: center; flex: 0 0 46px; }
.contact-info .info-item h4 { margin: 0 0 3px; }
.contact-info .info-item a, .contact-info .info-item p { margin: 0; color: var(--slate-600); }
.form-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--slate-700); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--slate-200); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .97rem; color: var(--slate-800); background: var(--slate-50); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(37,163,111,.12); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--slate-500); margin-top: 8px; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: .92rem; display: none; }
.form-status.ok { display: block; background: var(--mint-100); color: var(--forest); }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-900); color: var(--slate-300); padding: 66px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: .02em; }
.site-footer a { color: var(--slate-300); font-weight: 500; }
.site-footer a:hover { color: var(--mint); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: .95rem; }
.footer-brand .brand-text { color: #fff; }
.footer-logo { height: 40px; width: auto; margin-bottom: 16px; }
.footer-brand .tagline { color: var(--mint); font-weight: 700; font-family: var(--font-head); font-size: 1rem; margin: 0 0 12px; max-width: 320px; }
.footer-brand p { color: var(--slate-500); font-size: .95rem; max-width: 320px; margin-top: 0; }
.footer-brand .reg { color: var(--slate-500); font-size: .82rem; margin-top: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: var(--slate-500); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
@media (max-width: 680px) {
  .nav-links { position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column; align-items: flex-start;
    gap: 0; padding: 10px 24px 20px; border-bottom: 1px solid var(--slate-200); box-shadow: var(--shadow); display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--slate-100); }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .grid-2, .grid-3, .grid-4, .stats, .steps, .form-row { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .cta-band { padding: 38px 22px; }
}
