/* ============================================================
   Taztak Services — styles.css
   Brand: deep navy (#0f172a) + gold (#c9a25a), clean & modern
   ============================================================ */

:root {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --gold: #c9a25a;
  --gold-dark: #b0863f;
  --bg: #ffffff;
  --bg-alt: #f7f6f3;
  --ink: #14181f;
  --muted: #5b6472;
  --muted-light: #9aa4b2;
  --line: #e7e3da;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 650; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 0 0 .8rem;
}
.eyebrow.gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.5rem; border-radius: 999px;
  font-weight: 650; font-size: .98rem;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #201704; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15,23,42,.07); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
/* The mark is brand/taztak-mark.svg, copied byte-for-byte to website/public/.
   The shield draws 50x56.5 inside its 64 viewBox, so the box is sized larger
   than the navy square it replaced to keep the same optical weight. */
.brand-mark { width: 44px; height: 44px; display: block; flex: none; }
.brand-mark.small { width: 38px; height: 38px; }
.brand-name { font-weight: 800; letter-spacing: .14em; font-size: 1.02rem; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-sub { font-size: .58rem; letter-spacing: .34em; color: var(--gold-dark); font-weight: 700; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav > a { font-weight: 550; font-size: .96rem; color: var(--ink); }
.nav > a:not(.btn):hover { color: var(--gold-dark); }
.nav-cta { padding: .55rem 1.15rem; font-size: .9rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }

/* ---------- Hero (dark split) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #0f172a, #0b1220);
  color: #eaf0fa;
  padding: clamp(60px, 8vw, 104px) 0;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-copy { max-width: 40rem; }
.hero .eyebrow.gold { color: var(--gold); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; color: #fff; }
.hero h1 span { color: var(--gold); }
.hero-sub { margin: .9rem 0 0; font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.45rem); color: var(--gold); letter-spacing: -0.01em; }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.24rem); color: #b9c4d6; max-width: 34rem; line-height: 1.6; margin: 1.1rem 0 0; }
.hero-tagline { margin: 1.3rem 0 0; font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.28rem); color: #eef2f8; letter-spacing: -0.01em; }
.hero-tagline span { color: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.9rem 0 0; }
.hero-visual { display: grid; place-items: center; }
.hero-visual svg { width: 100%; max-width: 360px; height: auto; filter: drop-shadow(0 20px 50px rgba(0,0,0,.5)); }
.hero-pulse { transform-origin: center; animation: heroPulse 3.4s ease-in-out infinite; }
@keyframes heroPulse { 0%,100% { opacity:.5; transform:scale(1); } 50% { opacity:1; transform:scale(1.06); } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: none; margin: 0 auto; }
  .lede, .hero-tagline { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual svg { max-width: 240px; }
}

/* ---------- Belief / positioning band ---------- */
.belief { background: var(--bg-alt); color: var(--ink); padding: clamp(44px, 6vw, 72px) 0; }
.belief::before { content: ""; display: block; width: 42px; height: 3px; background: var(--gold); margin: 0 auto 26px; border-radius: 2px; }
.belief .container { max-width: 880px; text-align: center; }
.belief p { font-size: clamp(1.14rem, 2.1vw, 1.5rem); line-height: 1.5; margin: 0; font-weight: 500; }
.belief em { color: var(--gold-dark); font-style: normal; }
.belief strong { color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.band { background: var(--bg-alt); }
.band-dark { background: var(--navy); color: #eef1f6; }
.band-dark h2 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-sub { color: var(--muted); font-size: 1.05rem; }
.band-dark .section-sub { color: var(--muted-light); }

.grid { display: grid; gap: 22px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ded8cb; }
.card-icon { width: 46px; height: 46px; border-radius: 11px; background: rgba(201,162,90,.14); color: var(--gold-dark); display: grid; place-items: center; margin-bottom: 16px; }
.card-icon svg { width: 24px; height: 24px; }
.card p { color: var(--muted); margin: 0; }
.tick-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; color: var(--muted); }
.tick-list li { position: relative; padding-left: 18px; }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.about-copy .tick-list { margin: 0 0 1rem; }
.also { margin-top: clamp(32px, 4vw, 48px); }
.also h3 { margin: 0 0 16px; }
.also-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.also-grid li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; color: var(--muted); }
.also-grid strong { display: block; color: var(--ink); margin-bottom: 4px; }

/* ---------- Why ---------- */
.why-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 40px; }
.why-item { padding-top: 6px; }
.why-num { font-family: Georgia, serif; font-size: 1.4rem; color: var(--gold-dark); font-weight: 700; }
.why-item h3 { margin-top: 6px; }
.why-item p { color: var(--muted); margin: 0; }
.why-item p + p { margin-top: .75rem; }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-copy p { color: var(--muted); }
.about-copy .btn { margin-top: .6rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.stat-label { display: block; font-size: .86rem; color: var(--muted); margin-top: 4px; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-copy p { color: var(--muted-light); }
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: #dfe4ec; }
.contact-list a:hover { color: var(--gold); }
.ci { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); color: var(--gold); display: grid; place-items: center; font-size: 1.05rem; flex-shrink: 0; }

.contact-form { background: #fff; color: var(--ink); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: .72rem .85rem; font: inherit; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; background: #fdfcfa; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,90,.18); }
.field textarea { resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-note a { color: var(--gold-dark); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #0b111f; color: #b9c1cf; padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-name { color: #fff; }
.footer-support { display: inline-flex; color: #6b7585; margin-left: 4px; }
.footer-support:hover, .footer-support:focus-visible { color: #b9c1cf; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-nav a { white-space: nowrap; }
.footer-nav a { color: #b9c1cf; font-size: .93rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { width: 100%; font-size: .84rem; color: #6b7585; margin: 6px 0 0; }
.legal { max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 .5rem; }
.legal p, .legal li { color: var(--muted); }
.legal ol { padding-left: 1.25rem; display: grid; gap: 8px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--gold-dark); text-decoration: underline; }
.legal-date { font-size: .9rem; margin-top: -.25rem; }
.legal-back { font-weight: 550; font-size: .96rem; color: var(--ink); }
.legal-back:hover { color: var(--gold-dark); }

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

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-stats { max-width: 460px; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    transform: translateY(-120%); transition: transform .28s ease; box-shadow: 0 20px 30px rgba(15,23,42,.08);
  }
  .nav.open { transform: translateY(0); }
  .nav > a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 12px; border-bottom: 0; }
  .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
  .services-grid, .why-grid, .about-stats, .also-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}

/* ---- Contact form: Turnstile + status message ---- */
.contact-form .cf-turnstile { margin: 0 0 1rem; }

.form-status {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 1.2em;
}
.form-status.is-success {
  color: #157347;
  font-weight: 600;
}
.form-status.is-error {
  color: #c62828;
  font-weight: 600;
}
.contact-form button[disabled] { opacity: 0.7; cursor: default; }

/* ---------- Feedback button (feedback.js) ---------- */
.tzfb { position: fixed; right: 14px; bottom: 14px; z-index: 2147483000; font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.tzfb-panel { display: none; width: 340px; max-width: calc(100vw - 28px); background: #0f172a; color: #e8eaf0; border: 1px solid var(--gold); border-radius: 8px; padding: 12px; margin-bottom: 8px; box-shadow: 0 8px 28px rgba(0,0,0,.45); }
.tzfb-panel.is-open { display: block; }
.tzfb-title { font-size: 13px; color: var(--gold); margin-bottom: 6px; }
.tzfb-field { display: block; width: 100%; box-sizing: border-box; background: #101c34; color: #e8eaf0; border: 1px solid #33507e; border-radius: 6px; padding: 8px; font: inherit; margin-bottom: 8px; }
.tzfb-field::placeholder { color: #7f8fab; }
.tzfb-note { font-size: 11px; color: #9fb0cc; margin: 0 0 8px; }
.tzfb-note a { color: var(--gold); text-decoration: underline; }
.tzfb-ts { margin: 0 0 8px; min-height: 0; }
.tzfb-actions { display: flex; gap: 8px; }
.tzfb-send { background: var(--gold); color: #0f172a; border: 0; border-radius: 6px; padding: 6px 12px; font: inherit; cursor: pointer; }
.tzfb-send:disabled { opacity: .6; cursor: default; }
.tzfb-cancel { background: transparent; color: #9fb0cc; border: 1px solid #33507e; border-radius: 6px; padding: 6px 12px; font: inherit; cursor: pointer; }
.tzfb-stat { font-size: 12px; margin-top: 8px; min-height: 16px; color: #9fb0cc; }
.tzfb-stat.is-error { color: #f0a3a3; }
.tzfb-stat.is-success { color: #8fd6b4; }
.tzfb-tab { display: block; margin-left: auto; background: #0f172a; color: var(--gold); border: 1px solid var(--gold); border-radius: 6px; padding: 6px 12px; font-size: 13px; cursor: pointer; opacity: .55; transition: opacity .15s; }
.tzfb-tab:hover, .tzfb-tab:focus-visible, .tzfb-tab[aria-expanded="true"] { opacity: 1; }
