:root {
  --bg: #071225;
  --bg-soft: #102347;
  --bg-deep: #06101f;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --surface-muted: rgba(255, 255, 255, 0.56);
  --text: #0b1424;
  --text-soft: #556276;
  --text-inverse: #f5f8ff;
  --accent: #74b5ff;
  --accent-soft: #dcecff;
  --accent-deep: #25508d;
  --success: #8ce1c8;
  --border: rgba(9, 19, 34, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --shadow-soft: 0 30px 80px rgba(5, 16, 35, 0.12);
  --shadow-strong: 0 50px 120px rgba(2, 8, 22, 0.32);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(116, 181, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #edf4fb 0%, #f7f9fc 38%, #f3f6fa 100%);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(116, 181, 255, 0.14), transparent 30%),
    radial-gradient(circle at 85% 8%, rgba(37, 79, 143, 0.18), transparent 24%);
  content: "";
  pointer-events: none;
  z-index: -2;
}

.page-noise {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #c7e2ff 100%);
  z-index: 40;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: 18px;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(7, 18, 37, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(4, 12, 25, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: 62px;
  height: auto;
  max-width: none;
  display: block;
}

.main-nav,
.footer-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.main-nav a,
.footer-nav a {
  position: relative;
  color: rgba(245, 248, 255, 0.8);
  font-size: 0.96rem;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text-inverse);
}

.main-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, #dcecff 100%);
  content: "";
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #f6fbff 0%, #b9dbff 100%);
  color: var(--bg);
  box-shadow: 0 18px 40px rgba(116, 181, 255, 0.28);
}

.button-secondary,
.button-ghost {
  border-color: rgba(245, 248, 255, 0.16);
  color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.06);
}

.button-ghost {
  min-height: 46px;
  padding: 0 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--accent-deep);
  font-weight: 800;
}

.text-link::after {
  content: "→";
}

.hero,
.subhero {
  position: relative;
  margin-top: -94px;
  overflow: clip;
}

.hero {
  padding: 180px 0 100px;
  background:
    radial-gradient(circle at 18% 22%, rgba(116, 181, 255, 0.22), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(174, 216, 255, 0.12), transparent 18%),
    linear-gradient(180deg, #071225 0%, #0b1b35 56%, #162844 100%);
}

.hero::after,
.subhero::after {
  position: absolute;
  inset: auto 0 -1px;
  height: 180px;
  background: linear-gradient(180deg, transparent 0%, rgba(247, 249, 252, 0.92) 82%, #edf4fb 100%);
  content: "";
  pointer-events: none;
}

.subhero {
  padding: 168px 0 84px;
  background:
    radial-gradient(circle at 15% 26%, rgba(116, 181, 255, 0.16), transparent 22%),
    radial-gradient(circle at 82% 14%, rgba(174, 216, 255, 0.12), transparent 18%),
    linear-gradient(180deg, #071225 0%, #102347 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
}

.hero-grid span {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
}

.hero-grid span:nth-child(1) {
  top: 14%;
  right: 8%;
  width: 320px;
  height: 320px;
  background: rgba(116, 181, 255, 0.16);
}

.hero-grid span:nth-child(2) {
  bottom: 26%;
  left: -6%;
  width: 240px;
  height: 240px;
  background: rgba(112, 162, 248, 0.14);
}

.hero-grid span:nth-child(3) {
  right: 22%;
  bottom: 16%;
  width: 180px;
  height: 180px;
  background: rgba(245, 248, 255, 0.08);
}

.hero-shell,
.subhero-shell,
.split-layout,
.coverage-shell,
.contact-shell,
.office-layout,
.content-grid,
.cta-block {
  position: relative;
  display: grid;
  gap: 28px;
}

.hero-shell {
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: 56px;
  align-items: center;
}

.hero-shell-single {
  grid-template-columns: minmax(0, 920px);
  justify-content: start;
}

.subhero-shell {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 40px;
  align-items: start;
}

.split-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

.coverage-shell,
.office-layout {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: start;
}

.contact-shell {
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.86fr);
  align-items: start;
}

.contact-shell-form-only {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.map-shell {
  align-items: center;
}

.content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-copy,
.hero-gallery,
.subhero-copy,
.subhero-panel {
  position: relative;
  z-index: 1;
}

.hero-copy .hero-gallery {
  margin-bottom: 30px;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(230, 239, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--accent-deep);
}

.hero h1,
.subhero h1,
.section h2,
.section h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 12ch;
  color: var(--text-inverse);
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.95;
}

.subhero h1 {
  max-width: 12ch;
  color: var(--text-inverse);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.subhero-copy p:not(.eyebrow),
.hero-text,
.section-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.contact-copy p:not(.eyebrow),
.content-card p,
.feature-link p,
.service-card p,
.detail-card p,
.office-card p,
.office-card small,
.info-stack p,
.bullet-list li,
.form-note,
.form-feedback {
  line-height: 1.8;
}

.hero-text,
.subhero-copy p:not(.eyebrow) {
  color: rgba(240, 244, 252, 0.78);
  font-size: 1.06rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-pills,
.cluster-list,
.tag-cloud,
.bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-pills li,
.cluster-list li,
.tag-cloud li {
  padding: 11px 16px;
  border-radius: 999px;
}

.hero-pills li,
.cluster-list li {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 248, 255, 0.88);
  backdrop-filter: blur(10px);
}

.hero-gallery {
  position: relative;
  z-index: 1;
}

.floating-panel,
.subhero-panel,
.metrics-shell article,
.feature-link,
.value-grid article,
.service-card,
.office-card,
.detail-card,
.content-card,
.contact-panel,
.info-stack article {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.subhero-panel,
.metrics-shell article,
.feature-link,
.value-grid article,
.service-card,
.office-card,
.detail-card,
.content-card,
.contact-panel,
.info-stack article,
.map-legend-item {
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
}

.subhero-panel:hover,
.subhero-panel:focus-within,
.metrics-shell article:hover,
.feature-link:hover,
.feature-link:focus-visible,
.value-grid article:hover,
.service-card:hover,
.office-card:hover,
.detail-card:hover,
.content-card:hover,
.contact-panel:hover,
.contact-panel:focus-within,
.info-stack article:hover,
.map-legend-item:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 79, 143, 0.18);
  box-shadow: 0 34px 94px rgba(5, 16, 35, 0.15);
}

.hero-gallery-frame {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(116, 181, 255, 0.18), transparent 34%),
    rgba(9, 22, 43, 0.78);
  box-shadow: var(--shadow-strong);
}

.hero-gallery-frame::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 16, 31, 0.04) 0%, rgba(6, 16, 31, 0.28) 42%, rgba(6, 16, 31, 0.82) 100%),
    radial-gradient(circle at top right, rgba(116, 181, 255, 0.18), transparent 28%);
  content: "";
  z-index: 1;
  pointer-events: none;
}

.hero-gallery-frame::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 37, 0.96) 0%, transparent 12%, transparent 88%, rgba(7, 18, 37, 0.96) 100%),
    linear-gradient(180deg, rgba(7, 18, 37, 0.22), transparent 18%, transparent 82%, rgba(7, 18, 37, 0.2));
  content: "";
  z-index: 1;
  pointer-events: none;
}

.hero-gallery-row {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.hero-gallery-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: galleryMarquee 34s linear infinite;
}

.hero-gallery-row.is-reverse .hero-gallery-track {
  animation-name: galleryMarqueeReverse;
  animation-duration: 38s;
}

.hero-gallery-frame:hover .hero-gallery-track {
  animation-play-state: paused;
}

.hero-gallery-card {
  position: relative;
  flex: 0 0 248px;
  height: 210px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 26px 60px rgba(2, 8, 22, 0.26);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.hero-gallery-card.is-wide {
  flex-basis: 320px;
}

.hero-gallery-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 16, 31, 0.02) 0%, rgba(6, 16, 31, 0.2) 38%, rgba(6, 16, 31, 0.76) 100%),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.18), transparent 28%);
  content: "";
  z-index: 1;
}

.hero-gallery-card:hover,
.hero-gallery-card:focus-within {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 36px 80px rgba(2, 8, 22, 0.34);
}

.hero-gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(0.9) contrast(1.04) brightness(0.84);
  transition: transform 700ms ease, filter 700ms ease;
}

.hero-gallery-card:hover img,
.hero-gallery-card:focus-within img {
  transform: scale(1.08);
  filter: saturate(1) contrast(1.06) brightness(0.92);
}

.hero-gallery-card span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  color: rgba(245, 248, 255, 0.94);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow:
    0 12px 30px rgba(2, 8, 22, 0.42),
    0 2px 8px rgba(2, 8, 22, 0.6);
}

.floating-panel {
  position: relative;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(9, 22, 43, 0.7);
  box-shadow: var(--shadow-strong);
  color: var(--text-inverse);
}

.floating-panel::before,
.subhero-panel::before,
.cta-block::before {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.16), transparent 60%);
  content: "";
  pointer-events: none;
}

.panel-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(228, 238, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-label::before {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 18px rgba(140, 225, 200, 0.64);
  content: "";
}

.floating-panel.primary {
  grid-column: 1 / span 5;
  padding: 30px;
  animation: drift 8s ease-in-out infinite;
}

.floating-panel.secondary {
  grid-column: 2 / span 5;
  padding: 26px;
  animation: drift 10s ease-in-out infinite reverse;
}

.floating-panel.tertiary {
  grid-column: 3 / span 4;
  padding: 24px;
  animation: drift 9s ease-in-out infinite;
}

.floating-panel h2,
.floating-panel p,
.signal-row,
.stat-stack,
.cluster-list {
  position: relative;
}

.floating-panel.primary h2 {
  margin-top: 18px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.04;
}

.floating-panel.primary p,
.floating-panel.secondary small {
  color: rgba(240, 244, 252, 0.74);
}

.signal-row,
.cluster-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-row {
  margin-top: 22px;
}

.stat-stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.stat-stack div,
.info-stack article {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-stack strong,
.feature-link strong,
.detail-card h3,
.office-card h3,
.content-card h3 {
  display: block;
}

.subhero-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-color: var(--border-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(9, 22, 43, 0.58);
  color: var(--text-inverse);
}

.subhero-panel .panel-label,
.subhero-panel p,
.subhero-panel li {
  position: relative;
}

.subhero-panel p {
  margin: 16px 0 0;
  color: rgba(240, 244, 252, 0.76);
}

.info-stack {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.info-stack article {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-stack span {
  display: block;
  color: rgba(240, 244, 252, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.info-stack strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

.metrics {
  position: relative;
  z-index: 2;
  margin-top: -24px;
  padding-bottom: 20px;
}

.metrics-shell,
.feature-link-grid,
.value-grid,
.service-grid,
.service-detail-grid,
.coverage-cards,
.office-grid,
.area-grid,
.tag-cloud,
.contact-list {
  display: grid;
  gap: 18px;
}

.metrics-shell {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metrics-shell article {
  padding: 24px;
}

.metrics-shell span {
  display: block;
  color: var(--text-soft);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.metrics-shell strong {
  display: block;
  margin-top: 14px;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.05em;
}

.metrics-shell p,
.feature-link p,
.value-grid p,
.service-card p,
.detail-card p,
.content-card p,
.office-card p,
.office-card small,
.contact-list strong,
.bullet-list li {
  color: var(--text-soft);
}

.section {
  padding: 92px 0;
}

.alt-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text);
}

.feature-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-link {
  display: grid;
  gap: 12px;
  padding: 26px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.feature-link:hover,
.feature-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(37, 79, 143, 0.16);
  box-shadow: 0 30px 90px rgba(5, 16, 35, 0.14);
}

.feature-link span,
.service-kicker,
.office-card span,
.contact-list span {
  display: block;
  color: var(--accent-deep);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-link strong {
  font-family: "Sora", sans-serif;
  font-size: 1.24rem;
  line-height: 1.28;
  letter-spacing: -0.04em;
}

.value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-grid article,
.service-card,
.detail-card,
.content-card,
.office-card {
  padding: 26px;
}

.value-grid strong,
.service-card h3,
.detail-card h3,
.content-card h3,
.office-card h3,
.contact-copy h2,
.panel-head strong {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.04em;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.detail-card {
  position: relative;
  overflow: hidden;
}

.service-card::before,
.detail-card::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(116, 181, 255, 0.22), transparent 34%);
  content: "";
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}

.service-card:hover::before,
.detail-card:hover::before {
  opacity: 1;
}

.service-card ul,
.detail-card ul,
.bullet-list {
  margin-top: 18px;
}

.service-card li,
.detail-card li,
.bullet-list li {
  position: relative;
  padding-left: 18px;
}

.service-card li + li,
.detail-card li + li,
.bullet-list li + li {
  margin-top: 8px;
}

.service-card li::before,
.detail-card li::before,
.bullet-list li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  content: "";
}

.bullet-list a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 180ms ease;
}

.bullet-list a:hover,
.bullet-list a:focus-visible {
  color: #173863;
}

.content-card {
  display: grid;
  gap: 12px;
}

.office-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.coverage-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.area-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.office-card h3 {
  margin: 8px 0;
  font-size: 1.56rem;
}

.office-card small {
  display: block;
  margin-top: 12px;
}

.tag-cloud {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.tag-cloud li {
  background: rgba(37, 80, 141, 0.08);
  color: var(--accent-deep);
  font-weight: 700;
  text-align: center;
}

.cta-block,
.emergency-shell {
  position: relative;
  overflow: hidden;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at left, rgba(116, 181, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #08152c 0%, #102347 100%);
  box-shadow: var(--shadow-strong);
}

.cta-block {
  grid-template-columns: minmax(0, 1fr) auto;
}

.cta-copy,
.emergency-shell div,
.emergency-shell p {
  position: relative;
  z-index: 1;
}

.cta-copy h2,
.cta-copy p,
.emergency-shell h2,
.emergency-shell p {
  color: var(--text-inverse);
}

.cta-copy p,
.emergency-shell p {
  margin: 10px 0 0;
  color: rgba(240, 244, 252, 0.78);
}

.map-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(116, 181, 255, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(9, 22, 43, 0.74);
  box-shadow: var(--shadow-strong);
}

.map-card::before {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.14), transparent 60%);
  content: "";
  pointer-events: none;
}

.office-map {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 560px;
  overflow: hidden;
  border-radius: 22px;
  background: #dceefa;
  box-shadow: 0 18px 48px rgba(2, 8, 22, 0.18);
}

.office-map-canvas {
  position: relative;
  width: min(100%, 510px);
  aspect-ratio: 640 / 700;
}

.office-map-canvas img {
  display: block;
  width: 100%;
  height: 100%;
}

.office-map-marker {
  position: absolute;
  z-index: 2;
  top: var(--marker-y);
  left: var(--marker-x);
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
}

.office-map-marker::before {
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(218, 244, 255, 0.88);
  border-radius: 50%;
  content: "";
  animation: mapPulse 2.4s ease-in-out infinite;
}

.office-map-marker::after {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #f5fbff;
  box-shadow:
    0 0 0 4px rgba(112, 191, 239, 0.5),
    0 0 18px rgba(244, 251, 255, 0.95);
  content: "";
}

.office-map-marker.is-roma::before,
.map-dot.delay-1::after {
  animation-delay: 0.8s;
}

.office-map-marker.is-cosenza::before,
.map-dot.delay-2::after {
  animation-delay: 1.6s;
}

.office-map-marker.is-catania::before,
.map-dot.delay-3::after {
  animation-delay: 2.2s;
}

.office-map-label {
  position: absolute;
  top: 50%;
  left: 26px;
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(6, 16, 31, 0.82);
  box-shadow: 0 12px 30px rgba(2, 8, 22, 0.24);
  color: #f5faff;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
  transform: translateY(-50%);
}

.office-map-marker.is-roma .office-map-label,
.office-map-marker.is-cosenza .office-map-label,
.office-map-marker.is-catania .office-map-label {
  right: 26px;
  left: auto;
}

.map-source-note {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: rgba(231, 238, 248, 0.7);
  font-size: 0.84rem;
  line-height: 1.5;
}

.map-source-note a {
  color: rgba(245, 248, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-legend {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.map-legend-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface-muted);
}

.map-legend-item strong {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.03em;
}

.map-legend-item small {
  grid-column: 2;
  color: var(--text-soft);
}

.map-dot {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 999px;
}

.map-dot::after {
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(159, 208, 255, 0.7);
  border-radius: 999px;
  content: "";
}

.map-dot.is-active {
  background: #eef7ff;
  box-shadow: 0 0 0 3px rgba(116, 181, 255, 0.24);
}

.map-dot.is-active::after {
  animation: mapPulse 2.4s ease-in-out infinite;
}

.map-dot.is-upcoming {
  border: 2px solid rgba(37, 80, 141, 0.56);
  background: transparent;
}

.map-dot.is-upcoming::after {
  display: none;
}


.contact-list div {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface-muted);
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-panel-featured {
  gap: 18px;
  padding: 32px;
  border-color: rgba(37, 79, 143, 0.14);
  box-shadow: 0 34px 94px rgba(5, 16, 35, 0.14);
}

.contact-direct {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-direct-link {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(37, 79, 143, 0.12);
  border-radius: 20px;
  background: rgba(244, 248, 255, 0.92);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.contact-direct-link:hover,
.contact-direct-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(37, 79, 143, 0.22);
  box-shadow: 0 20px 44px rgba(5, 16, 35, 0.08);
}

.contact-direct-link span {
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-direct-link strong {
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.panel-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.panel-head span {
  color: var(--accent-deep);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-panel label {
  display: grid;
  gap: 8px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.contact-panel input,
.contact-panel textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(9, 19, 34, 0.1);
  border-radius: 18px;
  background: #fbfdff;
  color: var(--text);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-panel input:focus,
.contact-panel textarea:focus {
  border-color: rgba(37, 79, 143, 0.32);
  box-shadow: 0 0 0 5px rgba(116, 181, 255, 0.14);
}

.site-footer {
  padding: 22px 0 46px;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 26px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(7, 18, 37, 0.94);
  box-shadow: 0 26px 90px rgba(2, 8, 22, 0.22);
  backdrop-filter: blur(20px);
}

.footer-brand p,
.footer-title,
.footer-nav a,
.footer-legal a {
  color: var(--text-inverse);
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-logo {
  display: block;
  width: 88px;
  height: auto;
}

.footer-brand p {
  margin: 10px 0 0;
  max-width: 36ch;
  color: rgba(245, 248, 255, 0.7);
}

.footer-contact-list {
  display: grid;
  gap: 8px;
}

.footer-contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 248, 255, 0.9);
  font-size: 0.94rem;
  font-weight: 600;
  overflow-wrap: anywhere;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease;
}

.footer-contact-list a:hover,
.footer-contact-list a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-inverse);
}

.footer-block {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 248, 255, 0.62);
}

.footer-nav,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.footer-nav a {
  color: rgba(245, 248, 255, 0.76);
}

.footer-legal a {
  color: rgba(245, 248, 255, 0.62);
  font-size: 0.94rem;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid rgba(116, 181, 255, 0.32);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(116, 181, 255, 0.18), rgba(37, 80, 141, 0.2));
  color: #dcecff;
  font-size: 0.94rem;
  font-weight: 700;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.footer-instagram:hover,
.footer-instagram:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(159, 208, 255, 0.68);
  background: rgba(116, 181, 255, 0.24);
}

.footer-instagram svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.footer-credit {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(245, 248, 255, 0.58);
  font-size: 0.92rem;
  text-align: center;
}

.footer-credit a {
  color: rgba(245, 248, 255, 0.9);
  font-weight: 700;
}

.legal-shell,
.legal-grid {
  display: grid;
  gap: 18px;
}

.legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.notice-panel,
.legal-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.notice-panel p,
.legal-card p,
.legal-card li {
  color: var(--text-soft);
}

.legal-card h2 {
  max-width: none;
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.legal-card ul {
  margin: 16px 0 0;
}

.legal-card li + li {
  margin-top: 10px;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: min(420px, calc(100vw - 32px));
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(7, 18, 37, 0.94);
  color: var(--text-inverse);
  box-shadow: 0 30px 90px rgba(2, 8, 22, 0.34);
  backdrop-filter: blur(24px);
}

.cookie-banner strong {
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.cookie-banner p {
  margin: 0;
  color: rgba(245, 248, 255, 0.74);
}

.cookie-banner a {
  color: var(--text-inverse);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner .button {
  min-height: 46px;
  padding: 0 18px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes mapPulse {
  0% {
    opacity: 0.9;
    transform: scale(0.72);
  }
  55% {
    opacity: 0.26;
    transform: scale(1.25);
  }
  100% {
    opacity: 0;
    transform: scale(1.42);
  }
}

@keyframes galleryMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(-50% - 9px), 0, 0);
  }
}

@keyframes galleryMarqueeReverse {
  0% {
    transform: translate3d(calc(-50% - 9px), 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 1100px) {
  .header-shell {
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    order: 3;
  }

  .hero-shell,
  .subhero-shell,
  .split-layout,
  .coverage-shell,
  .contact-shell,
  .office-layout,
  .content-grid,
  .cta-block {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    gap: 34px;
  }

  .hero-gallery {
    max-width: 760px;
  }

  .metrics-shell,
  .feature-link-grid,
  .service-grid,
  .service-detail-grid,
  .office-grid,
  .area-grid,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100vw - 32px, 100%);
  }

  .site-header {
    position: relative;
    padding-top: 14px;
    background: var(--bg);
  }

  .header-shell {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 12px 14px;
    border-radius: 24px;
  }

  .brand-logo {
    width: 54px;
  }

  .header-shell > .button-ghost {
    grid-column: 2;
    justify-self: end;
    min-height: 44px;
    padding: 6px 12px;
    font-size: 0.78rem;
    line-height: 1.25;
    text-align: center;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
    overflow: visible;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 6px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.82rem;
    line-height: 1.2;
    text-align: center;
  }

  .main-nav a[aria-current="page"] {
    background: rgba(116, 181, 255, 0.2);
    color: var(--text-inverse);
  }

  .main-nav a[aria-current="page"]::after {
    display: none;
  }

  .hero,
  .subhero {
    margin-top: 0;
  }

  .hero {
    padding: 56px 0 68px;
  }

  .subhero {
    padding: 56px 0 68px;
  }

  .hero h1 {
    max-width: 15ch;
    font-size: clamp(2.3rem, 9vw, 3.5rem);
    line-height: 1.02;
  }

  .subhero h1 {
    max-width: 16ch;
    font-size: clamp(2.15rem, 8vw, 3.2rem);
    line-height: 1.04;
  }

  .section h2 {
    max-width: none;
  }

  .hero-copy .hero-gallery {
    margin-bottom: 22px;
  }

  .hero-gallery-frame {
    gap: 0;
    padding: 10px;
    border-radius: 24px;
  }

  .hero-gallery-row.is-reverse {
    display: none;
  }

  .hero-gallery-track {
    gap: 14px;
  }

  .hero-gallery-card {
    flex-basis: 200px;
    height: 142px;
    border-radius: 16px;
  }

  .hero-gallery-card.is-wide {
    flex-basis: 230px;
  }

  .hero-gallery-card span {
    right: 12px;
    bottom: 12px;
    left: 12px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .metrics-shell,
  .feature-link-grid,
  .value-grid,
  .service-grid,
  .service-detail-grid,
  .coverage-cards,
  .office-grid,
  .area-grid,
  .legal-grid,
  .tag-cloud,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 74px 0;
  }

  .metrics-shell article,
  .feature-link,
  .value-grid article,
  .service-card,
  .detail-card,
  .content-card,
  .office-card,
  .contact-panel,
  .subhero-panel {
    padding: 22px;
  }

  .cta-block,
  .emergency-shell {
    padding: 28px 24px;
  }

  .office-map {
    min-height: 0;
  }

  .office-map-canvas {
    width: 100%;
  }

  .map-card {
    padding: 14px;
  }

  .office-map-label {
    min-height: 28px;
    padding: 5px 8px;
    font-size: 0.7rem;
  }

  .office-map-marker {
    width: 13px;
    height: 13px;
  }

  .office-map-marker::before {
    inset: -9px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .contact-direct {
    grid-template-columns: 1fr;
  }

  .contact-direct-link {
    min-width: 0;
  }

  .contact-direct-link strong {
    overflow-wrap: anywhere;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100dvh - 24px);
    gap: 10px;
    padding: 16px;
    overflow-y: auto;
  }

  .cookie-banner p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .cookie-banner .button {
    min-height: 44px;
  }
}

@media (max-width: 380px) {
  .header-shell {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 10px 12px;
  }

  .brand-logo {
    width: 46px;
  }

  .hero h1,
  .subhero h1 {
    overflow-wrap: break-word;
  }

  .map-card {
    padding: 10px;
  }

  .office-map-label {
    padding: 4px 6px;
    font-size: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
