:root {
  --red: #e53935;
  --red-dark: #c62828;
  --accent-text: #c62828;
  --red-light: #ff6f61;
  --black: #1a1a1a;
  --grey-dark: #232323;
  --grey-mid: #343434;
  --grey: #6f6f6f;
  --grey-light: #9f9f9f;
  --grey-subtle: #e6e6e6;
  --white: #ffffff;
  --off-white: #fbfbfb;
  --success: #2f8f59;
  --warning: #b98224;
  --danger: #e53935;
  --page-bg: #fbfbfb;
  --surface-bg: #ffffff;
  --surface-soft: #f4f4f4;
  --text-main: #1a1a1a;
  --text-muted: #6f6f6f;
  --border-color: #e6e6e6;
  --nav-surface: rgba(26, 26, 26, 0.94);
  --nav-foreground: #ffffff;
  --nav-muted: rgba(255, 255, 255, 0.74);
  --mobile-surface: #1a1a1a;
  --mobile-foreground: rgba(255, 255, 255, 0.82);
  --footer-bg: #1a1a1a;
  --footer-copy: rgba(255, 255, 255, 0.58);
  --footer-chip: rgba(255, 255, 255, 0.07);
  --font-display: "Montserrat", sans-serif;
  --font-head: "Montserrat", sans-serif;
  --font-body: "Poppins", sans-serif;
  --font-ui: "Inter", sans-serif;
  --section-pad: clamp(60px, 8vw, 110px);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --trans: 0.3s ease;
  --trans-slow: 0.6s ease;
}

html[data-theme="dark"] {
  --accent-text: #ff8d82;
  --black: #101010;
  --grey-dark: #161616;
  --grey-mid: #252525;
  --grey: #b8b8b8;
  --grey-light: #d2d2d2;
  --grey-subtle: #2d2d2d;
  --off-white: #0f0f0f;
  --page-bg: #0f0f0f;
  --surface-bg: #171717;
  --surface-soft: #1f1f1f;
  --text-main: #f2f2f2;
  --text-muted: #b8b8b8;
  --border-color: #2d2d2d;
  --nav-surface: rgba(10, 10, 10, 0.94);
  --nav-foreground: #f2f2f2;
  --nav-muted: rgba(242, 242, 242, 0.74);
  --mobile-surface: #0f0f0f;
  --mobile-foreground: rgba(242, 242, 242, 0.84);
  --footer-bg: #080808;
  --footer-copy: rgba(242, 242, 242, 0.62);
  --footer-chip: rgba(255, 255, 255, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--page-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition:
    background var(--trans),
    color var(--trans);
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 1400;
  padding: 12px 18px;
  border-radius: 2px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1250;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(229, 57, 53, 0.96),
    rgba(255, 255, 255, 0.85),
    rgba(229, 57, 53, 0.96)
  );
  transition: width 0.12s linear;
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  gap: 22px;
  padding: 32px;
  background:
    radial-gradient(circle at top, rgba(229, 57, 53, 0.08), transparent 40%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(247, 247, 247, 0.99)
    );
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

#loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.12);
}

.loader-logo img {
  width: 76px;
  height: 76px;
}

.loader-bar-wrap {
  width: min(180px, 56vw);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.1);
}

.loader-bar {
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(17, 17, 17, 0.92),
    var(--red),
    rgba(255, 255, 255, 0.98)
  );
  animation: loaderSweep 1.1s ease-in-out infinite;
}

html[data-theme="dark"] #loader {
  background:
    radial-gradient(circle at top, rgba(229, 57, 53, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.98), rgba(5, 5, 5, 0.99));
}

html[data-theme="dark"] .loader-logo {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .loader-bar-wrap {
  background: rgba(255, 255, 255, 0.12);
}

@keyframes loaderSweep {
  0% {
    transform: translateX(-120%);
  }

  50% {
    transform: translateX(160%);
  }

  100% {
    transform: translateX(340%);
  }
}

code {
  font-family: var(--font-ui);
}

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

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

a:not(.btn):hover,
a:not(.btn):focus-visible {
  text-decoration: underline;
}

ul,
ol {
  list-style: none;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-pad {
  padding: var(--section-pad) 0;
}

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

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

[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

[data-aos="fade-left"] {
  transform: translateX(-40px);
}

[data-aos="fade-right"] {
  transform: translateX(40px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

[data-aos-delay="100"] {
  transition-delay: 0.1s;
}

[data-aos-delay="150"] {
  transition-delay: 0.15s;
}

[data-aos-delay="200"] {
  transition-delay: 0.2s;
}

[data-aos-delay="300"] {
  transition-delay: 0.3s;
}

[data-aos-delay="450"] {
  transition-delay: 0.45s;
}

.section-label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-main);
  text-transform: uppercase;
}

.section-title span {
  color: var(--accent-text);
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-top: 14px;
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  transition: var(--trans);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.82;
  transform: none;
  box-shadow: none;
}

.btn.is-loading {
  pointer-events: none;
}

.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  flex-shrink: 0;
  animation: btnSpin 0.7s linear infinite;
}

@keyframes btnSpin {
  to {
    transform: rotate(360deg);
  }
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.theme-toggle:focus-visible,
.form-control:focus-visible,
.admin-action-btn:focus-visible,
.project-card:focus-visible {
  outline: 3px solid rgba(192, 36, 29, 0.2);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--accent-text);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 8px 24px rgba(192, 36, 29, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--white);
  color: var(--black);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: var(--grey-dark);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: #1ebe5d;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn [data-lucide] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 2.1;
}

.btn svg,
.btn [data-lucide],
.contact-card svg,
.contact-social-link svg,
.footer-social-link svg,
.footer-contact-item svg,
.project-card-location svg {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px var(--gutter) 0;
  transition: padding var(--trans-slow);
}

.navbar.scrolled {
  padding-top: 12px;
}

.navbar-inner {
  max-width: calc(var(--container) + 32px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 84px;
  padding: 14px 16px 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 10, 0.2);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
  transition:
    min-height var(--trans),
    padding var(--trans),
    background var(--trans),
    border-color var(--trans),
    box-shadow var(--trans),
    transform var(--trans);
}

.navbar-home:not(.scrolled) .navbar-inner {
  padding-inline: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.navbar.scrolled .navbar-inner {
  min-height: 74px;
  background: var(--nav-surface);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.nav-logo-text .brand {
  font-family: var(--font-display);
  font-size: clamp(1.46rem, 2vw, 1.95rem);
  font-weight: 800;
  color: var(--nav-foreground);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-logo-text .tagline {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  color: var(--nav-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nav-muted);
  padding: 12px 16px;
  border-radius: 999px;
  position: relative;
  transition:
    color var(--trans),
    background var(--trans),
    box-shadow var(--trans);
}

.nav-links a::after {
  content: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--nav-foreground);
  background: rgba(255, 255, 255, 0.08);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-cta {
  min-height: 52px;
  padding-inline: 26px;
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(192, 36, 29, 0.24);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--nav-foreground);
  transition: var(--trans);
}

.nav-toggle.open .nav-toggle-bar:nth-of-type(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.open .nav-toggle-bar:nth-of-type(2) {
  opacity: 0;
}

.nav-toggle.open .nav-toggle-bar:nth-of-type(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-nav-backdrop[hidden] {
  display: none;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 985;
  background: rgba(7, 7, 7, 0.5);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity var(--trans);
}

.mobile-nav-backdrop.is-visible {
  opacity: 1;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 92px;
  left: 14px;
  right: 14px;
  z-index: 990;
  transform: translateY(-16px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--trans),
    opacity var(--trans);
}

.mobile-nav.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-panel {
  background:
    linear-gradient(180deg, rgba(24, 24, 24, 0.98), rgba(10, 10, 10, 0.98)),
    var(--mobile-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
  padding: 18px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.mobile-nav-links {
  display: grid;
  gap: 10px;
}

.mobile-nav-links a {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mobile-foreground);
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition:
    background var(--trans),
    border-color var(--trans),
    color var(--trans),
    transform var(--trans);
}

.mobile-nav-links a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  flex-shrink: 0;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible,
.mobile-nav-links a.active {
  background: rgba(229, 57, 53, 0.12);
  border-color: rgba(229, 57, 53, 0.3);
  color: var(--white);
  transform: translateY(-1px);
}

.mobile-nav-actions {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.mobile-nav-cta {
  width: 100%;
  justify-content: center;
  margin-top: 0;
  border-radius: 999px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 7px 16px 7px 7px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(229, 57, 53, 0.12), rgba(229, 57, 53, 0.04))
      left / 44px 100% no-repeat,
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96),
      rgba(245, 245, 245, 0.98)
    );
  color: var(--text-main);
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
  transition:
    background var(--trans),
    border-color var(--trans),
    color var(--trans),
    transform var(--trans),
    box-shadow var(--trans);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.12);
}

.theme-toggle-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--white), rgba(255, 255, 255, 0.68));
  color: var(--red-dark);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(229, 57, 53, 0.22);
  flex-shrink: 0;
}

.theme-toggle-icon svg {
  position: absolute;
  width: 15px;
  height: 15px;
  transition:
    opacity var(--trans),
    transform var(--trans);
}

.theme-toggle-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  min-width: 0;
}

.theme-toggle-kicker {
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  color: var(--accent-text);
}

.theme-toggle-label {
  color: currentColor;
}

.theme-toggle.is-compact {
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  justify-content: center;
  gap: 0;
}

.theme-toggle.is-compact .theme-toggle-copy {
  display: none;
}

.theme-toggle.is-compact .theme-toggle-icon {
  width: 32px;
  height: 32px;
  box-shadow: none;
}

.theme-toggle[data-theme-state="light"] .theme-toggle-icon-sun,
.theme-toggle:not([data-theme-state]) .theme-toggle-icon-sun {
  opacity: 1;
  transform: scale(1);
}

.theme-toggle[data-theme-state="light"] .theme-toggle-icon-moon,
.theme-toggle:not([data-theme-state]) .theme-toggle-icon-moon {
  opacity: 0;
  transform: scale(0.7);
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-icon-sun {
  opacity: 0;
  transform: scale(0.7);
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-icon-moon {
  opacity: 1;
  transform: scale(1);
}

.theme-toggle-nav {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(229, 57, 53, 0.32), rgba(229, 57, 53, 0.12))
      left / 100% 100% no-repeat,
    rgba(255, 255, 255, 0.04);
  color: var(--nav-foreground);
  box-shadow: none;
}

html[data-theme="dark"] .theme-toggle {
  border-color: #2f2f2f;
  background:
    linear-gradient(135deg, rgba(229, 57, 53, 0.22), rgba(229, 57, 53, 0.08))
      left / 44px 100% no-repeat,
    linear-gradient(180deg, #171717, #111111);
  color: var(--text-main);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .theme-toggle:focus-visible {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .theme-toggle-icon {
  background: linear-gradient(135deg, #0f0f0f, #232323);
  color: #ffd4cf;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .theme-toggle.is-compact .theme-toggle-icon {
  box-shadow: none;
}

html[data-theme="dark"] .theme-toggle-kicker {
  color: #ff8a80;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: clamp(134px, 15vw, 168px) 0 clamp(42px, 6vw, 76px);
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(7, 7, 7, 0.86) 0%,
      rgba(10, 10, 10, 0.58) 42%,
      rgba(10, 10, 10, 0.84) 100%
    ),
    linear-gradient(
      135deg,
      rgba(229, 57, 53, 0.26),
      rgba(229, 57, 53, 0.02) 46%,
      rgba(0, 0, 0, 0.18)
    ),
    url("../images/hero-construction-site.jpg") center center / cover no-repeat;
  transform: scale(1.02);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(255, 255, 255, 0.18),
      transparent 22%
    ),
    radial-gradient(circle at 82% 22%, rgba(229, 57, 53, 0.16), transparent 28%);
}

.hero-bg::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.46), transparent 92%);
}

.hero-accent {
  position: absolute;
  right: -8vw;
  top: 16%;
  width: 46vw;
  height: 46vw;
  min-width: 360px;
  min-height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.2), transparent 68%);
  filter: blur(16px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero-shell {
  max-width: 830px;
  display: grid;
  gap: 20px;
}

.hero-copy {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-stats-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-eyebrow-line {
  width: 34px;
  height: 2px;
  background: var(--red);
}

.hero-eyebrow-text {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffd5d1;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8.6vw, 7.2rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

.hero-title span {
  color: #ff6b61;
  display: inline;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  line-height: 1.72;
  margin-bottom: 34px;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions .btn {
  min-height: 58px;
  padding-inline: 30px;
  border-radius: 999px;
}

.hero-actions .btn-outline {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero-actions .btn-outline:hover,
.hero-actions .btn-outline:focus-visible {
  background: var(--white);
}

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

.hero-stat-item {
  min-width: 0;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
}

.hero-stat-number span {
  color: #ff6b61;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: 8px;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  right: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-scroll-text {
  font-family: var(--font-head);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 54px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.36),
    transparent
  );
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 1;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.4;
    transform: scaleY(0.6);
  }
}

.services-strip {
  background: var(--red);
  padding: 16px var(--gutter);
  overflow: hidden;
}

.services-strip-inner {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  will-change: transform;
}

.services-strip:hover .services-strip-inner,
.services-strip:focus-within .services-strip-inner {
  animation-play-state: paused;
}

.services-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.services-strip-item::before {
  content: "◆";
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.about-teaser {
  background: var(--off-white);
}

.about-teaser-grid,
.project-detail-layout,
.contact-page-grid,
.appointment-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-teaser-grid > *,
.project-detail-layout > *,
.contact-page-grid > *,
.appointment-page-grid > *,
.services-grid > *,
.projects-grid > *,
.projects-page-grid > *,
.why-us-grid > *,
.testimonials-grid > *,
.testimonial-grid > *,
.footer-grid > *,
.mvv-grid > *,
.team-grid > *,
.services-bottom-grid > *,
.process-grid > *,
.project-summary-grid > * {
  min-width: 0;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--grey-subtle);
  overflow: hidden;
}

.about-img-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--red);
  color: var(--white);
  padding: 24px;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-img-badge .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
}

.about-img-badge .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-content {
  padding-left: 20px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-value-item {
  padding: 20px;
  background: var(--white);
  border-left: 3px solid var(--red);
}

.about-value-item h4 {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-value-item p {
  font-size: 0.8rem;
  color: var(--grey);
  line-height: 1.5;
}

.services-section {
  background: var(--black);
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 56px;
  align-items: stretch;
}

.service-card {
  background: var(--grey-dark);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background var(--trans);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  background: var(--grey-mid);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(192, 36, 29, 0.15);
  border: 1px solid rgba(192, 36, 29, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.8;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  min-height: 3.2em;
  line-height: 1.18;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.service-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin-top: auto;
}

.service-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}

.projects-section {
  background: var(--white);
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}

.projects-grid,
.projects-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--grey-dark);
  display: block;
}

.projects-grid .project-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.project-card-img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  background: linear-gradient(135deg, var(--grey-dark), var(--grey-mid));
}

.projects-grid .project-card:first-child .project-card-img,
.project-card.project-featured .project-card-img {
  min-height: 480px;
}

.project-placeholder-img,
.project-scene {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2e2e2e 100%);
}

.project-overlay-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.2) 60%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background var(--trans);
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(
    to top,
    rgba(192, 36, 29, 0.8) 0%,
    rgba(0, 0, 0, 0.45) 60%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.project-category {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 6px;
}

.project-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
}

.project-card-location {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-card-location svg {
  width: 12px;
  height: 12px;
}

.project-card-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(8px, -8px);
  transition:
    opacity var(--trans),
    transform var(--trans);
}

.project-card:hover .project-card-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.project-card:focus-visible .project-card-arrow,
.project-card:focus-visible .project-card-overlay {
  opacity: 1;
  transform: translate(0, 0);
}

.project-card:focus-visible .project-card-overlay {
  background: linear-gradient(
    to top,
    rgba(192, 36, 29, 0.8) 0%,
    rgba(0, 0, 0, 0.45) 60%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.project-card-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
}

.why-us {
  background: var(--red);
  color: var(--white);
  padding: var(--section-pad) 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0;
}

.why-item {
  padding: 32px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.why-item:last-child {
  border-right: none;
}

.why-item svg {
  width: 36px;
  height: 36px;
  stroke: rgba(255, 255, 255, 0.8);
  fill: none;
  stroke-width: 1.6;
  margin: 0 auto 16px;
}

.why-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.why-item p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.testimonials-section {
  background: var(--off-white);
}

.testimonials-rotation {
  margin-top: 56px;
}

.testimonials-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.testimonials-stage {
  margin-top: 0;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

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

.testimonial-rotation-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.16);
  border: 1px solid rgba(26, 26, 26, 0.08);
  transition:
    transform var(--trans),
    background var(--trans),
    border-color var(--trans);
}

.testimonial-dot.is-active {
  background: var(--red);
  border-color: rgba(229, 57, 53, 0.24);
  transform: scale(1.08);
}

.testimonial-card {
  background: var(--white);
  padding: 36px 32px;
  border-top: 3px solid transparent;
  transition:
    border-color var(--trans),
    box-shadow var(--trans),
    transform var(--trans);
}

.testimonial-card:hover {
  border-color: var(--accent-text);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}

.testimonial-stars span {
  font-size: 1rem;
  color: #f4a820;
}

.testimonial-stars span.is-dim {
  opacity: 0.32;
}

.testimonial-quote {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.testimonial-name {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
}

.testimonial-type {
  font-size: 0.75rem;
  color: var(--grey-light);
}

.review-submission {
  background: var(--white);
}

.review-submission-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.review-submission-copy,
.review-form-card {
  min-width: 0;
}

.review-submission-points {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.review-submission-points li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
  line-height: 1.7;
}

.review-submission-points li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(229, 57, 53, 0.12);
}

.review-form-card .alert {
  margin-bottom: 18px;
}

.review-form-card h3 {
  margin-bottom: 20px;
}

.review-form-card .btn {
  margin-top: 10px;
}

.review-form-card textarea.form-control {
  min-height: 150px;
}

.field-optional {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.field-hint {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.conditional-field[hidden] {
  display: none !important;
}

.frontend-empty {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  border: 1px dashed var(--border-color);
  background: var(--surface-soft);
}

.cta-banner {
  background: var(--black);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--red);
}

.cta-banner::after {
  content: "BUILD";
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 18vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  white-space: nowrap;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.05;
}

.cta-banner-text h2 span {
  color: var(--accent-text);
}

.cta-banner-text p {
  color: rgba(255, 255, 255, 0.55);
  margin-top: 12px;
  font-size: 0.95rem;
}

.cta-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer {
  background: var(--footer-bg);
  color: var(--white);
  padding-top: 42px;
}

.footer-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.55fr) minmax(0, 0.9fr) minmax(0, 1fr)
    minmax(0, 1.1fr);
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 0.78rem;
  color: var(--footer-copy);
  line-height: 1.6;
  margin: 10px 0 16px;
  max-width: 360px;
}

.footer-logo {
  display: inline-flex;
}

.footer-logo .nav-logo-mark {
  width: 44px;
  height: 44px;
}

.footer-brand .nav-logo-text .brand {
  font-size: clamp(1.02rem, 1.45vw, 1.3rem);
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.footer-brand .nav-logo-text .tagline {
  font-size: 0.56rem;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.08em;
  text-wrap: balance;
}

@media (min-width: 769px) {
  .footer-brand .nav-logo-text .tagline {
    display: none;
  }
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background: var(--footer-chip);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  transition:
    background var(--trans),
    color var(--trans),
    transform var(--trans);
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.contact-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.contact-action-row .btn-whatsapp {
  flex: 0 0 auto;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  background: var(--surface-bg);
  color: var(--text-main);
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background var(--trans),
    color var(--trans),
    border-color var(--trans),
    transform var(--trans);
}

.contact-social-link:hover,
.contact-social-link:focus-visible {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  transform: translateY(-2px);
}

.contact-social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-social-link svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
}

.footer-social-link svg.is-fill-icon {
  stroke: none;
  fill: currentColor;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 12px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-col ul a {
  font-size: 0.78rem;
  color: var(--footer-copy);
  line-height: 1.45;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-contact-item svg {
  width: 13px;
  height: 13px;
  stroke: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 0.76rem;
  color: var(--footer-copy);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.footer-bottom {
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.footer-bottom a {
  color: var(--accent-text);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 12px;
}

.footer-legal-links a,
.footer-legal-links [data-cookie-preferences] {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  line-height: 1.45;
  transition: color var(--trans);
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible,
.footer-legal-links [data-cookie-preferences]:hover,
.footer-legal-links [data-cookie-preferences]:focus-visible {
  color: var(--white);
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.14);
  backdrop-filter: blur(14px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.cookie-banner.is-hidden {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}

.cookie-banner-copy {
  max-width: 680px;
}

.cookie-banner-copy .section-label {
  margin-bottom: 10px;
}

.cookie-banner-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cookie-banner-copy p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner-actions .btn {
  min-height: 50px;
  border-radius: 999px;
}

.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1260;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 10, 10, 0.56);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.legal-modal-backdrop[hidden] {
  display: none;
}

.legal-modal-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(86vh, 860px);
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 28px;
  background: var(--surface-bg);
  box-shadow: 0 24px 64px rgba(17, 17, 17, 0.22);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.24s ease;
}

.legal-modal-backdrop.is-visible .legal-modal-panel {
  transform: translateY(0) scale(1);
}

.legal-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.04);
  color: var(--text-main);
  font-size: 1.7rem;
  line-height: 1;
  transition:
    background var(--trans),
    color var(--trans),
    transform var(--trans);
}

.legal-modal-close:hover,
.legal-modal-close:focus-visible {
  background: rgba(229, 57, 53, 0.12);
  color: var(--accent-text);
}

.legal-modal-header {
  padding: 34px 72px 24px 34px;
  border-bottom: 1px solid var(--border-color);
}

.legal-modal-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
}

.legal-modal-header p {
  margin-top: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 720px;
}

.legal-modal-body {
  max-height: calc(86vh - 160px);
  overflow-y: auto;
  padding: 28px 34px 34px;
  display: grid;
  gap: 22px;
}

.legal-modal-section {
  padding: 24px;
  border: 1px solid var(--border-color);
  background: var(--surface-soft);
}

.legal-modal-section h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.legal-modal-section p {
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-modal-section ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.legal-modal-section li {
  position: relative;
  padding-left: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-modal-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--red);
}

@media (max-width: 860px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 18px;
    gap: 18px;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-banner-actions .btn {
    flex: 1 1 0;
    min-width: 0;
  }

  .legal-modal-backdrop {
    padding: 14px;
  }

  .legal-modal-header {
    padding: 28px 58px 20px 22px;
  }

  .legal-modal-body {
    padding: 22px;
  }
}

.page-hero {
  --page-hero-image: none;
  background: var(--black);
  min-height: clamp(360px, 62vh, 620px);
  display: flex;
  align-items: flex-end;
  padding: clamp(132px, 16vw, 172px) var(--gutter) clamp(54px, 7vw, 92px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      102deg,
      rgba(7, 7, 7, 0.88) 0%,
      rgba(10, 10, 10, 0.56) 40%,
      rgba(10, 10, 10, 0.86) 100%
    ),
    linear-gradient(
      135deg,
      rgba(229, 57, 53, 0.24),
      rgba(229, 57, 53, 0.03) 46%,
      rgba(0, 0, 0, 0.2)
    ),
    radial-gradient(
      circle at 84% 22%,
      rgba(229, 57, 53, 0.16),
      transparent 28%
    ),
    radial-gradient(
      circle at 18% 18%,
      rgba(255, 255, 255, 0.12),
      transparent 22%
    ),
    var(--page-hero-image);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.page-hero .container {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
  max-width: 820px;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.34);
}

.page-hero h1 span {
  color: var(--accent-text);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 700px;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.26);
}

.page-hero--about {
  --page-hero-image: url("../images/about-hero.jpg");
}

.page-hero--services {
  --page-hero-image: url("../images/services-hero.jpg");
}

.page-hero--projects {
  --page-hero-image: url("../images/projects-hero.jpg");
}

.page-hero--contact {
  --page-hero-image: url("../images/contact-hero.jpg");
}

.page-hero--appointment {
  --page-hero-image: url("../images/appointment-hero.jpg");
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.breadcrumb a,
.breadcrumb span {
  font-size: 0.75rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.24);
}

.breadcrumb .current {
  color: var(--accent-text);
}

.content-block,
.contact-card,
.project-summary-card,
.project-sidebar-card,
.form-panel {
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  padding: 36px 32px;
  min-width: 0;
}

.content-block h3,
.project-summary-card h3,
.project-sidebar-card h3,
.form-panel h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.content-block p,
.project-summary-card p,
.project-sidebar-card p,
.contact-card p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.7fr);
  gap: 28px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 120px;
}

.legal-sidebar .content-block,
.legal-copy .content-block {
  border-radius: 28px;
}

.legal-copy {
  display: grid;
  gap: 24px;
}

.legal-copy h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.legal-copy ul {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.legal-copy li {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.92rem;
  padding-left: 16px;
  position: relative;
}

.legal-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.legal-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(192, 33, 46, 0.06);
  border: 1px solid rgba(192, 33, 46, 0.12);
  border-radius: 16px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.mvv-card {
  padding: 44px 36px;
  border: 1px solid var(--border-color);
  min-width: 0;
  transition:
    transform var(--trans),
    box-shadow var(--trans),
    border-color var(--trans);
}

.mvv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(17, 17, 17, 0.08);
}

.mvv-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.mvv-card p,
.mvv-card li {
  font-size: 0.9rem;
  line-height: 1.75;
}

.mvv-card--mission {
  background: #191919;
  border-color: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.mvv-card--mission p {
  color: rgba(255, 255, 255, 0.7);
}

.mvv-card--vision {
  background: var(--red);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.mvv-card--vision p {
  color: rgba(255, 255, 255, 0.92);
}

.mvv-card--values {
  background: var(--surface-bg);
}

.mvv-list {
  display: grid;
  gap: 10px;
}

.mvv-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-muted);
}

.mvv-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--red);
  margin-top: 0.62rem;
  flex-shrink: 0;
}

.team-member-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.feature-list,
.service-points,
.project-meta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.feature-list li,
.service-points li,
.project-meta-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--grey);
  font-size: 0.88rem;
}

.feature-list li::before,
.service-points li::before,
.project-meta-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.service-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  padding: 34px 34px 32px;
  margin-bottom: 24px;
  min-width: 0;
}

.service-feature-card--alt {
  background:
    linear-gradient(180deg, rgba(192, 33, 46, 0.03), rgba(192, 33, 46, 0)),
    var(--surface-bg);
}

.service-feature-main,
.service-feature-side {
  min-width: 0;
}

.service-feature-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-feature-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.service-feature-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(192, 33, 46, 0.06);
  border: 1px solid rgba(192, 33, 46, 0.14);
  color: var(--red-dark);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-feature-title-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.service-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(192, 33, 46, 0.08);
  border: 1px solid rgba(192, 33, 46, 0.14);
}

.service-feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent-text);
}

.service-feature-card h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
  color: var(--black);
}

.service-feature-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
  margin: 0;
}

.service-feature-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 24px 22px;
  background: rgba(17, 17, 17, 0.02);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.service-feature-points {
  display: grid;
  gap: 12px;
}

.service-feature-points li {
  position: relative;
  padding-left: 16px;
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.65;
}

.service-feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.service-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-feature-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.service-feature-action {
  margin-top: auto;
  align-self: flex-start;
}

.project-scene {
  min-height: 420px;
  position: relative;
}

.project-scene::after {
  content: attr(data-label);
  position: absolute;
  left: 24px;
  bottom: 24px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.project-gallery .project-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project-gallery-card {
  min-height: 220px;
  position: relative;
  background: linear-gradient(135deg, var(--grey-dark), var(--grey-mid));
  overflow: hidden;
}

.project-gallery-card::after {
  content: attr(data-label);
  position: absolute;
  left: 18px;
  bottom: 18px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.project-detail-stack {
  display: grid;
  gap: 28px;
}

.project-detail-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: 28px;
}

.project-detail-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.project-detail-heading {
  min-width: 0;
  flex: 1 1 auto;
}

.project-detail-heading h3 {
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1.04;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}

.project-detail-heading p {
  max-width: 920px;
}

.project-detail-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 220px;
}

.project-detail-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}

.project-detail-grid > div {
  min-width: 0;
}

.project-detail-grid h4 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 10px;
}

.project-detail-copy {
  margin: 0;
}

.project-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.project-detail-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(192, 33, 46, 0.06);
  border: 1px solid rgba(192, 33, 46, 0.12);
  color: var(--red-dark);
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-color);
  background: var(--surface-bg);
  color: var(--text-main);
  font-size: 0.9rem;
  border-radius: 2px;
  transition:
    border-color var(--trans),
    box-shadow var(--trans);
  outline: none;
}

.form-control::placeholder {
  color: rgba(40, 40, 40, 0.5);
}

.form-control:focus {
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px rgba(192, 36, 29, 0.1);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 54px;
  background-image:
    linear-gradient(135deg, transparent 50%, var(--red) 50%),
    linear-gradient(45deg, var(--red) 50%, transparent 50%),
    linear-gradient(to right, rgba(229, 57, 53, 0.14), rgba(229, 57, 53, 0.04));
  background-position:
    calc(100% - 24px) calc(50% - 3px),
    calc(100% - 17px) calc(50% - 3px),
    calc(100% - 52px) 0;
  background-size:
    8px 8px,
    8px 8px,
    52px 100%;
  background-repeat: no-repeat;
  border-color: rgba(26, 26, 26, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

select.form-control:hover {
  border-color: rgba(229, 57, 53, 0.35);
}

select.form-control option {
  background: var(--surface-bg);
  color: var(--text-main);
}

.custom-select-field {
  position: relative;
}

.custom-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  position: relative;
}

.custom-select-trigger {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 13px 72px 13px 16px;
  border: 1.5px solid rgba(26, 26, 26, 0.12);
  background:
    linear-gradient(to right, rgba(229, 57, 53, 0.12), rgba(229, 57, 53, 0.04))
      right / 64px 100% no-repeat,
    var(--surface-bg);
  color: var(--text-main);
  border-radius: 2px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition:
    border-color var(--trans),
    box-shadow var(--trans),
    transform var(--trans);
}

.custom-select-trigger:hover,
.custom-select-trigger:focus-visible {
  border-color: rgba(229, 57, 53, 0.35);
  box-shadow: 0 0 0 3px rgba(192, 36, 29, 0.1);
  outline: none;
}

.custom-select.is-placeholder .custom-select-trigger {
  color: var(--text-muted);
}

.custom-select.is-disabled .custom-select-trigger,
.custom-select-trigger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.custom-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-chevron {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: translateY(-60%) rotate(45deg);
  transition: transform var(--trans);
}

.custom-select.open .custom-select-chevron {
  transform: translateY(-40%) rotate(225deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  gap: 6px;
  max-height: 280px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 2px;
  background: var(--surface-bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity var(--trans),
    transform var(--trans);
}

.custom-select.open .custom-select-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.custom-select-option {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 14px 16px;
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition:
    background var(--trans),
    border-color var(--trans),
    color var(--trans),
    transform var(--trans);
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
  background: rgba(229, 57, 53, 0.08);
  border-color: rgba(229, 57, 53, 0.18);
  color: var(--black);
  outline: none;
}

.custom-select-option.selected {
  background: linear-gradient(
    135deg,
    rgba(229, 57, 53, 0.18),
    rgba(229, 57, 53, 0.08)
  );
  border-color: rgba(229, 57, 53, 0.22);
  color: var(--red-dark);
}

.custom-select-option.placeholder-option {
  color: var(--text-muted);
}

.custom-select-option:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.custom-select.has-error .custom-select-trigger {
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px rgba(192, 36, 29, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

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

.form-row > .form-group {
  min-width: 0;
}

.form-row--service-block {
  margin-bottom: 0;
}

.conditional-field--service {
  margin-top: -4px;
  margin-bottom: 20px;
}

.form-error {
  display: block;
  font-size: 0.75rem;
  color: var(--accent-text);
  margin-top: 5px;
}

.alert {
  padding: 16px 20px;
  border-radius: 2px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  display: none;
}

.alert.show {
  display: block;
}

.alert-success {
  background: #e8f5e9;
  border-left: 4px solid #43a047;
  color: #2e7d32;
}

.alert-error {
  background: #ffebee;
  border-left: 4px solid var(--red);
  color: var(--red-dark);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.mvv-grid,
.team-grid,
.services-bottom-grid,
.process-grid,
.project-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.services-bottom-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.service-detail-card {
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  padding: 28px 24px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  transition:
    transform var(--trans),
    box-shadow var(--trans),
    border-color var(--trans);
}

.service-detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 33, 46, 0.22);
  box-shadow: 0 18px 34px rgba(17, 17, 17, 0.07);
}

.service-detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.service-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(192, 33, 46, 0.08);
  border: 1px solid rgba(192, 33, 46, 0.12);
}

.service-detail-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent-text);
}

.service-detail-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.45vw, 1.75rem);
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--black);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.service-detail-card p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.92rem;
}

.service-detail-points {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.service-detail-points li {
  position: relative;
  padding-left: 16px;
  color: var(--grey);
  font-size: 0.88rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.service-detail-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.service-detail-action {
  margin-top: auto;
  align-self: flex-start;
}

.contact-card svg {
  width: 24px;
  height: 24px;
  stroke: var(--red);
  margin-bottom: 16px;
}

.contact-card strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 8px;
}

html[data-theme="dark"] .form-label {
  color: var(--grey-light);
}

html[data-theme="dark"] .form-control,
html[data-theme="dark"] select.form-control,
html[data-theme="dark"] textarea.form-control {
  background: #111111;
  border-color: #313131;
  color: var(--text-main);
}

html[data-theme="dark"] .form-control::placeholder {
  color: rgba(242, 242, 242, 0.52);
}

html[data-theme="dark"] select.form-control {
  background-image:
    linear-gradient(135deg, transparent 50%, #ff6f61 50%),
    linear-gradient(45deg, #ff6f61 50%, transparent 50%),
    linear-gradient(to right, rgba(229, 57, 53, 0.2), rgba(229, 57, 53, 0.08));
  background-position:
    calc(100% - 24px) calc(50% - 3px),
    calc(100% - 17px) calc(50% - 3px),
    calc(100% - 52px) 0;
  background-size:
    8px 8px,
    8px 8px,
    52px 100%;
  background-repeat: no-repeat;
  border-color: #313131;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] select.form-control:hover {
  border-color: rgba(255, 111, 97, 0.48);
}

html[data-theme="dark"] select.form-control option {
  background: #111111;
  color: var(--text-main);
}

html[data-theme="dark"] .custom-select-trigger {
  background:
    linear-gradient(to right, rgba(229, 57, 53, 0.2), rgba(229, 57, 53, 0.08))
      right / 64px 100% no-repeat,
    #111111;
  border-color: #313131;
  color: var(--text-main);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .custom-select-trigger:hover,
html[data-theme="dark"] .custom-select-trigger:focus-visible {
  border-color: rgba(255, 111, 97, 0.48);
  box-shadow: 0 0 0 3px rgba(192, 36, 29, 0.16);
}

html[data-theme="dark"] .custom-select.is-placeholder .custom-select-trigger,
html[data-theme="dark"] .custom-select-option.placeholder-option {
  color: var(--grey-light);
}

html[data-theme="dark"] .custom-select-menu {
  background: #151515;
  border-color: #2f2f2f;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .custom-select-option {
  color: var(--text-main);
}

html[data-theme="dark"] .custom-select-option:hover,
html[data-theme="dark"] .custom-select-option:focus-visible {
  background: rgba(255, 111, 97, 0.12);
  border-color: rgba(255, 111, 97, 0.2);
  color: var(--white);
}

html[data-theme="dark"] .custom-select-option.selected {
  background: linear-gradient(
    135deg,
    rgba(229, 57, 53, 0.22),
    rgba(229, 57, 53, 0.12)
  );
  border-color: rgba(255, 111, 97, 0.22);
  color: #ffd1cb;
}

html[data-theme="dark"] .contact-card strong {
  color: var(--text-main);
}

html[data-theme="dark"] .testimonial-card,
html[data-theme="dark"] .review-submission {
  background: var(--surface-bg);
}

html[data-theme="dark"] .testimonial-name {
  color: var(--text-main);
}

html[data-theme="dark"] .testimonial-dot {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.26);
}

html[data-theme="dark"] .testimonial-dot.is-active {
  background: #ff6f61;
  border-color: rgba(255, 193, 188, 0.48);
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.16);
}

html[data-theme="dark"] .service-detail-card {
  box-shadow: none;
}

html[data-theme="dark"] .service-detail-card:hover {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .service-detail-icon {
  background:
    linear-gradient(145deg, rgba(229, 57, 53, 0.18), rgba(229, 57, 53, 0.08)),
    #151515;
  border-color: rgba(255, 111, 97, 0.18);
}

html[data-theme="dark"] .service-detail-card h3 {
  color: var(--text-main);
}

html[data-theme="dark"] .service-detail-points li {
  color: var(--text-muted);
}

html[data-theme="dark"] .service-feature-badge {
  background: rgba(229, 57, 53, 0.12);
  border-color: rgba(255, 111, 97, 0.18);
  color: #ffd0ca;
}

html[data-theme="dark"] .service-feature-icon {
  background:
    linear-gradient(145deg, rgba(229, 57, 53, 0.18), rgba(229, 57, 53, 0.08)),
    #151515;
  border-color: rgba(255, 111, 97, 0.18);
}

html[data-theme="dark"] .service-feature-card h3 {
  color: var(--text-main);
}

html[data-theme="dark"] .service-feature-side {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .service-feature-points li {
  color: var(--text-muted);
}

html[data-theme="dark"] .service-feature-tags span {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

html[data-theme="dark"] .project-detail-chip {
  background: rgba(229, 57, 53, 0.1);
  border-color: rgba(255, 111, 97, 0.18);
  color: #ffd0ca;
}

html[data-theme="dark"] .frontend-empty {
  background: #151515;
  border-color: #2d2d2d;
}

html[data-theme="dark"] .cookie-banner {
  background: rgba(15, 15, 15, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .cookie-banner-copy p {
  color: var(--text-muted);
}

html[data-theme="dark"] .legal-note {
  background: rgba(229, 57, 53, 0.08);
  border-color: rgba(255, 111, 97, 0.16);
}

html[data-theme="dark"] .legal-modal-panel,
html[data-theme="dark"] .mvv-card--values {
  background: var(--surface-bg);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .legal-modal-close {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}

html[data-theme="dark"] .legal-modal-close:hover,
html[data-theme="dark"] .legal-modal-close:focus-visible {
  background: rgba(229, 57, 53, 0.18);
}

html[data-theme="dark"] .legal-modal-header {
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .legal-modal-section {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .legal-modal-section p,
html[data-theme="dark"] .legal-modal-section li,
html[data-theme="dark"] .mvv-list li,
html[data-theme="dark"] .mvv-card--values p {
  color: var(--text-muted);
}

html[data-theme="dark"] .mvv-card--mission {
  background: linear-gradient(145deg, #181818, #101010);
  border-color: rgba(255, 111, 97, 0.14);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .mvv-card--vision {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1320px) {
  .service-feature-card {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .project-detail-top {
    flex-direction: column;
  }

  .project-detail-actions {
    width: 100%;
    min-width: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .project-detail-actions .btn {
    width: auto;
    min-width: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-aos] {
    opacity: 1;
    transform: none;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition:
    transform var(--trans),
    box-shadow var(--trans);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

@media (max-width: 1024px) {
  .service-feature-card {
    padding: 28px 24px;
    gap: 22px;
  }

  .service-feature-title-row {
    gap: 14px;
  }

  .service-feature-icon {
    width: 44px;
    height: 44px;
  }

  .service-feature-card h3 {
    font-size: clamp(1.7rem, 4.2vw, 2.35rem);
  }

  .navbar {
    padding-top: 14px;
  }

  .navbar-inner {
    min-height: 76px;
    padding: 12px 14px 12px 20px;
  }

  .mobile-nav {
    top: 88px;
    left: 16px;
    right: 16px;
  }

  .nav-logo-text .brand {
    font-size: clamp(1.28rem, 2.3vw, 1.66rem);
  }

  .nav-links a {
    padding: 10px 12px;
    font-size: 0.7rem;
  }

  .nav-cta {
    padding-inline: 20px;
  }

  .hero-shell {
    max-width: 760px;
  }

  .footer-logo .nav-logo-mark {
    width: 42px;
    height: 42px;
  }

  .services-grid,
  .projects-grid,
  .projects-page-grid,
  .contact-cards-grid,
  .mvv-grid,
  .team-grid,
  .services-bottom-grid,
  .process-grid,
  .project-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid .project-card:first-child {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "brand brand contact"
      "nav services contact";
    align-items: start;
  }

  .footer-brand {
    grid-area: brand;
  }

  .footer-col-nav {
    grid-area: nav;
  }

  .footer-col-services {
    grid-area: services;
  }

  .footer-col-contact {
    grid-area: contact;
  }

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

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

@media (max-width: 768px) {
  :root {
    --section-pad: clamp(46px, 11vw, 70px);
  }

  .service-feature-card {
    padding: 24px 20px;
  }

  .service-feature-topline {
    align-items: flex-start;
  }

  .service-feature-title-row {
    flex-direction: column;
    gap: 16px;
  }

  .service-feature-side {
    padding: 20px 18px;
  }

  .service-feature-action {
    width: 100%;
    align-self: stretch;
  }

  .navbar {
    padding: 12px 14px 0;
  }

  .navbar-inner {
    min-height: 72px;
    padding: 10px 12px 10px 14px;
    border-radius: 24px;
    gap: 10px;
    justify-content: space-between;
  }

  .mobile-nav {
    top: 84px;
    left: 12px;
    right: 12px;
  }

  .nav-logo-mark {
    width: 42px;
    height: 42px;
  }

  .nav-logo {
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
  }

  .nav-logo-text {
    min-width: 0;
  }

  .nav-logo-text .brand {
    font-size: 1.14rem;
    line-height: 0.98;
  }

  .nav-logo-text .tagline {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .navbar-actions {
    margin-left: auto;
    gap: 8px;
    flex: 0 0 auto;
  }

  .theme-toggle.is-compact {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .theme-toggle.is-compact .theme-toggle-icon {
    width: 29px;
    height: 29px;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 44px;
  }

  .hero-shell {
    gap: 16px;
  }

  .hero-copy,
  .hero-stats-panel {
    padding: 0;
    border-radius: 0;
  }

  .about-teaser-grid,
  .project-detail-layout,
  .contact-page-grid,
  .appointment-page-grid,
  .legal-layout,
  .review-submission-grid,
  .form-row,
  .project-gallery,
  .about-values,
  .contact-cards-grid,
  .mvv-grid,
  .team-grid,
  .services-bottom-grid,
  .process-grid,
  .project-summary-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    padding-left: 0;
  }

  .about-img-badge {
    display: none;
  }

  .services-grid,
  .projects-grid,
  .projects-page-grid,
  .testimonials-grid,
  .testimonial-grid,
  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid .project-card:first-child {
    grid-column: span 1;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-banner-actions .btn {
    width: 100%;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }

  .contact-action-row {
    align-items: stretch;
  }

  .contact-action-row .btn-whatsapp,
  .contact-socials,
  .contact-social-link {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
    align-items: stretch;
  }

  .hero-stat-item {
    padding: 16px 14px;
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
  }

  .hero-stat-number {
    font-size: clamp(1.8rem, 5vw, 2.25rem);
  }

  .hero-stat-label {
    margin-top: 10px;
    font-size: 0.66rem;
    line-height: 1.45;
  }

  .cta-banner-inner,
  .projects-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo .nav-logo-mark {
    width: 40px;
    height: 40px;
  }

  .footer-brand .nav-logo-text .brand {
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "brand brand"
      "nav services"
      "contact contact";
    gap: 18px 16px;
    padding-bottom: 22px;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-col-contact {
    padding-top: 2px;
  }

  .project-detail-top,
  .project-detail-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-detail-actions {
    width: 100%;
  }

  .project-detail-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .project-detail-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: clamp(320px, 58vh, 460px);
    padding: 118px var(--gutter) 48px;
  }

  .page-hero p,
  .section-subtitle,
  .content-block p,
  .contact-card p,
  .project-summary-card p,
  .project-sidebar-card p {
    font-size: 0.9rem;
    line-height: 1.72;
  }

  .btn,
  .contact-social-link {
    min-height: 52px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 18px;
  }

  .footer-bottom {
    align-items: flex-start;
    padding-bottom: 76px;
  }

  .footer-legal-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 10px 0;
  }

  .navbar-inner {
    min-height: 68px;
    padding: 10px 10px 10px 12px;
    gap: 8px;
  }

  .navbar-actions {
    gap: 6px;
  }

  .nav-logo {
    gap: 9px;
  }

  .nav-logo-mark {
    width: 38px;
    height: 38px;
  }

  .nav-logo-text .brand {
    font-size: 1rem;
  }

  .footer-grid {
    gap: 16px 14px;
  }

  .footer-col h4 {
    margin-bottom: 10px;
  }

  .footer-col ul a,
  .footer-contact-item span,
  .footer-brand p {
    font-size: 0.76rem;
  }

  .mobile-nav-panel {
    border-radius: 24px;
    padding: 16px;
    max-height: calc(100vh - 102px);
  }

  .mobile-nav-links a {
    font-size: 0.84rem;
    padding: 14px 15px;
  }

  .nav-logo-text .tagline {
    display: none;
  }

  .hero-copy,
  .hero-stats-panel {
    padding: 0;
    border-radius: 0;
  }

  .hero-eyebrow {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-scroll {
    display: none;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-stat-item {
    min-height: 100px;
    padding: 14px 12px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: left;
    padding-bottom: 82px;
  }

  .footer-legal-links {
    justify-content: flex-start;
    width: 100%;
  }

  .cookie-banner-actions {
    flex-direction: column;
  }

  .hero-title,
  .page-hero h1 {
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }

  .page-hero {
    padding: 108px var(--gutter) 40px;
  }

  .cta-banner-text p,
  .hero-subtitle {
    font-size: 0.92rem;
  }
}

@media (max-width: 360px) {
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "services"
      "contact";
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .nav-logo-text .brand {
    font-size: 0.94rem;
  }

  .theme-toggle.is-compact,
  .nav-toggle {
    width: 42px;
    min-width: 42px;
    height: 42px;
  }

  .theme-toggle.is-compact .theme-toggle-icon {
    width: 27px;
    height: 27px;
  }
}

/* Keep horizontal reveal animations inside the viewport without changing their motion. */
html {
  overflow-x: clip;
}

/* Live API text may contain long names or unbroken words. */
.project-card-title,
.project-detail-panel,
.testimonial-name,
.testimonial-type,
.testimonial-quote {
  overflow-wrap: anywhere;
  min-width: 0;
}

.footer-legal-links button { border:0; background:none; padding:0; font:inherit; color:inherit; cursor:pointer; }
.footer-legal-links button:hover, .footer-legal-links button:focus-visible { color:var(--red); }

/* Contrast corrections within the existing palette; spacing and layout are unchanged. */
.btn-primary { background:var(--red-dark); border-color:var(--red-dark); }
html:not([data-theme="dark"]) .section-label { color:var(--red-dark); }

.services-strip, .about-img-badge { background:var(--red-dark); }
.btn-whatsapp { color:#101010; }
.footer-bottom p { color:rgba(255,255,255,.68); }

html[data-theme="dark"] .section-label { color:var(--accent-text); }
.services-section .section-label, .footer-col h4 { color:#ff8d82; }
.service-number { color:#929292; }
.why-us, .mvv-card--vision { background:var(--red-dark); }
.why-item p, .mvv-card--vision p { color:#ffffff; }
.testimonial-type { color:var(--text-muted); }
html[data-theme="dark"] .about-value-item,
html[data-theme="dark"] .projects-section { background:var(--surface-bg); }

/* Keep the existing dark panels legible in both themes. */
html:not([data-theme="dark"]) .services-section .section-label,
html:not([data-theme="dark"]) .dark-section > .container > .text-center > .section-label { color:#ff8d82; }
.testimonial-avatar { background:var(--red-dark); }
html[data-theme="dark"] .about-value-item h4 { color:var(--text-main); }

.footer-legal-links [data-cookie-preferences] { background: none; border: 0; padding: 0; margin: 0; font-family: inherit; font-weight: inherit; letter-spacing: inherit; text-align: inherit; cursor: pointer; }

.review-trigger-wrap { margin-top: 28px; }
.review-modal { position: fixed; margin: auto; width: min(960px,calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 48px 28px 28px; border: 1px solid var(--border-color); border-radius: 12px; background: var(--surface-bg); color: var(--text-main); overflow-y: auto; overscroll-behavior: contain; }
.review-modal::backdrop { background: rgba(0,0,0,.65); }
.review-modal-open { overflow: hidden; }
.review-modal .review-form-card { margin: 0; }
@media (max-width: 760px) { .review-modal { padding: 48px 16px 20px; } .review-modal .review-submission-grid { grid-template-columns: minmax(0,1fr); gap: 24px; } }

.alert.show { position: relative; padding-right: 44px; }
.alert-dismiss { position: absolute; right: 12px; top: 12px; padding: 2px 6px; background: transparent; border: 0; color: inherit; cursor: pointer; font-size: 1.25rem; }
.alert-dismiss:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Keep consent and dialogs reachable in short/mobile viewports. */
.cookie-banner {
  max-height: calc(100dvh - 40px - env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  bottom: max(20px, env(safe-area-inset-bottom));
}
@media (max-width: 768px) {
  .mobile-nav-panel { max-height: calc(100dvh - 102px - env(safe-area-inset-bottom)); }
  .review-modal { max-height: calc(100dvh - 32px - env(safe-area-inset-bottom)); }
  .footer-legal-links a,
  .footer-legal-links [data-cookie-preferences] { min-height: 44px; display: inline-flex; align-items: center; }

  .nav-toggle,
  .theme-toggle.is-compact,
  .legal-modal-close,
  .footer-social-link { width: 44px; min-width: 44px; height: 44px; }
  .testimonial-dot { width: 44px; height: 44px; padding: 16px; border: 0; background-clip: content-box; }
  .testimonial-rotation-dots { gap: 0; }
}

/* Collection notices use existing typography and theme colours. */
[data-privacy-notice] { margin: 8px 0 18px; font-size: 0.86rem; line-height: 1.7; color: var(--text-muted); overflow-wrap: anywhere; }
[data-privacy-notice] a { text-decoration: underline; text-underline-offset: 3px; }
