/* ==========================================================================
   TejatUG — corporate site styles
   Single stylesheet shared by all pages / locales.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --paper:        #ffffff;
  --paper-2:      #f5f6f8;
  --paper-3:      #eceef1;
  --ink:          #0b0e14;
  --ink-2:        #3d4553;
  --ink-3:        #6b7484;
  --line:         #e2e5ea;
  --accent:       #e2551f;
  --accent-ink:   #ffffff;
  --accent-soft:  rgba(226, 85, 31, 0.10);

  --radius:       14px;
  --radius-sm:    8px;
  --shell:        1180px;
  --gutter:       clamp(20px, 5vw, 48px);

  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);

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

@media (prefers-color-scheme: dark) {
  :root {
    --paper:      #0b0e14;
    --paper-2:    #12161f;
    --paper-3:    #1a1f2b;
    --ink:        #f2f4f7;
    --ink-2:      #b3bbc8;
    --ink-3:      #838c9c;
    --line:       #232936;
    --accent:     #ff6a35;
    --accent-ink: #14170f;
    --accent-soft: rgba(255, 106, 53, 0.14);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern", "liga", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 650;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

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

::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- Layout helpers ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--paper-2); }

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.6vw, 18px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }

.btn--light { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn--light:hover { background: rgba(255, 255, 255, 0.18); }

.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease);
}
.brand:hover .brand__mark { transform: translateX(2px); }
.brand__mark svg { width: 20px; height: 20px; }

.brand__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.brand__name span {
  color: var(--accent);
  letter-spacing: 0.1em;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lang a {
  padding: 5px 11px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-3);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 3.5px auto;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #0b0e14;
  color: #fff;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(72ch 60ch at 82% -10%, rgba(226, 85, 31, 0.30), transparent 62%),
    radial-gradient(60ch 50ch at 8% 106%, rgba(58, 92, 160, 0.28), transparent 60%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(120ch 70ch at 50% 30%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(120ch 70ch at 50% 30%, #000, transparent 78%);
}

.hero .shell {
  padding-block: clamp(80px, 12vw, 150px);
  max-width: 1000px;
  margin-inline: auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.hero__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22);
}

.hero h1 {
  font-size: clamp(38px, 6.6vw, 74px);
  font-weight: 680;
  letter-spacing: -0.04em;
  max-width: 17ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.hero__lead {
  margin-top: 26px;
  max-width: 58ch;
  font-size: clamp(17px, 1.9vw, 20px);
  color: rgba(255, 255, 255, 0.72);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero__meta svg { width: 15px; height: 15px; opacity: 0.75; flex: none; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.stats__item { background: var(--paper); padding: 34px var(--gutter); }
.stats__item:first-child { padding-left: max(var(--gutter), (100vw - var(--shell)) / 2 + var(--gutter)); }
.stats__item:last-child { padding-right: max(var(--gutter), (100vw - var(--shell)) / 2 + var(--gutter)); }
.stats__num {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 680;
  letter-spacing: -0.035em;
}
.stats__label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-3);
}

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 18px 40px -26px rgba(11, 14, 20, 0.45);
}
.card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.card__icon svg { width: 21px; height: 21px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  counter-reset: step;
}
.step { padding-top: 26px; border-top: 2px solid var(--ink); counter-increment: step; }
.step:not(:first-child) { border-top-color: var(--line); }
.step__n {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}
.step__n::before { content: "0" counter(step); }
.step h3 { font-size: 18px; margin-bottom: 9px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- Assurance band ---------- */
.assure-wrap { margin-top: clamp(44px, 5vw, 68px); }
.assure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  overflow: hidden;
}
.assure__item { padding: 32px 30px; border-left: 1px solid var(--line); }
.assure__item:first-child { border-left: 0; }
.assure__item svg {
  width: 20px;
  height: 20px;
  margin-bottom: 18px;
  color: var(--accent);
}
.assure__item h3 { font-size: 17px; margin-bottom: 10px; }
.assure__item p { font-size: 15px; color: var(--ink-2); }
.assure__item p + p { margin-top: 10px; }
.assure__note { font-size: 13.5px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: color 0.2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p {
  padding-bottom: 26px;
  max-width: 68ch;
  font-size: 16px;
  color: var(--ink-2);
}

/* ---------- Split (about) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.split h2 { font-size: clamp(28px, 4vw, 42px); }
.split p { margin-top: 20px; color: var(--ink-2); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  color: var(--ink-2);
}
.checklist li strong { color: var(--ink); font-weight: 600; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft) no-repeat center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2551f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-list { display: grid; gap: 2px; }
.contact-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:first-child { border-top: 1px solid var(--line); }
.contact-item svg { width: 19px; height: 19px; margin-top: 3px; flex: none; color: var(--accent); }
.contact-item dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 5px;
}
.contact-item dd { margin: 0; font-size: 16.5px; }
.contact-item a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-item a:hover { border-bottom-color: var(--accent); color: var(--accent); }

.cta-panel {
  padding: clamp(32px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}
@media (prefers-color-scheme: dark) {
  .cta-panel { background: var(--paper-3); border: 1px solid var(--line); }
}
.cta-panel h3 { font-size: clamp(22px, 2.6vw, 28px); }
.cta-panel p { margin-top: 16px; opacity: 0.72; font-size: 16px; }
.cta-panel .btn { margin-top: 28px; }
.cta-panel__note { margin-top: 20px; font-size: 13.5px; opacity: 0.55; }

.cta-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 15px;
}
.cta-list li {
  position: relative;
  padding-left: 20px;
  opacity: 0.8;
}
.cta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 56px 40px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 14.5px;
  color: var(--ink-3);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.footer-top address { font-style: normal; margin-top: 14px; line-height: 1.75; }
.company-data {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  max-width: 42ch;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-3);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--ink); }
.footer-bottom {
  padding-top: 26px;
  text-align: center;
  font-size: 13.5px;
}

/* ---------- Legal pages ---------- */
.legal { max-width: 76ch; }
.legal h1 { font-size: clamp(30px, 4.4vw, 44px); margin-bottom: 12px; }
.legal .updated { color: var(--ink-3); font-size: 14px; margin-bottom: 44px; }
.legal h2 {
  font-size: 21px;
  margin-top: 44px;
  margin-bottom: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.legal h3 { font-size: 17px; margin-top: 26px; margin-bottom: 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 14px 0; padding-left: 22px; display: grid; gap: 8px; }
.legal a { color: var(--accent); }
.legal address { font-style: normal; line-height: 1.8; margin-top: 12px; }
.legal .note {
  margin-top: 16px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px;
}

/* ---------- Reveal on scroll ----------
   Only hidden once the `js` class is set in <head>, so the content stays
   visible when JavaScript is unavailable. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .split, .contact { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item { padding-inline: var(--gutter); }
}

@media (max-width: 860px) {
  .assure { grid-template-columns: 1fr; }
  .assure__item { border-left: 0; border-top: 1px solid var(--line); }
  .assure__item:first-child { border-top: 0; }
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
  .nav a:last-child { border-bottom: 0; }
  .header-actions .btn--primary { display: none; }
  .hero__meta { gap: 12px; flex-direction: column; }
}

@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
}

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

@media print {
  .site-header, .hero__cta, .cta-panel .btn, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}
