/*
Theme Name: HuusPutz Premium
Theme URI: https://www.huusputz.ch
Author: HuusPutz GmbH
Author URI: https://www.huusputz.ch
Description: Premium WordPress-Theme für HuusPutz GmbH mit 3D-Effekten, Facility Management, Reinigung, Hauswartung, Umzugsreinigung, Aussenservice, FAQ, Impressum, Datenschutz, Cookies und gesichertem Kontaktformular.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
Text Domain: huusputz-premium
*/

:root {
  --ink: #082f4f;
  --ink-2: #18435c;
  --muted: #5d7789;
  --blue: #005fbd;
  --green: #078242;
  --mint: #e2f6eb;
  --aqua: #85e9ff;
  --paper: #f5f9fb;
  --white: #ffffff;
  --line: rgba(8, 47, 79, 0.15);
  --shadow: 0 24px 76px rgba(8, 47, 79, 0.16);
  --shadow-deep: 0 34px 94px rgba(8, 47, 79, 0.24), 0 12px 28px rgba(0, 95, 189, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  position: relative;
  background:
    radial-gradient(circle at 20% 10%, rgba(133, 233, 255, 0.22), transparent 34rem),
    linear-gradient(180deg, #f6fafc 0%, #ffffff 44%, #edf8f5 100%);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(8, 47, 79, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 47, 79, 0.03) 1px, transparent 1px),
    radial-gradient(circle at calc(50% + var(--page-glow-x, 0px)) calc(28% + var(--page-glow-y, 0px)), rgba(133, 233, 255, 0.2), transparent 28rem);
  background-size: 44px 44px, 44px 44px, auto;
  opacity: 0.48;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

::selection {
  background: var(--mint);
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: 4px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--aqua), var(--blue));
}

.site-header {
  position: fixed;
  z-index: 70;
  top: 18px;
  left: 22px;
  right: 22px;
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 60px rgba(8, 47, 79, 0.14);
  backdrop-filter: blur(22px);
  transform-style: preserve-3d;
  transition: top 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 220ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 16%) var(--my, 24%), rgba(255, 255, 255, 0.82), transparent 22rem),
    linear-gradient(120deg, transparent 8%, rgba(255, 255, 255, 0.28) 28%, transparent 52%);
  opacity: 0.28;
}

.site-header.is-scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 44px rgba(8, 47, 79, 0.16);
}

body.admin-bar .site-header {
  top: 50px;
}

body.admin-bar .site-header.is-scrolled {
  top: 42px;
}

.brand {
  width: clamp(190px, 22vw, 276px);
  display: flex;
  align-items: center;
  min-height: 54px;
}

.brand img {
  width: 100%;
  filter: drop-shadow(0 12px 22px rgba(8, 47, 79, 0.12));
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius);
  background: rgba(229, 242, 246, 0.82);
}

.main-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 850;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-current {
  color: var(--green);
  background: var(--white);
  transform: translateY(-1px);
}

.header-call {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 18px 38px rgba(8, 47, 79, 0.2);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 23px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 7px));
}

.nav-toggle span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.nav-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 7px));
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #062f54;
}

.hero-photo,
#hero-scene,
.hero-mask {
  position: absolute;
  inset: 0;
}

.hero-photo {
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
  transform: translate3d(calc(var(--parallax-x, 0px) * -0.7), calc(var(--parallax-y, 0px) * -0.45), 0) scale(1.06);
  transition: transform 240ms ease-out;
}

#hero-scene {
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-mask {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 28, 53, 0.96) 0%, rgba(3, 28, 53, 0.72) 41%, rgba(3, 28, 53, 0.16) 100%),
    linear-gradient(180deg, rgba(3, 28, 53, 0.26) 0%, rgba(3, 28, 53, 0.08) 56%, rgba(245, 249, 251, 0.95) 100%);
}

.hero-content {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding-top: 112px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--aqua);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7.2vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.05rem, 4vw, 4.35rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-content > p:not(.eyebrow) {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 1.55;
}

.hero-actions,
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  position: relative;
  overflow: hidden;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 950;
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.button-glass {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero-metrics {
  margin-top: 52px;
}

.hero-metrics span {
  position: relative;
  overflow: hidden;
  min-width: 172px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  transform-style: preserve-3d;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hero-metrics strong {
  color: var(--white);
  font-size: 1.35rem;
}

.section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 106px) 0;
  scroll-margin-top: 126px;
}

.section-head {
  max-width: 840px;
  margin-bottom: 30px;
}

.section-head p:not(.eyebrow),
.intro-grid p,
.service-copy p,
.service-copy li,
.showcase-copy p,
.process p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.62;
}

.intro-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: end;
}

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

.intro-grid article,
.process article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(8, 47, 79, 0.08);
  transform-style: preserve-3d;
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease, background 190ms ease;
}

.intro-grid article {
  min-height: 178px;
  display: grid;
  align-content: space-between;
  padding: 22px;
}

.intro-grid span,
.process span {
  color: var(--green);
  font-weight: 950;
}

.intro-grid p {
  margin-bottom: 0;
}

.service-layout {
  display: grid;
  gap: 18px;
}

.service-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.service-tab {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 74px;
  display: grid;
  gap: 5px;
  justify-items: center;
  align-content: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: clamp(0.9rem, 1.3vw, 1.04rem);
  font-weight: 950;
  line-height: 1.18;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.service-tab span {
  color: var(--green);
  font-size: 0.78rem;
}

.service-tab:hover,
.service-tab:focus-visible,
.service-tab.is-active {
  border-color: rgba(7, 130, 66, 0.36);
  background: var(--white);
  color: var(--green);
  transform: translateY(-2px);
}

.service-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #dce8ed;
}

.service-media img,
.showcase-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, opacity 240ms ease, filter 240ms ease;
}

.service-stage.is-switching .service-media img,
.service-stage.is-switching .service-copy {
  opacity: 0.55;
  filter: saturate(0.85);
}

.service-stage:hover .service-media img,
.showcase:hover .showcase-photo img,
.service-stage.is-haptic .service-media img,
.showcase.is-haptic .showcase-photo img {
  transform: translate3d(var(--media-shift-x, 0px), var(--media-shift-y, 0px), 0) scale(1.055);
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 36%, rgba(3, 28, 53, 0.72) 100%),
    linear-gradient(90deg, rgba(3, 28, 53, 0.16), transparent 68%);
}

.media-sheen {
  position: absolute;
  inset: -40%;
  z-index: 1;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.28), transparent 58%);
  transform: translateX(-40%) rotate(10deg);
  animation: sheen 7s ease-in-out infinite;
}

.service-media span {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-weight: 950;
}

.service-copy {
  display: grid;
  align-content: center;
  padding: clamp(28px, 5vw, 58px);
}

.service-copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-copy li {
  position: relative;
  padding-left: 28px;
}

.service-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #48bd6b);
  box-shadow: 0 0 0 5px rgba(7, 130, 66, 0.12);
}

.text-link {
  position: relative;
  overflow: hidden;
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 30px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-weight: 950;
  transform-style: preserve-3d;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-2px);
  background: var(--green);
}

.showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.showcase-photo {
  min-height: 440px;
  background: #dce8ed;
}

.showcase-copy {
  display: grid;
  align-content: center;
  padding: clamp(32px, 6vw, 64px);
}

.quality-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.quality-tags span {
  position: relative;
  overflow: hidden;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--green);
  font-weight: 900;
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.process article {
  min-height: 245px;
  display: grid;
  align-content: space-between;
  padding: 28px;
}

.process p {
  margin-bottom: 0;
}

.contact {
  padding-top: 0;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.74fr);
  gap: 34px;
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(226, 246, 235, 0.72)),
    var(--white);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  transform-style: preserve-3d;
  transition: transform 180ms ease, border-color 180ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(7, 130, 66, 0.36);
}

.contact-links span {
  color: var(--green);
  font-weight: 900;
}

.contact-links strong {
  overflow-wrap: anywhere;
}

.form-section {
  padding-top: 0;
}

.request-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 30px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 251, 0.88)),
    var(--white);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.request-intro {
  max-width: 820px;
}

.request-intro p:not(.eyebrow),
.form-note,
.form-status {
  color: var(--muted);
  line-height: 1.62;
}

.request-form {
  display: grid;
  gap: 18px;
}

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

.request-form label,
.check-grid {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-weight: 850;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(8, 47, 79, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
  font-weight: 650;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.request-form textarea {
  min-height: 150px;
  resize: vertical;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  outline: none;
  border-color: rgba(7, 130, 66, 0.52);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(7, 130, 66, 0.12);
}

.request-form input:user-invalid,
.request-form select:user-invalid,
.request-form textarea:user-invalid {
  border-color: rgba(194, 55, 55, 0.58);
}

.span-full,
.check-grid,
.security-box,
.privacy-check,
.form-actions,
.form-status {
  grid-column: 1 / -1;
}

.check-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 6px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(226, 246, 235, 0.42);
}

.check-grid legend {
  padding: 0 8px;
  color: var(--green);
  font-weight: 950;
}

.check-grid label,
.privacy-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.check-grid input,
.privacy-check input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--green);
  box-shadow: none;
}

.security-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.36fr);
  gap: 16px;
  align-items: end;
  padding: 18px;
  border: 1px solid rgba(7, 130, 66, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 10% 20%, rgba(133, 233, 255, 0.24), transparent 18rem),
    rgba(226, 246, 235, 0.52);
}

.security-box strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.privacy-check {
  color: var(--muted);
  font-weight: 760;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.request-form .button-primary {
  border: 0;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(8, 47, 79, 0.2);
}

.request-form .button-primary:hover,
.request-form .button-primary:focus-visible {
  background: var(--green);
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.94rem;
}

.form-status {
  min-height: 28px;
  font-weight: 850;
}

.form-status.is-error {
  color: #a83535;
}

.form-status.is-success {
  color: var(--green);
}

.bot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 34px 0 42px;
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(150px, 0.7fr));
  gap: 24px;
  color: var(--muted);
}

.footer-brand,
.footer-column,
.footer-bottom {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 44px rgba(8, 47, 79, 0.07);
}

.footer-brand,
.footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 20px;
}

.footer-brand img {
  width: 48px;
}

.footer-brand strong,
.footer-column strong,
.footer-column span {
  color: var(--ink);
  font-weight: 950;
}

.footer-column span {
  margin-bottom: 4px;
}

.site-footer a,
.cookie-settings {
  width: fit-content;
  color: var(--green);
  font-weight: 900;
}

.cookie-settings {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 16px 20px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: 18px;
}

.legal-aside,
.legal-content,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(8, 47, 79, 0.08);
}

.legal-aside,
.legal-content {
  padding: clamp(24px, 4vw, 40px);
}

.legal-aside {
  align-self: start;
  display: grid;
  gap: 14px;
}

.legal-aside a {
  color: var(--green);
  font-weight: 900;
}

.legal-content {
  display: grid;
  gap: 22px;
}

.legal-content section {
  display: grid;
  gap: 10px;
}

.legal-content h2,
.faq-list h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
}

.legal-content p,
.legal-content li,
.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.66;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

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

.faq-item {
  padding: 24px;
}

.cookie-banner {
  position: fixed;
  z-index: 95;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.cookie-actions .button {
  min-height: 46px;
  border: 0;
  cursor: pointer;
}

.button-muted {
  background: rgba(226, 246, 235, 0.72);
  color: var(--ink);
}

.page-main {
  padding-top: 0;
}

.page-hero {
  position: relative;
  min-height: 58svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: #062f54;
  color: var(--white);
}

.page-hero > img,
.page-hero .hero-mask {
  position: absolute;
  inset: 0;
}

.page-hero > img {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
  transform: translate3d(calc(var(--parallax-x, 0px) * -0.55), calc(var(--parallax-y, 0px) * -0.36), 0) scale(1.05);
  transition: transform 240ms ease-out;
}

.page-hero .hero-mask {
  z-index: -1;
}

.page-hero-content {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 118px 0 70px;
}

.page-hero-content h1 {
  max-width: 920px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
}

.page-hero-content p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.6;
}

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

.page-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 54px rgba(8, 47, 79, 0.08);
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.page-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.page-card-media {
  height: 245px;
  overflow: hidden;
  background: #dce8ed;
}

.page-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.page-card:hover .page-card-media img,
.page-card.is-haptic .page-card-media img {
  transform: translate3d(var(--media-shift-x, 0px), var(--media-shift-y, 0px), 0) scale(1.055);
}

.page-card-body {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.page-card-body p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 34px;
  align-items: center;
}

.detail-photo {
  position: relative;
  height: clamp(360px, 42vw, 520px);
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dce8ed;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.detail-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.detail-photo:hover img,
.detail-photo.is-haptic img {
  transform: translate3d(var(--media-shift-x, 0px), var(--media-shift-y, 0px), 0) scale(1.05);
}

.detail-copy {
  display: grid;
  gap: 22px;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  overflow: hidden;
  position: relative;
  padding: 16px 18px 16px 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-2);
  font-weight: 760;
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 21px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(7, 130, 66, 0.12);
}

.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(8, 47, 79, 0.96), rgba(7, 130, 66, 0.86));
  color: var(--white);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.button::after,
.text-link::after,
.service-tab::after,
.hero-metrics span::after,
.intro-grid article::after,
.process article::after,
.service-stage::after,
.showcase::after,
.quality-tags span::after,
.contact-panel::after,
.request-panel::after,
.contact-links a::after,
.page-card::after,
.detail-photo::after,
.detail-list li::after,
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 34%), rgba(255, 255, 255, 0.72), transparent 16rem),
    linear-gradient(135deg, rgba(133, 233, 255, 0.16), transparent 42%, rgba(7, 130, 66, 0.08));
  opacity: 0;
  transition: opacity 180ms ease;
}

.button > *,
.text-link > *,
.service-tab > *,
.hero-metrics span > *,
.intro-grid article > *,
.process article > *,
.service-stage > *,
.showcase > *,
.quality-tags span > *,
.contact-panel > *,
.request-panel > *,
.contact-links a > *,
.page-card > *,
.detail-photo > *,
.detail-list li > *,
.cta-band > * {
  position: relative;
  z-index: 3;
}

.button.is-haptic,
.text-link.is-haptic,
.service-tab.is-haptic,
.hero-metrics span.is-haptic,
.intro-grid article.is-haptic,
.process article.is-haptic,
.service-stage.is-haptic,
.showcase.is-haptic,
.quality-tags span.is-haptic,
.contact-panel.is-haptic,
.request-panel.is-haptic,
.contact-links a.is-haptic,
.page-card.is-haptic,
.detail-photo.is-haptic,
.detail-list li.is-haptic,
.cta-band.is-haptic {
  transform: perspective(1100px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translate3d(0, var(--lift-y, -3px), var(--lift-z, 0px));
}

.service-stage.is-haptic,
.showcase.is-haptic,
.contact-panel.is-haptic,
.request-panel.is-haptic,
.page-card.is-haptic,
.detail-photo.is-haptic,
.cta-band.is-haptic {
  box-shadow: var(--shadow-deep);
  border-color: rgba(7, 130, 66, 0.28);
}

.button.is-haptic::after,
.text-link.is-haptic::after,
.service-tab.is-haptic::after,
.hero-metrics span.is-haptic::after,
.intro-grid article.is-haptic::after,
.process article.is-haptic::after,
.service-stage.is-haptic::after,
.showcase.is-haptic::after,
.quality-tags span.is-haptic::after,
.contact-panel.is-haptic::after,
.request-panel.is-haptic::after,
.contact-links a.is-haptic::after,
.page-card.is-haptic::after,
.detail-photo.is-haptic::after,
.detail-list li.is-haptic::after,
.cta-band.is-haptic::after {
  opacity: 1;
}

.button.is-pressed,
.text-link.is-pressed,
.service-tab.is-pressed,
.nav-toggle.is-pressed,
.header-call.is-pressed,
.main-nav a.is-pressed,
.contact-links a.is-pressed {
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(1px) scale(0.985);
}

.hero-metrics span:hover,
.intro-grid article:hover,
.process article:hover,
.quality-tags span:hover,
.detail-list li:hover {
  box-shadow: 0 22px 62px rgba(8, 47, 79, 0.12);
  border-color: rgba(7, 130, 66, 0.26);
}

.cta-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.cta-band .button {
  background: var(--white);
  color: var(--ink);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 540ms ease, transform 540ms ease;
}

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

@keyframes sheen {
  0%, 42% {
    transform: translateX(-48%) rotate(10deg);
    opacity: 0;
  }
  54% {
    opacity: 1;
  }
  72%, 100% {
    transform: translateX(48%) rotate(10deg);
    opacity: 0;
  }
}

@media (max-width: 1160px) and (min-width: 901px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .brand {
    width: 220px;
  }

  .main-nav {
    justify-self: end;
  }

  .header-call {
    display: none;
  }

  .intro-strip,
  .service-stage,
  .showcase,
  .contact-panel,
  .security-box,
  .legal-layout,
  .cookie-banner,
  .detail-layout,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .service-media,
  .showcase-photo {
    min-height: 430px;
  }

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

  .footer-brand,
  .footer-bottom {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 108px;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 78px;
    padding: 10px 12px 10px 14px;
  }

  .main-nav,
  .header-call {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header.nav-open .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: grid;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .main-nav a {
    justify-content: flex-start;
    min-height: 54px;
    font-size: 1.05rem;
  }

  .intro-strip,
  .showcase,
  .contact-panel,
  .security-box,
  .legal-layout,
  .cookie-banner,
  .service-stage,
  .detail-layout,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .service-tabs,
  .process,
  .page-grid,
  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-media,
  .showcase-photo,
  .detail-photo {
    min-height: 360px;
  }

  .detail-photo {
    height: 360px;
  }

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

  .footer-brand,
  .footer-bottom {
    grid-column: auto;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 12px;
    left: 12px;
    right: 12px;
  }

  body.admin-bar .site-header,
  body.admin-bar .site-header.is-scrolled {
    top: 58px;
  }

  .brand {
    width: min(230px, calc(100vw - 104px));
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
  }

  .hero {
    min-height: 96svh;
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
    padding-top: 108px;
    padding-bottom: 34px;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.95rem, 10vw, 3.1rem);
  }

  .hero-actions,
  .hero-metrics {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-metrics span {
    min-width: 0;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 54px 0;
    scroll-margin-top: 112px;
  }

  .site-footer {
    width: min(100% - 28px, 1180px);
    gap: 12px;
  }

  .footer-brand,
  .footer-column,
  .footer-bottom,
  .legal-aside,
  .legal-content,
  .faq-item,
  .cookie-banner {
    padding: 18px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .intro-grid,
  .service-tabs,
  .process,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .service-tab {
    min-height: 58px;
    justify-items: start;
    text-align: left;
  }

  .service-media {
    min-height: 300px;
  }

  .service-copy,
  .showcase-copy,
  .contact-panel,
  .request-panel,
  .cta-band {
    padding: 24px;
  }

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

  .form-actions {
    display: grid;
  }

  .form-actions .button {
    width: 100%;
  }

  .showcase-photo {
    min-height: 310px;
  }

  .page-main {
    padding-top: 0;
  }

  .page-hero {
    min-height: 52svh;
  }

  .page-hero-content {
    width: min(100% - 28px, 1180px);
    padding: 88px 0 48px;
  }

  .page-card-media {
    height: 220px;
  }

  .detail-photo {
    min-height: 300px;
    height: 300px;
  }
}

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