/*
Theme Name: Assul Essencial
Theme URI: https://assul.com.br/
Author: Assul
Description: Tema institucional da Assul Assistência Técnica.
Version: 1.5.6
Update URI: https://assul.com.br/themes/assul-essencial/
Text Domain: assul-essencial
*/

:root {
  color-scheme: light;
  --navy: #0b1b4d;
  --navy-deep: #06102f;
  --navy-soft: #15316d;
  --orange: #f26722;
  --orange-action: #aa3a07;
  --orange-action-hover: #842d06;
  --orange-text: #a93605;
  --teal: #067b73;
  --green: #147d49;
  --green-hover: #0f653b;
  --ink: #182238;
  --muted: #5b6577;
  --surface: #ffffff;
  --surface-alt: #f2f6f5;
  --surface-soft: #e8f0ef;
  --surface-warm: #fff5eb;
  --line: #d8e0e4;
  --shadow: 0 18px 52px rgba(11, 27, 77, 0.13);
  --shadow-strong: 0 24px 70px rgba(4, 14, 43, 0.22);
  --header-height: 76px;
  --container: 1180px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f4f7fb;
  --muted: #bdc6d3;
  --surface: #0d1628;
  --surface-alt: #111e32;
  --surface-soft: #172a43;
  --surface-warm: #2a211d;
  --line: #31415a;
  --orange-text: #ff9b69;
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.3);
  --shadow-strong: 0 24px 70px rgba(0, 0, 0, 0.42);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] {
    color-scheme: dark;
    --ink: #f4f7fb;
    --muted: #bdc6d3;
    --surface: #0d1628;
    --surface-alt: #111e32;
    --surface-soft: #172a43;
    --surface-warm: #2a211d;
    --line: #31415a;
    --orange-text: #ff9b69;
    --shadow: 0 18px 52px rgba(0, 0, 0, 0.3);
    --shadow-strong: 0 24px 70px rgba(0, 0, 0, 0.42);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.assistant-open,
body.media-lightbox-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

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

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

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

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange-text);
  outline-offset: 3px;
}

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

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

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

.hero-inner > *,
.section-intro > *,
.service-grid > *,
.brand-layout > *,
.brand-grid > *,
.process-grid > *,
.installation-layout > *,
.gallery-grid > *,
.media-layout > *,
.reviews-layout > *,
.location-layout > *,
.social-layout > *,
.contact-grid > *,
.footer-grid > * {
  min-width: 0;
}

.section {
  padding: 94px 0;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

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

.section--navy {
  background: var(--navy);
  color: #ffffff;
}

.section-intro {
  display: grid;
  align-items: end;
  margin-bottom: 42px;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 48px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--orange-text);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 28px;
  height: 3px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.section-heading {
  max-width: 780px;
  margin: 0;
  font-size: 3.15rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-lead {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section--navy .section-kicker {
  color: #ff9b69;
}

.section--navy .section-lead {
  color: #d6deea;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 11px 18px;
  background: var(--orange-action);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--orange-action-hover);
  transform: translateY(-2px);
}

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

.button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  object-fit: contain;
}

.button--outline {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(6, 16, 47, 0.22);
}

.button--outline:hover {
  border-color: #ffffff;
  background: rgba(6, 16, 47, 0.68);
}

.button--navy {
  background: var(--navy);
}

.button--navy:hover {
  background: var(--navy-deep);
}

.button--whatsapp {
  background: var(--green);
}

.button--whatsapp:hover {
  background: var(--green-hover);
}

.button--whatsapp img,
.header-cta img {
  border-radius: 50%;
  padding: 2px;
  background: #ffffff;
}

.button--quiet {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button--quiet:hover {
  border-color: var(--navy);
  background: var(--surface-alt);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--navy);
  font-weight: 800;
}

.text-link:hover {
  color: var(--orange-text);
}

.text-link svg {
  width: 18px;
}

html[data-theme="dark"] .text-link {
  color: #b9d2ff;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] .text-link {
    color: #b9d2ff;
  }
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 26px rgba(11, 27, 77, 0.11);
}

.header-inner {
  display: grid;
  height: 100%;
  align-items: center;
  grid-template-columns: 190px 1fr auto;
  gap: 22px;
}

.site-logo {
  display: inline-flex;
  width: 178px;
  align-items: center;
}

.site-logo img {
  width: 100%;
  max-height: 52px;
  object-fit: contain;
}

.logo-dark {
  display: none;
}

html[data-theme="dark"] .site-header {
  background: rgba(13, 22, 40, 0.96);
}

html[data-theme="dark"] .logo-light {
  display: none;
}

html[data-theme="dark"] .logo-dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] .site-header {
    background: rgba(13, 22, 40, 0.96);
  }

  html[data-theme="auto"] .logo-light {
    display: none;
  }

  html[data-theme="auto"] .logo-dark {
    display: block;
  }
}

.primary-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.primary-nav a:hover {
  color: var(--ink);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.icon-button:hover {
  border-color: var(--orange);
  color: var(--orange-text);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.menu-toggle {
  display: none;
}

.header-cta {
  min-height: 44px;
  padding: 9px 14px;
  background: var(--green);
  font-size: 0.9rem;
}

.header-cta:hover {
  background: var(--green-hover);
}

.header-cta--generic {
  background: var(--navy);
}

.header-cta--generic:hover {
  background: var(--navy-deep);
}

.header-cta img {
  width: 20px;
  height: 20px;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(760px, max(610px, calc(100svh - 116px)));
  align-items: center;
  overflow: hidden;
  background-color: var(--navy-deep);
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  color: #ffffff;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(3, 11, 31, 0.43);
  content: "";
}

.hero-inner {
  display: flex;
  min-height: inherit;
  align-items: center;
  padding-block: 72px;
}

.hero-copy {
  width: min(690px, 62%);
  text-shadow: 0 2px 18px rgba(1, 7, 21, 0.42);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #f5f8ff;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-eyebrow span {
  border-radius: 4px;
  padding: 5px 8px;
  background: var(--orange);
  color: #ffffff;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: 4.35rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy > p:not(.hero-eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: #eef3fb;
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-proof svg {
  width: 19px;
  color: #7ce0b2;
}

.trust-strip {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(11, 27, 77, 0.08);
}

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

.trust-item {
  display: flex;
  min-height: 116px;
  align-items: center;
  gap: 15px;
  padding: 24px 30px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item > svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  color: var(--teal);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  font-size: 0.98rem;
}

.trust-item span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.86rem;
}

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

.service-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(11, 27, 77, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-color: rgba(242, 103, 34, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-warm);
  color: var(--orange-text);
}

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

.service-card h3 {
  margin: 22px 0 10px;
  font-size: 1.26rem;
  line-height: 1.25;
}

.service-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--orange-text);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.service-link:hover {
  color: var(--navy);
}

.service-link svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.service-link:hover svg {
  transform: translateX(4px);
}

.brand-band {
  padding: 64px 0;
  border-block: 1px solid var(--line);
  background: var(--surface-alt);
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.brand-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 56px;
}

.brand-copy h2,
.social-layout h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
}

.brand-copy p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
}

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

.brand-item {
  display: grid;
  min-height: 114px;
  place-items: center;
  margin: 0;
  border: 1px solid #e2e5e8;
  border-radius: 6px;
  padding: 16px;
  background: #ffffff;
}

.brand-item img {
  width: 100%;
  max-height: 62px;
  object-fit: contain;
}

.process-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.process-step {
  position: relative;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 4px solid var(--orange);
  border-radius: 6px;
  padding: 28px 22px;
  background: rgba(255, 255, 255, 0.055);
}

.process-step > svg {
  width: 28px;
  height: 28px;
  margin-top: 20px;
  color: #88dbd2;
}

.step-number {
  display: block;
  color: #ff9b69;
  font-size: 0.8rem;
  font-weight: 900;
}

.process-step h3 {
  margin: 15px 0 9px;
  font-size: 1.16rem;
}

.process-step p {
  margin: 0;
  color: #d8e0eb;
  font-size: 0.92rem;
}

.installation-section {
  overflow: hidden;
}

.installation-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 64px;
}

.installation-visual {
  position: relative;
  margin: 0;
}

.installation-visual::before {
  position: absolute;
  z-index: -1;
  width: 76%;
  height: 88%;
  top: -22px;
  left: -22px;
  border: 1px solid var(--orange);
  content: "";
}

.installation-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow-strong);
}

.installation-visual__trigger {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.installation-visual__trigger:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.media-zoom-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 4px;
  padding: 8px 10px;
  background: rgba(4, 14, 43, 0.9);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 750;
}

.media-zoom-label svg {
  width: 16px;
  height: 16px;
}

.installation-visual figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.installation-copy > p:not(.section-kicker) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.check-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
}

.check-list svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  border-radius: 50%;
  padding: 3px;
  background: #dff4e8;
  color: var(--green);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--navy);
}

.gallery-item__trigger {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  color: #ffffff;
  cursor: zoom-in;
  text-align: left;
}

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

.gallery-item__trigger img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 320ms ease;
}

.gallery-item:hover img,
.gallery-item__trigger:focus-visible img {
  transform: scale(1.025);
}

.gallery-item__caption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  border-radius: 4px;
  padding: 10px 12px;
  background: rgba(4, 14, 43, 0.86);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 750;
}

.gallery-item__zoom,
.recognition-item__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  box-shadow: 0 5px 18px rgba(4, 14, 43, 0.24);
}

.gallery-item__zoom svg,
.recognition-item__zoom svg {
  width: 17px;
  height: 17px;
}

.gallery-placeholder {
  display: grid;
  min-height: 270px;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px dashed #aab7c2;
  border-radius: 8px;
  padding: 28px;
  background: var(--surface);
  text-align: center;
}

.gallery-placeholder svg {
  width: 38px;
  height: 38px;
  color: var(--teal);
}

.gallery-placeholder strong {
  font-size: 1.08rem;
}

.gallery-placeholder span {
  color: var(--muted);
  font-size: 0.86rem;
}

.media-section {
  border-top: 1px solid var(--line);
}

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

.media-column {
  min-width: 0;
  padding-top: 24px;
  border-top: 4px solid var(--orange);
}

.media-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.media-heading > svg {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--teal);
}

.media-heading .section-kicker {
  margin-bottom: 5px;
}

.media-heading .section-kicker::before {
  display: none;
}

.media-heading h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.media-empty {
  display: flex;
  min-height: 180px;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  border-block: 1px solid var(--line);
  padding: 28px 4px;
}

.media-empty svg {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  color: var(--muted);
}

.media-empty p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
}

.video-grid,
.recognition-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.video-item {
  overflow: hidden;
  border-radius: 8px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.video-item iframe,
.video-item video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-item video {
  object-fit: contain;
}

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

.recognition-item {
  margin: 0;
}

.recognition-item__trigger {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  cursor: zoom-in;
}

.recognition-item__trigger:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.recognition-item__trigger img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
}

.recognition-item figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.media-lightbox {
  width: min(1180px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  border: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  color: var(--ink);
}

.media-lightbox::backdrop {
  background: rgba(3, 9, 26, 0.86);
  backdrop-filter: blur(8px);
}

.media-lightbox__shell {
  display: grid;
  max-height: calc(100dvh - 32px);
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.media-lightbox__header,
.media-lightbox__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  background: var(--surface);
}

.media-lightbox__header > div {
  display: grid;
  gap: 1px;
}

.media-lightbox__header span {
  color: var(--orange-text);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.media-lightbox__header strong {
  font-size: 1rem;
}

.media-lightbox__close {
  flex: 0 0 auto;
}

.media-lightbox__stage {
  position: relative;
  display: grid;
  min-height: 340px;
  align-items: center;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  background: #05070d;
}

.media-lightbox__stage figure {
  display: grid;
  min-width: 0;
  min-height: 0;
  align-items: center;
  margin: 0;
}

.media-lightbox__stage img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 188px);
  object-fit: contain;
  opacity: 0;
  transition: opacity 160ms ease;
}

.media-lightbox__stage img.is-ready {
  opacity: 1;
}

.media-lightbox__stage figcaption {
  position: absolute;
  right: 78px;
  bottom: 14px;
  left: 78px;
  border-radius: 4px;
  padding: 9px 12px;
  background: rgba(3, 9, 26, 0.82);
  color: #ffffff;
  font-size: 0.88rem;
  text-align: center;
}

.media-lightbox__nav {
  position: relative;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-self: center;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  padding: 0;
  background: rgba(3, 9, 26, 0.72);
  color: #ffffff;
  cursor: pointer;
}

.media-lightbox__nav:hover,
.media-lightbox__nav:focus-visible {
  border-color: var(--orange);
  background: var(--orange);
}

.media-lightbox__nav svg {
  width: 22px;
  height: 22px;
}

.media-lightbox__footer {
  color: var(--muted);
  font-size: 0.78rem;
}

.media-lightbox__footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

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

.reviews-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: 64px;
}

.reviews-copy > p:not(.section-kicker) {
  max-width: 670px;
  margin: 20px 0 0;
  color: var(--muted);
}

.google-rating {
  display: grid;
  min-height: 330px;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(242, 103, 34, 0.3);
  border-radius: 8px;
  padding: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.google-rating > img {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
}

.google-rating > strong {
  font-size: 4rem;
  line-height: 1;
}

.google-rating > strong.rating-pending {
  font-size: 1.8rem;
}

.rating-stars {
  position: relative;
  display: inline-block;
  margin-top: 10px;
  color: #b9c0ca;
  font-size: 1.35rem;
  line-height: 1;
}

.rating-stars::before {
  position: absolute;
  width: var(--rating-width, 0%);
  overflow: hidden;
  color: #e86a16;
  content: "★★★★★";
  inset: 0 auto 0 0;
  white-space: nowrap;
}

.google-rating p {
  margin: 14px 0 0;
  color: var(--muted);
}

.google-rating small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.76rem;
}

.google-rating--embed {
  min-height: 0;
  align-content: start;
  justify-items: stretch;
  padding: 22px;
}

.google-rating--embed > img {
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
}

.rating-live-status {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 8px;
  border: 1px solid rgba(6, 123, 115, 0.28);
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--surface-soft);
  color: var(--teal-strong);
  font-size: 0.76rem;
  font-weight: 800;
}

.rating-live-status > span {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
}

.rating-live-status > span::after {
  position: absolute;
  border: 1px solid var(--green);
  border-radius: 50%;
  content: "";
  inset: -4px;
  animation: assul-pulse 2.2s ease-out infinite;
}

.google-rating > strong.rating-live-title {
  margin-top: 13px;
  font-size: 1.55rem;
  text-align: center;
}

.rating-live-map {
  width: 100%;
  height: 340px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #e8f1ef;
}

.rating-live-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.google-rating--embed p,
.google-rating--embed small {
  text-align: center;
}

.location-layout {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
}

.location-copy {
  align-self: center;
}

.location-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--teal);
}

.location-icon svg {
  width: 28px;
  height: 28px;
}

.location-copy > p:not(.section-kicker) {
  margin: 20px 0 28px;
  color: var(--muted);
}

.map-frame {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.map-placeholder {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  align-content: center;
  overflow: hidden;
  background-color: #e8f1ef;
  color: var(--navy);
  text-align: center;
  isolation: isolate;
}

.map-placeholder::before,
.map-placeholder::after {
  position: absolute;
  z-index: -1;
  background: #cbdedb;
  content: "";
}

.map-placeholder::before {
  width: 1px;
  height: 140%;
  left: 34%;
  top: -20%;
  transform: rotate(28deg);
}

.map-placeholder::after {
  width: 140%;
  height: 1px;
  top: 62%;
  left: -20%;
  transform: rotate(-14deg);
}

.map-placeholder > svg {
  width: 62px;
  height: 62px;
  padding: 14px;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(170, 58, 7, 0.25);
}

.map-placeholder strong {
  margin-top: 14px;
  font-size: 1.35rem;
}

.map-placeholder > span:last-child {
  color: #51636b;
  font-size: 0.88rem;
}

.map-route {
  position: absolute;
  z-index: -1;
  display: block;
  border: 4px solid rgba(6, 123, 115, 0.24);
  border-radius: 50%;
}

.map-route--one {
  width: 360px;
  height: 170px;
  top: 20px;
  right: -120px;
  transform: rotate(18deg);
}

.map-route--two {
  width: 300px;
  height: 240px;
  bottom: -120px;
  left: -70px;
  transform: rotate(-24deg);
}

.social-band {
  padding: 58px 0;
  background: var(--navy);
  color: #ffffff;
}

.social-band .section-kicker {
  color: #ff9b69;
}

.social-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
}

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

.social-item {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

a.social-item:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.social-item > img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  padding: 7px;
  background: #ffffff;
  object-fit: contain;
}

.social-item > span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.88rem;
  font-weight: 800;
}

.social-item small {
  display: block;
  color: #b9c6dc;
  font-size: 0.7rem;
  font-weight: 600;
}

.social-item--pending {
  opacity: 0.72;
}

@media (min-width: 981px) and (max-width: 1180px) {
  .reviews-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .google-rating {
    width: 100%;
  }

  .social-layout {
    grid-template-columns: minmax(270px, 0.82fr) minmax(0, 1.18fr);
    gap: 34px;
  }

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

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

.contact-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
  gap: 64px;
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 34px);
}

.contact-copy > p:not(.section-kicker) {
  margin: 20px 0 28px;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 24px;
  border-left: 3px solid var(--teal);
  padding: 13px 15px;
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-note svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--teal);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  background: var(--surface-alt);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

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

.field label {
  font-size: 0.83rem;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--teal);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(6, 123, 115, 0.15);
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.form-submit,
.form-status,
.form-privacy {
  grid-column: 1 / -1;
}

.form-submit {
  width: fit-content;
  margin-top: 4px;
}

.form-status {
  margin: 0;
  border-left: 4px solid var(--green);
  padding: 12px 14px;
  background: #e5f5eb;
  color: #174d30;
}

.form-status--error {
  border-left-color: #b42318;
  background: #fdecea;
  color: #7a271a;
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.form-privacy svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--teal);
}

.form-privacy a {
  text-decoration: underline;
}

.site-footer {
  padding: 68px 0 24px;
  background: var(--navy-deep);
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 54px;
}

.footer-brand img {
  width: 200px;
  max-height: 64px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 430px;
  margin: 20px 0 0;
  color: #b8c4d8;
}

.footer-title {
  margin: 0 0 16px;
  color: #ff9b69;
  font-size: 0.79rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-links button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #d7dfec;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  color: #9eacc2;
  font-size: 0.78rem;
}

.floating-contact {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 28px;
  padding: 6px 7px 6px 16px;
  background: #ffffff;
  color: #13492e;
  box-shadow: 0 14px 38px rgba(3, 38, 23, 0.28);
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-contact:hover {
  box-shadow: 0 18px 48px rgba(3, 38, 23, 0.36);
  transform: translateY(-3px);
}

.floating-contact__icon {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #e8f9ef;
}

.floating-contact__icon::before {
  position: absolute;
  border: 2px solid #25d366;
  border-radius: 50%;
  content: "";
  inset: -5px;
  animation: assul-pulse 2.2s ease-out infinite;
}

.floating-contact img {
  width: 28px;
  height: 28px;
}

.floating-contact svg {
  width: 25px;
  height: 25px;
}

.floating-contact--generic {
  color: var(--navy);
  box-shadow: 0 14px 38px rgba(11, 27, 77, 0.24);
}

.floating-contact--generic .floating-contact__icon {
  background: #edf2ff;
  color: var(--navy);
}

.floating-contact--generic .floating-contact__icon::before {
  border-color: var(--orange);
}

@keyframes assul-pulse {
  0% {
    opacity: 0.72;
    transform: scale(0.86);
  }

  72%,
  100% {
    opacity: 0;
    transform: scale(1.32);
  }
}

.assistant-dialog {
  width: min(620px, calc(100% - 28px));
  max-height: min(760px, calc(100svh - 28px));
  overflow: visible;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.assistant-dialog::backdrop {
  background: rgba(3, 9, 24, 0.72);
  backdrop-filter: blur(5px);
}

.assistant-shell {
  display: flex;
  max-height: min(760px, calc(100svh - 28px));
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
}

.assistant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: var(--navy);
  color: #ffffff;
}

.assistant-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.assistant-logo {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
}

.assistant-logo img {
  width: 27px;
  height: 27px;
}

.assistant-logo svg {
  width: 25px;
  height: 25px;
  color: var(--navy);
}

.assistant-brand strong,
.assistant-brand span {
  display: block;
}

.assistant-brand strong {
  font-size: 1rem;
}

.assistant-brand > div > span {
  color: #cbd6e7;
  font-size: 0.78rem;
}

.assistant-close {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.assistant-form {
  overflow-y: auto;
  padding: 24px;
}

.assistant-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--surface-soft);
}

.assistant-progress span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--green);
  transition: width 220ms ease;
}

.assistant-step-label {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: right;
}

.assistant-step {
  margin-top: 14px;
}

.assistant-step h2 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.15;
}

.assistant-step > p {
  margin: 8px 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.assistant-step .field + .field {
  margin-top: 15px;
}

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

.assistant-fields .field + .field {
  margin-top: 0;
}

.assistant-summary {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  border-block: 1px solid var(--line);
  padding: 14px 0;
}

.assistant-summary > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
}

.assistant-summary span {
  color: var(--muted);
  font-size: 0.8rem;
}

.assistant-summary strong {
  overflow-wrap: anywhere;
  font-size: 0.84rem;
}

.assistant-step .assistant-privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.assistant-privacy svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--teal);
}

.assistant-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.assistant-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.entry-shell {
  min-height: 60vh;
  padding: 80px 0;
}

.entry-shell h1 {
  margin: 0;
  font-size: 3rem;
}

.entry-content {
  margin-top: 28px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 460ms ease, transform 460ms ease;
}

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

@media (max-width: 1160px) {
  .header-inner {
    grid-template-columns: 174px 1fr auto;
    gap: 14px;
  }

  .primary-nav ul {
    gap: 16px;
  }

  .primary-nav a {
    font-size: 0.84rem;
  }

  .header-cta {
    font-size: 0;
  }

  .header-cta img {
    width: 23px;
    height: 23px;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

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

  .service-card {
    min-height: 290px;
  }

  .brand-layout {
    grid-template-columns: 0.68fr 1.32fr;
    gap: 36px;
  }

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

@media (max-width: 980px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.admin-bar .primary-nav {
    top: calc(var(--header-height) + 32px);
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading {
    font-size: 2.65rem;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .site-logo {
    width: 168px;
  }

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

  .header-cta {
    display: none;
  }

  .primary-nav {
    position: fixed;
    z-index: 1001;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    border-left: 1px solid var(--line);
    padding: 34px 24px;
    background: var(--surface);
    box-shadow: -20px 0 50px rgba(3, 11, 31, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 180ms ease, transform 220ms ease, visibility 220ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .primary-nav ul {
    display: grid;
    align-content: start;
    justify-content: stretch;
    gap: 4px;
  }

  .primary-nav a {
    min-height: 52px;
    border-bottom: 1px solid var(--line);
    padding: 0 4px;
    font-size: 1rem;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero {
    min-height: min(720px, max(590px, calc(100svh - 104px)));
    background-position: 57% center;
  }

  .hero::before {
    background: rgba(3, 11, 31, 0.57);
  }

  .hero-copy {
    width: min(680px, 82%);
  }

  .hero h1 {
    font-size: 3.45rem;
  }

  .trust-item {
    padding: 22px 18px;
  }

  .brand-layout,
  .installation-layout,
  .reviews-layout,
  .location-layout,
  .social-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .brand-layout,
  .installation-layout,
  .reviews-layout,
  .location-layout,
  .contact-grid {
    gap: 42px;
  }

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

  .installation-visual {
    width: min(720px, 100%);
  }

  .reviews-layout {
    align-items: start;
  }

  .google-rating {
    width: min(430px, 100%);
  }

  .media-layout {
    gap: 34px;
  }

  .social-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contact-copy {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 34px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .primary-nav {
    top: calc(var(--header-height) + 46px);
  }
}

@media (max-width: 760px) {
  .section {
    padding: 66px 0;
  }

  .section-heading {
    font-size: 2.25rem;
  }

  .hero {
    min-height: calc(100svh - 88px);
    background-position: 64% center;
  }

  .hero-inner {
    align-items: flex-end;
    padding-block: 58px 44px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    max-width: 560px;
    font-size: 2.72rem;
    line-height: 1.04;
  }

  .hero-copy > p:not(.hero-eyebrow) {
    font-size: 1rem;
  }

  .hero-eyebrow {
    align-items: flex-start;
    flex-direction: column;
    font-size: 0.74rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-proof {
    display: grid;
    gap: 8px;
  }

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

  .trust-item {
    min-height: 90px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .service-grid,
  .process-grid,
  .gallery-grid,
  .media-layout {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 270px;
  }

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

  .brand-item {
    min-height: 104px;
  }

  .process-step {
    min-height: 245px;
  }

  .installation-visual::before {
    top: -12px;
    left: -12px;
  }

  .media-layout {
    gap: 48px;
  }

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

  .contact-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .field--full,
  .form-submit,
  .form-status,
  .form-privacy {
    grid-column: auto;
  }

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

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-contact__label {
    display: none;
  }

  .floating-contact {
    right: 16px;
    bottom: 16px;
    padding: 6px;
  }

  .floating-contact__icon {
    width: 52px;
    height: 52px;
  }

  .media-lightbox {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
  }

  .media-lightbox__shell {
    max-height: calc(100dvh - 16px);
  }

  .media-lightbox__stage {
    min-height: 280px;
    grid-template-columns: minmax(0, 1fr);
  }

  .media-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .media-lightbox__nav--previous {
    left: 8px;
  }

  .media-lightbox__nav--next {
    right: 8px;
  }

  .media-lightbox__stage figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .media-lightbox__footer span:last-child {
    display: none;
  }

  .assistant-dialog {
    width: calc(100% - 16px);
    max-height: calc(100svh - 16px);
  }

  .assistant-shell {
    max-height: calc(100svh - 16px);
  }

  .assistant-form {
    padding: 20px;
  }
}

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

  .site-logo {
    width: 146px;
  }

  .header-actions {
    gap: 6px;
  }

  .icon-button {
    width: 42px;
    height: 42px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .section-heading {
    font-size: 2rem;
  }

  .brand-copy h2,
  .social-layout h2 {
    font-size: 1.72rem;
  }

  .brand-item {
    min-height: 94px;
    padding: 12px;
  }

  .recognition-grid,
  .social-list {
    grid-template-columns: 1fr;
  }

  .map-frame,
  .map-placeholder,
  .map-frame iframe {
    min-height: 360px;
  }

  .assistant-fields,
  .assistant-summary > div {
    grid-template-columns: 1fr;
  }

  .assistant-summary > div {
    gap: 1px;
  }

  .assistant-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

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

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