/* =========================================================
   Pipeservice — Design System
   Clean & Blue / Technical Trust with a luxurious hero
   ========================================================= */

:root {
  /* Brand palette */
  --navy-900: #061627;
  --navy-800: #0A2540;
  --navy-700: #0E3358;
  --navy-600: #14406b;
  --blue-600: #1E6BF0;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --cyan-400: #38BDF8;
  --steel-500: #5A7290;
  --steel-300: #9FB2C7;
  --sky-100: #E8F1FD;
  --sky-50:  #F2F7FE;

  --bg: #F6F9FC;
  --surface: #FFFFFF;
  --ink: #0B1F33;
  --muted: #566880;
  --line: #E3EAF2;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow: 0 12px 40px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 30px 70px rgba(6, 22, 39, 0.22);

  --grad-blue: linear-gradient(135deg, #1E6BF0 0%, #38BDF8 100%);
  --grad-navy: linear-gradient(160deg, #0A2540 0%, #061627 100%);

  --container: 1200px;
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); overflow-wrap: break-word; word-break: break-word; }
p { color: var(--muted); overflow-wrap: break-word; }
.hero h1, .page-hero h1 { hyphens: auto; }
::selection { background: var(--blue-600); color: #fff; }

/* ---------- Language toggle visibility ---------- */
.lang-en { display: none; }
body.en .lang-en { display: revert; }
body.en .lang-et { display: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--tight { padding: 72px 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-600);
  padding: 7px 14px; border-radius: 999px;
  background: var(--sky-100); margin-bottom: 20px;
}
.eyebrow--light { color: var(--cyan-400); background: rgba(56,189,248,0.12); }
.section-title { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.section-lead { font-size: 19px; max-width: 640px; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-blue); color: #fff; box-shadow: 0 12px 28px rgba(30,107,240,0.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(30,107,240,0.45); }
.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.28); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 16.5px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
  background: transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 rgba(10,37,64,0.08), 0 10px 30px rgba(10,37,64,0.06);
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 21px; color: #fff; letter-spacing: -0.02em; transition: color .35s; }
.site-header.scrolled .brand { color: var(--navy-800); }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand span b { color: var(--cyan-400); font-weight: 700; }
.site-header.scrolled .brand span b { color: var(--blue-600); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head); font-weight: 500; font-size: 15px;
  color: rgba(255,255,255,0.9); padding: 10px 16px; border-radius: 999px;
  transition: color .25s, background .25s;
}
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,0.12); }
.site-header.scrolled .nav a { color: var(--muted); }
.site-header.scrolled .nav a:hover, .site-header.scrolled .nav a.active { color: var(--blue-600); background: var(--sky-100); }

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

/* dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 12px; width: 320px; opacity: 0; visibility: hidden; transition: all .28s var(--ease);
  border: 1px solid var(--line);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; color: var(--ink); background: transparent; }
.dropdown a:hover { background: var(--sky-50); }
.dropdown .di { width: 38px; height: 38px; border-radius: 10px; background: var(--sky-100); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.dropdown .di svg { width: 20px; height: 20px; }
.dropdown b { font-family: var(--font-head); font-size: 14.5px; display: block; color: var(--ink); }
.dropdown small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }

/* language switch */
.lang-switch { display: inline-flex; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; padding: 3px; }
.site-header.scrolled .lang-switch { background: var(--sky-100); border-color: var(--line); }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer; font-family: var(--font-head); font-weight: 600;
  font-size: 12.5px; color: rgba(255,255,255,0.8); padding: 6px 12px; border-radius: 999px; transition: all .2s;
}
.site-header.scrolled .lang-switch button { color: var(--muted); }
.lang-switch button.on { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-sm); }
.site-header.scrolled .lang-switch button.on { background: var(--blue-600); color: #fff; }

/* burger */
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.08); cursor: pointer; position: relative; }
.site-header.scrolled .burger { border-color: var(--line); background: #fff; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.site-header.scrolled .burger span { background: var(--navy-800); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--grad-navy);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 40px;
  transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
}
body.menu-open .mobile-nav { transform: translateX(0); visibility: visible; }
.mobile-nav a { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 26px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav .btn { margin-top: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 80px;
  background: var(--grad-navy);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__grid {
  position: absolute; inset: 0;
  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: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.hero__glow.a { width: 620px; height: 620px; background: radial-gradient(circle, #1E6BF0, transparent 65%); top: -160px; right: -120px; }
.hero__glow.b { width: 520px; height: 520px; background: radial-gradient(circle, #38BDF8, transparent 65%); bottom: -180px; left: -140px; opacity: .4; }
.hero__pipes { position: absolute; right: 0; top: 0; height: 100%; width: 46%; opacity: .5; z-index: 1; }
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 760px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(8px);
  font-size: 13.5px; font-weight: 500; color: #dbe7f7; margin-bottom: 26px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,0.25); }
.hero h1 { font-size: clamp(40px, 6.4vw, 74px); line-height: 1.03; color: #fff; margin-bottom: 24px; }
.hero h1 .grad { background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__lead { font-size: clamp(18px, 2.2vw, 22px); color: #c4d3e6; max-width: 620px; margin-bottom: 38px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 54px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 40px; }
.hero__stat .n { font-family: var(--font-head); font-weight: 700; font-size: 40px; color: #fff; line-height: 1; }
.hero__stat .n b { color: var(--cyan-400); }
.hero__stat .l { font-size: 14px; color: #9db4cd; margin-top: 6px; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; color: #9db4cd; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__scroll .mouse { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.35); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: #cfe0f2; border-radius: 2px; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0);} 40% { opacity: 1;} 80% { opacity: 0; transform: translate(-50%, 10px);} }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trustbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.trustbar .t { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.trustbar .t svg { width: 22px; height: 22px; color: var(--blue-600); flex: none; }

/* ---------- Section head ---------- */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }

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

.service-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 30px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-blue); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card .ico { width: 58px; height: 58px; border-radius: 16px; background: var(--sky-100); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 22px; transition: background .35s, color .35s; }
.service-card:hover .ico { background: var(--grad-blue); color: #fff; }
.service-card .ico svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { font-size: 15px; }
.service-card .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--blue-600); }
.service-card .more svg { width: 16px; height: 16px; transition: transform .3s; }
.service-card:hover .more svg { transform: translateX(4px); }

/* ---------- Feature / why ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.feature-list { display: grid; gap: 22px; margin-top: 30px; }
.feature-item { display: flex; gap: 16px; }
.feature-item .fi { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-600); }
.feature-item .fi svg { width: 22px; height: 22px; }
.feature-item h4 { font-size: 17.5px; margin-bottom: 4px; }
.feature-item p { font-size: 15px; }

.media-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--grad-navy); min-height: 460px; }
.media-card .mc-inner { position: absolute; inset: 0; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.media-card .badge-float { align-self: flex-start; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; font-family: var(--font-head); backdrop-filter: blur(6px); }
.media-card .mc-stat { color: #fff; }
.media-card .mc-stat .big { font-family: var(--font-head); font-weight: 700; font-size: 56px; line-height: 1; }
.media-card .mc-stat .big b { color: var(--cyan-400); }
.media-card .mc-stat p { color: #b9cade; margin-top: 8px; max-width: 320px; }
.media-card .mc-grid { position: absolute; inset: 0; 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: 48px 48px; mask-image: radial-gradient(ellipse 80% 80% at 30% 20%, #000, transparent 70%); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--grad-navy); color: #fff; border-radius: 0; }
.stats-band .grid-4 { gap: 30px; }
.stat-block { text-align: center; padding: 20px; }
.stat-block .n { font-family: var(--font-head); font-weight: 700; font-size: clamp(38px, 5vw, 54px); color: #fff; }
.stat-block .n b { color: var(--cyan-400); }
.stat-block .l { color: #a9bfd6; font-size: 15px; margin-top: 8px; }
.stats-band .section-title { color: #fff; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.process-step { position: relative; padding: 34px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.process-step .num { font-family: var(--font-head); font-weight: 700; font-size: 15px; width: 44px; height: 44px; border-radius: 12px; background: var(--grad-blue); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.process-step h4 { font-size: 18px; margin-bottom: 8px; }
.process-step p { font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad-navy); border-radius: var(--radius-xl); padding: 66px; text-align: center; color: #fff; }
.cta-band .glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; filter: blur(90px); background: radial-gradient(circle, rgba(30,107,240,0.6), transparent 65%); top: -180px; left: 50%; transform: translateX(-50%); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.cta-band p { color: #c1d2e6; font-size: 19px; max-width: 560px; margin: 0 auto 34px; }
.cta-band .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; background: var(--grad-navy); color: #fff; padding: calc(var(--header-h) + 70px) 0 80px; overflow: hidden; }
.page-hero__grid { position: absolute; inset: 0; 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: 56px 56px; mask-image: radial-gradient(ellipse 80% 90% at 75% 10%, #000, transparent 70%); }
.page-hero__glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); background: radial-gradient(circle, rgba(56,189,248,0.5), transparent 65%); top: -200px; right: -100px; }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #9db4cd; margin-bottom: 22px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); color: #fff; margin-bottom: 18px; max-width: 820px; }
.page-hero p { font-size: 19px; color: #c4d3e6; max-width: 640px; }

/* ---------- Content / prose ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 28px; margin: 40px 0 14px; }
.prose h3 { font-size: 21px; margin: 30px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul.bullets { margin: 8px 0 20px; display: grid; gap: 12px; }
.prose ul.bullets li { position: relative; padding-left: 34px; color: var(--muted); }
.prose ul.bullets li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--sky-100); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231E6BF0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }

/* ---------- Service detail layout ---------- */
.sd-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.sidecard { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.sidecard h4 { font-size: 19px; margin-bottom: 8px; }
.sidecard p { font-size: 14.5px; margin-bottom: 18px; }
.sidecard .btn { width: 100%; }
.sidecard .contact-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink); font-weight: 500; }
.sidecard .contact-line svg { width: 18px; height: 18px; color: var(--blue-600); }
.other-services { margin-top: 20px; }
.other-services a { display: flex; align-items: center; gap: 10px; padding: 11px 0; font-size: 14.5px; color: var(--muted); border-top: 1px solid var(--line); transition: color .2s, padding .2s; }
.other-services a:hover { color: var(--blue-600); padding-left: 4px; }
.other-services a svg { width: 16px; height: 16px; color: var(--blue-600); }

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 26px 0; }
.spec-item { background: var(--sky-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.spec-item .si { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--blue-600); display: grid; place-items: center; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.spec-item .si svg { width: 22px; height: 22px; }
.spec-item h4 { font-size: 16.5px; margin-bottom: 6px; }
.spec-item p { font-size: 14px; margin: 0; }

/* ---------- About ---------- */
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; transition: transform .3s var(--ease), box-shadow .3s; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .vi { width: 54px; height: 54px; border-radius: 14px; background: var(--grad-blue); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.value-card .vi svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 19px; margin-bottom: 10px; }
.value-card p { font-size: 15px; }

.timeline { display: grid; gap: 0; margin-top: 20px; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.tl-item .yr { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--blue-600); }
.tl-item h4 { font-size: 18px; margin-bottom: 6px; }
.tl-item p { font-size: 15px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 20px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ir { width: 48px; height: 48px; border-radius: 12px; background: var(--sky-100); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.info-row .ir svg { width: 22px; height: 22px; }
.info-row .label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.info-row .val { font-size: 17px; color: var(--ink); font-weight: 600; font-family: var(--font-head); }
.info-row .val a:hover { color: var(--blue-600); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; margin-bottom: 8px; color: var(--ink); }
.field label .req { color: var(--blue-600); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 15.5px; color: var(--ink); background: var(--sky-50); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(30,107,240,0.12); }
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.form-msg { display: none; padding: 16px 18px; border-radius: 12px; background: #E7F7EE; color: #0f7a43; font-weight: 600; font-size: 15px; margin-bottom: 20px; border: 1px solid #b6e6cb; }
.form-msg.show { display: block; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink); }
.faq-q .pm { width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--sky-100); color: var(--blue-600); display: grid; place-items: center; transition: transform .3s, background .3s; }
.faq-q .pm svg { width: 16px; height: 16px; }
.faq-item.open .faq-q .pm { background: var(--grad-blue); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 26px 22px; font-size: 15.5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #cfe0f2; padding: 76px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand p { color: #90a8c4; font-size: 15px; max-width: 320px; }
.footer-col h5 { font-family: var(--font-head); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col a { display: block; color: #a7bdd6; font-size: 15px; padding: 6px 0; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact .fc { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: #cfe0f2; font-size: 15px; }
.footer-contact .fc svg { width: 18px; height: 18px; color: var(--cyan-400); flex: none; margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 13.5px; color: #7d97b5; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav, .header-actions .btn--desktop { display: none; }
  .burger { display: block; }
  .split, .contact-grid, .sd-layout { grid-template-columns: 1fr; gap: 40px; }
  .sidecard { position: static; }
  .section { padding: 76px 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .spec-grid, .form-row { grid-template-columns: 1fr; }
  .hero__stats { gap: 26px; }
  .hero__stat .n { font-size: 32px; }
  .cta-band { padding: 44px 24px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .footer-top { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .lang-switch { order: -1; }
}
