/* Tritech Solutions — charcoal & teal palette */
:root {
  --ink: #0f1b24;
  --ink-2: #1a2a36;
  --accent: #0e8f8f;
  --accent-dark: #0a6f70;
  --bright: #5ee6d0;
  --tint: #dcf5f1;
  --tint-2: #b9ece3;
  --cream: #f3f7f8;
  --white: #ffffff;
  --text: #1f2a33;
  --muted: #52606b;
  --line: #dde6ea;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 27, 36, .08);
  --max: 1180px;
  --display: 'Abril Fatface', Georgia, serif;
  --body: 'Source Sans 3', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.15; color: var(--ink); margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .2px; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--bright); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 760px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--accent-dark); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost:hover { border-color: var(--bright); color: var(--bright); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* Header */
.topbar { background: var(--ink); color: #c3ced6; font-size: .9rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
@media (max-width: 700px) { .topbar .container > span:first-child { display: none; } .topbar { font-size: .85rem; } }
.topbar a { color: var(--bright); text-decoration: none; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--display); font-size: 1.6rem; color: var(--ink); text-decoration: none; letter-spacing: .3px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { width: 38px; height: 38px; flex: 0 0 38px; }
.logo em { font-style: normal; white-space: nowrap; }
.logo span { color: var(--accent); }
.site-footer .logo span { color: var(--bright); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .btn { padding: 10px 20px; }
.nav .btn-dark, .nav .btn-dark:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Hero */
.hero { position: relative; background: var(--ink); color: #e3eaef; overflow: hidden; padding: 96px 0 88px; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 85% 20%, rgba(94,230,208,.18), transparent 45%),
  radial-gradient(circle at 10% 90%, rgba(14,143,143,.35), transparent 50%); }
.hero-grid { position: absolute; inset: 0; opacity: .07; background-image: linear-gradient(var(--bright) 1px, transparent 1px), linear-gradient(90deg, var(--bright) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--bright); }
.hero .lead { color: #c3ced6; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 32px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1b24' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero-card { background: rgba(255,255,255,.05); border: 1px solid rgba(94,230,208,.25); border-radius: 20px; padding: 30px; backdrop-filter: blur(4px); }
.hero-card h2 { font-family: var(--body); font-weight: 700; font-size: 1.3rem; color: var(--white); }
.hero-card p { color: #c3ced6; font-size: 1rem; }
.status { display: grid; gap: 12px; margin: 20px 0 24px; }
.status div { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 10px; background: rgba(255,255,255,.06); font-size: .95rem; }
.dot { display: inline-flex; align-items: center; gap: 8px; color: var(--bright); font-weight: 700; font-size: .85rem; }
.dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #7fd18b; box-shadow: 0 0 0 4px rgba(127,209,139,.2); }
@media (max-width: 920px) { .hero { padding: 64px 0; } .hero .container { grid-template-columns: 1fr; gap: 40px; } }

/* Page hero (inner pages) */
.page-hero { background: var(--ink); color: #c3ced6; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 10%, rgba(94,230,208,.16), transparent 45%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: #c3ced6; }
.crumbs { font-size: .9rem; margin-bottom: 14px; }
.crumbs a { color: var(--bright); text-decoration: none; }

/* Sections */
section { padding: 88px 0; }
.alt { background: var(--cream); }
.dark { background: var(--ink); color: #c3ced6; }
.dark h2, .dark h3 { color: var(--white); }
.dark .eyebrow { color: var(--bright); }
.section-head { margin-bottom: 48px; }
@media (max-width: 700px) { section { padding: 64px 0; } }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--tint-2); }
.card p { color: var(--muted); font-size: 1rem; }
.card ul { margin: 0 0 16px; padding-left: 20px; color: var(--muted); font-size: .98rem; }
.card ul li { margin-bottom: 4px; }
.card .more { font-weight: 700; text-decoration: none; }
.icon { width: 52px; height: 52px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 26px; height: 26px; stroke: var(--accent-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.dark .card p { color: #a9b6c0; }

/* Pillars + stats */
.pillar h3 { display: flex; gap: 10px; align-items: baseline; }
.pillar .num { font-family: var(--display); color: var(--accent); font-size: 1.6rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.stat { padding: 28px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--display); font-weight: 400; font-size: 2.3rem; color: var(--ink); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } .stat { border-right: 0; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare > div { padding: 32px; }
.compare .them { background: var(--white); }
.compare .us { background: var(--ink); color: #e3eaef; }
.compare h3 { margin-bottom: 18px; }
.compare .us h3 { color: var(--bright); }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.compare li { padding-left: 30px; position: relative; font-size: 1rem; }
.compare .them li { color: var(--muted); }
.compare .them li::before { content: "\2715"; position: absolute; left: 0; color: #b0574a; font-weight: 700; }
.compare .us li::before { content: "\2713"; position: absolute; left: 0; color: var(--bright); font-weight: 700; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* Process */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--display); font-size: 2.6rem; color: var(--bright); line-height: 1; }
.step p { color: #a9b6c0; font-size: 1rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.factors { display: grid; gap: 12px; }
.factor { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.factor b { color: var(--ink); display: block; }
.factor span { color: var(--muted); font-size: .95rem; }
.factor .icon { width: 40px; height: 40px; margin: 0; flex: 0 0 40px; border-radius: 10px; }
.factor .icon svg { width: 20px; height: 20px; }

/* Industries */
.industry { display: flex; flex-direction: column; }
.industry .tag { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 6px; }

/* Tools */
.tool-box { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.tool-form { display: flex; gap: 12px; flex-wrap: wrap; }
.tool-form input { flex: 1 1 260px; }
.results { margin-top: 24px; display: grid; gap: 12px; }
.result { border: 1px solid var(--line); border-left-width: 5px; border-radius: 10px; padding: 16px 18px; background: var(--cream); }
.result.ok { border-left-color: #3e9b55; }
.result.warn { border-left-color: #d49b2a; }
.result.bad { border-left-color: #b0574a; }
.result h3 { font-size: 1.05rem; display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.result code { display: block; font-size: .85rem; background: var(--white); border: 1px solid var(--line); padding: 8px 10px; border-radius: 6px; margin-top: 8px; word-break: break-all; }
.result p { font-size: .97rem; margin: 0; color: var(--muted); }
.badge { font-size: .75rem; padding: 3px 10px; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.ok .badge { background: #dcf1e1; color: #23683a; }
.warn .badge { background: #f8ebcc; color: #7a5310; }
.bad .badge { background: #f5dcd8; color: #84332a; }

/* Areas */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.area { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.area b { display: block; color: var(--ink); }
.area span { font-size: .92rem; color: var(--muted); }
.area-group { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 28px 0 12px; }
.remote-card { display: flex; gap: 16px; align-items: flex-start; margin-top: 20px; background: var(--ink); color: #c3ced6; border-radius: var(--radius); padding: 22px; }
.remote-card .icon { margin: 0; flex: 0 0 52px; }
.remote-card b { display: block; color: var(--white); font-size: 1.1rem; }
.remote-card span { display: block; font-size: .97rem; margin: 4px 0 8px; }
.remote-card .more { color: var(--bright); }
.join-box { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); text-align: center; }
.join-box .btn { font-size: 1.1rem; padding: 16px 34px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--cream); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .area-list { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; color: var(--ink); position: relative; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 36px; } }
.contact-methods { display: grid; gap: 14px; margin: 28px 0; }
.method { display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit; padding: 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.method:hover { border-color: var(--bright); color: inherit; }
.method .icon { width: 44px; height: 44px; margin: 0; flex: 0 0 44px; }
.method small { display: block; color: #8fa0ad; font-size: .85rem; }
.method strong { color: var(--white); }
form.quote { background: var(--white); color: var(--text); border-radius: 18px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.quote .full { grid-column: 1 / -1; }
@media (max-width: 560px) { form.quote { grid-template-columns: 1fr; padding: 24px; } }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--text); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,143,143,.18); }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-msg { display: none; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-msg.ok { display: block; background: #dcf1e1; color: #23683a; }
.form-msg.err { display: block; background: #f5dcd8; color: #84332a; }
.error-text { color: #b0574a; font-size: .85rem; margin-top: 4px; display: none; }
.invalid input, .invalid select { border-color: #b0574a; }
.invalid .error-text { display: block; }

/* CTA band */
.cta-band { background: var(--tint); padding: 56px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* Service detail */
.service-block { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 56px 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-block h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.service-block ul { columns: 2; column-gap: 32px; padding-left: 20px; color: var(--muted); }
.service-block li { margin-bottom: 8px; break-inside: avoid; }
@media (max-width: 820px) { .service-block { grid-template-columns: 1fr; gap: 12px; } .service-block ul { columns: 1; } }

/* Footer */
.site-footer { background: #0a141b; color: #8fa0ad; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #c3ced6; text-decoration: none; }
.site-footer a:hover { color: var(--bright); }
.site-footer .logo { color: var(--white); display: inline-flex; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #1d2b35; margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; box-shadow: 0 -6px 20px rgba(0,0,0,.15); }
  .callbar a { text-align: center; padding: 15px 8px; font-weight: 700; text-decoration: none; }
  .callbar a:first-child { background: var(--ink); color: var(--white); }
  .callbar a:last-child { background: var(--accent); color: var(--white); }
  body { padding-bottom: 54px; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .btn, .card { transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
