@font-face{font-family:"BPG Banner ExtraSquare";src:url("/assets/fonts/bpg_banner_extrasquare.ttf")}@font-face{font-family:"BPG Banner ExtraSquare Caps";src:url("/assets/fonts/bpg_banner_extrasquare_caps.ttf")}
:root {
  --navy: #0f1b3d;
  --ink: #111827;
  --blue: #245fd6;
  --cyan: #0b9bae;
  --violet: #6c58ee;
  --orange: #ef7200;
  --paper: #f5f7fb;
  --white: #ffffff;
  --muted: #637089;
  --line: rgba(15, 27, 61, .13);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 30px 80px rgba(15, 27, 61, .12);
  --container: 1240px;
  --font-primary: "BPG Banner ExtraSquare", "Segoe UI", Arial, sans-serif;
  --font-caps: "BPG Banner ExtraSquare Caps", "BPG Banner ExtraSquare", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }

/* TETRA HUB official typography
   CAPS is used for all headings, navigation and compact interface titles
   in both Georgian and English. Long-form copy remains ExtraSquare. */
h1,
h2,
h3,
.desktop-nav,
.mobile-menu nav,
.eyebrow,
.kicker,
.language-switch,
.button,
.text-link,
.brand-index,
.core-card span,
.satellite span,
.marquee-track span,
.card-link,
.hero-proof,
.metric-card,
.principles strong,
.footer-links strong,
.back-top {
  font-family: var(--font-caps);
}

html[lang="ka"] body,
html[lang="en"] body {
  font-family: var(--font-primary);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
input, textarea, select { font-family: var(--font-primary); }
::selection { background: rgba(36, 95, 214, .18); }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section-pad { padding: 118px 0; }
.skip-link { position: fixed; left: 16px; top: -100px; padding: 12px 18px; background: var(--navy); color: #fff; z-index: 999; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
}
.site-header.is-scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(16px); box-shadow: 0 8px 30px rgba(15,27,61,.08); }
.nav-shell { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { width: 204px; flex: 0 0 auto; }
.desktop-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.desktop-nav a { position: relative; font-size: 14px; font-weight: 650; color: #25314b; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--blue); transition: width .25s ease; }
.desktop-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.language-switch { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; color: #9aa3b5; }
.lang-btn { border: 0; background: transparent; padding: 4px 2px; color: #9aa3b5; cursor: pointer; }
.lang-btn.is-active { color: var(--navy); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 25px; border-radius: 999px; border: 1px solid transparent; font-size: 14px; font-weight: 750; letter-spacing: .01em; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 14px 30px rgba(36,95,214,.23); }
.button-primary:hover { box-shadow: 0 18px 40px rgba(36,95,214,.32); }
.button-small { min-height: 44px; padding: 0 20px; font-size: 13px; }
.button-white { color: var(--navy); background: #fff; }
.menu-toggle { display: none; border: 0; background: none; width: 44px; height: 44px; padding: 12px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px 0; transition: transform .25s ease; }
.menu-toggle.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { background: rgba(255,255,255,.98); border-top: 1px solid var(--line); }
.mobile-menu nav { padding: 20px 0 28px; display: grid; gap: 18px; }
.mobile-menu a:not(.button) { font-weight: 750; }

.hero { min-height: 880px; position: relative; display: grid; align-items: center; padding-top: 160px; background: radial-gradient(circle at 75% 35%, rgba(36,95,214,.12), transparent 27%), linear-gradient(145deg, #fff 15%, #f7f9fd 82%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .42; background-image: linear-gradient(rgba(15,27,61,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(15,27,61,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 44px; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span:first-child { width: 36px; height: 2px; background: var(--blue); }
h1, h2 { margin: 0; color: var(--navy); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
h1 { font-size: clamp(52px, 6.3vw, 88px); max-width: 760px; }
h1 em, h2 em { font-style: normal; color: var(--blue); }
.hero-lead { max-width: 650px; margin: 30px 0 0; color: #53617a; font-size: 19px; line-height: 1.68; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 750; }
.text-link span:last-child { transition: transform .2s ease; }
.text-link:hover span:last-child { transform: translate(3px,-3px); }
.hero-proof { margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); max-width: 650px; }
.hero-proof div { display: grid; gap: 5px; padding-right: 20px; }
.hero-proof strong { color: var(--navy); font-size: 27px; }
.hero-proof span { color: var(--muted); font-size: 12px; }
.hero-visual { position: relative; aspect-ratio: 1/1; min-height: 560px; }
.visual-orbit { position: absolute; border: 1px solid rgba(36,95,214,.16); border-radius: 50%; inset: 7%; animation: rotate 30s linear infinite; }
.visual-orbit::before, .visual-orbit::after { content:""; position:absolute; width:8px; height:8px; border-radius:50%; background:var(--blue); box-shadow:0 0 0 7px rgba(36,95,214,.08); }
.visual-orbit::before { left: 6%; top: 24%; }
.visual-orbit::after { right: 8%; bottom: 22%; }
.orbit-two { inset: 19%; border-style: dashed; animation-direction: reverse; animation-duration: 24s; }
.core-card { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 210px; aspect-ratio: 1; border-radius: 34px; display: grid; place-items: center; align-content: center; gap: 14px; background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 40px 90px rgba(15,27,61,.17); backdrop-filter: blur(15px); z-index: 3; }
.core-card img { width: 92px; }
.core-card span { color: var(--navy); font-size: 13px; font-weight: 850; letter-spacing: .18em; }
.core-glow { position:absolute; inset:20%; border-radius:50%; background:rgba(36,95,214,.18); filter:blur(28px); z-index:-1; }
.satellite { position: absolute; width: 126px; aspect-ratio: 1; border-radius: 23px; display: grid; place-items: center; align-content: center; gap: 8px; background: rgba(255,255,255,.91); box-shadow: 0 18px 45px rgba(15,27,61,.12); border: 1px solid rgba(15,27,61,.06); }
.satellite img { width: 48px; max-height: 58px; object-fit: contain; }
.satellite span { font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.satellite-service { left: 2%; top: 18%; }
.satellite-products { right: 2%; top: 18%; }
.satellite-code { left: 8%; bottom: 12%; }
.satellite-inspect { right: 8%; bottom: 12%; }
.hero-marquee { position: absolute; left: 0; right: 0; bottom: 0; height: 75px; display: flex; align-items: center; border-top: 1px solid var(--line); background: rgba(255,255,255,.65); overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 25px; min-width: max-content; animation: marquee 25s linear infinite; }
.marquee-track span { color: rgba(15,27,61,.45); font-size: 12px; font-weight: 850; letter-spacing: .19em; }
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

.kicker { display: inline-block; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .16em; margin-bottom: 22px; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 60px; margin-bottom: 64px; }
.section-heading h2, .about-copy h2, .contact h2 { font-size: clamp(44px, 5.2vw, 72px); }
.section-heading > p { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0 0 6px; }
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.brand-card { --accent: var(--blue); min-height: 390px; position: relative; padding: 30px; border-radius: var(--radius-lg); background: #f7f9fc; border: 1px solid rgba(15,27,61,.08); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; transition: transform .35s ease, box-shadow .35s ease, background .35s ease; }
.brand-card::before { content:""; position:absolute; width:250px; height:250px; right:-100px; top:-100px; border-radius:50%; background:color-mix(in srgb, var(--accent) 16%, transparent); filter:blur(3px); transition:transform .4s ease; }
.brand-card:hover, .brand-card:focus { transform: translateY(-7px); box-shadow: var(--shadow); background:#fff; outline:none; }
.brand-card:hover::before { transform:scale(1.28); }
.brand-card.products { --accent: var(--cyan); }
.brand-card.code { --accent: var(--violet); }
.brand-card.inspect { --accent: var(--orange); }
.card-top { position:relative; display:flex; align-items:flex-start; justify-content:space-between; z-index:1; }
.card-top img { width: 240px; height: 72px; object-fit: contain; object-position: right top; }
.brand-index { color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: .15em; }
.card-body { position:relative; z-index:1; max-width:560px; }
.card-body h3 { margin:0 0 15px; color:var(--navy); font-size:27px; letter-spacing:-.03em; }
.card-body p { margin:0; color:var(--muted); line-height:1.68; }
.card-link { display:inline-flex; align-items:center; gap:10px; margin-top:24px; color:var(--accent); font-size:13px; font-weight:850; }

.about { background: var(--paper); }
.about-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap:90px; align-items:center; }
.about-visual { position:relative; min-height:590px; border-radius:var(--radius-xl); background:var(--navy); overflow:hidden; box-shadow:var(--shadow); }
.blueprint-grid { position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px); background-size:42px 42px; }
.about-symbol { position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%); width:230px; aspect-ratio:1; border-radius:50%; display:grid; place-items:center; background:#fff; box-shadow:0 25px 70px rgba(0,0,0,.24); }
.about-symbol::before { content:""; position:absolute; inset:-45px; border:1px dashed rgba(255,255,255,.28); border-radius:50%; animation:rotate 25s linear infinite; }
.about-symbol img { width:116px; }
.metric-card { position:absolute; padding:14px 17px; min-width:128px; border-radius:14px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.16); backdrop-filter:blur(10px); color:#fff; display:grid; gap:4px; }
.metric-card strong { font-size:11px; color:#6fa1ff; }
.metric-card span { font-size:12px; font-weight:700; }
.metric-one { left:8%; top:11%; }.metric-two { right:7%; top:19%; }.metric-three { left:14%; bottom:11%; }
.about-copy .lead { color:var(--navy); font-size:21px; font-weight:650; line-height:1.55; margin:30px 0 18px; }
.about-copy > p:not(.lead) { color:var(--muted); line-height:1.72; font-size:16px; }
.principles { margin-top:34px; border-top:1px solid var(--line); }
.principles div { display:grid; grid-template-columns:50px 1fr; gap:14px; padding:18px 0; border-bottom:1px solid var(--line); }
.principles span { color:var(--blue); font-size:12px; font-weight:850; }
.principles strong { color:var(--navy); font-size:15px; }

.approach { position:relative; background:var(--navy); color:#fff; overflow:hidden; }
.approach::before { content:""; position:absolute; width:720px; height:720px; right:-280px; top:-280px; border-radius:50%; border:1px solid rgba(255,255,255,.07); box-shadow:0 0 0 90px rgba(255,255,255,.025),0 0 0 180px rgba(255,255,255,.018); }
.section-heading.light h2 { color:#fff; }.section-heading.light h2 em { color:#6fa1ff; }.section-heading.light > p { color:#aab4ca; }
.process-grid { position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.12); border-radius:var(--radius-lg); overflow:hidden; }
.process-card { min-height:300px; padding:34px 28px; background:rgba(15,27,61,.88); transition:background .3s ease; }
.process-card:hover { background:#172958; }
.process-card > span { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; border:1px solid rgba(255,255,255,.18); color:#6fa1ff; font-size:12px; font-weight:850; }
.process-card h3 { margin:80px 0 14px; font-size:23px; }
.process-card p { margin:0; color:#abb5c9; font-size:14px; line-height:1.7; }

.contact { background:var(--white); }
.contact-panel { position:relative; display:grid; grid-template-columns:1.2fr .8fr; gap:60px; align-items:center; padding:70px; border-radius:var(--radius-xl); background:linear-gradient(135deg,#245fd6 0%,#194ebc 60%,#183e8f 100%); color:#fff; overflow:hidden; box-shadow:0 35px 80px rgba(36,95,214,.23); }
.contact-panel::after { content:""; position:absolute; width:480px; height:480px; border-radius:50%; right:-180px; top:-210px; border:1px solid rgba(255,255,255,.22); box-shadow:0 0 0 70px rgba(255,255,255,.045),0 0 0 140px rgba(255,255,255,.03); }
.contact .kicker { color:#d9e5ff; }.contact h2 { color:#fff; }.contact h2 em { color:#dfe8ff; }
.contact-copy p { max-width:700px; color:#dce7ff; line-height:1.68; margin:26px 0 0; }
.contact-actions { position:relative; z-index:1; display:grid; justify-items:start; gap:17px; }
.button-whatsapp { display:inline-flex; align-items:center; justify-content:space-between; gap:24px; min-width:252px; padding:15px 20px; border:1px solid rgba(255,255,255,.35); border-radius:999px; background:rgba(255,255,255,.10); color:#fff; backdrop-filter:blur(8px); transition:transform .25s ease, background .25s ease, border-color .25s ease; }
.button-whatsapp:hover { transform:translateY(-2px); background:rgba(255,255,255,.17); border-color:rgba(255,255,255,.55); }
.contact-detail { display:grid; gap:5px; margin-top:2px; }
.contact-detail-label { color:#aFC5f5; font-family:"BPG Banner ExtraSquare Caps", sans-serif; font-size:12px; letter-spacing:.08em; }
.contact-phone { font-size:23px; font-weight:750; }
.contact-note { max-width:390px; margin:0; color:#d6e2ff; font-size:14px; font-style:normal; line-height:1.55; }

.site-footer { padding:70px 0 24px; background:#f4f6fa; border-top:1px solid var(--line); }
.footer-main { display:grid; grid-template-columns:1fr 1fr; gap:80px; padding-bottom:55px; }
.footer-brand img { width:220px; }
.footer-brand p { max-width:430px; color:var(--muted); line-height:1.7; }
.footer-links { display:grid; grid-template-columns:repeat(2,1fr); gap:40px; }
.footer-links div { display:grid; gap:12px; align-content:start; }
.footer-links strong { margin-bottom:8px; color:var(--navy); font-size:13px; }
.footer-links a,.footer-links span { color:var(--muted); font-size:13px; }
.footer-links a:hover { color:var(--blue); }
.footer-bottom { border-top:1px solid var(--line); padding-top:22px; display:flex; justify-content:space-between; color:#7a8497; font-size:12px; }
.back-top { color:var(--navy); font-weight:750; }

.reveal { opacity:0; transform:translateY(24px); transition:opacity .7s ease,transform .7s ease; }
.reveal.is-visible { opacity:1; transform:none; }
.reveal-delay-1 { transition-delay:.1s; }.reveal-delay-2 { transition-delay:.2s; }.reveal-delay-3 { transition-delay:.3s; }
@keyframes rotate { to { transform:rotate(360deg); } }
@keyframes marquee { to { transform:translateX(-50%); } }

@media (max-width: 1050px) {
  .desktop-nav,.desktop-cta { display:none; }
  .menu-toggle { display:block; }
  .hero { min-height:auto; padding-top:150px; }
  .hero-grid { grid-template-columns:1fr; }
  .hero-copy { max-width:780px; }
  .hero-visual { width:min(100%,650px); margin:0 auto; }
  .about-grid { grid-template-columns:1fr; gap:55px; }
  .about-visual { min-height:520px; }
  .process-grid { grid-template-columns:repeat(2,1fr); }
  .contact-panel { grid-template-columns:1fr; }
}
@media (max-width: 760px) {
  .container { width:min(calc(100% - 32px),var(--container)); }
  .section-pad { padding:82px 0; }
  .nav-shell { height:76px; }.brand { width:170px; }
  h1 { font-size:clamp(43px,13vw,65px); }
  .hero { padding-top:124px; }
  .hero-lead { font-size:16px; }
  .hero-actions { align-items:flex-start; flex-direction:column; gap:20px; }
  .hero-proof { grid-template-columns:1fr; gap:18px; }
  .hero-proof div { grid-template-columns:78px 1fr; align-items:center; }
  .hero-visual { min-height:430px; }
  .core-card { width:155px; border-radius:26px; }.core-card img { width:68px; }
  .satellite { width:92px; border-radius:18px; }.satellite img { width:38px; max-height:44px; }.satellite span { font-size:8px; }
  .section-heading { grid-template-columns:1fr; gap:24px; margin-bottom:42px; }
  .brand-grid { grid-template-columns:1fr; }
  .brand-card { min-height:355px; padding:24px; }
  .card-top img { width:195px; }
  .card-body h3 { font-size:23px; }
  .about-visual { min-height:430px; }.about-symbol { width:170px; }.about-symbol img { width:90px; }
  .metric-card { min-width:105px; padding:10px 12px; }.metric-card span { font-size:10px; }
  .process-grid { grid-template-columns:1fr; }
  .process-card { min-height:245px; }.process-card h3 { margin-top:55px; }
  .contact-panel { padding:46px 26px; border-radius:24px; }
  .contact-phone { font-size:19px; }
  .footer-main { grid-template-columns:1fr; gap:45px; }
  .footer-bottom { flex-direction:column; gap:15px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; transition-duration:.01ms !important; }
}

.news{background:#f7f9fd}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.news-card{overflow:hidden;border:1px solid #dfe6f1;border-radius:24px;background:#fff}.news-media{display:grid;place-items:center;min-height:220px;background:linear-gradient(145deg,#0f1b3d,#1e5de0);color:white;text-decoration:none;font-family:"BPG Banner ExtraSquare Caps";letter-spacing:.12em}.news-media img{width:100%;height:220px;object-fit:cover}.news-body{padding:24px}.news-meta{display:flex;justify-content:space-between;gap:15px;color:#6b7895;font-size:11px}.news-card h3{font-size:24px}.news-card h3 a{color:inherit;text-decoration:none}.news-all{text-align:center;margin-top:28px}.simple-header{background:white;border-bottom:1px solid #e2e8f2}.simple-header .container{height:92px;display:flex;align-items:center;justify-content:space-between}.simple-header img{width:220px}.news-page h1,.article-page h1{font-family:"BPG Banner ExtraSquare Caps";font-size:clamp(44px,6vw,76px)}.article-shell{max-width:900px}.article-lead{font-size:22px;line-height:1.6}.article-cover{width:100%;border-radius:24px;margin:28px 0}.article-content{font-size:18px;line-height:1.9}.satellite[data-url]{cursor:pointer}.brand-card .card-link{position:relative;z-index:2}@media(max-width:900px){.news-grid{grid-template-columns:1fr}}

/* TETRA HUB v1.2 — footer links and WhatsApp only.
   The original footer background and layout are intentionally preserved. */
.footer-contact-links{
  display:grid;
  gap:9px;
  margin-top:22px;
}
.footer-contact-links a,
.footer-contact-links address{
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
  font-style:normal;
}
.footer-contact-links a:hover{color:var(--blue)}

.footer-bottom-extended{
  align-items:center;
  gap:24px;
}
.footer-bottom-extended>span:nth-child(2){
  margin-left:auto;
}
.footer-bottom-extended a{
  color:var(--navy);
}
.footer-bottom-extended a:hover{
  color:var(--blue);
}

.whatsapp-float{
  position:fixed;
  z-index:90;
  right:24px;
  bottom:22px;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.28);
  border-radius:50%;
  background:#1cbc68;
  color:#fff;
  box-shadow:0 15px 32px rgba(13,111,65,.30);
  font-family:var(--font-caps);
  font-size:12px;
  transition:transform .25s ease,box-shadow .25s ease,background .25s ease;
}
.whatsapp-float:hover{
  transform:translateY(-4px);
  background:#16aa5c;
  box-shadow:0 20px 38px rgba(13,111,65,.38);
}

@media(max-width:760px){
  .footer-bottom-extended>span:nth-child(2){
    margin-left:0;
  }
  .whatsapp-float{
    right:16px;
    bottom:16px;
    width:54px;
    height:54px;
  }
}


/* Emergency visibility fix v1.2.1
   Keeps all homepage sections visible even if the reveal JavaScript does not run. */
.reveal,
.reveal-delay-1,
.reveal-delay-2,
.reveal-delay-3 {
  opacity: 1 !important;
  transform: none !important;
}
