:root {
  --ink: #101828;
  --text: #475467;
  --muted: #667085;
  --line: #e4e7ec;
  --bg: #f8fafc;
  --panel: #ffffff;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --blue: #0f766e;
  --amber: #f97316;
  --navy: #111827;
  --soft-mint: #eff6ff;
  --soft-warm: #fff7ed;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(23, 32, 42, .10);
  --shadow-soft: 0 16px 38px rgba(23, 32, 42, .075);
  --page: min(1180px, calc(100vw - 32px));
}
/* Main-service SEO support and reciprocal internal links */
.seo-support-section {
  background: linear-gradient(145deg, #f4faf8, #fff);
  border: 1px solid #dce9e5;
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(20,60,52,.06);
  margin: 0 auto 56px;
  max-width: 1192px;
  padding: 30px;
}
.seo-support-head { max-width: 780px; }
.seo-support-head h2 {
  color: #173b34;
  font-size: clamp(26px,3.5vw,40px);
  letter-spacing: -.035em;
  line-height: 1.12;
  margin: 6px 0 10px;
}
.seo-support-head > p:last-child { color: var(--muted); line-height: 1.7; margin: 0; }
.seo-support-group { margin-top: 26px; }
.seo-support-group > h3 { color: #23463f; font-size: 19px; margin: 0 0 12px; }
.seo-support-grid { display: grid; gap: 12px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.seo-support-card {
  background: #fff;
  border: 1px solid #dce8e4;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
}
.seo-support-card > a { color: var(--primary-dark); font-size: 17px; font-weight: 850; line-height: 1.35; }
.seo-support-card p { color: var(--muted); display: -webkit-box; font-size: 14px; line-height: 1.6; margin: 9px 0 12px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.seo-support-card span { color: var(--amber); font-size: 13px; font-weight: 800; margin-top: auto; }
.seo-support-card:hover { border-color: var(--primary); box-shadow: 0 12px 28px rgba(20,76,66,.09); transform: translateY(-2px); }

.related-main-services {
  background: #f5faf8;
  border: 1px solid #dbe8e4;
  border-radius: 18px;
  margin: 28px 0 0;
  padding: 22px;
}
.service-detail-shell > .related-main-services { margin: 0 auto 56px; max-width: 1192px; }
.related-main-services h2 { color: #173b34; font-size: clamp(22px,3vw,30px); margin: 5px 0 8px; }
.related-main-services > p:not(.eyebrow) { color: var(--muted); line-height: 1.65; margin: 0 0 15px; }
.related-main-services nav { display: grid; gap: 10px; }
.related-main-services nav a {
  align-items: center;
  background: #fff;
  border: 1px solid #d9e7e2;
  border-radius: 14px;
  color: #173b34;
  display: grid;
  gap: 3px 14px;
  grid-template-columns: 1fr auto;
  padding: 14px 15px;
}
.related-main-services nav strong { font-size: 16px; }
.related-main-services nav span { color: var(--muted); font-size: 13px; grid-column: 1; line-height: 1.5; }
.related-main-services nav b { color: var(--amber); font-size: 19px; grid-column: 2; grid-row: 1 / 3; }
.related-main-services nav a:hover { border-color: var(--primary); box-shadow: 0 9px 22px rgba(20,76,66,.08); }

@media (max-width: 720px) {
  .seo-support-section { border-radius: 20px; margin: 0 12px 42px; padding: 21px 17px; }
  .seo-support-grid { grid-template-columns: 1fr; }
  .seo-support-head h2 { font-size: 25px; }
  .related-main-services { border-radius: 16px; padding: 18px 15px; }
  .service-detail-shell > .related-main-services { margin: 0 12px 42px; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; object-fit: cover; }
.container { width: var(--page); margin-inline: auto; }

.topbar {
  position: relative;
  z-index: 25;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 9px max(16px, calc((100vw - 1180px) / 2));
  color: #e5ecea;
  background: var(--navy);
}
.top-meta { display: flex; flex-wrap: wrap; gap: 16px; color: #d0d5dd; font-size: 13px; font-weight: 700; }
.meta-item { display: inline-flex; align-items: center; gap: 6px; }
.meta-item svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.phone { color: #fdb022; font-weight: 800; white-space: nowrap; }
.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 7px 14px;
  border: 1px solid rgba(253,176,34,.42);
  border-radius: 999px;
  color: #111827;
  background: linear-gradient(135deg, #ffd66b 0%, #fdb022 100%);
  box-shadow: 0 10px 28px rgba(253,176,34,.24);
}
.header-phone svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-phone:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(253,176,34,.32);
}
.langs { display: flex; gap: 6px; }
.langs a {
  min-width: 34px;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  color: #e5ecea;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}
.langs .active { color: var(--navy); background: #f0d58a; border-color: #f0d58a; }
.language-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  max-width: 184px;
  padding: 5px 34px 5px 10px;
  border: 1px solid rgba(16,24,40,.12);
  border-radius: var(--radius);
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 18px rgba(16,24,40,.055);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.language-select::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-65%) rotate(45deg);
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  pointer-events: none;
}
.language-select:hover {
  border-color: rgba(37,99,235,.24);
  box-shadow: 0 12px 26px rgba(16,24,40,.085);
}
.language-select .flag-icon {
  flex: 0 0 auto;
  width: 26px;
  height: 18px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(16,24,40,.12), 0 4px 10px rgba(16,24,40,.08);
}
.language-select .flag-icon svg { display: block; width: 100%; height: 100%; }
.language-select select {
  min-height: 26px;
  width: 100%;
  max-width: 118px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.language-select select:focus { outline: 0; }
.language-select option { color: var(--ink); background: white; }
.mobile-language { display: none; }
.desktop-language { display: inline-flex; }

/* Custom language dropdown */
.language-select.custom-lang-active { padding-right: 10px; max-width: none; overflow: visible; }
.language-select.custom-lang-active::after { display: none; }
.language-select.custom-lang-active > .flag-icon,
.language-select.custom-lang-active > select { display: none; }
.lang-custom-dropdown { position: relative; display: inline-flex; align-items: center; }
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.lang-trigger .flag-icon {
  flex: 0 0 auto;
  width: 26px;
  height: 18px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(16,24,40,.12), 0 4px 10px rgba(16,24,40,.08);
}
.lang-trigger .flag-icon svg { display: block; width: 100%; height: 100%; }
.lang-trigger .lang-name { font-size: 13px; font-weight: 800; color: var(--ink); }
.lang-trigger .lang-chevron {
  width: 10px;
  height: 6px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform .18s ease;
}
.lang-custom-dropdown.open .lang-trigger .lang-chevron { transform: rotate(180deg); }
/* Compact trigger (mobile) */
.lang-trigger-compact { gap: 5px; }
.lang-trigger-compact .flag-icon { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(16,24,40,.12); }
.lang-code { font-size: 12px; font-weight: 800; color: var(--ink); letter-spacing: .3px; }
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 16px 40px rgba(16,24,40,.13);
  z-index: 9999;
  animation: langMenuIn .14s ease;
}
@keyframes langMenuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lang-custom-dropdown.open .lang-menu { display: block; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: calc(var(--radius) - 2px);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .12s ease, color .12s ease;
  list-style: none;
}
.lang-option:hover { background: var(--soft-mint); color: var(--primary-dark); }
.lang-option.current { background: var(--soft-mint); color: var(--primary-dark); font-weight: 800; }
.lang-option .flag-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 15px;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(16,24,40,.10);
}
.lang-option .flag-icon svg { display: block; width: 100%; height: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px max(16px, calc((100vw - 1180px) / 2));
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  flex: 0 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 22px; font-weight: 800; }
.brand span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--blue));
}
.brand.light { color: white; }
.nav { display: flex; justify-content: center; align-items: center; gap: 18px; color: #52616c; font-size: 14px; font-weight: 800; }
.nav a,
.nav .nav-link { padding: 8px 0; color: inherit; border-bottom: 2px solid transparent; }
.nav a:hover,
.nav .nav-link:hover { color: var(--primary-dark); border-color: var(--amber); }
.nav-toggle {
  position: relative;
  display: none;
  place-items: center;
  z-index: 45;
  width: 48px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  cursor: pointer;
  box-shadow: none;
  overflow: visible;
}
.nav-toggle:focus {
  box-shadow: 0 0 0 4px rgba(37,99,235,.14);
}
.nav-toggle .navbar-toggler-icon {
  width: 24px;
  height: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.btn.primary { color: white; background: var(--primary); border-color: var(--primary); box-shadow: 0 14px 26px rgba(37,99,235,.18); }
.btn.primary:hover { background: var(--primary-dark); }
.btn.secondary, .btn.ghost { color: var(--ink); background: white; }
.btn { transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-1px); }

.hero-shell {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16,24,40,.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16,24,40,.03) 1px, transparent 1px),
    radial-gradient(circle at 72% 18%, rgba(37,99,235,.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
  background-size: 44px 44px, 44px 44px, auto, auto;
  border-bottom: 1px solid var(--line);
}
.hero-shell::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(249,115,22,.11);
  filter: blur(40px);
  pointer-events: none;
}
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 46px;
  align-items: center;
  min-height: 620px;
  padding: 66px 0;
}
.hero-copy { width: 100%; min-width: 0; max-width: 720px; }
.hero-kicker {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  box-shadow: 0 8px 22px rgba(23,32,42,.055);
}
.hero-kicker span, .hero-kicker strong { padding: 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.hero-kicker span { color: var(--primary-dark); background: var(--soft-mint); }
.hero-kicker strong { color: #9a4b10; background: var(--soft-warm); }
.hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(46px, 6vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}
.hero p { max-width: 620px; margin: 18px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.proof-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.proof-row div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 22px rgba(23,32,42,.05);
  text-align: center;
}
.proof-row strong { display: block; color: var(--ink); font-size: 22px; line-height: 1.1; }
.proof-row span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 700; }

.booking-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.90)),
    var(--panel);
  box-shadow: var(--shadow);
}
.booking-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--soft-mint);
  font-size: 13px;
  font-weight: 800;
}
.booking-status span { width: 9px; height: 9px; border-radius: 50%; background: #5fb98d; box-shadow: 0 0 0 4px rgba(95,185,141,.18); }
.booking-card h2 { margin: 18px 0 8px; color: var(--ink); font-size: 32px; line-height: 1.05; }
.booking-card p { margin: 0; color: var(--muted); }
.mini-form { display: grid; gap: 12px; margin-top: 18px; }
label { display: grid; gap: 7px; color: var(--ink); font-weight: 800; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: white;
  font: inherit;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(37,99,235,.15); border-color: var(--primary); }
.booking-phone { display: block; margin-top: 14px; color: var(--muted); font-size: 14px; font-weight: 700; }
.booking-phone strong { color: var(--primary-dark); }
.booking-success {
  text-align: center; padding: 20px 0 12px;
}
.booking-success svg {
  width: 48px; height: 48px; color: var(--primary-dark);
  margin: 0 auto 12px; display: block;
}
.booking-success strong { display: block; font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.booking-success p { color: var(--muted); font-size: 14px; margin: 0; }
.booking-error {
  background: #fff1f2; border: 1px solid #fecaca;
  color: #991b1b; border-radius: var(--radius);
  padding: 10px 13px; font-size: 13.5px; font-weight: 700;
  margin-bottom: 4px;
}
.form-success {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #b9dfcf;
  border-radius: var(--radius);
  color: var(--primary-dark);
  background: var(--soft-mint);
  font-weight: 800;
  line-height: 1.45;
}
.form-error {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  color: #991b1b;
  background: #fff1f2;
  font-weight: 800;
  line-height: 1.45;
}
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quick-panel {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
}
.eyebrow { margin: 0 0 8px; color: var(--primary-dark); text-transform: uppercase; font-size: 13px; font-weight: 800; letter-spacing: 0; }
.quick-panel h2, .section-head h2, .process-layout h2, .work-copy h2, .faq-contact h2, .page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: 0;
}
.quick-panel h2 + p,
.section-head h2 + p,
.section-head h2 + .section-copy,
.process-layout h2 + p,
.process-layout h2 + .section-copy,
.work-copy h2 + p,
.faq-contact h2 + p,
.contact-intro h1 + p,
.detail h1 + .lead,
.master-profile-body h1 + .lead {
  margin-top: 14px;
}
.quick-services { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-services a {
  padding: 10px 14px;
  border: 1px solid #cbe5df;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--soft-mint);
  font-size: 14px;
  font-weight: 800;
}
.quick-services a:hover { border-color: #9bcfc6; background: #e6f5f0; }

.section { padding-top: 72px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 26px; }
.section-link, .more-link { color: var(--primary-dark); font-weight: 800; }
.section-copy { max-width: 520px; color: var(--muted); font-size: 17px; line-height: 1.65; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-grid.wide, .project-row.full, .post-grid.full {
  width: var(--page);
  margin-inline: auto;
  padding-bottom: 72px;
}
.service-card, .post-card, .project-card, .master-card, .process-grid article, .detail-body, .contact-form {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 24px rgba(23,32,42,.055);
}
.service-card, .post-card, .project-card, .master-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover, .post-card:hover, .project-card:hover, .master-card:hover {
  transform: translateY(-3px);
  border-color: #c7ded9;
  box-shadow: 0 18px 42px rgba(23,32,42,.095);
}
.card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eef2f7;
}
.card-media img,
.card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}
.service-card:hover .card-media img, .post-card:hover .card-media img, .project-card:hover .card-media img,
.project-card:hover .card-media video { transform: scale(1.035); }
.service-card img, .post-card img, .project-card img, .project-card video {
  height: 100%;
  aspect-ratio: 4 / 3;
}
.service-card div, .post-card div { padding: 18px; }
.service-card h2, .service-card h3, .post-card h2, .post-card h3, .project-card h2, .project-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
}
.service-card p, .post-card p, .project-card p, .work-copy p, .faq-contact p, .detail-body p { margin: 0 0 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips a { padding: 5px 9px; border-radius: 999px; color: var(--primary-dark); background: var(--soft-mint); font-size: 12px; font-weight: 800; }
.service-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 14px;
}
.service-keywords span {
  padding: 6px 9px;
  border: 1px solid #dde8e5;
  border-radius: 999px;
  color: #5f6d74;
  background: #fbfdfc;
  font-size: 12px;
  font-weight: 800;
}
.detail-keywords { margin: 18px 0 14px; }
.detail-keywords span { font-size: 13px; }

.master-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.master-grid-full {
  width: var(--page);
  margin-inline: auto;
  padding-bottom: 72px;
}
.master-card {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  border-color: rgba(16,24,40,.08);
  box-shadow: 0 12px 34px rgba(16,24,40,.07);
}
.master-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}
.master-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37,99,235,.22);
  box-shadow: 0 24px 54px rgba(16,24,40,.13);
}
.master-card-main {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}
.master-card-main:hover h2,
.master-card-main:hover h3 {
  color: var(--primary-dark);
}
.master-card-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eef2f7;
}
.master-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(17,24,39,.45) 100%);
}
.master-card img {
  height: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 18%;
  transition: transform .28s ease;
}
.master-card:hover img { transform: scale(1.045); }
.master-rating {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  color: #111827;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 26px rgba(17,24,39,.16);
  font-size: 13px;
  font-weight: 800;
}
.master-card-body { padding: 20px 20px 16px; }
.master-card .master-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 0 20px 20px;
}
.master-card .master-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft-mint);
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}
.master-card h2, .master-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.2;
}
.master-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.master-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--soft-warm);
  font-size: 13px;
  font-weight: 800;
}
.master-card-actions .more-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-size: 13px;
}
.master-card-actions .more-link:first-child {
  color: white;
  border-color: var(--primary);
  background: var(--primary);
}
.master-card-actions .more-link:hover {
  transform: translateY(-1px);
  border-color: var(--primary-dark);
}
.masters-section .master-card {
  grid-template-rows: auto;
}
.masters-section .master-card-main {
  grid-template-rows: auto 1fr;
}
.masters-section .master-card-main > div {
  padding: 18px;
}

.master-profile {
  width: var(--page);
  display: grid;
  grid-template-columns: minmax(300px, .85fr) 1fr;
  gap: 30px;
  align-items: start;
  margin-inline: auto;
  padding: 54px 0 72px;
}
.master-profile-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}
.master-profile-media img {
  height: clamp(340px, 44vw, 520px);
  object-position: center top;
}
.master-profile-score {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 34px rgba(17,24,39,.16);
  font-weight: 800;
}
.master-profile-score span { color: #b45309; }
.master-profile-body {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
}
.master-profile-body h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
}
.master-profile-body > p:not(.eyebrow):not(.lead) {
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
}
.master-profile-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 8px;
}
.master-profile-facts span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--bg);
  font-size: 13px;
  font-weight: 800;
}

.process-section {
  margin-top: 72px;
  padding: 64px 0;
  background: var(--navy);
}
.process-layout { display: grid; grid-template-columns: 360px 1fr; gap: 34px; align-items: start; }
.process-layout .eyebrow, .process-layout h2 { color: white; }
.process-layout .section-copy { color: #cdd9d7; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.process-grid article { padding: 22px; }
.process-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: white;
  background: var(--primary);
  font-weight: 800;
}
.process-grid h3 { margin: 0 0 8px; color: var(--ink); font-size: 20px; }
.process-grid p { margin: 0; color: var(--muted); }

.split-section, .work-showcase { display: grid; grid-template-columns: 340px 1fr; gap: 30px; align-items: start; }
.project-row, .post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.project-row.full, .post-grid.full { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-preview .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-card h2, .project-card h3, .project-card p { padding-left: 18px; padding-right: 18px; }
.project-card h2, .project-card h3 { padding-top: 18px; }
.project-card p { padding-bottom: 18px; }
.media-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: white;
  background: rgba(16,24,40,.82);
  font-size: 12px;
  font-weight: 800;
}
.project-showcase-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-showcase-row .project-card { position: relative; min-height: 330px; }
.project-showcase-row .card-media { height: 100%; min-height: 330px; }
.project-showcase-row .project-card img,
.project-showcase-row .project-card video { height: 100%; min-height: 330px; }
.project-showcase-row .project-card > div {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 16px;
  border-radius: var(--radius);
  color: white;
  background: rgba(23,32,42,.82);
  backdrop-filter: blur(10px);
}
.project-showcase-row .project-card span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--navy);
  background: #f0d58a;
  font-size: 12px;
  font-weight: 800;
}
.project-showcase-row .project-card h3,
.project-showcase-row .project-card p {
  padding: 0;
  color: white;
}
.project-showcase-row .project-card p { margin-bottom: 0; color: rgba(255,255,255,.78); }
.post-card time { color: var(--primary-dark); font-size: 13px; font-weight: 800; }

.faq-section {
  margin-top: 72px;
  padding: 70px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f2f8f5 100%);
  border-top: 1px solid var(--line);
}
.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 34px;
  align-items: start;
}
.faq-intro {
  position: sticky;
  top: 110px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 28px rgba(23,32,42,.055);
}
.faq-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}
.faq-intro p {
  margin: 14px 0 22px;
  color: var(--muted);
}
.faq-list {
  display: grid;
  gap: 12px;
}
details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 22px rgba(23,32,42,.05);
}
details[open] { border-color: #c7ded9; box-shadow: 0 14px 34px rgba(23,32,42,.075); }
summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 18px 58px 18px 20px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--soft-mint);
  font-size: 20px;
  line-height: 1;
}
details[open] summary::after { content: "-"; }
details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.cta-box {
  align-self: start;
  padding: 26px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--primary-dark), #4f738f);
}
.cta-box h2 { margin: 0 0 10px; color: white; font-size: 34px; line-height: 1.05; }
.cta-box p { color: rgba(255,255,255,.82); }
.phone.big { margin-top: 18px; color: #f0d58a; font-size: 23px; white-space: normal; }

.page-hero {
  width: var(--page);
  min-height: 210px;
  display: grid;
  align-content: center;
  margin-inline: auto;
  padding: 44px 0 28px;
}
.page-hero h1 + p {
  margin-top: 16px;
}
.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.static-page {
  width: 100%;
  margin: 0 0 72px;
  padding: 48px 0 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(16,24,40,.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16,24,40,.025) 1px, transparent 1px),
    #ffffff;
  background-size: 44px 44px, 44px 44px, auto;
}
.static-page-inner {
  width: var(--page);
  margin-inline: auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
  column-count: 2;
  column-gap: clamp(34px, 5vw, 72px);
  column-rule: 1px solid var(--line);
}
.static-page-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  break-inside: avoid;
}
.static-page-inner p + p { margin-top: 18px; }
.detail {
  width: var(--page);
  display: grid;
  grid-template-columns: minmax(300px, .9fr) 1fr;
  gap: 30px;
  align-items: start;
  margin-inline: auto;
  padding: 64px 0;
}
.detail-image {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.project-detail video.detail-image {
  aspect-ratio: 16 / 9;
  max-height: min(62vh, 560px);
  background: #0f172a;
  object-fit: contain;
}
.detail-body { padding: 32px; }
.project-article { max-width: 760px; margin: 6px 0 10px; }
.project-article p { color: var(--muted); line-height: 1.75; }
.project-article p + p { margin-top: 16px; }
.detail h1, .contact h1 { margin: 0 0 16px; color: var(--ink); font-size: clamp(34px, 5vw, 58px); line-height: 1; }
.lead { color: var(--muted); font-size: 20px; line-height: 1.55; }
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.detail-body .chips + .detail-actions { margin-top: 24px; }
.contact {
  width: var(--page);
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 36px;
  align-items: start;
  margin-inline: auto;
  padding: 44px 0 34px;
}
.contact p { color: var(--muted); font-size: 18px; }
.contact-form { display: grid; gap: 14px; padding: 24px; }
.contact-redesign {
  grid-template-columns: minmax(0, .9fr) minmax(320px, 520px);
  padding-top: 54px;
}
.contact-intro {
  display: grid;
  align-content: start;
  gap: 18px;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.contact-card {
  display: grid;
  gap: 12px;
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: white;
  box-shadow: var(--shadow-soft);
}
.contact-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--primary-dark);
  background: var(--soft-mint);
}
.contact-card svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.phone-card {
  color: var(--ink);
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}
.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--bg);
  font: inherit;
}
.contact-form textarea { resize: vertical; }

.map-section { padding-bottom: 72px; }
.map-section iframe {
  width: 100%;
  height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.error-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
  padding: 64px 0 80px;
}
.error-card, .error-help {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
}
.error-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 52px);
}
.error-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(37,99,235,.09);
  pointer-events: none;
}
.error-code {
  display: inline-grid;
  place-items: center;
  min-width: 92px;
  min-height: 54px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  font-size: 28px;
  font-weight: 800;
}
.error-card h1 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
}
.error-card .lead { max-width: 700px; margin-top: 18px; }
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.error-help {
  display: grid;
  align-content: start;
  padding: 28px;
}
.error-help > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--primary-dark);
  background: var(--soft-mint);
}
.error-help svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.error-help h2 { margin: 0 0 10px; color: var(--ink); font-size: 28px; line-height: 1.1; }
.error-help p { margin: 0; color: var(--muted); }
.error-debug {
  margin-top: 26px;
  box-shadow: none;
}
.error-debug summary {
  min-height: 48px;
  padding: 12px 50px 12px 14px;
  font-size: 15px;
}
.error-debug pre { margin: 0 14px 14px; }

.footer {
  color: #e5e7eb;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(135deg, #0f172a 0%, #172033 58%, #102520 100%);
  background-size: 44px 44px, 44px 44px, auto;
}
.footer-inner {
  width: var(--page);
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) .75fr .75fr .9fr;
  gap: 34px;
  align-items: start;
  margin-inline: auto;
  padding: 58px 0;
}
.footer p { max-width: 360px; color: #cbd5e1; }
.footer-brand p {
  margin-top: 16px;
  margin-bottom: 0;
}
.footer-links, .footer-contact { display: grid; gap: 10px; font-weight: 800; }
.footer-links strong, .footer-contact strong {
  margin-bottom: 6px;
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
}
.footer-links a, .footer-contact span { color: #cbd5e1; line-height: 1.35; }
.footer-links a:hover { color: white; transform: translateX(2px); }
.footer-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 46px;
  margin-top: 18px;
  padding: 0 14px;
  border: 1px solid rgba(253,176,34,.42);
  border-radius: var(--radius);
  color: #111827;
  background: linear-gradient(135deg, #ffd66b 0%, #fdb022 100%);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.footer-call svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  color: white;
  background: rgba(255,255,255,.08);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.social-links a:hover { color: var(--navy); background: white; transform: translateY(-2px); }
.social-links svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
pre { overflow: auto; max-width: 100%; padding: 16px; border-radius: var(--radius); color: #dff8ef; background: #1f3039; }

.mobile-offcanvas {
  --bs-offcanvas-width: min(340px, 88vw);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 48px rgba(17,24,39,.18);
}
.mobile-offcanvas .offcanvas-header {
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}
.mobile-offcanvas .offcanvas-title {
  margin: 0;
  line-height: 1;
}
.mobile-offcanvas .btn-close {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background-color: var(--soft-mint);
  opacity: 1;
}
.mobile-menu-links {
  display: grid;
  gap: 8px;
}
.mobile-menu-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: white;
  font-weight: 800;
}
.mobile-menu-links a:hover {
  color: var(--primary-dark);
  background: var(--soft-mint);
}
.mobile-call {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  border-radius: var(--radius);
  color: #111827;
  background: linear-gradient(135deg, #ffd66b 0%, #fdb022 100%);
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(253,176,34,.22);
}

@media (max-width: 1040px) {
  .hero, .process-layout, .split-section, .work-showcase, .faq-layout, .detail, .contact, .master-profile, .error-shell { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; }
  .static-page-inner {
    column-count: 1;
    column-rule: 0;
  }
  .booking-card { max-width: 560px; }
  .faq-intro { position: static; }
  .master-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid.wide,
  .project-row.full,
  .post-grid.full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  /* header/dil seçimi qaydaları 1100px blokundadır; burada yalnız bu breakpoint-ə xas olanlar */
  .topbar {
    width: 100vw;
    max-width: 100vw;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: hidden;
  }
  .quick-panel { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .desktop-language { display: none; }
  .mobile-language { display: inline-flex; }
  .desktop-nav { display: none; }
  .desktop-only { display: none; }
  .site-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    width: 100vw;
    max-width: 100vw;
    overflow: visible;
  }
  .site-header .brand {
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100vw - 136px);
  }
  .header-actions {
    position: absolute;
    top: 50%;
    right: 14px;
    left: auto;
    width: auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 108px;
    transform: translateY(-50%);
  }
  .mobile-language { order: 1; }
  .nav-toggle { order: 2; }
  .nav-toggle {
    position: static;
    transform: none;
    flex: 0 0 48px;
    display: grid !important;
    min-width: 48px;
    border-color: var(--navy);
    background: var(--navy);
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  .mobile-language {
    position: relative;
    transform: none;
    width: 48px;
    max-width: 48px;
    flex: 0 0 48px;
    min-height: 42px;
    padding: 4px 10px;
    overflow: hidden;
  }
  .mobile-language.custom-lang-active {
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    overflow: visible;
    padding: 5px 10px;
  }
  .mobile-language::after { display: none; }
  .mobile-language select {
    position: absolute;
    inset: 0;
    width: 48px;
    max-width: 48px;
    opacity: 0;
    font-size: 0;
  }
  .mobile-language select option { font-size: 13px; }
}

@media (max-width: 640px) {
  :root { --page: calc(100vw - 24px); }
  .topbar { padding: 10px 12px; }
  .top-meta { gap: 10px; font-size: 12px; }
  .top-meta .meta-item:nth-child(3) { display: none; }
  .phone { font-size: 18px; }
  .header-phone {
    width: fit-content;
    min-height: 42px;
    padding: 8px 14px;
    font-size: 19px;
  }
  .site-header { padding: 12px; }
  .header-actions { right: 12px; left: auto; gap: 10px; }
  .brand { font-size: 20px; }
  .hero { min-height: 0; padding: 34px 0 38px; gap: 24px; }
  .hero-copy { max-width: none; }
  .hero h1 { max-width: none; font-size: 38px; overflow-wrap: break-word; }
  .hero p { max-width: none; font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; max-width: none; }
  .proof-row, .service-grid, .process-grid, .project-row, .post-grid, .master-grid { grid-template-columns: 1fr; }
  .proof-row { width: 100%; max-width: none; }
  .service-grid.wide,
  .project-row.full,
  .post-grid.full,
  .master-grid-full {
    gap: 18px;
    padding-bottom: 54px;
  }
  .service-grid.wide .service-card,
  .project-row.full .project-card,
  .post-grid.full .post-card,
  .master-grid-full .master-card {
    min-height: 0;
  }
  .service-grid.wide .service-card img,
  .project-row.full .project-card img,
  .project-row.full .project-card video,
  .post-grid.full .post-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .master-grid-full .master-card-media {
    aspect-ratio: 4 / 3;
  }
  .master-grid-full .master-card img {
    height: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .service-grid.wide .service-card > div,
  .post-grid.full .post-card > div,
  .master-grid-full .master-card-body {
    padding: 16px;
  }
  .service-grid.wide .service-card h2,
  .post-grid.full .post-card h2,
  .master-grid-full .master-card h2 {
    font-size: 20px;
  }
  .project-row.full .project-card h2,
  .project-row.full .project-card p {
    padding-left: 16px;
    padding-right: 16px;
  }
  .project-row.full .project-card h2 {
    font-size: 20px;
  }
  .project-showcase-row .project-card,
  .project-showcase-row .card-media,
  .project-showcase-row .project-card img,
  .project-showcase-row .project-card video {
    min-height: 0;
  }
  .project-showcase-row .card-media {
    aspect-ratio: 4 / 3;
  }
  .project-showcase-row .project-card > div {
    position: static;
    margin: 0;
    border-radius: 0;
    color: var(--ink);
    background: white;
    backdrop-filter: none;
  }
  .project-showcase-row .project-card > div p {
    color: var(--muted);
  }
  .masters-section .master-grid,
  .blog-preview .post-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .masters-section .master-grid::-webkit-scrollbar,
  .blog-preview .post-grid::-webkit-scrollbar {
    height: 0;
  }
  .masters-section .master-card,
  .blog-preview .post-card {
    flex: 0 0 min(82vw, 310px);
    scroll-snap-align: start;
  }
  .masters-section .master-card-media {
    aspect-ratio: 4 / 3;
  }
  .masters-section .master-card-main > div,
  .blog-preview .post-card > div {
    padding: 16px;
  }
  .masters-section .master-card h3,
  .blog-preview .post-card h3 {
    font-size: 20px;
  }
  .masters-section .master-meta {
    gap: 6px;
    margin-top: 12px;
  }
  .masters-section .master-meta span {
    min-height: 30px;
    padding: 0 9px;
    font-size: 12px;
  }
  .blog-preview .post-card img {
    height: 180px;
  }
  .quick-services { display: grid; grid-template-columns: 1fr 1fr; }
  .quick-services a { text-align: center; padding-left: 8px; padding-right: 8px; }
  .service-keywords { gap: 6px; }
  .service-keywords span { font-size: 11px; }
  .section { padding-top: 54px; }
  .section-head { display: grid; align-items: start; }
  .process-section { margin-top: 54px; padding: 48px 0; }
  .faq-section { margin-top: 54px; padding: 48px 0; }
  .error-shell { padding: 36px 0 54px; }
  .error-actions { display: grid; grid-template-columns: 1fr; }
  .project-showcase-row .project-card { min-height: 0; }
  .project-showcase-row .project-card img,
  .project-showcase-row .project-card video { min-height: 0; }
  .contact-cards { grid-template-columns: 1fr; }
  .map-section iframe { height: 300px; }
  .master-profile { padding: 34px 0 54px; }
  .master-profile-media img { height: 360px; }
  .master-profile-facts { grid-template-columns: 1fr; }
  summary { min-height: 62px; padding: 16px 54px 16px 16px; font-size: 16px; }
  details p { padding: 0 16px 18px; }
  .footer-inner { grid-template-columns: 1fr; padding: 38px 0; }
}


/* Refined long-form content and service detail layouts */
.content-page-shell,
.service-detail-shell {
  width: 100%;
}

.content-hero,
.service-detail-hero,
.content-layout,
.service-detail-layout {
  width: var(--page);
  margin-inline: auto;
}

.content-hero {
  padding: clamp(44px, 6vw, 76px) 0 34px;
  border-bottom: 1px solid rgba(16,24,40,.08);
}

.content-hero > div {
  max-width: 860px;
}

.content-hero h1,
.service-detail-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.content-lead,
.content-hero .content-lead {
  max-width: 850px;
  margin: 18px 0 0;
  color: #344054;
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.72;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
  padding: 38px 0 76px;
}

.content-article,
.service-article {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.content-article p,
.service-article p {
  margin: 0;
  color: #475467;
  font-size: 17px;
  line-height: 1.85;
}

.content-article p + p,
.service-article p + p {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(16,24,40,.07);
}

.service-article .article-lead {
  color: #344054;
  font-size: 18px;
}

.content-list-panel {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid #dbeafe;
  border-radius: var(--radius);
  background: #f8fbff;
}

.content-list-panel ul,
.content-aside ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-list-panel li,
.content-aside li {
  position: relative;
  padding-left: 26px;
  color: #344054;
  line-height: 1.65;
}

.content-list-panel li::before,
.content-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

.content-aside,
.service-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.content-aside,
.sidebar-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16,24,40,.055);
}

.service-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
  padding: clamp(42px, 6vw, 72px) 0 36px;
}

.service-detail-copy {
  min-width: 0;
}

.service-detail-copy .lead {
  max-width: 780px;
  color: #475467;
}

.service-detail-media {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #eef2f7;
  box-shadow: var(--shadow);
}

.service-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(24px, 4vw, 36px);
  align-items: start;
  padding: 0 0 78px;
}

.sidebar-panel .service-keywords {
  margin: 0;
}

.sidebar-panel .chips {
  margin-top: 4px;
}

@media (max-width: 1040px) {
  .content-layout,
  .service-detail-hero,
  .service-detail-layout {
    grid-template-columns: 1fr;
  }
  .content-aside,
  .service-sidebar {
    position: static;
  }
  .service-detail-media img {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .content-hero,
  .service-detail-hero {
    padding-top: 34px;
  }
  .content-layout,
  .service-detail-layout {
    padding-bottom: 54px;
  }
  .content-article,
  .service-article,
  .content-aside,
  .sidebar-panel {
    padding: 18px;
  }
  .content-article p,
  .service-article p {
    font-size: 16px;
    line-height: 1.78;
  }
  .service-detail-media img {
    min-height: 210px;
  }
}


/* Robust service visual fallback */
.service-detail-media {
  position: relative;
  min-height: 320px;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(37,99,235,.08), rgba(20,184,166,.08)),
    #f8fafc;
}

.service-detail-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  opacity: 0;
  transition: opacity .18s ease;
}

.service-detail-media.has-loaded-image img {
  opacity: 1;
}

.service-detail-media.has-loaded-image .service-visual-card {
  opacity: 0;
}

.service-visual-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  transition: opacity .18s ease;
}

.service-visual-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: var(--primary);
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(37,99,235,.22);
}

.service-visual-title {
  max-width: 320px;
  margin: 24px 0 0;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.05;
  font-weight: 800;
}

.service-visual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.service-visual-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(16,24,40,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #475467;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 1040px) {
  .service-detail-media {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .service-detail-media {
    min-height: 230px;
  }
  .service-visual-card {
    padding: 20px;
  }
  .service-visual-mark {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 28px;
  }
  .service-visual-title {
    margin-top: 18px;
    font-size: 30px;
  }
  .service-visual-tags span {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 12px;
  }
}


/* Single-column text pages */
.content-layout-single {
  grid-template-columns: minmax(0, 900px);
}

.content-layout-single .content-article {
  max-width: 900px;
}

@media (max-width: 1040px) {
  .content-layout-single {
    grid-template-columns: 1fr;
  }
}


/* Unified typography refinement */
body,
button,
input,
select,
textarea {
  font-family: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.nav,
.btn,
.eyebrow,
.phone,
.top-meta,
.hero-kicker,
.proof-row,
label,
.service-keywords,
.chips,
.more-link,
.section-link {
  font-family: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0;
}

h1,
.hero h1,
.page-hero h1,
.content-hero h1,
.service-detail-hero h1,
.detail h1,
.contact h1,
.master-profile-body h1 {
  font-weight: 800;
  line-height: 1.06;
}

h2,
h3,
.quick-panel h2,
.section-head h2,
.process-layout h2,
.work-copy h2,
.faq-contact h2,
.booking-card h2,
.service-card h2,
.service-card h3,
.post-card h2,
.post-card h3,
.project-card h2,
.project-card h3,
.master-card h2,
.master-card h3 {
  font-weight: 700;
  line-height: 1.14;
}

.content-lead,
.service-detail-copy .lead,
.hero p,
.page-hero p,
.section-copy,
.service-card p,
.post-card p,
.project-card p,
.content-article p,
.service-article p {
  color: #3f4f63;
  font-weight: 450;
  line-height: 1.78;
}

.brand {
  font-weight: 800;
}

.brand span {
  font-weight: 800;
}

.nav {
  font-weight: 700;
}

.btn,
.more-link,
.section-link {
  font-weight: 800;
}

.eyebrow,
.chips a,
.service-keywords span,
.service-visual-tags span {
  font-weight: 700;
}

.top-meta {
  font-weight: 600;
}

.phone,
.header-phone {
  font-weight: 800;
}

label {
  font-weight: 700;
}

.content-article,
.service-article {
  font-size: 16px;
}


/* Typography tune after visual review */
.hero h1,
.page-hero h1,
.content-hero h1,
.service-detail-hero h1,
.detail h1,
.contact h1,
.master-profile-body h1 {
  font-weight: 700;
  line-height: 1.08;
}

.page-hero h1 {
  font-size: clamp(34px, 4vw, 48px);
}

.content-hero h1,
.service-detail-hero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
}

.hero h1 {
  font-size: clamp(42px, 5.4vw, 66px);
}

.service-card div,
.post-card div {
  padding: 20px;
}

.service-card h2,
.service-card h3,
.post-card h2,
.post-card h3,
.project-card h2,
.project-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.24;
  font-weight: 700;
}

.service-card p,
.post-card p,
.project-card p {
  margin: 0 0 18px;
  color: #42526a;
  font-size: 15.5px;
  line-height: 1.72;
  font-weight: 400;
}

.service-card .more-link,
.post-card .more-link,
.project-card .more-link {
  display: inline-flex;
  margin-top: 2px;
  font-weight: 700;
}

.content-lead,
.service-detail-copy .lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.68;
  font-weight: 400;
}

.content-article p,
.service-article p {
  color: #3f4f63;
  font-size: 16.5px;
  line-height: 1.82;
  font-weight: 400;
}

.service-article .article-lead {
  font-size: 17px;
  font-weight: 400;
}

.nav,
.top-meta {
  font-weight: 600;
}

.btn {
  font-weight: 700;
}

@media (max-width: 640px) {
  .page-hero h1,
  .content-hero h1,
  .service-detail-hero h1 {
    font-size: 36px;
    line-height: 1.1;
  }
  .service-card h2,
  .service-card h3,
  .post-card h2,
  .post-card h3,
  .project-card h2,
  .project-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
  }
  .service-card p,
  .post-card p,
  .project-card p {
    font-size: 15.5px;
    line-height: 1.7;
  }
}


/* Mobile service cards readability */
@media (max-width: 640px) {
  .service-grid,
  .service-grid.wide,
  .post-grid,
  .post-grid.full {
    grid-template-columns: 1fr;
  }

  .service-card div,
  .post-card div {
    padding: 18px;
  }

  .service-card h2,
  .service-card h3 {
    font-size: 20px;
    line-height: 1.22;
    margin-bottom: 13px;
  }

  .service-card p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.72;
    margin-bottom: 16px;
  }
}


/* Configurable brand logo */
.brand {
  min-width: 0;
}

.brand b {
  font: inherit;
  font-weight: inherit;
  color: inherit;
  white-space: nowrap;
}

.brand-logo-img {
  width: auto;
  max-width: min(220px, 46vw);
  height: 42px;
  object-fit: contain;
}

.brand-icon-img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  object-fit: contain;
  background: #fff;
}

.brand.light .brand-icon-img {
  background: rgba(255,255,255,.12);
}

@media (max-width: 640px) {
  .brand-logo-img {
    max-width: calc(100vw - 170px);
    height: 38px;
  }
  .brand-icon-img {
    width: 36px;
    height: 36px;
  }
}


/* Uploaded logo visual sizing fix */
.site-header .brand {
  flex: 0 0 auto;
  min-height: 56px;
}

.site-header .brand:has(.brand-logo-img) {
  padding: 0;
}

.site-header .brand-logo-img {
  width: auto;
  max-width: 260px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.site-header .brand-icon-img {
  width: 42px;
  height: 42px;
  padding: 3px;
  border-radius: var(--radius);
  background: #fff;
}

.footer .brand.light:has(.brand-logo-img) {
  width: fit-content;
  max-width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.footer .brand-logo-img {
  width: auto;
  max-width: 240px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.footer .brand-icon-img {
  width: 42px;
  height: 42px;
  padding: 4px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.96);
}

@media (max-width: 900px) {
  .site-header .brand {
    min-height: 48px;
    max-width: calc(100vw - 150px);
  }
  .site-header .brand-logo-img {
    max-width: calc(100vw - 170px);
    height: 48px;
  }
}

@media (max-width: 640px) {
  .site-header .brand {
    min-height: 44px;
    max-width: calc(100vw - 148px);
  }
  .site-header .brand-logo-img {
    max-width: calc(100vw - 166px);
    height: 44px;
  }
  .footer .brand.light:has(.brand-logo-img) {
    padding: 8px 10px;
  }
  .footer .brand-logo-img {
    max-width: min(240px, calc(100vw - 64px));
    height: 48px;
  }
}


/* Uploaded logo final size pass */
.site-header {
  min-height: 78px;
}

.site-header .brand-logo-img {
  max-width: 310px;
  height: 62px;
}

.footer .brand-logo-img {
  max-width: 285px;
  height: 58px;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 72px;
  }
  .site-header .brand-logo-img {
    max-width: calc(100vw - 154px);
    height: 54px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
  }
  .site-header .brand-logo-img {
    max-width: calc(100vw - 156px);
    height: 50px;
  }
  .footer .brand-logo-img {
    max-width: min(270px, calc(100vw - 58px));
    height: 54px;
  }
}


/* Design pass: full images, white footer, clean text pages, tighter spacing */

/* 1) Vahid şəkil standartı: bütün kontent şəkil qutuları 4:3, şəkil qutunu tam doldurur.
   Yüklənən şəkillər onsuz da 1200×900 (4:3) kəsilir — heç nə əzilmir, kənar boşluq qalmır. */

/* 2) White footer */
.footer {
  color: var(--text);
  background: #ffffff;
  border-top: 1px solid var(--line);
}
.footer p,
.footer-links a,
.footer-contact span { color: var(--muted); }
.footer-links strong,
.footer-contact strong { color: var(--ink); }
.footer-links a:hover { color: var(--primary-dark); }
.footer .brand.light { color: var(--ink); }
.footer .brand.light:has(.brand-logo-img) {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.footer .brand-icon-img { padding: 0; background: transparent; }
.footer .social-links a {
  border-color: var(--line);
  color: var(--ink);
  background: #f8fafc;
}
.footer .social-links a:hover { color: white; background: var(--navy); }
.footer-call { box-shadow: 0 10px 24px rgba(253,176,34,.2); }
.footer-inner { padding: 44px 0; }

/* 3) Text pages read as one clean article, not cards */
.content-layout,
.content-layout-single {
  grid-template-columns: minmax(0, 860px);
  padding: 30px 0 60px;
}
.content-article {
  max-width: 860px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.content-article p + p,
.service-article p + p {
  margin-top: 18px;
  padding-top: 0;
  border-top: 0;
}
.content-list-panel {
  margin: 22px 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.content-hero { padding: 40px 0 26px; }

/* 4) Tighter vertical rhythm */
.hero { min-height: 0; padding: 44px 0 46px; align-items: start; }
.booking-card { align-self: start; }
.section { padding-top: 48px; }
.process-section { margin-top: 48px; padding: 54px 0; }
.faq-section { margin-top: 48px; padding: 52px 0; }
.page-hero { min-height: 0; padding: 34px 0 22px; }
.service-detail-hero { padding: 40px 0 30px; }
.service-detail-layout { padding-bottom: 56px; }
.detail { padding: 44px 0 60px; }
.master-profile { padding: 44px 0 60px; }
.service-grid.wide,
.project-row.full,
.post-grid.full,
.master-grid-full { padding-bottom: 56px; }
.contact-redesign { padding-top: 40px; }

@media (max-width: 640px) {
  .hero { padding: 30px 0 34px; }
  .section { padding-top: 36px; }
  .process-section { margin-top: 36px; padding: 40px 0; }
  .faq-section { margin-top: 36px; padding: 40px 0; }
  .content-hero,
  .service-detail-hero { padding-top: 28px; }
  .content-layout,
  .content-layout-single { padding: 22px 0 44px; }
  .content-article { padding: 0; }
  .footer-inner { padding: 34px 0; }
}


/* Detal səhifələrində də şəkil 4:3 qutunu tam doldurur (kart görünüşü ilə eyni kadr) */
.service-detail-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.detail-image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* Video kəsilmir — 16:9 tam görünür */
.project-detail video.detail-image {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

/* Blog post detail: date under the title in the hero */
.post-detail-date {
  display: block;
  margin: 14px 0 0;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 800;
}
.post-detail-date + .lead {
  margin-top: 12px;
}

/* Text pages (About, Privacy): use the full header width, not a left column */
.content-layout,
.content-layout-single {
  grid-template-columns: minmax(0, 1fr);
}
.content-layout-single .content-article,
.content-article {
  max-width: none;
}
.content-hero > div {
  max-width: none;
}
.content-hero .content-lead {
  max-width: none;
}

/* Tag landing pages — extensive SEO body */
.tag-article-shell {
  width: var(--page);
  margin: 8px auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}
.tag-article {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.tag-article h2 {
  margin: 34px 0 14px;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
  color: #101828;
}
.tag-article h2:first-child { margin-top: 0; }
.tag-article h3 {
  margin: 24px 0 10px;
  font-size: 18px;
  color: #1d2939;
}
.tag-article p {
  margin: 0 0 16px;
  color: #475467;
  font-size: 17px;
  line-height: 1.85;
}
.tag-article ul, .tag-article ol {
  margin: 0 0 18px;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}
.tag-article li { color: #475467; font-size: 16px; line-height: 1.7; }
.tag-article .faq-q {
  font-weight: 700;
  color: #101828;
  margin: 22px 0 6px;
  font-size: 17px;
}
.tag-cta {
  position: sticky;
  top: 90px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 14px;
  text-align: center;
}
.tag-cta-title { font-weight: 700; color: #101828; font-size: 18px; }
.tag-trust-note {
  display: grid;
  gap: 3px;
  padding-top: 13px;
  border-top: 1px solid #d7e1f1;
  text-align: left;
}
.tag-trust-note strong { color: var(--ink); font-size: 14px; }
.tag-trust-note span { color: var(--muted); font-size: 12px; line-height: 1.55; }
@media (max-width: 900px) {
  .tag-article-shell { grid-template-columns: 1fr; }
  .tag-cta { position: static; }
}

/* Local service-area navigation */
.location-tag-section {
  display: block;
  width: var(--page);
  margin: 0 auto 72px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #f4f8ff 0%, #fff 72%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.location-tag-head {
  position: relative;
  display: block;
  max-width: none;
  margin: 0;
  padding: 25px 72px 25px 28px;
  cursor: pointer;
  list-style: none;
}
.location-tag-head::-webkit-details-marker { display: none; }
.location-tag-head::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 26px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}
.location-tag-section[open] .location-tag-head::after { content: "−"; }
.location-tag-head > span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.location-tag-head h2 {
  margin: 7px 0 9px;
  color: var(--ink);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.18;
}
.location-tag-head p { margin: 0; padding: 0; color: var(--muted); line-height: 1.7; }
.location-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-height: 420px;
  margin: 0;
  padding: 20px 28px 28px;
  border-top: 1px solid var(--line);
  overflow: auto;
}
.location-tag-cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 39px;
  padding: 8px 13px;
  border: 1px solid #d7e1f1;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.location-tag-cloud a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f4f8ff;
}
.location-service-section {
  width: var(--page);
  margin: 26px auto 8px;
  padding: 0;
}
@media (max-width: 640px) {
  .location-tag-section { margin-bottom: 44px; padding: 0; }
  .location-tag-head { padding: 20px 58px 20px 18px; }
  .location-tag-head::after { right: 16px; width: 34px; height: 34px; }
  .location-tag-head h2 { font-size: 23px; }
  .location-tag-cloud { gap: 7px; }
  .location-tag-cloud a { min-height: 35px; padding: 7px 10px; font-size: 12px; }
  .location-tag-section .location-tag-cloud { max-height: 350px; padding: 16px 18px 20px; }
  .location-service-section { margin-top: 18px; padding: 0; }
}

/* Home payment and warranty promises */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 38px;
  padding-bottom: 38px;
}
.trust-strip article {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.trust-strip-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-size: 22px;
  font-weight: 900;
}
.trust-strip h2 { margin: 0 0 7px; color: var(--ink); font-size: 21px; }
.trust-strip p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
@media (max-width: 700px) {
  .trust-strip { grid-template-columns: 1fr; gap: 12px; padding-top: 24px; padding-bottom: 24px; }
  .trust-strip article { grid-template-columns: 42px minmax(0, 1fr); padding: 18px; }
  .trust-strip-icon { width: 42px; height: 42px; border-radius: 12px; font-size: 19px; }
  .trust-strip h2 { font-size: 18px; }
}

/* Kart mətnlərinin bərabərləşdirilməsi — mobil siyahılarda çox uzun başlıq/mətni qısaldır */
.project-card h2,
.project-card h3,
.post-card h2,
.post-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-card p,
.post-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 640px) {
  .project-row.full .project-card p,
  .post-grid.full .post-card p {
    -webkit-line-clamp: 2;
    margin-bottom: 0;
  }
  .project-row.full .project-card h2,
  .post-grid.full .post-card h2,
  .post-grid.full .post-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }
}

/* Səhifələmə (pagination) */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 8px auto 8px;
  padding: 0 0 8px;
}
.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 700;
  line-height: 1;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.pagination a.page-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.pagination .page-link.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  cursor: default;
}
.pagination .page-link.is-disabled {
  opacity: .4;
  cursor: not-allowed;
}
@media (max-width: 640px) {
  .pagination .page-link {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
  }
}

/* 2026-08-15: xidmət, alt-xidmət və marka kataloqu */
.service-card-catalog { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 10px; }
.service-card-catalog a { border: 1px solid rgba(18, 89, 77, .16); border-radius: 999px; color: #155f53; background: #f3faf8; font-size: 12px; font-weight: 700; line-height: 1.35; padding: 7px 10px; }
.service-card-catalog a:hover, .service-card-catalog a:focus-visible { border-color: #167868; background: #e4f5f0; }
.service-phone-panel a { color: #145f53; display: inline-block; font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; letter-spacing: -.03em; margin-top: 8px; }
.service-catalog-section { margin: 0 auto 64px; max-width: 1240px; padding: 0 24px; }
.service-catalog-head { max-width: 780px; margin-bottom: 24px; }
.service-catalog-head h2 { color: #142b27; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.045em; line-height: 1.08; margin: 6px 0 12px; }
.service-catalog-head > p:last-child { color: #66746f; font-size: 16px; line-height: 1.75; margin: 0; padding: 0; }
.service-catalog-accordion { background: #fff; border: 1px solid #dce8e4; border-radius: 24px; box-shadow: 0 18px 46px rgba(20, 60, 52, .07); overflow: hidden; padding: 0; }
.service-catalog-summary { cursor: pointer; display: block; margin: 0; max-width: none; padding: 26px 82px 25px 28px; position: relative; }
.service-catalog-summary::-webkit-details-marker { display: none; }
.service-catalog-summary::after { align-items: center; background: #e9f6f3; border: 1px solid #c9e5de; border-radius: 50%; color: #176d5f; content: "+"; display: flex; font-size: 27px; font-weight: 500; height: 42px; justify-content: center; line-height: 1; position: absolute; right: 28px; top: 50%; transform: translateY(-50%); width: 42px; }
.service-catalog-accordion[open] .service-catalog-summary::after { content: "−"; }
.service-catalog-accordion[open] .service-catalog-summary { border-bottom: 1px solid #e3ece9; }
.service-catalog-accordion > .service-catalog-grid,
.service-catalog-accordion > .brand-catalog-grid { padding: 24px 28px 28px; }
.service-catalog-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-catalog-grid a { align-items: center; background: #fff; border: 1px solid #dce8e4; border-radius: 15px; color: #1b3731; display: flex; font-size: 14px; font-weight: 750; justify-content: space-between; line-height: 1.45; min-height: 58px; padding: 13px 15px; transition: .18s ease; }
.service-catalog-grid a b { color: #db6a42; font-size: 18px; margin-left: 10px; }
.service-catalog-grid a:hover, .service-catalog-grid a:focus-visible { border-color: #2a8b78; box-shadow: 0 10px 28px rgba(20, 95, 83, .10); transform: translateY(-2px); }
.brand-catalog-section { background: linear-gradient(145deg, #f4f9f7, #fff8f3); border-color: #e0ebe7; }
.brand-catalog-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.brand-catalog-grid a { background: #fff; border: 1px solid #d9e6e1; border-radius: 999px; color: #24443d; font-size: 13px; font-weight: 750; line-height: 1.35; padding: 9px 13px; }
.brand-catalog-grid a:hover, .brand-catalog-grid a:focus-visible { background: #175f53; border-color: #175f53; color: #fff; }
.tag-cta-copy { color: #6c7874; line-height: 1.55; margin: 8px 0 4px; }
.tag-phone-number { color: #155f53; display: block; font-size: clamp(22px, 3vw, 30px); font-weight: 900; letter-spacing: -.035em; margin: 8px 0 16px; }

@media (max-width: 900px) {
  .service-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .service-catalog-section { margin-bottom: 44px; }
  .service-catalog-summary { padding: 21px 62px 20px 18px; }
  .service-catalog-summary::after { height: 36px; right: 16px; width: 36px; }
  .service-catalog-head h2 { font-size: 23px; line-height: 1.15; }
  .service-catalog-head > p:last-child { font-size: 14px; line-height: 1.6; }
  .service-catalog-accordion > .service-catalog-grid,
  .service-catalog-accordion > .brand-catalog-grid { padding: 18px; }
  .service-catalog-grid { grid-template-columns: 1fr; }
  .service-catalog-grid a { min-height: 54px; }
  .brand-catalog-section { border-radius: 20px; }
  .brand-catalog-grid { gap: 7px; }
  .brand-catalog-grid a { font-size: 12px; padding: 8px 10px; }
}
.consent-banner{position:fixed;z-index:1100;left:16px;right:16px;bottom:16px;display:flex;justify-content:center}.consent-banner[hidden],.consent-settings[hidden],.consent-actions [hidden]{display:none!important}.consent-card{width:min(920px,100%);background:#fff;color:#172033;border:1px solid #d9e0ea;border-radius:18px;box-shadow:0 18px 55px rgba(20,32,56,.22);padding:18px;display:grid;gap:14px}.consent-card strong{font-size:1.05rem}.consent-card p{margin:5px 0 0;color:#566176}.consent-settings{display:flex;gap:22px;flex-wrap:wrap}.consent-settings label{display:flex;align-items:center;gap:8px;font-weight:600}.consent-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.consent-reopen{position:fixed;z-index:900;left:12px;bottom:12px;border:1px solid #d9e0ea;border-radius:999px;background:#fff;color:#38445a;padding:7px 11px;font:600 12px/1.2 Manrope,sans-serif;box-shadow:0 5px 18px rgba(20,32,56,.14)}@media(max-width:640px){.consent-banner{left:8px;right:8px;bottom:8px}.consent-card{padding:14px}.consent-actions{justify-content:stretch}.consent-actions .btn{flex:1 1 46%}}

.mobile-sticky-call { display: none; }
@media (max-width: 640px) {
  .service-detail-shell { padding-bottom: 82px; }
  .mobile-sticky-call {
    position: fixed;
    z-index: 850;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 218px;
    min-height: 58px;
    padding: 9px 18px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #167868, #0f5f53);
    box-shadow: 0 14px 36px rgba(10,64,55,.32);
    text-decoration: none;
  }
  .mobile-sticky-call svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-sticky-call span { display: grid; gap: 2px; }
  .mobile-sticky-call strong { font-size: 16px; line-height: 1.15; }
  .mobile-sticky-call small { color: rgba(255,255,255,.84); font-size: 11px; line-height: 1.2; }
  .consent-reopen { bottom: 80px; }
}
