: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));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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; }
}

/* televizortemiri.az brand redesign — dark thermal palette, rounded editorial layout */
:root {
  --ink: #16231f;
  --text: #43534d;
  --muted: #69766f;
  --line: #ded8cb;
  --bg: #f5f0e7;
  --panel: #fffaf1;
  --primary: #e96625;
  --primary-dark: #bf4814;
  --blue: #0c5a52;
  --amber: #ff9a3d;
  --navy: #0a2d2a;
  --soft-mint: #dceee9;
  --soft-warm: #fff0db;
  --radius: 20px;
  --shadow: 0 26px 70px rgba(8, 45, 42, .18);
  --shadow-soft: 0 18px 46px rgba(34, 46, 40, .10);
  --page: min(1220px, calc(100vw - 40px));
}

body {
  color: var(--text);
  background: var(--bg);
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

h1, h2, h3, h4, .brand {
  font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
}

.topbar {
  padding-block: 10px;
  color: #e8f3ef;
  background: #061f1d;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.top-meta { color: #bdd3cc; }

.site-header {
  min-height: 86px;
  padding-block: 13px;
  border: 0;
  background: rgba(255,250,241,.94);
  box-shadow: 0 12px 34px rgba(10,45,42,.08);
}
.site-header .brand { min-height: 58px; gap: 13px; font-size: 22px; letter-spacing: -.04em; }
.site-header .brand-icon-img {
  width: 54px;
  height: 58px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.nav { gap: 8px; }
.nav a, .nav .nav-link {
  padding: 10px 13px;
  border: 0;
  border-radius: 999px;
}
.nav a:hover, .nav .nav-link:hover {
  color: var(--navy);
  border: 0;
  background: var(--soft-mint);
}

.btn { min-height: 50px; padding-inline: 22px; border-radius: 999px; }
.btn.primary {
  color: #fffaf1;
  border-color: var(--primary);
  background: linear-gradient(135deg, #f17931, #d9531a);
  box-shadow: 0 15px 34px rgba(217,83,26,.28);
}
.btn.primary:hover { background: #bf4814; }

.hero-shell {
  color: #fff;
  background:
    radial-gradient(circle at 8% 18%, rgba(255,154,61,.20), transparent 25%),
    radial-gradient(circle at 78% 68%, rgba(37,142,128,.24), transparent 30%),
    linear-gradient(132deg, #071f1d 0%, #0d3f3a 58%, #092d2a 100%);
  border: 0;
  border-radius: 0 0 72px 72px;
}
.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: radial-gradient(circle, rgba(255,255,255,.42) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, #000, transparent 62%);
}
.hero-shell::after {
  right: 5%;
  bottom: -230px;
  width: 540px;
  height: 540px;
  border: 78px solid rgba(255,154,61,.13);
  background: transparent;
  filter: none;
}
.hero { min-height: 650px; padding: 72px 0 76px; gap: 70px; align-items: center; }
.hero-copy { position: relative; }
.hero-kicker {
  padding: 5px;
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.hero-kicker span { color: #ffe1bd; background: rgba(233,102,37,.28); }
.hero-kicker strong { color: #d8eee8; background: rgba(255,255,255,.08); }
.hero h1 {
  max-width: 760px;
  color: #fffaf1;
  font-size: clamp(54px, 7vw, 92px);
  line-height: .94;
  letter-spacing: -.065em;
}
.hero p { color: #c7d9d3; font-size: clamp(18px, 1.7vw, 22px); }
.hero .btn.secondary { color: #fffaf1; border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.07); }
.proof-row { gap: 10px; }
.proof-row div {
  padding: 18px 13px;
  border-color: rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.proof-row strong { color: #fff; }
.proof-row span { color: #bcd1ca; }

.booking-card {
  padding: 32px;
  border: 0;
  border-top: 8px solid var(--primary);
  border-radius: 30px;
  color: var(--text);
  background: #fffaf1;
  box-shadow: 0 35px 90px rgba(0,0,0,.28);
}
.booking-card h2 { font-family: "Sora", sans-serif; color: var(--ink); letter-spacing: -.04em; }
.booking-status { color: #075a50; background: #dceee9; }
.booking-status span { background: #0f8a78; box-shadow: 0 0 0 4px rgba(15,138,120,.16); }
input, select, textarea {
  min-height: 52px;
  border-color: #d8d0c2;
  border-radius: 14px;
  background: #fff;
}
input:focus, select:focus, textarea:focus { outline-color: rgba(233,102,37,.18); border-color: var(--primary); }

.section { padding-top: 82px; }
.section-head h2 { letter-spacing: -.045em; }
.eyebrow { color: var(--primary-dark); letter-spacing: .13em; }
.service-card, .post-card, .project-card, .master-card {
  overflow: hidden;
  border-color: rgba(10,45,42,.10);
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 18px 46px rgba(25,45,38,.08);
}
.service-card:hover, .post-card:hover, .project-card:hover, .master-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 64px rgba(10,45,42,.15);
}

.process-section {
  overflow: hidden;
  margin-top: 82px;
  padding: 86px 0;
  color: #fff;
  background: linear-gradient(122deg, #df5c20, #ef8139);
  border-radius: 64px 64px 0 0;
}
.process-section .eyebrow, .process-section h2, .process-section .section-copy { color: #fff; }
.process-grid article {
  border: 0;
  border-radius: 24px;
  background: #fff7e9;
  box-shadow: 0 18px 40px rgba(106,41,13,.16);
}
.process-grid span { color: #fff; background: var(--navy); }
.process-grid h3 { color: var(--navy); }

.faq-section {
  margin-top: 82px;
  padding: 84px 0;
  color: #fff;
  background: #082f2c;
}
.faq-section .eyebrow { color: #ffac62; }
.faq-section h2, .faq-intro p { color: #fff; }
.faq-list { gap: 12px; }
.faq-list details {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.07);
}
.faq-list summary { color: #fff; }
.faq-list details p { color: #c9dad5; }

.page-hero, .content-hero {
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(255,154,61,.2), transparent 28%),
    linear-gradient(125deg, #082825, #0d5149);
}
.page-hero h1, .page-hero p, .content-hero h1, .content-hero .content-lead { color: #fff; }
.page-hero { margin: 0; padding: 70px max(20px, calc((100vw - 1220px) / 2)); }
.content-hero { padding: 70px 0 54px; }
.content-hero > div { width: var(--page); }
.content-article { font-size: 18px; line-height: 1.82; }
.content-article p + p { margin-top: 26px; }

.footer {
  color: #d8e7e1;
  background: #061f1d;
  border: 0;
}
.footer p, .footer-links a, .footer-contact span { color: #a9c2ba; }
.footer-links strong, .footer-contact strong, .footer .brand.light { color: #fffaf1; }
.footer-links a:hover { color: #ffac62; }
.footer .brand-icon-img { width: 58px; height: 66px; background: transparent; }
.footer .social-links a { color: #fff; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.07); }

@media (max-width: 900px) {
  :root { --page: min(100% - 28px, 760px); }
  .site-header { min-height: 72px; }
  .site-header .brand { min-height: 46px; font-size: 18px; }
  .site-header .brand-icon-img { width: 42px; height: 48px; }
  .hero-shell { border-radius: 0 0 38px 38px; }
  .hero { min-height: 0; padding: 54px 0 62px; gap: 34px; }
  .booking-card { transform: none; }
  .process-section { border-radius: 38px 38px 0 0; }
}

@media (max-width: 640px) {
  .topbar { grid-template-columns: 1fr auto; }
  .top-meta .meta-item:nth-child(n+2) { display: none; }
  .hero h1 { font-size: clamp(48px, 16vw, 68px); }
  .hero { padding-block: 44px 50px; }
  .proof-row { grid-template-columns: 1fr; }
  .booking-card { padding: 24px; border-radius: 24px; }
  .section { padding-top: 62px; }
  .process-section, .faq-section { margin-top: 62px; padding: 62px 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; }
@media (max-width: 900px) {
  .tag-article-shell { grid-template-columns: 1fr; }
  .tag-cta { position: static; }
}

/* 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;
  }
}

/* televizortemiri.az final brand authority */
body {
  background: #fffaf1;
  color: #102e2b;
  font-family: "DM Sans", system-ui, sans-serif;
}
.site-header {
  border-bottom: 1px solid rgba(16, 46, 43, .12);
  background: rgba(255, 250, 241, .92);
  backdrop-filter: blur(18px);
}
.brand-name,
h1, h2, h3,
.section-head h2,
.hero h1 {
  font-family: "Sora", "DM Sans", system-ui, sans-serif;
}
.hero-shell {
  background:
    radial-gradient(circle at 83% 18%, rgba(233, 102, 37, .28), transparent 24%),
    radial-gradient(circle at 10% 92%, rgba(71, 169, 151, .18), transparent 28%),
    #061f1d;
  border-radius: 0 0 64px 64px;
}
.hero {
  min-height: 650px;
  padding: 96px 0 92px;
  align-items: center;
}
.hero h1,
.hero-copy > p,
.hero-kicker,
.proof-row strong,
.proof-row span { color: #fffaf1; }
.hero h1 { letter-spacing: -.055em; }
.hero-kicker span {
  color: #ffd9bf;
  background: rgba(233, 102, 37, .16);
  border-color: rgba(233, 102, 37, .45);
}
.booking-card {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 34px;
  background: rgba(255, 250, 241, .98);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .32);
}
.section { padding: 96px 0; }
.section.alt { background: #f1e8d8; }
.service-card,
.master-card,
.project-card,
.post-card,
.content-card,
.info-card {
  border-color: rgba(16, 46, 43, .12);
  border-radius: 28px;
  box-shadow: 0 16px 44px rgba(6, 31, 29, .08);
}
.process-section {
  padding: 100px 0;
  background: #e96625;
  color: #fffaf1;
  border-radius: 64px;
}
.process-section h2,
.process-section p,
.process-step h3,
.process-step p { color: #fffaf1; }
.faq-section {
  padding: 100px 0;
  background: #061f1d;
  border-radius: 64px 64px 0 0;
}
.faq-section h2,
.faq-section .section-head p { color: #fffaf1; }
.faq-item {
  border-color: rgba(255, 250, 241, .16);
  background: rgba(255, 250, 241, .06);
}
.faq-question,
.faq-answer { color: #fffaf1; }
.page-hero {
  padding: 78px clamp(24px, 5vw, 72px);
  border-radius: 0 0 54px 54px;
  background: #0d3f3a;
  color: #fffaf1;
}
.page-hero h1,
.page-hero p { color: #fffaf1; }
.content-hero { padding: 80px 0; }
.footer {
  padding-top: 78px;
  background: #041816;
  color: rgba(255, 250, 241, .72);
}
.footer h3,
.footer a,
.footer .brand-name { color: #fffaf1; }
.footer-bottom { border-top-color: rgba(255, 250, 241, .12); }

@media (max-width: 900px) {
  .hero-shell { border-radius: 0 0 40px 40px; }
  .hero { min-height: auto; padding: 70px 0; }
  .section { padding: 72px 0; }
  .process-section,
  .faq-section { padding: 76px 0; border-radius: 40px; }
}
@media (max-width: 640px) {
  .hero { padding: 52px 0 58px; }
  .hero h1 { font-size: clamp(38px, 12vw, 58px); }
  .section { padding: 58px 0; }
  .process-section,
  .faq-section { padding: 60px 0; border-radius: 30px; }
  .page-hero { padding: 52px 22px; border-radius: 0 0 34px 34px; }
  .footer { padding-top: 58px; }
}

/* televizortemiri.az compact redesign v2 */
:root {
  --page: min(calc(100% - 48px), 1120px);
  --ink: #102e2b;
  --text: #4d5f5a;
  --muted: #65756f;
  --line: rgba(16, 46, 43, .13);
  --primary: #e96525;
  --primary-dark: #bd4816;
  --navy: #082f2c;
  --panel: #fffdf8;
  --soft: #f2eee6;
  --radius: 18px;
}

body {
  background: #f8f5ee;
  color: var(--text);
}

.topbar {
  min-height: 38px;
  padding: 6px 0;
  background: #082f2c;
}
.top-meta { gap: 20px; font-size: 12px; }
.language-switcher button { min-height: 30px; padding: 5px 11px; }

.site-header {
  min-height: 68px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 245, 238, .96);
  box-shadow: none;
}
.site-header .brand { min-height: 48px; gap: 10px; font-size: 20px; }
.site-header .brand-icon-img { width: 38px; height: 42px; padding: 1px; }
.nav { gap: 24px; font-size: 13px; }
.nav a,
.nav .nav-link { padding: 7px 0; }

.hero-shell {
  width: var(--page);
  margin: 24px auto 0;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(233, 101, 37, .22), transparent 27%),
    #082f2c;
}
.hero-shell::before { opacity: .28; }
.hero-shell::after {
  right: -130px;
  bottom: -220px;
  width: 430px;
  height: 430px;
  border-width: 58px;
  opacity: .55;
}
.hero.container {
  width: 100%;
  min-height: 0;
  padding: 52px;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 48px;
}
.hero-copy { max-width: 580px; }
.hero-kicker {
  margin-bottom: 16px;
  padding: 4px;
  font-size: 12px;
}
.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(44px, 4.8vw, 58px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.hero-copy > p {
  max-width: 570px;
  margin-top: 17px;
  font-size: 17px;
  line-height: 1.65;
  color: #c7d9d3;
}
.hero-actions { margin-top: 22px; }
.hero .btn { min-height: 46px; padding: 11px 20px; border-radius: 12px; }
.proof-row { display: none; }

.booking-card {
  width: 100%;
  max-width: 390px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-top: 4px solid var(--primary);
  border-radius: 22px;
  box-shadow: 0 22px 52px rgba(0, 0, 0, .23);
}
.booking-status { padding: 6px 10px; font-size: 12px; }
.booking-card h2 {
  margin: 14px 0 6px;
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: -.035em;
}
.booking-card p { font-size: 15px; line-height: 1.55; }
.mini-form { gap: 10px; margin-top: 14px; }
.mini-form label { gap: 5px; font-size: 13px; }
.mini-form input,
.mini-form select { min-height: 46px; border-radius: 10px; }
.mini-form .btn { min-height: 46px; }

.section { padding: 56px 0 0; }
.section-head {
  align-items: center;
  margin-bottom: 22px;
}
.section-head h2,
.work-copy h2 {
  max-width: 720px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.16;
  letter-spacing: -.035em;
}
.eyebrow {
  margin-bottom: 7px;
  font-size: 11px;
  letter-spacing: .11em;
}
.section-link { font-size: 13px; }
.service-grid,
.master-grid,
.post-grid,
.project-row { gap: 16px; }
.service-card,
.master-card,
.project-card,
.post-card {
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(16, 46, 43, .07);
}

.process-section {
  width: var(--page);
  margin: 52px auto 0;
  padding: 48px 0;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #f0ebe2;
}
.process-layout.container {
  width: 100%;
  display: block;
  padding: 0 46px;
}
.process-layout > div:first-child {
  max-width: 680px;
  margin: 0 auto 28px;
  text-align: center;
}
.process-section .eyebrow { color: var(--primary-dark); }
.process-section h2,
.process-layout h2 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.process-section .section-copy {
  max-width: 620px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.process-grid { gap: 14px; }
.process-grid article {
  min-height: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf8;
  box-shadow: none;
}
.process-grid span {
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--primary);
}
.process-grid h3 {
  margin: 14px 0 6px;
  color: var(--ink);
  font-size: 18px;
}
.process-grid article p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.faq-section {
  width: var(--page);
  margin: 52px auto;
  padding: 48px;
  border: 0;
  border-radius: 28px;
  background: #082f2c;
}
.faq-layout.container {
  width: 100%;
  grid-template-columns: minmax(230px, 290px) 1fr;
  gap: 38px;
}
.faq-intro {
  position: static;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.faq-section .eyebrow { color: #ffad72; }
.faq-section .faq-intro h2 {
  margin: 0;
  color: #fffaf1;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.faq-section .faq-intro p {
  margin: 13px 0 0;
  color: #bdd1ca;
  font-size: 15px;
  line-height: 1.6;
}
.faq-list { gap: 9px; }
.faq-list details {
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
}
.faq-list summary {
  min-height: 54px;
  padding: 14px 48px 14px 17px;
  color: #fffaf1;
  font-size: 15px;
  line-height: 1.4;
}
.faq-list details p {
  padding: 0 17px 16px;
  color: #bfd2cc;
  font-size: 14px;
  line-height: 1.6;
}

.page-hero {
  width: var(--page);
  min-height: 0;
  margin: 24px auto 0;
  padding: 38px 42px;
  border-radius: 24px;
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -.04em;
}
.page-hero h1 + p { margin-top: 10px; }
.page-hero p { max-width: 680px; font-size: 16px; line-height: 1.6; }
.content-hero {
  width: var(--page);
  margin: 24px auto 0;
  padding: 38px 42px;
  border: 0;
  border-radius: 24px;
}
.content-hero h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.12; }

.footer {
  margin-top: 0;
  padding: 0;
  background: #051f1d;
  color: #bfd0cb;
}
.footer-inner { padding: 48px 0; gap: 30px; }
.footer p,
.footer a,
.footer span { color: #b8cbc5; }
.footer strong,
.footer h3,
.footer .brand,
.footer .brand span { color: #fffaf1; }
.footer-bottom {
  padding: 18px 0;
  border-top-color: rgba(255, 255, 255, .10);
  color: #93aaa4;
}

@media (max-width: 1000px) {
  :root { --page: min(calc(100% - 32px), 820px); }
  .hero.container {
    grid-template-columns: 1fr;
    padding: 44px;
    gap: 30px;
  }
  .hero-copy { max-width: 680px; }
  .booking-card { max-width: 560px; }
  .faq-layout.container { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 640px) {
  :root { --page: calc(100% - 24px); }
  .topbar { min-height: 34px; padding: 5px 0; }
  .top-meta .meta-item:nth-child(n+2) { display: none; }
  .site-header { min-height: 60px; padding: 6px 12px; }
  .site-header .brand { min-height: 42px; font-size: 17px; }
  .site-header .brand-icon-img { width: 34px; height: 38px; }
  .hero-shell { margin-top: 12px; border-radius: 20px; }
  .hero.container { padding: 34px 20px; gap: 26px; }
  .hero-kicker { margin-bottom: 14px; }
  .hero h1 { font-size: clamp(36px, 11vw, 44px); line-height: 1.07; }
  .hero-copy > p { margin-top: 14px; font-size: 16px; }
  .hero-actions { margin-top: 18px; }
  .hero-actions .btn { width: 100%; }
  .booking-card { padding: 20px; border-radius: 18px; }
  .booking-card h2 { font-size: 23px; }
  .section { padding-top: 42px; }
  .section-head { display: block; margin-bottom: 18px; }
  .section-head h2 { font-size: 28px; }
  .section-link { display: inline-flex; margin-top: 10px; }
  .process-section,
  .faq-section {
    margin: 32px auto;
    padding: 32px 18px;
    border-radius: 20px;
  }
  .process-layout.container { padding: 0; }
  .process-layout > div:first-child { margin-bottom: 22px; text-align: left; }
  .process-section h2,
  .process-layout h2,
  .faq-section .faq-intro h2 { font-size: 29px; }
  .process-section .section-copy { margin-top: 9px; font-size: 15px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { padding: 18px; }
  .faq-layout.container { gap: 22px; }
  .page-hero,
  .content-hero {
    margin-top: 12px;
    padding: 30px 22px;
    border-radius: 18px;
  }
  .page-hero h1,
  .content-hero h1 { font-size: 31px; }
  .page-hero p { font-size: 15px; }
  .footer-inner { padding: 38px 0; }
}
