/* ═══════════════════════════════════════════
   TECHNOMETA — style.css
   Палитра из логотипа компании
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=PT+Sans:wght@400;700&display=swap');

:root {
  --bg:      #263d52;
  --bg-dark: #1c2f40;
  --bg-mid:  #2d4860;
  --accent:  #8ec5d6;
  --accent2: #5fa8c8;
  --accent3: #b8dae8;
  --light:   #f0f5f8;
  --white:   #ffffff;
  --text:    #1c2f40;
  --gray:    #7a99b0;
  --border:  rgba(142,197,214,0.2);
  --gap2:    #ccd8e2;
  /* Ширина контентной колонки + боковые отступы (шапка, hero, page-hero, секции) */
  --content-max: 1240px;
  --gutter-x: 28px;
  --shell-max: calc(var(--content-max) + 2 * var(--gutter-x));
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PT Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
}
h1, h2, h3, h4, nav a, .oswald { font-family: 'Oswald', sans-serif; }
a { text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 2px solid var(--border);
}

.nav-inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter-x);
  height: 70px;
}

.logo { display: flex; align-items: center; cursor: pointer; }
.logo img { width: 200px; height: auto; }

nav { display: flex; gap: 2px; }

nav a {
  color: var(--accent3);
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 9px 15px;
  transition: color .2s, background .2s;
}

nav a:hover,
nav a.active {
  color: var(--bg);
  background: var(--accent);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--accent);
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-dark);
  padding: 12px 32px;
  font-family: 'Oswald', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn:hover { background: var(--accent3); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-ghost:hover { background: var(--accent); color: var(--bg-dark); }

/* ═══════════════════════════════════════════
   GENERIC HELPERS
═══════════════════════════════════════════ */
.container { max-width: 1240px; margin: 0 auto; }
section { padding: 72px var(--gutter-x); }

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
  line-height: 1.15;
}
.section-title em { font-style: normal; color: var(--accent2); }
.section-title.light { color: var(--white); }

.section-sub {
  color: #4a6070;
  font-size: 16px;
  max-width: 560px;
  margin-bottom: 44px;
  line-height: 1.75;
}
.section-sub.light { color: rgba(142,197,214,.65); }

/* ═══════════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════════ */
.page-hero {
  margin-top: 70px;
  background: var(--bg);
  padding: 52px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(142,197,214,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142,197,214,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent2), transparent 60%);
}
.page-hero .container {
  position: relative;
  z-index: 1;
  max-width: var(--shell-max);
  padding-left: var(--gutter-x);
  padding-right: var(--gutter-x);
  margin-left: auto;
  margin-right: auto;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(26px, 3.5vw, 44px);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.breadcrumb { font-size: 12.5px; color: var(--gray); margin-bottom: 10px; }
.breadcrumb a { color: var(--gray); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

/* ═══════════════════════════════════════════
   HERO (home)
═══════════════════════════════════════════ */
.hero {
  margin-top: 70px;
  min-height: 520px;
  background: var(--bg);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/background.jpg") center/cover no-repeat;
  opacity: 0.7; /* регулируй прозрачность */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--shell-max);
  margin: 0 auto;
  width: 100%;
  padding: 64px var(--gutter-x);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(142,197,214,.1);
  border: 1px solid rgba(142,197,214,.25);
  color: var(--accent);
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  max-width: 640px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p {
  color: var(--white);
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 34px;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-visual {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(142,197,214,.18);
  background: rgba(28,47,64,.35);
  min-height: 320px;
  overflow: hidden;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ═══════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════ */
.stats-bar { background: var(--bg-dark); border-bottom: 1px solid var(--border); }
.stats-inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 var(--gutter-x);
}
.stat {
  padding: 30px 18px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 5px;
}
.stat-label {
  color: var(--gray);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════
   HOME — SERVICES OVERVIEW GRID
═══════════════════════════════════════════ */
.home-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}
.home-2col > div:first-child > .section-label + .section-sub {
  margin-top: 14px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--gap2);
}
.service-card {
  background: var(--white);
  padding: 34px 28px;
  transition: background .28s;
}
.service-card:hover { background: var(--bg); }
.service-card:hover .sc-title { color: var(--accent3); }
.service-card:hover .sc-desc li { color: rgba(142,197,214,.65); }
.service-card:hover .sc-icon { border-color: var(--accent); }
.service-card:hover .sc-icon svg { fill: var(--accent); }

.sc-icon {
  width: 230px; height: 230px;
  margin-bottom: 16px;
  transition: .3s;
  object-fit: cover;
}
.sc-icon svg { width: 24px; height: 24px; fill: var(--accent2); transition: .3s; }
.sc-title {
  font-family: 'Oswald', sans-serif;
  font-size: 17px; font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 9px;
  letter-spacing: .3px;
  transition: .3s;
}
.sc-desc li {
  color: #4a6070;
  font-size: 13.5px;
  padding: 3px 0 3px 15px;
  position: relative;
  transition: color .3s;
}
.sc-desc li::before { content: '—'; position: absolute; left: 0; color: var(--accent2); }

.soft-name {
  font-weight: 700;
  color: var(--accent2);
}
.service-card:hover .sc-desc li .soft-name {
  color: var(--accent3);
}

/* ═══════════════════════════════════════════
   WHY US
═══════════════════════════════════════════ */
.why-section { background: var(--bg); padding: 72px 28px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(0,0,0,.2);
  margin-top: 44px;
}
.why-card {
  background: var(--bg-mid);
  padding: 28px 24px;
  transition: background .3s;
}
.why-card:hover { background: var(--bg-dark); }
.why-num {
  font-family: 'Oswald', sans-serif;
  font-size: 36px; font-weight: 700;
  color: var(--accent); opacity: .3;
  line-height: 1; margin-bottom: 12px;
}
.why-title {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  color: var(--accent3);
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 9px;
}
.why-desc { color: var(--gray); font-size: 13.5px; line-height: 1.65; }

/* ═══════════════════════════════════════════
   CLIENTS
═══════════════════════════════════════════ */
.clients-section { padding: 72px 28px; }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  margin-top: 44px;
}
.clients-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  gap: 1rem;
}

.clients-card.rakvere img {
  background: #003628;
  padding: 1rem;
}

/* ═══════════════════════════════════════════
   PROJECT SHOWCASE
═══════════════════════════════════════════ */
.project-wrap { background: var(--light); padding: 72px 28px; }
.project-card {
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.proj-content {
  padding: 50px 42px;
  display: flex; flex-direction: column; justify-content: center;
}
.proj-tag {
  display: inline-block;
  border: 1px solid rgba(142,197,214,.3);
  color: var(--accent);
  font-family: 'Oswald', sans-serif;
  font-size: 11px; letter-spacing: 2px;
  padding: 4px 12px; text-transform: uppercase;
  margin-bottom: 18px; width: fit-content;
}
.proj-content h3 {
  font-size: 22px; color: var(--white);
  text-transform: uppercase; line-height: 1.2;
  margin-bottom: 14px;
}
.proj-content p { color: var(--gray); font-size: 14.5px; margin-bottom: 28px; line-height: 1.75; }
.proj-visual {
  display: flex; align-items: center; justify-content: end;
  min-height: 340px;
  padding: 2rem;
}
.proj-photo {
  width: 88%;
  max-width: 520px;
  height: auto;
  opacity: .9;
}

/* ═══════════════════════════════════════════
   SLOGAN
═══════════════════════════════════════════ */
.slogan-section {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 52px 28px;
  text-align: center;
}
.slogan-section h2 {
  color: var(--accent3);
  font-size: clamp(22px, 3vw, 38px);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 8px;
}
.slogan-section h2 em { font-style: normal; color: var(--white); }
.slogan-section p { color: var(--gray); font-size: 16px; }
.slogan-section .btn { margin-top: 22px; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer { background: var(--bg-dark); color: var(--white); }
.footer-main {
  max-width: var(--shell-max); margin: 0 auto;
  padding: 52px var(--gutter-x) 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-brand p {
  color: var(--gray); font-size: 13.5px;
  margin-top: 14px; max-width: 250px; line-height: 1.7;
}
.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.footer-col a,
.footer-col p {
  display: block; color: var(--gray);
  font-size: 13.5px; margin-bottom: 6px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: var(--shell-max); margin: 0 auto;
  padding: 16px var(--gutter-x);
  display: flex; justify-content: space-between;
}
.footer-bottom p { color: #3d5a6e; font-size: 12.5px; }

/* ═══════════════════════════════════════════
   SERVICES PAGE
═══════════════════════════════════════════ */
.srv-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 26px; padding: 34px;
  margin-bottom: 2px;
  background: var(--light);
  border-left: 3px solid transparent;
  transition: border-color .3s, background .3s;
}
.srv-card:hover { border-left-color: var(--accent2); background: white; }
.srv-num {
  font-family: 'Oswald', sans-serif;
  font-size: 48px; color: var(--accent2);
  opacity: .2; font-weight: 700; line-height: 1;
}
.srv-body h3 {
  font-size: 20px; text-transform: uppercase;
  color: var(--text); margin-bottom: 9px; letter-spacing: .3px;
}
.srv-body p { color: #4a6070; font-size: 14.5px; margin-bottom: 13px; line-height: 1.7; }
.srv-body ul.srv-bullets {
  list-style: none;
  margin: 0 0 4px 0;
  padding: 0;
}
.srv-body ul.srv-bullets li {
  color: #4a6070;
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}
.srv-body ul.srv-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent2);
}
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: var(--bg); color: var(--accent);
  font-size: 11px; padding: 4px 10px;
  letter-spacing: .5px;
  font-family: 'Oswald', sans-serif; text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   PRODUCTS PAGE
═══════════════════════════════════════════ */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--gap2);
  margin-top: 44px;
}
.prod-card {
  background: white;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(28,47,64,.14); }
.prod-card:hover .prod-more { color: var(--text); }
.prod-img {
  height: 210px; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 0.625rem;
}
.prod-img img { max-width: 100%; max-height: 100%; display: block; border: none; }
.prod-img svg { width: 68px; height: 68px; }
.prod-badge {
  position: absolute; top: 0; left: 0;
  background: var(--accent2); color: var(--bg-dark);
  font-family: 'Oswald', sans-serif;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 11px;
}
.prod-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.prod-body h3 { font-size: 15px; text-transform: uppercase; color: var(--text); margin-bottom: 8px; line-height: 1.3; }
.prod-body p { color: #4a6070; font-size: 13.5px; line-height: 1.6; flex: 1; }
.prod-more {
  display: inline-block; margin-top: 16px;
  color: var(--accent2);
  font-family: 'Oswald', sans-serif;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  transition: color .2s;
}

.dl-banner {
  background: var(--bg);
  padding: 48px 28px; text-align: center; margin-top: 44px;
}
.dl-banner h3 { color: var(--accent3); font-size: 21px; text-transform: uppercase; margin-bottom: 9px; }
.dl-banner p { color: var(--gray); font-size: 14.5px; margin-bottom: 22px; }

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.about-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px; align-items: start; margin-bottom: 0;
}
.about-text p { color: #4a6070; font-size: 15.5px; margin-bottom: 14px; line-height: 1.8; }
.about-intro-wide { max-width: 820px; margin-bottom: 8px; }
.about-after-intro { margin-top: 40px; }
.about-history-block { margin-top: 52px; }
.about-after-intro .contact-side { margin-top: 0; }
.metrics-grid--about {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.metric-val--text {
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.about-box {
  background: var(--bg); padding: 34px;
  border-top: 3px solid var(--accent2);
}
.about-box h4 {
  font-family: 'Oswald', sans-serif; color: var(--accent3);
  font-size: 16px; text-transform: uppercase; margin-bottom: 13px;
}
.about-box li {
  color: var(--gray); font-size: 13.5px; margin-bottom: 8px;
  padding-left: 15px; position: relative;
}
.about-box li::before { content: '▸'; position: absolute; left: 0; color: var(--accent); }

.contact-side {
  margin-top: 22px; background: var(--light);
  padding: 26px; border-left: 3px solid rgba(95,168,200,0.4);
}
.contact-side .role { color: #4a6070; font-size: 13px; margin-bottom: 10px; }
.contact-side a { color: var(--accent2); font-size: 14.5px; }

/* Timeline */
.tl-wrap { max-width: 660px; margin-top: 30px; }
.tl-item { display: grid; grid-template-columns: 90px 1fr; gap: 18px; margin-bottom: 26px; position: relative; }
.tl-item::after { content: ''; position: absolute; left: 32px; top: 22px; width: 2px; bottom: -26px; background: var(--border); }
.tl-item:last-child::after { display: none; }
.tl-dot { width: 10px; height: 10px; background: var(--accent); border-radius: 50%; position: absolute; left: 28px; top: 6px; }
.tl-year { font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 700; color: var(--accent2); text-align: left; padding-top: 2px; padding-left: 44px }
.tl-body { padding-left: 18px; }
.tl-body h4 { font-size: 14.5px; color: var(--text); margin-bottom: 3px; }
.tl-body p { color: #4a6070; font-size: 13.5px; }

/* Metrics */
.metrics-band { background: var(--bg-dark); padding: 60px 28px; }
.metrics-band h3 {
  color: var(--accent3); font-size: 19px; text-transform: uppercase;
  text-align: center; margin-bottom: 40px; letter-spacing: .5px; line-height: 1.5;
  font-family: 'Oswald', sans-serif;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1240px; margin: 0 auto;
}
.metric { background: var(--bg-dark); text-align: center; padding: 26px 8px; transition: background .3s; }
.metric:hover { background: var(--bg-mid); }
.metric-val { font-family: 'Oswald', sans-serif; font-size: 32px; color: var(--accent); font-weight: 700; line-height: 1; }
.metric-label { color: var(--gray); font-size: 10.5px; text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; line-height: 1.4; }

/* Team cards */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--gap2); margin-top: 36px;
}
.team-card { background: white; padding: 26px; }
.team-card.accent-top { border-top: 3px solid var(--accent2); }
.team-card.gray-top { border-top: 3px solid #d0dce6; }
.team-card .name { font-family: 'Oswald', sans-serif; font-size: 17px; color: var(--text); text-transform: uppercase; margin-bottom: 4px; }
.team-card .role { font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 9px; }
.team-card .role.accent { color: var(--accent2); }
.team-card .role.gray { color: #7a99b0; }
.team-card p { color: #4a6070; font-size: 13.5px; }
.team-contacts { margin-top: 14px; padding-top: 13px; border-top: 1px solid #e4edf3; display: flex; flex-direction: column; gap: 6px; }
.team-contacts a { font-size: 13.5px; color: var(--accent2); text-decoration: none; font-weight: 600; }
.team-contacts a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════
   CONTACTS PAGE
═══════════════════════════════════════════ */
.contacts-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 44px; }
.contacts-block-label { margin-bottom: 14px; }
.ct-person-lines {
  color: var(--gray);
  font-size: 14px;
  margin: 8px 0 0 0;
  line-height: 1.6;
}
.ct-person-lines a { color: var(--accent2); transition: color .2s; }
.ct-person-lines a:hover { color: var(--text); }
.contacts-person { margin-bottom: 12px; }
.contacts-person-last { margin-bottom: 28px; }
.form-block > .section-label { margin-bottom: 8px; }

.ct-item {
  display: flex; gap: 14px;
  padding: 20px 22px; background: var(--light);
  border-left: 3px solid var(--accent2); margin-bottom: 12px;
}
.ct-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.ct-icon svg { width: 19px; height: 19px; fill: var(--accent); }
.ct-item h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text); margin-bottom: 4px;
}
.ct-item p,
.ct-item a { color: #4a6070; font-size: 13.5px; display: block; line-height: 1.65; transition: color .2s; }
.ct-item a:hover { color: var(--accent2); }

.ct-person { background: var(--bg); padding: 26px; border-top: 3px solid var(--accent2); }
.ct-person .label { font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.ct-person .name { font-family: 'Oswald', sans-serif; font-size: 19px; color: var(--accent3); text-transform: uppercase; margin-bottom: 3px; }
.ct-person .role { color: var(--gray); font-size: 13px; margin-bottom: 10px; }
.ct-person a { color: var(--accent); font-size: 14.5px; }

/* Form */
.form-block h3 { font-size: 20px; text-transform: uppercase; color: var(--text); margin-bottom: 20px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg { margin-bottom: 12px; }
.fg label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text); margin-bottom: 4px;
}
.fg input,
.fg textarea,
.fg select {
  width: 100%; padding: 10px 13px;
  border: 1px solid #cdd8e0;
  background: var(--light);
  font-family: 'PT Sans', sans-serif;
  font-size: 14.5px; color: var(--text);
  outline: none; transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.fg input:focus,
.fg textarea:focus,
.fg select:focus { border-color: var(--accent2); background: white; }
.fg textarea { resize: vertical; min-height: 116px; }

.form-ok {
  display: none;
  background: rgba(142,197,214,.1);
  border: 1px solid rgba(142,197,214,.25);
  color: var(--accent2);
  padding: 13px; font-size: 13.5px; margin-top: 11px;
}

.map-ph {
  margin-top: 44px; background: var(--bg);
  height: 500px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
}
.map-ph svg { width: 38px; fill: rgba(142,197,214,.18); }
.map-ph span {
  color: rgba(142,197,214,.28);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 3px; font-size: 12px; text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   MODAL
═══════════════════════════════════════════ */
.moverlay {
  display: none; position: fixed; inset: 0;
  background: rgba(14,24,34,.82);
  z-index: 2000; align-items: center; justify-content: center;
}
.moverlay.open { display: flex; }
.modal {
  background: white; max-width: 580px; width: 90%;
  padding: 38px; position: relative;
  max-height: 85vh; overflow-y: auto;
  border-top: 3px solid var(--accent2);
}
.mcl { position: absolute; top: 13px; right: 15px; background: none; border: none; font-size: 20px; cursor: pointer; color: #889; }
.modal h2 { font-size: 21px; text-transform: uppercase; color: var(--text); margin-bottom: 13px; }
.modal p { color: #4a6070; margin-bottom: 9px; font-size: 14.5px; line-height: 1.7; }
.modal ul { padding-left: 0; list-style: none; color: #4a6070; font-size: 14.5px; }
.modal ul li { margin-bottom: 7px; padding-left: 18px; position: relative; }
.modal ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.modal .btn { margin-top: 18px; }
.modal-img { width: 100%; height: 260px; object-fit: contain; display: block; margin-bottom: 20px;}

/* ═══════════════════════════════════════════
   PRODUCT DETAIL PAGE
═══════════════════════════════════════════ */
.section-product { margin-top: 70px; padding-top: 44px; padding-bottom: 10rem; }
.section-product .breadcrumb { margin-bottom: 28px; }
.product-detail-body h1 {
  font-size: clamp(22px, 3vw, 34px);
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 8px;
}
.product-detail-img {
  background: #f4f7f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  min-height: 320px;
}
.product-detail-img img { max-width: 100%; max-height: 420px; display: block; }
.product-detail-body p { color: #4a6070; font-size: 15px; line-height: 1.75; margin-bottom: 12px; }
.product-detail-body ul { list-style: none; padding-left: 0; margin-top: 16px; }
.product-detail-body ul li {
  color: #4a6070; font-size: 15px; line-height: 1.65;
  padding-left: 20px; position: relative; margin-bottom: 10px;
}
.product-detail-body ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.product-detail-body .btn { margin-top: 28px; display: inline-block; }
@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; gap: 28px; }
}

/* ═══════════════════════════════════════════
   LOGO SVG INLINE HELPER
═══════════════════════════════════════════ */
.logo-footer img   { width: 200px; height: auto; display: block; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .home-2col { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .project-card { grid-template-columns: 1fr; }
  .proj-visual {justify-content: center }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 260px; }
  .about-2col { grid-template-columns: 1fr; }
  .contacts-2col { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  nav { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg); padding: 12px; gap: 3px; }
  nav.open { display: flex; }
  .burger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .service-card {
    padding-left: 0;
    padding-right: 0;
  }
}
