/* =========================================================
   Ecozen — HVAC servis şablonu
   Əsas stil faylı
   ---------------------------------------------------------
   1. Tokenlər (rəng, şrift, ölçü)
   2. Baza
   3. Layout köməkçiləri
   4. Header / Naviqasiya
   5. Düymələr və linklər
   6. Hero (ana səhifə) — bina sxemi
   7. Bölmələr: xidmətlər, üstünlüklər, proses
   8. Səhifə başlığı (daxili səhifələr)
   9. Xidmət detalları, sidebar, FAQ
  10. Layihələr, filtr
  11. Servis paketləri
  12. Əlaqə, forma
  13. CTA zolağı, footer
  14. 404
   ========================================================= */

/* 1. TOKENLƏR ------------------------------------------- */
:root {
  /* Loqodan götürülmüş əsas rənglər */
  --leaf: #43A047;
  --leaf-deep: #2E7D32;
  --leaf-soft: #E6F2E4;
  --ink: #1C261C;
  --ink-2: #3A463C;
  --steel: #5E6B64;
  --line: #D9E0DA;
  --mist: #F3F6F2;
  --white: #FFFFFF;

  /* Temperatur rəngləri — soyutma və isitmə xidmətlərini ayırmaq üçün */
  --cold: #2F7FB5;
  --cold-soft: #E4EFF6;
  --heat: #C8552B;
  --heat-soft: #F8E7DF;

  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;

  /* Tipoqrafik miqyas (1.25) */
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --fs-3xl: clamp(2.3rem, 1.5rem + 3.4vw, 3.6rem);

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-float: 0 1px 2px rgba(28,38,28,.06), 0 12px 32px -12px rgba(28,38,28,.22);
  --container: 1200px;
  --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
  --section: clamp(4rem, 3rem + 4vw, 7rem);
  --header-h: 84px;
}

/* 2. BAZA ------------------------------------------------ */
@view-transition { navigation: auto; }  /* səhifələr arası yumşaq keçid (müasir brauzerlər) */
::selection { background: var(--leaf); color: var(--white); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
a { color: var(--leaf-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 0.6rem 1rem; border-radius: var(--radius-s);
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* 3. LAYOUT ---------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0; }
.container--narrow { max-width: 860px; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #C9D3CB; border-radius: var(--radius-l); margin: 0 clamp(0rem, 1vw, 1rem); }
.section--ink .section-head p { color: #A9B5AC; }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p { font-size: var(--fs-md); color: var(--steel); }
.section-head--split {
  max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 2rem;
}
.lead { font-size: var(--fs-md); color: var(--steel); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }

/* 4. HEADER ---------------------------------------------- */
.topbar {
  background: var(--ink); color: #B9C4BB; font-size: var(--fs-sm);
}
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding-top: 0.45rem; padding-bottom: 0.45rem; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__emergency { display: flex; align-items: center; gap: 0.5rem; }
.topbar__emergency::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf);
  box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.3);
}

.header {
  position: sticky; top: 0; z-index: 100; padding: 10px 0;
  view-transition-name: site-header;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: 64px; max-width: calc(var(--container) + 1rem);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border: 1px solid rgba(217, 224, 218, 0.9); border-radius: 999px;
  padding-left: 1.4rem; padding-right: 0.6rem;
  box-shadow: var(--shadow-float);
}

.logo { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.logo img { width: 26px; height: auto; }
.logo span {
  font-family: var(--font-head); font-weight: 600; font-size: 1.65rem;
  color: var(--ink); letter-spacing: -0.02em; line-height: 1;
}
.logo--light span { color: var(--white); }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__list { list-style: none; display: flex; gap: 0.1rem; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 0.8rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: 0.95rem;
  color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--leaf-deep); background: var(--leaf-soft); }
.nav__link svg { width: 12px; transition: transform 0.2s; }
.nav__item--open > .nav__link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: 0 18px 40px -18px rgba(28, 38, 28, 0.35);
  list-style: none; margin: 0; padding: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.nav__item--open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: grid; grid-template-columns: 10px 1fr; gap: 0.75rem; align-items: baseline;
  padding: 0.6rem 0.75rem; border-radius: var(--radius-s); text-decoration: none; color: var(--ink);
}
.dropdown a small { grid-column: 2; display: block; color: var(--steel); font-size: 0.8rem; line-height: 1.4; }
.dropdown a:hover { background: var(--mist); }
.temp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); transform: translateY(1px); }
.temp-dot--cold { background: var(--cold); }
.temp-dot--heat { background: var(--heat); }

.header__cta { display: flex; align-items: center; gap: 0.75rem; }
.header__cta .btn { border-radius: 999px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white);
  border-radius: 50%; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: 0.2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* 5. DÜYMƏLƏR ------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem; border-radius: var(--radius-s); border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn--primary { background: var(--leaf); color: var(--white); }
.btn--primary:hover { background: var(--leaf-deep); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--leaf-deep); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--leaf-soft); color: var(--ink); }
.btn--small { padding: 0.6rem 1.1rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn { border-radius: 999px; }
.btn--primary { box-shadow: 0 8px 20px -10px rgba(46,125,50,.7); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.text-link {
  font-family: var(--font-head); font-weight: 500; color: var(--leaf-deep);
  text-decoration: underline; text-underline-offset: 4px;
}

/* 6. HERO — BİNA SXEMİ ---------------------------------- */
.hero {
  margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 4vw, 5rem)) 0 clamp(3rem, 2rem + 3vw, 5rem);
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(47,127,181,.10), transparent 70%),
    radial-gradient(50% 60% at 70% 95%, rgba(200,85,43,.08), transparent 70%),
    var(--mist);
  overflow: hidden; border-bottom-left-radius: var(--radius-l); border-bottom-right-radius: var(--radius-l);
}
.hero__pill {
  display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .9rem .4rem .7rem; margin-bottom: 1.5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-sm); color: var(--ink-2);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--leaf); animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.hero .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero__title { margin-bottom: 0.5em; font-size: clamp(2.1rem, 1.4rem + 2.2vw, 2.9rem); }
.hero__text { font-size: var(--fs-md); color: var(--steel); max-width: 34rem; }
.hero .btn-row { margin: 2rem 0 2.5rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; list-style: none; padding: 0; margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.hero__facts li { display: flex; align-items: center; gap: 0.5rem; }
.hero__facts svg { width: 18px; height: 18px; color: var(--leaf); flex: none; }

.building { position: relative; margin: 0; padding-bottom: 5.5rem; }
.bms {
  position: absolute; right: 0; bottom: 0; width: min(270px, 50%);
  background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-float);
  padding: 1rem 1.1rem; font-size: var(--fs-sm);
}
.bms__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.bms__status { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 500; color: var(--leaf-deep); }
.bms__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.bms__rows { margin: 0; display: grid; gap: .35rem; }
.bms__rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-top: 1px solid var(--line); }
.bms__rows dt { display: flex; align-items: center; gap: .5rem; color: var(--steel); }
.bms__rows dd { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.building__caption { position: absolute; left: 0; bottom: 1.2rem; max-width: 45%; font-size: var(--fs-sm); color: var(--steel); margin: 0; }
.building svg { width: 100%; height: auto; overflow: visible; }
.building .b-wall { fill: var(--white); stroke: var(--ink); stroke-width: 2; }
.building .b-floor { stroke: var(--line); stroke-width: 2; }
.building .b-ground { stroke: var(--ink); stroke-width: 2; }
.building .b-earth { fill: #E3E8E2; }
.building .b-window { fill: var(--mist); stroke: var(--line); stroke-width: 1.5; }
.building .duct { fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.building .duct--supply { stroke: var(--cold); opacity: 0.85; }
.building .duct--heat { stroke: var(--heat); opacity: 0.85; }
.building .duct--air { stroke: var(--leaf); opacity: 0.85; }
.building .flow {
  fill: none; stroke: var(--white); stroke-width: 2; stroke-dasharray: 4 12;
  animation: flow 1.6s linear infinite;
}
.building .flow--reverse { animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -32; } }

.hotspot { cursor: pointer; }
.hotspot .unit { fill: var(--ink); transition: fill 0.2s; }
.hotspot .unit-detail { fill: none; stroke: var(--white); stroke-width: 1.5; }
.hotspot .tag rect { fill: var(--white); stroke: var(--ink); stroke-width: 1.5; transition: fill 0.2s, stroke 0.2s; }
.hotspot .tag text { font-family: var(--font-head); font-size: 13px; font-weight: 500; fill: var(--ink); }
.hotspot:hover .unit, .hotspot:focus .unit { fill: var(--leaf-deep); }
.hotspot:hover .tag rect, .hotspot:focus .tag rect { fill: var(--leaf); stroke: var(--leaf); }
.hotspot:hover .tag text, .hotspot:focus .tag text { fill: var(--white); }
.hotspot:focus { outline: none; }
.hotspot:focus-visible .tag rect { stroke: var(--ink); stroke-width: 3; }

/* 7. BÖLMƏLƏR ------------------------------------------- */
/* Xidmətlər siyahısı — kart deyil, cədvəl kimi sətirlər */
.service-rows { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 64px 1.1fr 1.6fr auto; gap: 1.5rem; align-items: center;
  padding: 1.75rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.service-row:hover { background: linear-gradient(90deg, var(--mist), transparent 80%); }
.service-row h3 { margin: 0; font-size: var(--fs-lg); }
.service-row p { margin: 0; color: var(--steel); }
.service-row__icon {
  width: 56px; height: 56px; border-radius: var(--radius-m); display: grid; place-items: center;
  background: var(--leaf-soft); color: var(--leaf-deep);
}
.service-row__icon--cold { background: var(--cold-soft); color: var(--cold); }
.service-row__icon--heat { background: var(--heat-soft); color: var(--heat); }
.service-row__icon svg { width: 28px; height: 28px; }
.service-row__go {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink); transition: 0.2s;
}
.service-row:hover .service-row__go { background: var(--ink); color: var(--white); border-color: var(--ink); }
.service-row__go svg { width: 18px; height: 18px; }

/* Xidmət plitələri (ana səhifə) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.svc-tile {
  --tc: var(--leaf); --tbg: var(--leaf-soft);
  position: relative; display: flex; flex-direction: column; padding: 1.75rem; min-height: 100%;
  border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--white);
  text-decoration: none; color: inherit; overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.svc-tile--cold { --tc: var(--cold); --tbg: var(--cold-soft); }
.svc-tile--heat { --tc: var(--heat); --tbg: var(--heat-soft); }
.svc-tile::after { content: ""; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: var(--tbg); z-index: 0; transition: transform .3s; }
.svc-tile > * { position: relative; z-index: 1; }
a.svc-tile:hover { border-color: var(--tc); transform: translateY(-3px); box-shadow: var(--shadow-float); color: inherit; }
a.svc-tile:hover::after { transform: scale(1.25); }
.svc-tile__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--tbg); color: var(--tc); margin-bottom: 1.5rem; }
.svc-tile__icon svg { width: 26px; height: 26px; }
.svc-tile h3 { font-size: var(--fs-lg); margin-bottom: .4em; }
.svc-tile p { color: var(--steel); font-size: .95rem; }
.svc-tile ul { list-style: none; padding: 0; margin: .25rem 0 1.5rem; display: grid; gap: .35rem; font-size: .9rem; color: var(--ink-2); }
.svc-tile li { display: flex; gap: .55rem; align-items: baseline; }
.svc-tile li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tc); flex: none; transform: translateY(-1px); }
.svc-tile__more { margin-top: auto; font-family: var(--font-head); font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.svc-tile__more::after { content: ""; width: 18px; height: 2px; background: var(--tc); transition: width .2s; }
a.svc-tile:hover .svc-tile__more::after { width: 30px; }
.svc-tile--cta { background: var(--ink); border-color: var(--ink); color: #C9D3CB; justify-content: flex-end; }
.svc-tile--cta::after { background: rgba(67,160,71,.25); }
.svc-tile--cta h3 { color: var(--white); font-size: var(--fs-xl); }
.svc-tile--cta p { color: #B9C4BB; margin-bottom: 1.5rem; }
.svc-tile--cta .btn { align-self: flex-start; }

/* Nə edirik — 4 iş növü */
.work-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; background: var(--white); }
.work-type { padding: 2rem 1.75rem; border-right: 1px solid var(--line); }
.work-type:last-child { border-right: 0; }
.work-type svg { width: 32px; height: 32px; color: var(--leaf); margin-bottom: 1.25rem; }
.work-type h3 { font-size: var(--fs-md); margin-bottom: 0.4em; }
.work-type p { font-size: 0.95rem; color: var(--steel); margin: 0; }

.work-types--2 { grid-template-columns: 1fr 1fr; }
.work-types--2 .work-type:nth-child(2) { border-right: 0; }
.work-types--2 .work-type:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.proof.proof--2 { grid-template-columns: 1fr 1fr; }

/* Proses — ardıcıl addımlar */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.step { position: relative; padding-top: 3.5rem; counter-increment: step; }
.step::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--leaf);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; color: var(--white);
}
.step::after { content: ""; position: absolute; top: 20px; left: 52px; right: -1.5rem; height: 2px; background: rgba(255,255,255,0.15); }
.step:last-child::after { display: none; }
.step h3 { font-size: var(--fs-md); }
.step p { font-size: 0.95rem; margin: 0; }

/* Üstünlüklər */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 3rem; }
.proof__item { border-left: 3px solid var(--leaf); padding-left: 1.25rem; }
.proof__item h3 { font-size: var(--fs-md); margin-bottom: 0.35em; }
.proof__item p { margin: 0; color: var(--steel); font-size: 0.95rem; }

/* Rəy */
.quote { border-left: 3px solid var(--leaf); padding: 0.5rem 0 0.5rem 1.75rem; margin: 0; }
.quote p { font-family: var(--font-head); font-size: var(--fs-lg); line-height: 1.45; color: var(--ink); font-weight: 400; max-width: 40ch; }
.quote footer { color: var(--steel); font-size: var(--fs-sm); }
.quote strong { color: var(--ink); display: block; font-size: var(--fs-base); }

/* 8. SƏHİFƏ BAŞLIĞI ------------------------------------ */
.page-head { background: var(--mist); padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0; margin: 0 clamp(0rem, 1vw, 1rem); border-radius: var(--radius-l); }
.page-head h1 { font-size: var(--fs-2xl); margin-bottom: 0.4em; }
.page-head p { font-size: var(--fs-md); color: var(--steel); margin: 0; }
.page-head--cold { background: var(--cold-soft); }
.page-head--heat { background: var(--heat-soft); }
.breadcrumbs { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: var(--fs-sm); color: var(--steel); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.breadcrumbs a { color: var(--steel); }

/* 9. XİDMƏT DETALLARI ---------------------------------- */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
.detail__main > * + h2 { margin-top: 2.75rem; }
.detail__main h2 { font-size: var(--fs-xl); }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 2rem; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D32' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat;
}
.spec-table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: 0.95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-family: var(--font-head); font-weight: 500; color: var(--ink); width: 38%; background: var(--mist); }
.table-wrap { overflow-x: auto; }

.illus { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem; margin: 0 0 1.75rem; }
.illus svg { margin: 0 auto; }
.illus figcaption { font-size: var(--fs-sm); color: var(--steel); margin-top: 0.75rem; }

.sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.5rem; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.5rem; background: var(--white); }
.side-box h3 { font-size: var(--fs-md); }
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav a {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.25rem; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-family: var(--font-head); font-size: 0.95rem;
}
.side-nav li:last-child a { border-bottom: 0; }
.side-nav a:hover, .side-nav a[aria-current="page"] { color: var(--leaf-deep); }
.side-nav a[aria-current="page"] { font-weight: 600; }
.side-box--dark { background: var(--ink); border-color: var(--ink); color: #C9D3CB; }
.side-box--dark h3 { color: var(--white); }
.side-box--dark .phone { display: block; font-family: var(--font-head); font-size: var(--fs-xl); color: var(--white); text-decoration: none; margin: 0.25rem 0 1rem; font-weight: 600; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; position: relative;
  font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: var(--fs-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.25rem; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-75%) rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { color: var(--steel); padding-bottom: 1.2rem; margin: 0; }

/* 10. LAYİHƏLƏR ---------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filter {
  padding: 0.55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-family: var(--font-head); font-size: 0.9rem; color: var(--ink); cursor: pointer;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
.projects--2 { grid-template-columns: 1fr 1fr; }
.project[hidden] { display: none; }
.art-frame { display: block; overflow: hidden; border-radius: var(--radius-m); position: relative; background: var(--mist); }
.art-frame .art, .art-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project__img { aspect-ratio: 4 / 3; margin-bottom: 1rem; }
.project:hover .art-frame .art, .project:hover .art-frame img { transform: scale(1.04); }

/* Ana səhifə — seçilmiş layihələr */
.projects-feature { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 1.5rem 2rem; }
.projects-feature .project:first-child { grid-row: span 2; }
.projects-feature .project:first-child .project__img { aspect-ratio: 5 / 4; }
.projects-feature .project:first-child h3 { font-size: var(--fs-xl); }
.projects-feature .project:not(:first-child) { display: grid; grid-template-columns: 44% 1fr; gap: 1.25rem; align-items: center; }
.projects-feature .project:not(:first-child) .project__img { margin: 0; aspect-ratio: 1; }
.project__meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.chip { font-size: 0.78rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--leaf-soft); color: var(--leaf-deep); font-weight: 500; }
.chip--cold { background: var(--cold-soft); color: var(--cold); }
.chip--heat { background: var(--heat-soft); color: var(--heat); }
.project h3 { font-size: var(--fs-md); margin-bottom: 0.25em; }
.project p { font-size: 0.95rem; color: var(--steel); margin: 0; }

/* 11. SERVİS PAKETLƏRİ -------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 2rem; display: flex; flex-direction: column; background: var(--white); }
.plan--featured { border: 2px solid var(--leaf); position: relative; }
.plan__badge { position: absolute; top: -13px; left: 2rem; background: var(--leaf); color: var(--white); font-size: 0.8rem; padding: 0.2rem 0.75rem; border-radius: 999px; font-family: var(--font-head); }
.plan h3 { margin-bottom: 0.25em; }
.plan__for { color: var(--steel); font-size: 0.95rem; min-height: 3em; }
.plan__visits { font-family: var(--font-head); color: var(--ink); font-size: var(--fs-xl); font-weight: 600; margin: 0.5rem 0 0.1rem; }
.plan__visits small { font-size: var(--fs-sm); font-weight: 400; color: var(--steel); }
.plan ul { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 0.6rem; flex: 1; }
.plan li { padding-left: 1.6rem; position: relative; font-size: 0.95rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 6px; border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg); }
.plan li.no { color: #9AA59E; }
.plan li.no::before { border: 0; height: 2px; width: 10px; background: #B8C1BB; transform: none; top: 0.75em; }

/* 12. ƏLAQƏ -------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.5rem; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.contact-list .ic { width: 44px; height: 44px; border-radius: var(--radius-s); background: var(--leaf-soft); color: var(--leaf-deep); display: grid; place-items: center; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-family: var(--font-head); color: var(--ink); font-weight: 500; }
.contact-list a { color: var(--ink-2); }
.map { aspect-ratio: 16 / 10; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--mist); display: grid; place-items: center; color: var(--steel); text-align: center; padding: 1rem; font-size: var(--fs-sm); }

.form { background: var(--mist); border-radius: var(--radius-l); padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); padding: 0.8rem 0.9rem; border: 1px solid #C5CEC7; border-radius: var(--radius-s); background: var(--white); width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.2); }
.field .error { color: #B3261E; font-size: 0.85rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B3261E; }
.field.invalid .error { display: block; }
.radio-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.radio-group label { font-family: var(--font-body); font-weight: 400; display: flex; gap: 0.4rem; align-items: center; padding: 0.5rem 0.85rem; border: 1px solid #C5CEC7; border-radius: 999px; background: var(--white); cursor: pointer; }
.field .radio-group input { accent-color: var(--leaf); width: auto; padding: 0; margin: 0; }
.form__foot { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.form__note { font-size: var(--fs-sm); color: var(--steel); margin: 0; }
.form-success { display: none; background: var(--leaf-soft); border: 1px solid var(--leaf); color: var(--leaf-deep); padding: 1rem 1.25rem; border-radius: var(--radius-s); margin-top: 1.25rem; }
.form-success.show { display: block; }

/* 13. CTA + FOOTER ------------------------------------- */
.cta-band { background: var(--leaf); color: var(--white); padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0; margin: 0 clamp(0rem, 1vw, 1rem) -2.5rem; position: relative; z-index: 1; border-radius: var(--radius-l); background-image: radial-gradient(80% 140% at 100% 0%, rgba(255,255,255,.18), transparent 60%); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0 0 0.3em; font-size: var(--fs-xl); }
.cta-band p { margin: 0; color: #EAF5E9; }

.footer { background: var(--ink); color: #A9B5AC; padding: 4.5rem 0 0; font-size: 0.95rem; }
.cta-band + .footer { padding-top: 7rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer h4 { color: var(--white); font-size: var(--fs-base); margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer a { color: #A9B5AC; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__about p { margin: 1.25rem 0; max-width: 32ch; }
.socials { display: flex; gap: 0.5rem; }
.socials a { width: 38px; height: 38px; border: 1px solid #3A463C; border-radius: 50%; display: grid; place-items: center; }
.socials a:hover { background: var(--leaf); border-color: var(--leaf); }
.socials svg { width: 16px; height: 16px; color: var(--white); }
.footer__bottom { border-top: 1px solid #2F3A31; padding: 1.25rem 0; font-size: var(--fs-sm); }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.back-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--white); border: 0; cursor: pointer; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: 0.25s;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--leaf); }
.back-top svg { width: 20px; height: 20px; }

/* Haqqımızda */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.person__photo { aspect-ratio: 1; border-radius: var(--radius-m); background: var(--mist); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 0.9rem; color: #C5CEC7; }
.person__photo svg { width: 40%; }
.person h3 { font-size: var(--fs-md); margin: 0; }
.person p { color: var(--steel); font-size: 0.95rem; margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 2rem 2rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 0.45em; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--leaf); }
.timeline strong { font-family: var(--font-head); color: var(--ink); display: block; font-size: var(--fs-md); }
.timeline p { margin: 0.2rem 0 0; color: var(--steel); }

/* 14. 404 ---------------------------------------------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: var(--section) 0; }
.notfound__code { font-family: var(--font-head); font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 600; color: var(--leaf); line-height: 1; margin-bottom: 0.25rem; }
.notfound p { margin-left: auto; margin-right: auto; }
.notfound .btn-row { justify-content: center; margin-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 15. DİL SEÇİMİ ----------------------------------------- */
:root:lang(ru) { --font-head: "Montserrat", "Segoe UI", Arial, sans-serif; }
:root:lang(ru) h1, :root:lang(ru) h2 { letter-spacing: -0.02em; }
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: .35rem; height: 40px; padding: 0 .75rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink);
  font-family: var(--font-head); font-weight: 500; font-size: .85rem; cursor: pointer;
}
.lang__btn:hover { border-color: var(--ink); }
.lang__btn svg { width: 16px; height: 16px; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; list-style: none; margin: 0; padding: .4rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-float);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 120;
}
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: var(--radius-s); color: var(--ink); text-decoration: none; font-size: .95rem; }
.lang__menu a span { font-family: var(--font-head); font-weight: 600; font-size: .75rem; width: 28px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: var(--mist); color: var(--steel); }
.lang__menu a:hover { background: var(--mist); }
.lang__menu a[aria-current="page"] { color: var(--leaf-deep); font-weight: 500; }
.lang__menu a[aria-current="page"] span { background: var(--leaf); color: var(--white); }
.lang-inline { display: flex; gap: .4rem; }
.lang-inline a { flex: 1; text-align: center; padding: .6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 500; }
.lang-inline a[aria-current="page"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* 16. XİDMƏT KARTLARI (şəkil + başlıq + alt başlıq) ------ */
.svc-card {
  --tc: var(--leaf); --tbg: var(--leaf-soft);
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--white);
  text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .3s, transform .15s ease-out;
}
.svc-card--cold { --tc: var(--cold); --tbg: var(--cold-soft); }
.svc-card--heat { --tc: var(--heat); --tbg: var(--heat-soft); }
a.svc-card:hover { border-color: var(--tc); box-shadow: var(--shadow-float); color: inherit; }
.svc-card__media { position: relative; display: block; aspect-ratio: 800 / 560; overflow: hidden; background: var(--tbg); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
a.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__icon {
  position: absolute; left: 1rem; top: 1rem; width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--tc); box-shadow: 0 4px 12px rgba(28,38,28,.12);
}
.svc-card__icon svg { width: 22px; height: 22px; }
.svc-card__body { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.4rem 1.4rem; }
.svc-card__text { display: block; min-width: 0; }
.svc-card__title { font-size: var(--fs-lg); margin: 0 0 .2rem; }
.svc-card__sub { display: block; color: var(--steel); font-size: .95rem; line-height: 1.4; }
.svc-card__go {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink); transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.svc-card__go svg { width: 18px; height: 18px; }
a.svc-card:hover .svc-card__go { background: var(--tc); border-color: var(--tc); color: var(--white); transform: translateX(3px); }
.svc-card--cta { background: var(--ink); border-color: var(--ink); color: #C9D3CB; padding: 2rem; justify-content: flex-end; min-height: 100%; }
.svc-card--cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(67,160,71,.25); }
.svc-card--cta > * { position: relative; }
.svc-card--cta h3 { color: var(--white); font-size: var(--fs-xl); }
.svc-card--cta p { color: #B9C4BB; margin-bottom: 1.5rem; }
.svc-card--cta .btn { align-self: flex-start; }

/* Tək xidmət səhifəsi: başlıq + şəkil */
.page-head--media .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.page-head--media h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }
.page-head__sub { font-family: var(--font-head); font-weight: 500; color: var(--leaf-deep); margin-bottom: .5rem !important; font-size: var(--fs-md) !important; }
.page-head--cold .page-head__sub { color: var(--cold); }
.page-head--heat .page-head__sub { color: var(--heat); }
.page-head--media .btn-row { margin-top: 1.75rem; }
.page-head__media { margin: 0; border-radius: var(--radius-l); overflow: hidden; border: 1px solid rgba(28,38,28,.08); box-shadow: var(--shadow-float); background: var(--white); }
.page-head__media img { width: 100%; height: auto; }

/* 17. BRENDLƏR ------------------------------------------ */
.brands { overflow: hidden; }
.brands .section-head { margin-bottom: 2.5rem; }
.brands__stats { list-style: none; display: flex; gap: 2.5rem; margin: 0; padding: 0; }
.brands__stats li { display: flex; flex-direction: column; }
.brands__stats strong { font-family: var(--font-head); font-size: var(--fs-2xl); font-weight: 600; color: var(--ink); line-height: 1; }
.brands__stats span { color: var(--steel); font-size: var(--fs-sm); margin-top: .35rem; }
.brands__rows { display: grid; gap: 1rem; }
.marquee {
  display: flex; gap: 1rem; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; flex: none; min-width: 100%; justify-content: space-around; animation: marquee 38s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 44s; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - 1rem)); } }
.brand {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  min-width: 190px; height: 104px; padding: 0 1.75rem;
  border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--white);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.brand:hover { border-color: var(--ink); box-shadow: var(--shadow-float); transform: translateY(-2px); }
.brand__name { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; color: #7C8983; white-space: nowrap; transition: color .2s; }
.brand:hover .brand__name { color: var(--ink); }
.brand img { max-height: 40px; max-width: 150px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.brand:hover img { filter: none; opacity: 1; }
.brand__type { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--steel); }
.brand__type .temp-dot { width: 7px; height: 7px; transform: none; }
.brands__note { margin: 2rem auto 0; text-align: center; color: var(--steel); font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; min-width: 0; width: 100%; }
  .marquee__track[aria-hidden="true"] { display: none; }
}
