/* ==========================================================================
   Trio Innovations Limited — site stylesheet
   Palette taken from the company logo: deep teal through to lime green.
   Change the six --brand / --accent values below to restyle the whole site.
   ========================================================================== */

:root {
  --brand-900: #06333a;   /* darkest teal — headings, footer, hero base */
  --brand-800: #084b55;
  --brand-700: #066572;
  --brand-600: #058592;   /* logo teal */
  --accent-500: #7ab02e;  /* logo green */
  --accent-600: #6a9a26;
  --brand-100: #d7ecee;
  --brand-50:  #eff8f8;

  --ink:      #16262a;
  --ink-soft: #4d6267;
  --line:     #dde8e9;
  --bg:       #ffffff;
  --bg-alt:   #f5fafa;

  --furnmart: #b8873b;
  --itserv:   #058592;
  --vedamedic:#63a824;

  --wrap: 1160px;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(6,51,58,.06), 0 2px 8px rgba(6,51,58,.05);
  --shadow-md: 0 4px 12px rgba(6,51,58,.08), 0 12px 32px rgba(6,51,58,.09);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--brand-900); letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 76px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: 52px 0; }
.lede { font-size: 1.13rem; color: var(--ink-soft); max-width: 62ch; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 650; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-500); margin-bottom: .9rem;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--brand-800); color: #fff;
  padding: 12px 18px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 86px; }

.logo { display: flex; align-items: center; text-decoration: none; margin-right: auto; padding: 8px 0; }
.logo img { height: 58px; width: auto; }
@media (max-width: 420px) { .logo img { height: 46px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: 9px 14px; border-radius: 7px; text-decoration: none;
  font-size: .95rem; font-weight: 550; color: var(--ink);
}
.nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.nav a[aria-current="page"] { color: var(--brand-700); background: var(--brand-50); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 44px; cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--brand-800); border-radius: 2px;
  position: relative; transition: transform .18s ease, opacity .18s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: .96rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn--primary { background: var(--brand-700); color: #fff; }
.btn--primary:hover { background: var(--brand-800); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--brand-700); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand-600); background: var(--brand-50); }
.btn--light { background: #fff; color: var(--brand-800); }
.btn--light:hover { background: var(--brand-100); }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-800) 48%, var(--brand-700) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 88% 8%, rgba(122,176,46,.30), transparent 62%),
    radial-gradient(540px 380px at 4% 96%, rgba(5,133,146,.35), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero--home { padding: 104px 0 96px; }
.hero--page { padding: 68px 0 60px; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero--page h1 { max-width: 24ch; margin-bottom: .35em; }
.hero p { color: #c3ddde; font-size: 1.14rem; max-width: 60ch; }
.hero .eyebrow { color: #a8d46a; }
.hero .btn-row { margin-top: 30px; }

.breadcrumb { font-size: .87rem; color: #8fb6b8; margin-bottom: 1.1rem; }
.breadcrumb a { color: #c3ddde; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: .55; margin: 0 .45em; }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.stat { background: #fff; padding: 26px 22px; }
.stat__num { font-size: 1.9rem; font-weight: 700; color: var(--brand-700); line-height: 1.1; }
.stat__label { font-size: .88rem; color: var(--ink-soft); margin-top: 4px; }

/* ---------- division cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.division {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 26px; position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.division::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent, var(--accent-500));
}
.division:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c9d7e6; }
.division__icon {
  width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft, var(--brand-50)); color: var(--accent, var(--accent-500)); margin-bottom: 18px;
}
.division h3 { margin-bottom: .3em; font-size: 1.28rem; }
.division__tag { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .9rem; }
.division p { color: var(--ink-soft); font-size: .98rem; }
.division__list { list-style: none; padding: 0; margin: 0 0 1.3em; }
.division__list li { position: relative; padding-left: 22px; font-size: .95rem; color: var(--ink-soft); }
.division__list li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent, var(--accent-500));
}
.division__foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.division--furnmart { --accent: var(--furnmart); --accent-soft: #faf3e6; }
.division--it       { --accent: var(--itserv);   --accent-soft: var(--brand-50); }
.division--veda     { --accent: var(--vedamedic);--accent-soft: #e9f6f2; }

.badge {
  display: inline-block; font-size: .74rem; font-weight: 650; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 5px;
  background: var(--brand-50); color: var(--brand-700);
}
.badge--soon { background: #f3f0e7; color: #7a6427; }
.badge--live { background: #e9f6f2; color: #15654f; }

/* ---------- feature / value cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.card--plain { background: transparent; border: 0; padding: 0; }
.card h3 { font-size: 1.08rem; margin-bottom: .45em; }
.card p { color: var(--ink-soft); font-size: .97rem; margin-bottom: 0; }
.card__num {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--accent-500);
  display: block; margin-bottom: .7rem;
}

/* ---------- two column ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.split--narrow { gap: 44px; }

.factbox { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 8px; }
.factbox dl { margin: 0; }
.factbox dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 650; }
.factbox dd { margin: 3px 0 18px; font-size: 1rem; color: var(--brand-900); font-weight: 550; }
.factbox dd a { color: var(--brand-700); }

/* ---------- CTA band ---------- */
.cta {
  background: linear-gradient(140deg, var(--brand-800), var(--brand-600));
  color: #fff; border-radius: 14px; padding: 52px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap;
}
.cta h2 { color: #fff; margin-bottom: .35em; }
.cta p { color: #c3ddde; margin: 0; max-width: 52ch; }

/* ---------- contact form ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .89rem; font-weight: 600; color: var(--brand-900); }
.field .req { color: #b3391f; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent-500); outline-offset: 1px; border-color: var(--accent-500);
}
.field textarea { min-height: 140px; resize: vertical; }
.field__hint { font-size: .83rem; color: var(--ink-soft); }
.form-note { font-size: .86rem; color: var(--ink-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-900); color: #b4cfd1; padding: 64px 0 0; margin-top: 0; }
.site-footer a { color: #dcefef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 {
  color: #fff; font-size: .8rem; letter-spacing: .13em; text-transform: uppercase;
  margin-bottom: 1.1em; font-weight: 650;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .6em; font-size: .95rem; }
.footer-about p { font-size: .95rem; max-width: 34ch; }
.footer-logo { display: block; margin-bottom: 20px; }
.footer-logo img { height: 66px; width: auto; }
.footer-bottom {
  margin-top: 52px; border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 30px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .87rem; color: #88a9ab;
}
.footer-bottom ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }

/* ---------- misc ---------- */
.ext-icon { width: 13px; height: 13px; flex: 0 0 auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.placeholder { background: #fff6d9; outline: 1px dashed #d9b23a; padding: 0 3px; border-radius: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .hero--home { padding: 72px 0 66px; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 10px; border-radius: 6px; }
  .nav .btn { margin-top: 8px; justify-content: center; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .cta { padding: 36px 26px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
