@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("assets/fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("assets/fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --bg: #e7e7e9;
  --surface: #ffffff;
  --surface-alt: #f3f3f5;
  --surface-dark: #111111;
  --surface-card: #f8f8f9;
  --text: #151515;
  --text-soft: #5f5f66;
  --primary: #ff1717;
  --primary-strong: #111111;
  --primary-hover: #cb1010;
  --line: rgba(17, 17, 17, 0.1);
  --line-soft: rgba(255, 255, 255, 0.12);
  --content-width: 1120px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 23, 23, 0.08), transparent 28%),
    linear-gradient(180deg, #f4f4f5 0%, #e7e7e9 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.page-shell {
  width: min(calc(100% - 24px), var(--content-width));
  margin: 0 auto 96px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 14px 20px;
  background:
    linear-gradient(180deg, rgba(255, 250, 250, 0.97), rgba(244, 240, 240, 0.95));
  border: 1px solid rgba(255, 23, 23, 0.08);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.brand-mark {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 212px;
  max-width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(17, 17, 17, 0.78);
}

.site-nav a,
.mobile-menu a,
.footer-column a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.mobile-menu a:hover,
.footer-column a:hover {
  color: var(--primary-strong);
  transform: translateY(-1px);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.04);
}

.lang-switcher-mobile {
  display: none;
  margin-bottom: 8px;
}

.lang-switcher-mobile .lang-button {
  color: rgba(255, 255, 255, 0.7);
}

.lang-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(17, 17, 17, 0.62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
}

.lang-button.is-active {
  background: var(--primary);
  color: #fff;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 23, 23, 0.12);
  color: var(--primary-strong);
  font-size: 15px;
  font-weight: 700;
}

.phone-link svg,
.button-phone svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--primary-strong);
  border-radius: 999px;
}

.mobile-menu {
  margin-top: 10px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.97);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.mobile-menu a {
  display: block;
  color: #fff;
  padding: 10px 0;
}

main {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.section-block,
.section-band,
.hero-section,
.site-footer {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  /* main is display:grid, so these are grid items; a grid item's automatic
     min-width defaults to its content's min-content size, which would let
     a wide scrollable child (the cases carousel) force the whole section
     - and the page - wider than the viewport instead of clipping/scrolling
     internally. min-width:0 lets overflow:auto do its job as expected. */
  min-width: 0;
}

.section-block {
  padding: 42px 34px;
}

.section-band {
  padding: 18px 24px;
}

.section-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.split-heading {
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 18px;
}

.section-heading.centered {
  text-align: center;
}

/* text-align alone only centers the text *inside* the box - h1/h2 are
   capped at max-width below, so without this the box itself still sits
   flush left on wide screens instead of centering as a block. */
.section-heading.centered h1,
.section-heading.centered h2,
.section-heading.centered p {
  margin-inline: auto;
}

.section-heading h1,
.section-heading h2,
.hero-copy h1,
.estimate-copy h2 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
}

.section-heading h1,
.section-heading h2,
.estimate-copy h2 {
  max-width: 620px;
  font-size: 30px;
  line-height: 1.18;
  color: var(--primary-strong);
}

.hero-section {
  display: block;
  min-height: auto;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(10, 10, 10, 0.96) 0%, rgba(16, 16, 16, 0.92) 46%, rgba(33, 33, 33, 0.76) 100%),
    url("/assets/hero-bg.jpg") center/cover;
  color: #fff;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  min-height: 620px;
  padding: 72px 56px;
  text-align: center;
}

.hero-copy h1 {
  max-width: 900px;
  font-size: 46px;
  line-height: 1.1;
}

.hero-text {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.hero-points {
  display: grid;
  gap: 12px;
  width: min(100%, 760px);
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(255, 23, 23, 0.14);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.hero-meta span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  font-weight: 700;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button,
.text-link {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--primary-strong);
  color: #fff;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
}

.button-primary:hover {
  background: #000000;
}

.button-accent {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(255, 23, 23, 0.22);
}

.button-accent:hover {
  background: var(--primary-hover);
}

.button-secondary {
  background: transparent;
  color: var(--primary-strong);
  border: 1px solid var(--line);
}

.button-secondary:hover {
  border-color: rgba(255, 23, 23, 0.28);
  color: var(--primary);
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: #121212;
  color: #fff;
}

/* Same pill look as .trust-bar, but flex-wrap instead of a fixed 4-col grid
   so it works for service pages whose brand list isn't exactly 4 items. */
.brand-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  background: #121212;
  color: #fff;
}

.trust-item {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  font-weight: 700;
}

.trust-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: inset 0 0 0 4px #121212;
}

.service-grid {
  display: grid;
  gap: 16px;
}

.service-grid-large {
  grid-template-columns: repeat(2, 1fr);
}

.service-card,
.project-card,
.review-card,
.why-intro-card,
.contact-details-card,
.estimate-form,
.contact-form {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.service-card-photo {
  overflow: hidden;
}

.service-photo {
  min-height: 192px;
  background-size: cover;
  background-position: center;
}

.gate-service .service-photo {
  background:
    linear-gradient(180deg, transparent 0%, rgba(17, 17, 17, 0.18) 100%),
    url("assets/gate-automation.jpg") center/cover;
}

.cctv-service .service-photo {
  background:
    linear-gradient(180deg, transparent 0%, rgba(17, 17, 17, 0.22) 100%),
    url("assets/video.jpg") center/cover;
}

.intercom-service .service-photo {
  background:
    linear-gradient(180deg, transparent 0%, rgba(17, 17, 17, 0.18) 100%),
    url("assets/intercom.jpg") center/cover;
}

.alarm-service .service-photo {
  background:
    linear-gradient(180deg, transparent 0%, rgba(17, 17, 17, 0.2) 100%),
    url("assets/security.jpg") center/cover;
}

.service-card-body {
  padding: 22px 22px 20px;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: rgba(255, 23, 23, 0.08);
  color: var(--primary);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card h3,
.project-body h3,
.step-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.24;
  color: var(--primary-strong);
}

.service-card p,
.project-body p,
.step-card p,
.review-card p,
.estimate-copy p,
.contact-form span,
.estimate-form span {
  line-height: 1.6;
}

.service-card p,
.project-body p,
.step-card p,
.review-card p,
.estimate-copy p,
.contact-map,
.contact-line span:last-child {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--text-soft);
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.why-intro-card {
  padding: 26px;
  background: linear-gradient(180deg, #151515, #222222);
  color: #fff;
}

.why-intro-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.why-list {
  display: grid;
  gap: 14px;
  padding: 26px;
  margin: 0;
  list-style: none;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.why-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: inset 0 0 0 4px #ffffff;
}

/* Horizontal scroll-snap carousel for "Tulemusega projektid" - any number
   of case cards can be added without ever revisiting column-count layout
   math (previously a 3-col grid, then a one-off 2x2 for 4 cards). */
.cases-nav-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 16px;
}

.cases-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-strong);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cases-nav:hover {
  background: var(--surface-alt);
  border-color: var(--primary);
}

.cases-nav svg {
  width: 18px;
  height: 18px;
}

.cases-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
}

.cases-track::-webkit-scrollbar {
  height: 6px;
}

.cases-track::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.15);
  border-radius: 3px;
}

.cases-track .project-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
}

.project-card {
  overflow: hidden;
}

.project-image {
  min-height: 248px;
  background-size: cover;
  background-position: center;
  /* .project-image is a <button> (click opens the full, uncropped photo -
     background-size:cover crops portrait photos hard enough that the work
     itself isn't visible in the card). Reset button chrome without `all`,
     so it doesn't fight the background-image rules above/below this one. */
  display: block;
  width: 100%;
  position: relative;
  border: none;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.project-image::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    rgba(17, 17, 17, 0.55)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 3H3v6M15 3h6v6M9 21H3v-6M15 21h6v-6'/></svg>")
    center/18px no-repeat;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.project-image:hover::after,
.project-image:focus-visible::after {
  opacity: 1;
}

.project-image:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.case-intercom .project-image {
  background:
    linear-gradient(180deg, transparent 0%, rgba(9, 24, 53, 0.24) 100%),
    url("/assets/cases/korterelamu-uksetelefon.jpg") center/cover;
}

.case-cctv .project-image {
  background:
    linear-gradient(180deg, transparent 0%, rgba(9, 24, 53, 0.24) 100%),
    url("/assets/cases/korterelamu-videovalve.jpg") center/cover;
}

.case-facade .project-image {
  background:
    linear-gradient(180deg, transparent 0%, rgba(9, 24, 53, 0.24) 100%),
    url("/assets/cases/fassaad-kaabeldus.jpg") center/cover;
}

.case-intercom-laskomex .project-image {
  background:
    linear-gradient(180deg, transparent 0%, rgba(9, 24, 53, 0.24) 100%),
    url("/assets/cases/uksetelefon-laskomex.jpg") center/cover;
}

.case-corner-cctv .project-image {
  background:
    linear-gradient(180deg, transparent 0%, rgba(9, 24, 53, 0.24) 100%),
    url("/assets/cases/nurgakaamera-laiendus.jpg") center/cover;
}

.project-body {
  padding: 20px 20px 22px;
}

.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.case-metrics span,
.estimate-trust-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 23, 23, 0.08);
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 800;
}

.case-result {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--primary-strong);
}

.process-steps {
  display: grid;
  gap: 16px;
}

.process-steps-line {
  grid-template-columns: repeat(5, 1fr);
}

.compact-step {
  position: relative;
  padding: 22px 18px 20px;
  text-align: left;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.step-index {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.estimate-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  align-items: start;
}

.estimate-copy {
  padding-right: 12px;
}

.estimate-note {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 23, 23, 0.08);
  color: var(--primary-strong);
  font-size: 14px;
  font-weight: 800;
}

.estimate-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.estimate-form,
.contact-form {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.estimate-form .button,
.contact-form .button {
  width: 100%;
  justify-content: center;
}

.estimate-form label,
.contact-form label {
  display: grid;
  gap: 8px;
}

.estimate-form span,
.contact-form span {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 14px;
  background: #ffffff;
  padding: 14px 16px;
  color: var(--text);
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(255, 23, 23, 0.18);
  border-color: rgba(255, 23, 23, 0.35);
}

.form-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.06);
  border: 1px solid rgba(17, 17, 17, 0.12);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  animation: form-status-in 0.25s ease;
}

.form-status-icon {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.form-status-error {
  background: rgba(255, 23, 23, 0.08);
  border-color: rgba(255, 23, 23, 0.35);
  color: var(--primary-hover);
  font-weight: 700;
}

.form-status-error .form-status-icon {
  background: var(--primary);
  color: #ffffff;
}

.service-hint-banner {
  display: inline-block;
  margin: 14px 0 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 23, 23, 0.08);
  border: 1px solid rgba(255, 23, 23, 0.25);
  color: var(--primary-strong);
  font-size: 14px;
  font-weight: 700;
}

.form-status-success {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(23, 156, 79, 0.12);
  border: 1px solid rgba(23, 156, 79, 0.45);
  color: #0f6b38;
  font-size: 16px;
  font-weight: 800;
}

.form-status-success .form-status-icon {
  width: 30px;
  height: 30px;
  font-size: 18px;
  background: #179c4f;
  color: #ffffff;
}

@keyframes form-status-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.estimate-form.is-submitted > *:not(.form-status):not(.form-reset-button),
.contact-form.is-submitted > *:not(.form-status):not(.form-reset-button) {
  display: none;
}

.form-reset-button {
  justify-self: start;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.review-card {
  padding: 24px;
}

.review-stars {
  color: var(--primary);
  font-size: 20px;
  letter-spacing: 0.08em;
}

.review-card footer {
  margin-top: 16px;
  color: var(--primary-strong);
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 18px;
}

.contact-details-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(180deg, #151515, #1f1f1f);
  color: #fff;
}

.contact-line {
  display: grid;
  gap: 6px;
}

.contact-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.contact-line a,
.contact-line span:last-child {
  font-size: 18px;
  line-height: 1.5;
  color: #fff;
}

.contact-map {
  min-height: 160px;
  display: grid;
  place-items: center;
  margin-top: 8px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 23, 23, 0.22), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, #1d1d1d, #2b2b2b);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 18px;
  padding: 30px 28px 34px;
  background: #111111;
  color: rgba(255, 255, 255, 0.72);
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column strong {
  color: #ffffff;
  font-size: 14px;
}

.footer-column a,
.footer-column span {
  font-size: 14px;
  line-height: 1.45;
}

.mobile-sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 45;
  display: none;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.94);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.mobile-sticky-cta .button {
  flex: 1 1 50%;
}

.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 46;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);
}

.whatsapp-fab svg {
  width: 32px;
  height: 32px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-nav,
  .phone-link {
    display: none;
  }

  .lang-switcher {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .lang-switcher-mobile {
    display: inline-flex;
  }

  .hero-section,
  .why-grid,
  .estimate-section,
  .contact-grid,
  .split-heading,
  .service-grid-large,
  .reviews-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-copy,
  .section-block {
    padding: 32px 24px;
  }

  .hero-copy {
    max-width: 820px;
    min-height: auto;
    padding: 40px 24px;
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps-line {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer {
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 16px), var(--content-width));
    margin: 0 auto 100px;
  }

  .site-header {
    min-height: 64px;
    padding: 12px 16px;
  }

  .brand-logo {
    width: 148px;
  }

  main {
    gap: 14px;
    margin-top: 14px;
  }

  .section-block,
  .section-band,
  .hero-copy {
    padding-inline: 16px;
  }

  .section-block {
    padding-block: 28px;
  }

  .hero-copy {
    padding-top: 28px;
    padding-bottom: 20px;
    max-width: none;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-points li {
    font-size: 14px;
    line-height: 1.45;
  }

  .hero-actions,
  .cta-actions,
  .hero-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trust-bar,
  .process-steps-line,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .service-grid-large {
    grid-template-columns: 1fr;
  }

  .service-photo,
  .project-image {
    min-height: 180px;
  }

  .cases-track .project-card {
    flex-basis: 82%;
  }

  .cases-nav-row {
    display: none;
  }

  .split-heading {
    grid-template-columns: 1fr;
  }

  .button-secondary {
    width: fit-content;
  }

  .contact-line a,
  .contact-line span:last-child {
    font-size: 16px;
  }

  .site-footer {
    padding: 24px 18px 84px;
  }

  .mobile-sticky-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .whatsapp-fab {
    right: 14px;
    bottom: 92px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-fab svg {
    width: 28px;
    height: 28px;
  }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 4px 0;
  font-size: 14px;
  color: var(--text-soft);
}

.breadcrumb a {
  color: var(--text-soft);
  text-decoration: underline;
}

.breadcrumb a:hover {
  color: var(--primary-strong);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin: 14px 0 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  margin-top: 18px;
  padding: 0 4px;
  color: var(--text-soft);
  font-size: 13px;
}

.footer-legal a,
.footer-legal-link {
  color: var(--text-soft);
  text-decoration: underline;
}

.footer-legal-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.footer-legal a:hover,
.footer-legal-link:hover {
  color: var(--primary-strong);
}

.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: #111111;
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.cookie-banner-actions a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  font-size: 13px;
}

.cookie-banner-actions a:hover {
  color: #ffffff;
}

.cookie-banner-actions .button {
  min-height: 40px;
  padding: 0 18px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.92);
  padding: 40px;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 760px) {
  .lightbox {
    padding: 16px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}

.privacy-updated {
  margin: 0 0 24px;
  text-align: center;
  color: var(--text-soft);
  font-size: 13px;
}

.privacy-body {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text);
}

.privacy-body h2 {
  margin: 32px 0 12px;
  font-family: "Unbounded", sans-serif;
  font-size: 19px;
  color: var(--primary-strong);
}

.privacy-body h2:first-child {
  margin-top: 0;
}

.privacy-body p {
  margin: 0 0 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.privacy-body ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 1.7;
}

.privacy-body li {
  margin-bottom: 6px;
}

.privacy-body a {
  color: var(--primary-strong);
  text-decoration: underline;
}

@media (max-width: 760px) {
  .cookie-banner {
    bottom: 88px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    justify-content: space-between;
  }
}
