/* Design tokens */
:root {
  --primary: #0969b5;
  --primary-dark: #074b82;
  --primary-light: #6fa8d1;
  --primary-soft: #edf5fa;
  --primary-shadow: rgba(9, 105, 181, .22);
  --primary-shadow-soft: rgba(9, 105, 181, .10);
  --navy: #0d2b45;
  --text: #172534;
  --surface: #fff;
  --surface-soft: #eef2f5;
  --max: 1240px;
  --shadow: 0 16px 40px rgba(31, 35, 40, .10);
  --header-solid-height: 104px;
  --hero-height: clamp(620px, 76vh, 760px);
}

/* Base and accessibility */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body:not(.has-hero) main {
  padding-top: var(--header-solid-height);
}

body.menu-lock {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border: 2px solid var(--primary);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid #ffbf00;
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

h1,
h2,
h3,
.eyebrow,
.hero-label,
.hero-tag {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

h1,
h2,
h3 {
  line-height: 1.18;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -.025em;
}

h2 {
  color: var(--primary);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  text-transform: uppercase;
  letter-spacing: .01em;
}

h3 {
  font-size: 1.16rem;
}

.lead {
  font-size: 1.15rem;
  color: #41454a;
}

.narrow {
  max-width: 870px;
}

.eyebrow {
  display: block;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .83rem;
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 12px 22px;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  box-shadow: 0 4px 0 var(--primary-shadow);
  transition: transform .18s, background-color .18s, box-shadow .18s;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--primary-shadow);
}

.btn.secondary {
  background: var(--surface);
  color: var(--primary);
  border: 1px solid currentColor;
  box-shadow: none;
}

/* Header and navigation */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background-color .24s, box-shadow .24s, border-color .24s;
}

/* Step 1: readable navigation over hero images.
   The pseudo-element extends below the header so the gradient reads as part of
   the hero instead of looking like a separate dark bar. */
.site-header.is-overlay:not(.is-opaque):not(.is-menu-open) {
  background: transparent;
}

.site-header.is-overlay:not(.is-opaque):not(.is-menu-open)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 165px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(7, 23, 37, .62) 0%,
    rgba(7, 23, 37, .42) 42%,
    rgba(7, 23, 37, .18) 72%,
    rgba(7, 23, 37, 0) 100%
  );
}

.site-header.scrolled,
.site-header.is-opaque,
.site-header.is-menu-open {
  box-shadow: 0 8px 26px rgba(13, 43, 69, .12);
}

.site-header.is-opaque,
.site-header.is-menu-open {
  background: rgba(255, 255, 255, .985);
  border-bottom-color: #e1e8ee;
}

.topbar {
  height: 50px;
  overflow: hidden;
  background: transparent;
  color: #fff;
  transition: height .24s, opacity .18s;
}

.topbar-inner {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, .62);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.topbar a:hover {
  text-decoration: underline;
}

.site-header.is-opaque .topbar,
.site-header.is-menu-open .topbar {
  height: 0;
  opacity: 0;
}

.header-inner {
  height: 122px;
  display: flex;
  align-items: center;
  gap: 34px;
  transition: height .24s;
}

.site-header.is-opaque .header-inner,
.site-header.is-menu-open .header-inner {
  height: var(--header-solid-height);
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 350px;
  width: 350px;
  height: 108px;
  transition: width .24s, flex-basis .24s, height .24s;
}

.brand-logo {
  position: absolute;
  left: 0;
  width: 100%;
  max-height: 108px;
  object-fit: contain;
  object-position: left center;
  transition: max-height .24s, opacity .2s;
}

.brand-logo--solid {
  opacity: 1;
}

.brand-logo--overlay {
  opacity: 0;
}

.site-header.is-overlay:not(.is-opaque):not(.is-menu-open) .brand-logo--solid {
  opacity: 0;
}

.site-header.is-overlay:not(.is-opaque):not(.is-menu-open) .brand-logo--overlay {
  opacity: 1;
}

.site-header.is-opaque .brand,
.site-header.is-menu-open .brand {
  flex-basis: 315px;
  width: 315px;
  height: 84px;
}

.site-header.is-opaque .brand-logo,
.site-header.is-menu-open .brand-logo {
  max-height: 84px;
}

.nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a,
.drop-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  color: #fff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .72);
  font-size: .98rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .028em;
  padding: 31px 0 27px;
  cursor: pointer;
}

.site-header.is-opaque .nav a,
.site-header.is-opaque .drop-toggle,
.site-header.is-menu-open .nav a,
.site-header.is-menu-open .drop-toggle {
  color: var(--navy);
  text-shadow: none;
}

.nav a::after,
.drop-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 22px;
  height: 2px;
  background: #fff;
  transition: right .2s;
}

.site-header.is-opaque .nav a::after,
.site-header.is-opaque .drop-toggle::after,
.site-header.is-menu-open .nav a::after,
.site-header.is-menu-open .drop-toggle::after {
  background: var(--primary);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current="page"]::after,
.drop-toggle:hover::after,
.drop-toggle:focus-visible::after,
.drop-toggle.is-current::after {
  right: 0;
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  min-width: 330px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  list-style: none;
  background: var(--surface);
  border-top: 4px solid var(--primary);
  box-shadow: 0 15px 34px rgba(17, 31, 43, .20);
  opacity: 0;
  visibility: hidden;
  transform: translate(-42%, 8px);
  transition: opacity .18s, transform .18s, visibility .18s;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-42%, 0);
}

.dropdown a,
.site-header .dropdown a {
  display: block;
  padding: 12px 16px;
  background: var(--surface);
  color: #626a72;
  text-shadow: none;
  border-bottom: 1px solid #e1e3e5;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .015em;
  transition: background-color .15s, color .15s;
}

.dropdown a::after {
  display: none;
}

.dropdown li:last-child a {
  border-bottom: 0;
}

.dropdown a:hover,
.dropdown a:focus-visible,
.dropdown a[aria-current="page"] {
  background: var(--primary);
  color: #fff;
}

.mobile-offer-item {
  display: none;
}

.header-cta {
  white-space: nowrap;
  padding-inline: 25px;
  font-size: .94rem;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(13, 43, 69, .25);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
  position: relative;
  transition: .2s;
}

.site-header.is-opaque .menu-toggle,
.site-header.is-menu-open .menu-toggle {
  background: var(--surface);
  border-color: #dbe2e8;
}

.site-header.is-opaque .menu-toggle span,
.site-header.is-opaque .menu-toggle span::before,
.site-header.is-opaque .menu-toggle span::after,
.site-header.is-menu-open .menu-toggle span,
.site-header.is-menu-open .menu-toggle span::before,
.site-header.is-menu-open .menu-toggle span::after {
  background: var(--navy);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] span,
.site-header.is-menu-open .menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Shared hero system */
.hero,
.page-hero {
  position: relative;
  height: var(--hero-height);
  min-height: 0;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: #dbe5ec;
}

.hero-media,
.page-hero > .hero-picture {
  position: absolute;
  inset: 0;
}

.hero-media .hero-picture,
.page-hero > .hero-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media .hero-picture > img,
.page-hero > .hero-picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 28, 44, .25) 0%, rgba(10, 28, 44, .02) 54%, rgba(10, 28, 44, .18) 100%);
}

.hero .container,
.page-hero .container {
  position: relative;
  z-index: 2;
  height: 100%;
  min-width: 0;
}

.hero-label,
.page-hero .hero-tag {
  position: absolute;
  z-index: 2;
  right: 2.5%;
  bottom: 68px;
  width: min(68%, 1060px);
  margin: 0;
  padding: 22px 34px;
  background: var(--primary);
  color: #fff;
  font-size: clamp(1.5rem, 2.35vw, 2.55rem);
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .025em;
}

.hero-label {
  text-align: center;
}

.page-hero .hero-tag {
  width: auto;
  max-width: min(68%, 1060px);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  text-wrap: balance;
}

.hero-tag-mobile {
  display: none;
}

.page-hero.hero-focus-right > .hero-picture > img {
  object-position: 62% 45%;
}

.page-hero.hero-focus-high > .hero-picture > img {
  object-position: 50% 28%;
}

/* Breadcrumbs */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid #e4e9ed;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 13px 0;
  color: #5d6b77;
  font-size: .84rem;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  color: #9aa5ae;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
}

/* Shared content layouts */
.section {
  padding: 84px 0;
}

.section.soft {
  background: var(--surface-soft);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 55px;
  align-items: start;
}

.content-grid > *,
.contact-layout > * {
  min-width: 0;
}

.content-card {
  background: var(--surface);
  border: 1px solid #ddd;
  padding: 32px;
}

.content-card img {
  margin: -32px -32px 28px;
  width: calc(100% + 64px);
  max-width: none;
  height: 280px;
  object-fit: cover;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 28px;
  list-style: none;
  padding: 0;
}

.check-grid.check-grid--single {
  grid-template-columns: 1fr;
}

.text-center {
  text-align: center;
}

.check-grid li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid #e6e6e6;
}

.check-grid li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
}

.service-overview-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 24px;
}

.service-overview-group {
  padding: 24px 26px;
  background: #f7f9fb;
  border: 1px solid #e1e6ea;
}

.service-overview-group h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 1.05rem;
}

.service-overview-group .check-grid {
  margin: 0;
}

.cta-band {
  text-align: center;
  background: #f7f9fb;
  padding: 58px 20px;
}

.cta-band h2 {
  font-size: 1.5rem;
}

/* Home page */
.intro-section {
  background: var(--surface);
}

.intro-heading {
  text-align: center;
  max-width: 1040px;
  margin: 0 auto 50px;
}

.intro-heading .eyebrow {
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 500;
  letter-spacing: .035em;
  margin-bottom: 4px;
}

.intro-showcase {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.intro-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.intro-copy {
  padding-top: 2px;
}

.intro-copy p {
  margin-top: 0;
}

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid #dedede;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #cfcfd1;
}

.service-icon {
  height: 116px;
  display: grid;
  place-items: center;
  color: var(--primary);
}

.service-icon svg {
  width: 100px;
  height: 100px;
  display: block;
  overflow: visible;
}

.service-icon svg * {
  vector-effect: non-scaling-stroke;
  stroke-width: 2px;
}

.service-card .body {
  padding: 20px 28px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card h3 {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 1rem;
}

.service-card p {
  font-size: .92rem;
  color: #45515c;
}

.service-card .more {
  margin-top: auto;
  color: var(--primary);
  font-weight: 800;
  font-size: .82rem;
}

.photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.services-kem {
  background: var(--primary-soft);
}

.services-kem > .container {
  width: calc(100% - 48px);
  max-width: 1840px;
}

.services-heading {
  text-align: center;
  margin-bottom: 44px;
}

.services-heading .eyebrow {
  font-size: .9rem;
  margin-bottom: 8px;
}

.services-heading h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  font-weight: 500;
  margin: 0;
}

.services-kem .service-card {
  min-height: 400px;
  border: 0;
  padding-top: 38px;
  box-shadow: none;
}

.services-kem .service-card:hover {
  box-shadow: 0 15px 34px var(--primary-shadow-soft);
}

.services-kem .service-card .body {
  padding: 14px 42px 38px;
}

.services-kem .service-card h3 {
  font-size: 1.08rem;
  font-weight: 500;
  margin: 4px 0 17px;
}

.services-kem .service-card p {
  font-size: .98rem;
  line-height: 1.72;
  color: #273746;
  max-width: 420px;
  margin: 0 auto 24px;
}

.services-all {
  text-align: center;
  margin: 34px 0 0;
}

.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0;
}

.service-nav a {
  font-size: .78rem;
  border: 1px solid #c8d0d7;
  padding: 8px 12px;
}

.service-nav a:hover,
.service-nav a:focus-visible,
.service-nav a[aria-current="page"] {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

/* Gallery and jobs */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.gallery-link:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #eee;
  aspect-ratio: 3 / 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.gallery figure:hover img {
  transform: scale(1.035);
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 15px 11px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .78));
  font-size: .88rem;
}

.job-box {
  border-left: 5px solid var(--primary);
  padding: 28px 34px;
  background: #f5f5f5;
}

/* Forms and legal pages */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 55px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-size: .86rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #999;
  background: var(--surface);
  padding: 12px 5px;
  outline: 0;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 2px 0 var(--primary);
}

.checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  font-size: .88rem;
}

.checkbox input {
  width: auto;
  margin-top: 5px;
}

.checkbox .field-error {
  flex-basis: 100%;
  margin-left: 0;
}

.hp {
  position: absolute !important;
  left: -10000px !important;
}

.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.ok {
  display: block;
  background: #e7f7eb;
  color: #145c26;
}

.form-status.error {
  display: block;
  background: #fff0f1;
  color: #9b001b;
}

.field-error {
  margin: 6px 0 0;
  color: #9b001b;
  font-size: .82rem;
  font-weight: 700;
}

.field-error:empty {
  display: none;
}

.field [aria-invalid="true"] {
  border-color: #9b001b;
  box-shadow: 0 2px 0 #9b001b;
}

.steps {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
}

.step-dot {
  height: 5px;
  flex: 1;
  background: #ddd;
}

.step-dot.active {
  background: var(--primary);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 25px;
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: 40px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr .95fr 1fr;
  gap: 45px;
  padding: 56px 0;
}

.footer-main h2 {
  font-size: .88rem;
  color: var(--primary-light);
  letter-spacing: .08em;
}

.footer-main address {
  font-style: normal;
}

.footer-main a:hover {
  text-decoration: underline;
}

.footer-services ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-services li + li {
  margin-top: 9px;
}

.footer-services a {
  color: #fff;
}

.footer-logo {
  min-width: 0;
}

.footer-logo img {
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
}

/* Standalone Google Maps section below the footer content */
.location-map-section {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #e7e7e7;
  line-height: 0;
}

.location-map-section iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.site-footer-legal {
  background: var(--navy);
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding: 19px 0;
  font-size: .82rem;
  color: #d3d3d3;
}

.footer-meta .container {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
}

/* Static WhatsApp contact option */
.whatsapp-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #147a3a;
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
  transition: transform .2s, box-shadow .2s, background .2s;
}

.whatsapp-inline:hover,
.whatsapp-inline:focus-visible {
  background: #0b6f33;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}

.whatsapp-inline__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: #fff;
}

.contact-whatsapp {
  margin: 22px 0 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(16, 48, 75, .12);
}

.contact-whatsapp__text,
.offer-whatsapp p {
  margin: 0 0 10px;
}

.offer-whatsapp {
  margin-top: 24px;
}

/* Floating controls */
.whatsapp-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 56px;
  padding: 0 18px 0 16px;
  border-radius: 999px;
  background: #147a3a;
  color: #fff;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
  transition: transform .2s, box-shadow .2s, opacity .2s, visibility .2s;
}

.whatsapp-chat:hover,
.whatsapp-chat:focus-visible {
  background: #0b6f33;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .26);
}

.whatsapp-chat__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: block;
  color: #fff;
}

.whatsapp-chat__label {
  display: inline-block;
  white-space: nowrap;
}

body.footer-visible .whatsapp-chat {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
}

.backtop {
  position: fixed;
  right: 29px;
  bottom: 91px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--primary);
  color: #fff;
  display: none;
  z-index: 90;
}

.backtop.show {
  display: block;
}

/* Tablet */
@media (max-width: 1180px) {
  .brand {
    flex-basis: 280px;
    width: 280px;
  }

  .site-header.is-opaque .brand,
  .site-header.is-menu-open .brand {
    flex-basis: 280px;
    width: 280px;
  }

  .header-inner {
    gap: 18px;
  }

  .nav-list {
    gap: 15px;
  }

  .nav a,
  .drop-toggle {
    font-size: .86rem;
  }

  .header-cta {
    padding-inline: 18px;
    font-size: .85rem;
  }

  .services-kem > .container {
    width: calc(100% - 40px);
  }

  .services-kem .service-card .body {
    padding-inline: 30px;
  }

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Compact header navigation: switch to the existing mobile menu before
   the full desktop navigation becomes cramped. Content/layout breakpoints
   stay unchanged at 820px. */
@media (max-width: 1080px) {
  :root {
    --header-solid-height: 78px;
  }

  html {
    scroll-padding-top: 86px;
  }

  .topbar {
    display: none;
  }

  .header-inner,
  .site-header.is-opaque .header-inner,
  .site-header.is-menu-open .header-inner {
    height: 78px;
  }

  .brand,
  .site-header.is-opaque .brand,
  .site-header.is-menu-open .brand {
    flex-basis: 240px;
    width: 240px;
    height: 68px;
  }

  .brand-logo,
  .site-header.is-opaque .brand-logo,
  .site-header.is-menu-open .brand-logo {
    max-height: 68px;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: fixed;
    inset: 78px 0 auto;
    margin: 0;
    max-height: calc(100vh - 78px);
    overflow: auto;
    background: var(--surface);
    border-top: 1px solid #eee;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .15);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform .23s, opacity .23s, visibility .23s;
  }

  .nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    display: block;
    padding: 12px 24px 25px;
  }

  .mobile-offer-item {
    display: block;
    margin-top: 10px;
  }

  .nav .mobile-offer-cta,
  .site-header .nav .mobile-offer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 18px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    text-align: center;
    text-shadow: none;
  }

  .nav .mobile-offer-cta:hover,
  .nav .mobile-offer-cta:focus-visible {
    background: var(--primary-dark);
    color: #fff;
  }

  .nav .mobile-offer-cta::after {
    display: none;
  }

  .nav a,
  .drop-toggle,
  .site-header .nav a,
  .site-header .drop-toggle {
    width: 100%;
    padding: 15px 0;
    color: var(--navy);
    text-shadow: none;
    font-size: .98rem;
    justify-content: space-between;
  }

  .nav a::after,
  .drop-toggle::after {
    bottom: 8px;
    background: var(--primary);
  }

  .dropdown {
    position: static;
    transform: none !important;
    box-shadow: none;
    border-top: 0;
    min-width: 0;
    padding: 0 0 0 12px;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .dropdown a,
  .site-header .dropdown a {
    font-size: .82rem;
    padding: 12px;
  }
}

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

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

  .intro-showcase {
    grid-template-columns: 340px minmax(0, 1fr);
  }

  .content-grid,
  .contact-layout {
    gap: 36px;
  }
}

/* Mobile content/layout refinements */
@media (max-width: 820px) {
  .hero,
  .page-hero {
    height: 590px;
  }

  .hero-label,
  .page-hero .hero-tag {
    left: 12px;
    right: 12px;
    bottom: 24px;
    width: auto;
    max-width: none;
    text-align: center;
    font-size: clamp(1rem, 3.8vw, 1.15rem);
    padding: 15px 14px;
    line-height: 1.25;
    text-transform: none;
  }

  .page-hero .hero-tag-desktop {
    display: none;
  }

  .page-hero .hero-tag-mobile {
    display: inline;
  }

  .content-grid,
  .contact-layout,
  .intro-showcase {
    grid-template-columns: 1fr;
  }

  .intro-showcase {
    gap: 26px;
  }

  .intro-image img {
    height: 370px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-logo {
    grid-column: 1 / -1;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .section {
    padding: 55px 0;
  }

  .hero,
  .page-hero {
    height: 470px;
  }

  .page-hero .hero-tag {
    left: 8px;
    right: 8px;
    bottom: 18px;
    padding: 14px 10px;
    font-size: clamp(1rem, 4.8vw, 1.15rem);
  }

  .page-hero.hero-focus-right > .hero-picture > img {
    object-position: 58% 48%;
  }

  .page-hero.hero-focus-high > .hero-picture > img {
    object-position: 50% 30%;
  }

  .breadcrumbs {
    font-size: .9rem;
  }

  h2,
  .service-card h3,
  .services-kem .service-card h3,
  .service-detail > .eyebrow {
    text-transform: none;
  }

  .service-detail > .eyebrow {
    letter-spacing: .025em;
  }

  .service-detail h1 {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
    text-wrap: balance;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .page-hero > .hero-picture > img {
    object-position: center 45%;
  }

  .brand,
  .site-header.is-opaque .brand,
  .site-header.is-menu-open .brand {
    flex-basis: 215px;
    width: 215px;
  }

  .intro-heading {
    margin-bottom: 34px;
  }

  .intro-showcase {
    gap: 20px;
  }

  .intro-image img {
    height: 280px;
  }

  .service-overview-groups {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-grid,
  .check-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .services-kem > .container {
    width: calc(100% - 28px);
  }

  .services-kem .service-card {
    min-height: 300px;
    padding-top: 22px;
  }

  .services-kem .service-icon {
    height: 82px;
  }

  .services-kem .service-icon svg {
    width: 72px;
    height: 72px;
  }

  .services-kem .service-card .body {
    padding: 8px 20px 24px;
  }

  .services-kem .service-card h3 {
    margin-bottom: 10px;
    font-size: 1rem;
  }

  .services-kem .service-card p {
    margin-bottom: 18px;
    font-size: .92rem;
    line-height: 1.55;
  }

  .field.full {
    grid-column: auto;
  }

  .service-card {
    min-height: 0;
  }

  .content-card {
    padding: 22px;
  }

  .content-card img {
    margin: -22px -22px 22px;
    width: calc(100% + 44px);
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    grid-column: auto;
  }

  .footer-meta .container {
    display: block;
  }

  .footer-links {
    margin-top: 10px;
    flex-wrap: wrap;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .steps {
    margin-top: 10px;
  }

  .whatsapp-chat {
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
  }

  .whatsapp-chat__icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .whatsapp-chat__label {
    display: none;
  }

  .backtop {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Detailed conditional offer form */
.offer-builder-section {
  background:
    radial-gradient(circle at 100% 0, var(--primary-shadow-soft), transparent 34rem),
    var(--surface-soft);
}

.offer-builder-shell {
  width: min(calc(100% - 40px), 1080px);
}

.offer-builder-intro {
  max-width: 790px;
  margin: 0 auto 34px;
  text-align: center;
}

.offer-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  font-size: .9rem;
  font-weight: 800;
}

.offer-benefits li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-right: 7px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-size: .76rem;
}

.offer-duration {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: -12px auto 18px;
  padding: 9px 14px;
  border: 1px solid #d9e2e8;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(31, 52, 68, .07);
  font-size: .9rem;
}

.offer-duration > span {
  color: var(--primary);
  font-size: 1.05rem;
  line-height: 1;
}

.offer-builder {
  position: relative;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(13, 43, 69, .08);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.offer-steps {
  align-items: flex-start;
  gap: 0;
  margin: 0 0 42px;
}

.offer-steps .step-dot {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  height: auto;
  color: #6a7681;
  background: none;
  text-align: center;
  font-size: .73rem;
  font-weight: 800;
}

.offer-steps .step-dot::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 17px;
  right: 50%;
  width: 100%;
  height: 3px;
  background: #dce3e8;
}

.offer-steps .step-dot:first-child::before {
  display: none;
}

.offer-steps .step-dot b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid #cbd5dc;
  border-radius: 50%;
  color: #687783;
  background: var(--surface);
  transition: border-color .2s, color .2s, background .2s;
}

.offer-steps .step-dot.active {
  color: var(--primary-dark);
  background: none;
}

.offer-steps .step-dot.active::before {
  background: var(--primary);
}

.offer-steps .step-dot.active b {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
}

.step-heading {
  margin-bottom: 28px;
}

.step-heading > span {
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.step-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.step-heading p {
  margin: 0;
  color: #5c6974;
}

.offer-builder .field label,
.offer-builder fieldset legend {
  color: var(--navy);
}

.offer-builder .field input:not([type="checkbox"]):not([type="file"]),
.offer-builder .field textarea,
.offer-builder .field select {
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cbd5dc;
  border-radius: 8px;
  background: #fff;
}

.offer-builder .field textarea {
  min-height: 116px;
}

.offer-builder .field input:not([type="checkbox"]):not([type="file"]):focus,
.offer-builder .field textarea:focus,
.offer-builder .field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-shadow-soft);
}

.field-hint {
  margin: -2px 0 16px;
  color: #66737e;
  font-size: .86rem;
}

.conditional-card,
.service-detail-panel,
.appointment-card,
.offer-review {
  border: 1px solid #d9e2e8;
  border-radius: 14px;
  background: #fff;
}

.conditional-card {
  margin-top: 24px;
  padding: 24px;
  background: var(--primary-soft);
}

.conditional-card h3 {
  margin-bottom: 18px;
  font-size: 1.12rem;
}

.conditional-card[hidden],
.service-detail-panel[hidden],
.service-detail-empty[hidden] {
  display: none !important;
}

.service-choice-fieldset {
  min-width: 0;
  padding: 0;
  margin: 30px 0 0;
  border: 0;
}

.service-choice-fieldset legend {
  padding: 0;
  margin-bottom: 4px;
  font-size: 1rem;
  font-weight: 900;
}

.service-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-choice {
  position: relative;
  display: flex;
  min-height: 104px;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid #d4dde3;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: transform .18s, border-color .18s, box-shadow .18s, background .18s;
}

.service-choice:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  box-shadow: 0 10px 24px rgba(13, 43, 69, .08);
}

.service-choice:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 2px var(--primary-shadow-soft);
}

.service-choice input {
  flex: 0 0 auto;
  width: 20px !important;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--primary);
}

.service-choice span {
  display: grid;
  gap: 5px;
}

.service-choice b {
  line-height: 1.25;
}

.service-choice small {
  color: #5d6a75;
  line-height: 1.45;
}

.service-choice-fieldset.has-error .service-choice-grid {
  padding: 3px;
  border: 2px solid #9b001b;
  border-radius: 14px;
}

.service-detail-empty {
  padding: 22px;
  border: 1px dashed #b9c6cf;
  border-radius: 12px;
  color: #5b6873;
  background: #f7f9fa;
  text-align: center;
}

.service-detail-panel {
  padding: clamp(20px, 3vw, 30px);
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(13, 43, 69, .06);
}

.detail-panel-heading {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid #e2e8ec;
}

.detail-panel-heading > span {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
  background: var(--primary);
  font-size: .78rem;
  font-weight: 900;
}

.detail-panel-heading h3 {
  margin-bottom: 3px;
  font-size: 1.25rem;
}

.detail-panel-heading p {
  margin: 0;
  color: #63707b;
  font-size: .9rem;
}

.compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.appointment-card {
  min-width: 0;
  padding: 22px;
}

.appointment-card legend {
  padding: 0 8px;
  color: var(--navy);
  font-weight: 900;
}

.upload-field {
  margin-top: 28px;
}

.upload-dropzone {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 34px 22px;
  border: 2px dashed #9fb5c4;
  border-radius: 14px;
  background: #f7fafc;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.upload-dropzone.is-dragging,
.upload-dropzone:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.upload-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 5px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-size: 1.65rem;
  line-height: 1;
}

.upload-dropzone small {
  color: #66737e;
}

.upload-file-list {
  display: grid;
  gap: 5px;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
  font-size: .86rem;
}

.upload-file-list li {
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--primary-soft);
}

.offer-review {
  display: grid;
  gap: 0;
  overflow: hidden;
  margin-bottom: 24px;
}

.review-section {
  padding: 20px 22px;
  border-bottom: 1px solid #e1e7eb;
}

.review-section:last-child {
  border-bottom: 0;
}

.review-section h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.review-list {
  display: grid;
  grid-template-columns: minmax(130px, .38fr) 1fr;
  gap: 6px 18px;
  margin: 0;
  font-size: .9rem;
}

.review-list dt {
  color: #63707b;
  font-weight: 700;
}

.review-list dd {
  margin: 0;
  overflow-wrap: break-word;
}

.privacy-box {
  padding: 18px;
  border: 1px solid #d6e0e6;
  border-radius: 10px;
  background: #f7f9fa;
}

.offer-builder .form-actions {
  padding-top: 22px;
  border-top: 1px solid #e3e8eb;
}

.offer-builder .form-actions .btn {
  min-width: 150px;
}

@media (max-width: 760px) {
  .offer-builder-shell {
    width: min(calc(100% - 24px), 1080px);
  }

  .offer-builder {
    padding: 22px 18px 26px;
    border-radius: 14px;
  }

  .offer-benefits {
    display: grid;
    justify-content: start;
    max-width: 320px;
    margin-inline: auto;
    text-align: left;
  }

  .offer-steps {
    margin-bottom: 32px;
  }

  .offer-steps .step-dot span {
    display: none;
  }

  .offer-steps .step-dot b {
    width: 32px;
    height: 32px;
  }

  .offer-steps .step-dot::before {
    top: 15px;
  }

  .service-choice-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .service-choice {
    min-height: 0;
  }

  .conditional-card,
  .service-detail-panel,
  .appointment-card {
    padding: 18px;
  }

  .review-list {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .review-list dd + dt {
    margin-top: 8px;
  }

  .offer-builder .form-actions {
    flex-direction: column-reverse;
  }

  .offer-builder .form-actions .btn,
  .offer-builder .form-actions > span {
    width: 100%;
  }
}

/* Detailed service landing pages */

.service-detail h2 {
  margin-top: 42px;
}

.service-check-list,
.service-facts {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.service-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
}

.service-check-list li,
.service-facts li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid #e2e6ea;
}

.service-check-list li::before,
.service-facts li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--primary);
  font-weight: 900;
}

.service-object-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.service-object-tags span {
  padding: 9px 13px;
  border: 1px solid #d4dce3;
  background: #f7f9fb;
  color: var(--primary-dark);
  font-size: .9rem;
  font-weight: 700;
}

.service-summary-card {
  position: sticky;
  top: 112px;
}

.service-mobile-cta {
  display: none;
}

.service-summary-card .eyebrow {
  margin-top: 4px;
}

.service-summary-card h2 {
  margin-top: 4px;
}

.service-summary-card .btn {
  margin-top: 24px;
}

.service-facts {
  margin-bottom: 6px;
}

.service-more-section {
  padding-top: 45px;
  padding-bottom: 45px;
}

.service-more-section h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-cta-band p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 980px) {
  .service-summary-card {
    position: static;
  }

  .service-mobile-cta {
    display: grid;
    gap: 8px;
    margin: 24px 0 32px;
    padding: 18px;
    border: 1px solid #cfe0ec;
    border-left: 4px solid var(--primary);
    background: var(--primary-soft);
  }

  .service-mobile-cta strong {
    color: var(--navy);
    font-size: 1.02rem;
  }

  .service-mobile-cta span {
    color: #45515c;
    font-size: .92rem;
  }

  .service-mobile-cta .btn {
    justify-self: start;
    margin-top: 4px;
  }
}

@media (max-width: 720px) {
  .service-check-list {
    grid-template-columns: 1fr;
  }

  .service-object-tags span {
    font-size: .84rem;
  }
}

/* FAQ */
.faq-container {
  max-width: 900px;
}

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

.faq-item {
  border: 1px solid rgba(13, 43, 69, .14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 35, 40, .07);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 20px 54px 20px 22px;
  font-weight: 700;
  color: var(--navy);
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
}

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

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: #4b5b69;
}

.faq-item summary:focus-visible {
  outline: 3px solid #ffbf00;
  outline-offset: -3px;
}

/* Offer form conversion improvements */
.object-location-card {
  margin: 0 0 26px;
}

.object-basics-new {
  margin-bottom: 28px;
}

.optional-label {
  color: #6a7681;
  font-size: .84em;
  font-weight: 700;
}

.estimate-option {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 0 !important;
  color: #5f6c76 !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  line-height: 1.35;
  cursor: pointer;
}

.estimate-option input[type="checkbox"] {
  width: auto !important;
  min-height: 0 !important;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--primary);
}

.offer-builder input[readonly][data-required-when-active] {
  background: #f4f8fb !important;
  color: #4f5d68;
}

.appointment-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.appointment-choice {
  display: flex;
  min-height: 118px;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #d4dde3;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.appointment-choice:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 2px var(--primary-shadow-soft);
}

.appointment-choice input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--primary);
}

.appointment-choice span {
  display: grid;
  gap: 5px;
}

.appointment-choice small {
  color: #5d6a75;
  line-height: 1.45;
}

.exact-date-card {
  margin-top: 18px;
}

.appointment-note-field {
  margin-top: 22px;
}

.contact-hint {
  margin: 7px 0 0;
}

.upload-preview-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.upload-preview-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px !important;
  border: 1px solid #d9e2e8;
  background: #fff !important;
}

.upload-preview-item img {
  width: 64px;
  height: 54px;
  border-radius: 7px;
  object-fit: cover;
}

.upload-preview-meta {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.upload-preview-meta b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-preview-meta small {
  color: #687783;
}

.upload-remove,
.review-edit {
  padding: 6px 9px;
  border: 1px solid #cbd5dc;
  border-radius: 7px;
  color: var(--primary-dark);
  background: #fff;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}

.upload-remove:hover,
.review-edit:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.review-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.review-section-heading h3 {
  margin: 0;
}

@media (max-width: 760px) {
  .appointment-choice-grid,
  .upload-preview-list {
    grid-template-columns: 1fr;
  }

  .appointment-choice {
    min-height: 0;
  }

  .upload-preview-item {
    grid-template-columns: 56px minmax(0, 1fr) auto;
  }

  .upload-preview-item img {
    width: 56px;
    height: 50px;
  }
}

@media (max-width: 700px) {
  .location-map-section iframe {
    height: 310px;
  }
}

/* Local SEO landing pages */
.local-seo-section {
    background: #fff;
}

.local-seo-section .services-heading p {
    max-width: 780px;
    margin: 14px auto 0;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.location-card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 34px;
    border: 1px solid #dce3e8;
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(8, 45, 73, .05);
}

.location-label {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    margin: 0 0 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef6fb;
    color: #41606f;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .035em;
    line-height: 1.2;
    text-transform: uppercase;
}

.location-label svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    fill: var(--primary);
}

.location-card h3 {
    margin: 0 0 14px;
    color: var(--primary);
    font-size: 1.12rem;
}

.location-card p {
    margin: 0 0 24px;
    color: #45515c;
}

.location-card .more {
    margin-top: auto;
    color: var(--primary);
    font-weight: 800;
}

.location-card .location-services {
    margin: -6px 0 22px;
    padding-top: 14px;
    border-top: 1px solid #e4e9ed;
    color: #5a6570;
    font-size: .92rem;
    line-height: 1.65;
}

.location-card .location-services span {
    font-weight: 700;
}

.location-card .location-services a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.location-card .location-services a:hover,
.location-card .location-services a:focus-visible {
    text-decoration: underline;
}

.service-seo-extra,
.service-area-links {
    margin-top: 42px;
}

.service-seo-extra h2:first-child,
.service-area-links h2:first-child {
    margin-top: 0;
}

.footer-area-links {
    margin: 18px 0 0;
    font-size: .9rem;
}

.footer-area-links strong {
    color: var(--primary-light);
    font-size: .82rem;
    letter-spacing: .04em;
}

.local-faq-section h2 {
    margin-bottom: 24px;
}

@media (max-width: 980px) {
    .location-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .location-grid {
        grid-template-columns: 1fr;
    }

    .location-card {
        min-height: 0;
        padding: 26px;
    }
}

/* Hero focal points are controlled with CSP-safe semantic classes from page-config.php. */

/* Home hero conversion refinement — step 1 */
.hero-panel {
  position: absolute;
  z-index: 2;
  right: 2.5%;
  bottom: 54px;
  width: min(48%, 620px);
  padding: 18px 22px 16px;
  background: rgba(9, 105, 181, .93);
  color: #fff;
  box-shadow: 0 12px 30px rgba(10, 28, 44, .18);
}

.hero .hero-label {
  position: static;
  width: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.12;
  text-transform: none;
  letter-spacing: -.02em;
}

.hero-subline {
  max-width: 540px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .96);
  font-size: clamp(.88rem, 1.05vw, 1rem);
  line-height: 1.4;
}

.intro-heading h2 {
  margin: 8px 0 0;
}

.intro-strengths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.intro-strengths > div {
  padding: 20px;
  background: #f2f6f9;
  border-top: 3px solid var(--primary);
}

.intro-strengths h3 {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 1rem;
}

.intro-strengths p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .hero-panel {
    right: 20px;
    bottom: 28px;
    width: min(58%, 520px);
    padding: 16px 19px 14px;
  }

  .hero .hero-label {
    font-size: clamp(1.45rem, 3.5vw, 1.95rem);
  }
}

@media (max-width: 700px) {
  .hero-panel {
    left: 14px;
    right: 14px;
    bottom: 16px;
    width: auto;
    padding: 14px 16px 13px;
  }

  .hero .hero-label {
    font-size: 1.35rem;
    hyphens: none;
  }

  .hero-subline {
    margin-top: 6px;
    font-size: .86rem;
    line-height: 1.35;
  }

  .intro-strengths {
    grid-template-columns: 1fr;
  }
}

/* CTA helper text: keep the form as the primary action and offer WhatsApp as a low-friction alternative. */
.cta-whatsapp-note {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.cta-whatsapp-note a {
  color: #147a3a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-whatsapp-note a:hover,
.cta-whatsapp-note a:focus-visible {
  color: #0b6f33;
}

/* Embedded WhatsApp action below CTA explanatory notes. */
.cta-whatsapp-action {
  margin: 12px auto 0;
  text-align: center;
}
