:root {
  --ice: #fafdff;
  --sky: #cddfed;
  --denim: #6699ff;
  --blue: #1a2f42;
  --blue-2: #102231;
  --ink: #0c1b28;
  --line: rgba(26, 47, 66, 0.14);
  --shadow: 0 24px 70px rgba(26, 47, 66, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(205, 223, 237, 0.5), transparent 32rem),
    var(--ice);
  color: var(--blue);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.has-lightbox {
  overflow: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: #0d1d2b;
}

h1,
h2,
h3 {
  font-family: "IBM Plex Sans", Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.9rem);
  max-width: 980px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3.1rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 64px);
  background: rgba(250, 253, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand img {
  display: block;
  width: 174px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 600;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after,
.nav-category::after {
  content: "";
  position: absolute;
  display: block;
}

.nav-dropdown::after {
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-category::after {
  top: 0;
  left: 100%;
  width: 10px;
  height: 100%;
}

.nav-dropdown-trigger,
.nav-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.nav-chevron {
  font-size: 0.9rem;
  line-height: 1;
}

.nav-menu,
.nav-submenu {
  position: absolute;
  top: calc(100% + 12px);
  z-index: 30;
  display: none;
  width: min(320px, calc(100vw - 40px));
  padding: 10px;
  background: var(--blue);
  border: 1px solid rgba(250, 253, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 22px 48px rgba(12, 27, 40, 0.22);
}

.nav-menu {
  left: 50%;
  transform: translateX(-50%);
}

.nav-dropdown:hover > .nav-menu,
.nav-dropdown:focus-within > .nav-menu,
.nav-dropdown.is-open > .nav-menu,
.nav-category:hover > .nav-submenu,
.nav-category:focus-within > .nav-submenu,
.nav-category.is-open > .nav-submenu {
  display: block;
}

.nav-category {
  position: relative;
}

.nav-menu a,
.nav-submenu a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  color: var(--ice);
  border-radius: 6px;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: break-word;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  color: var(--ice);
  background: rgba(250, 253, 255, 0.12);
  outline: 0;
}

.nav-submenu {
  top: 0;
  right: calc(100% + 10px);
  transform: none;
}

.nav-category::after {
  left: auto;
  right: 100%;
}

.nav-cta {
  padding: 11px 17px;
  color: var(--ice);
  background: var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(26, 47, 66, 0.2);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--ice);
  color: var(--blue);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-weight: 700;
}

.flash {
  margin: 20px auto;
  max-width: 1180px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--denim);
  background: #fff;
  border-radius: var(--radius);
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.9fr);
  align-items: start;
  gap: clamp(26px, 3vw, 52px);
  padding: clamp(46px, 6vw, 76px) clamp(20px, 4vw, 64px) clamp(38px, 5vw, 64px);
  color: var(--ice);
  background:
    linear-gradient(115deg, rgba(12, 27, 40, 0.98), rgba(26, 47, 66, 0.95) 48%, rgba(26, 47, 66, 0.86)),
    repeating-linear-gradient(135deg, rgba(250, 253, 255, 0.07) 0 1px, transparent 1px 18px);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -38% 42%;
  height: 70%;
  background: radial-gradient(circle, rgba(102, 153, 255, 0.28), transparent 62%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero h1 {
  max-width: 760px;
  color: var(--ice);
}

.hero-copy p {
  color: rgba(250, 253, 255, 0.82);
}

.hero-copy p,
.page-hero p,
.lead {
  max-width: 760px;
  font-size: 1.18rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--denim);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.eyebrow-strong {
  color: var(--ink);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--ice);
  background: var(--blue);
  box-shadow: 0 18px 34px rgba(12, 27, 40, 0.22);
}

.button.secondary {
  color: var(--blue);
  background: var(--denim);
  box-shadow: 0 18px 34px rgba(102, 153, 255, 0.22);
}

.button.light {
  color: var(--blue);
  background: var(--ice);
}

.button.small {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 0.86rem;
}

.hero-panel {
  min-height: 470px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: end;
  padding: 28px;
  color: var(--ice);
  background: var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(250, 253, 255, 0.08) 0 2px, transparent 2px 18px);
}

.hero-panel img {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 150px;
  opacity: 0.9;
}

.hero-panel span {
  position: relative;
  padding: 16px;
  background: rgba(250, 253, 255, 0.08);
  border: 1px solid rgba(250, 253, 255, 0.16);
  border-radius: var(--radius);
  font-weight: 700;
}

.hero-media {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: clamp(260px, 28vw, 390px);
  align-self: center;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  background: var(--blue);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 47, 66, 0.08), rgba(12, 27, 40, 0.42)),
    repeating-linear-gradient(135deg, rgba(250, 253, 255, 0.04) 0 1px, transparent 1px 16px);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 28vw, 390px);
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
}

.hero-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  gap: 6px;
  max-width: 320px;
  padding: 18px;
  color: var(--ice);
  background: rgba(12, 27, 40, 0.74);
  border: 1px solid rgba(250, 253, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.hero-card span {
  color: rgba(250, 253, 255, 0.78);
  font-size: 0.93rem;
}

.hero-carousel {
  grid-column: 1 / -1;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: clamp(8px, 1vw, 18px);
}

.hero-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: rgba(250, 253, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carousel-controls {
  display: inline-flex;
  gap: 8px;
}

.carousel-controls button {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(250, 253, 255, 0.2);
  border-radius: 999px;
  color: var(--ice);
  background: rgba(250, 253, 255, 0.08);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.carousel-controls button:hover {
  transform: translateY(-1px);
  border-color: rgba(102, 153, 255, 0.8);
  background: rgba(102, 153, 255, 0.22);
}

.hero-carousel-track {
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, calc((100% - 48px) / 4));
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 2px 2px 14px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(102, 153, 255, 0.75) rgba(250, 253, 255, 0.08);
  cursor: grab;
  user-select: none;
}

.hero-carousel-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.hero-carousel-track::-webkit-scrollbar {
  height: 8px;
}

.hero-carousel-track::-webkit-scrollbar-track {
  background: rgba(250, 253, 255, 0.08);
  border-radius: 999px;
}

.hero-carousel-track::-webkit-scrollbar-thumb {
  background: rgba(102, 153, 255, 0.75);
  border-radius: 999px;
}

.metric-card {
  min-height: 170px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(250, 253, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(250, 253, 255, 0.13), rgba(250, 253, 255, 0.045)),
    rgba(12, 27, 40, 0.25);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  scroll-snap-align: start;
}

.metric-card span {
  color: var(--denim);
  font-size: 0.76rem;
  font-weight: 800;
}

.metric-card strong {
  color: var(--ice);
  font-size: 1.2rem;
  line-height: 1.1;
}

.metric-card p {
  margin: 0;
  color: rgba(250, 253, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.section,
.page-hero,
.article {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 92px) 20px;
}

.section {
  position: relative;
}

.section::before {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 22px;
  background: var(--denim);
}

.page-hero {
  padding-bottom: 40px;
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

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

.card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(26, 47, 66, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--denim);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 153, 255, 0.42);
  box-shadow: var(--shadow);
}

.compact .card {
  min-height: 220px;
}

.card p {
  color: rgba(26, 47, 66, 0.78);
}

.service-card {
  gap: 18px;
}

.service-groups {
  display: grid;
  gap: clamp(34px, 5vw, 58px);
}

.service-group {
  display: grid;
  gap: 20px;
}

.service-group-head {
  max-width: 760px;
}

.service-group-head h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 2.6vw, 2.5rem);
}

.service-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.service-card-head h2,
.service-card-head h3 {
  margin: 0;
}

.service-card-head h2 {
  font-size: 1.35rem;
}

.service-card p {
  margin-bottom: 0;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.service-tags span {
  padding: 6px 10px;
  color: var(--blue);
  background: rgba(205, 223, 237, 0.72);
  border: 1px solid rgba(26, 47, 66, 0.08);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.card a,
.row-link strong,
.back-link {
  font-weight: 700;
}

.card-image,
.article-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--sky);
}

.card-image {
  margin: 2px 0 0;
  box-shadow: 0 12px 28px rgba(26, 47, 66, 0.1);
}

.article-image {
  margin-bottom: 18px;
}

.icon-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  color: var(--blue);
  background: linear-gradient(135deg, var(--sky), rgba(102, 153, 255, 0.32));
  border: 1px solid rgba(102, 153, 255, 0.24);
  border-radius: 999px;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-weight: 800;
}

.icon-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: auto;
  margin-inline: auto;
  padding: 11px 16px;
  color: var(--blue);
  background: var(--denim);
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(102, 153, 255, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.card-button:hover {
  color: var(--blue);
  background: #7aa7ff;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(102, 153, 255, 0.28);
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  padding: clamp(54px, 8vw, 90px) clamp(20px, 4vw, 64px);
  color: var(--ice);
  background:
    linear-gradient(120deg, var(--blue), var(--ink)),
    repeating-linear-gradient(135deg, rgba(250, 253, 255, 0.08) 0 1px, transparent 1px 18px);
  position: relative;
  overflow: hidden;
}

.band::after {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(102, 153, 255, 0.22), transparent 65%);
}

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

.steps li {
  padding: 18px;
  border: 1px solid rgba(250, 253, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(250, 253, 255, 0.06);
  position: relative;
  z-index: 1;
}

.steps span {
  display: block;
  color: rgba(250, 253, 255, 0.78);
}

.trust-section {
  overflow: hidden;
}

.auto-carousel {
  width: 100%;
  overflow: hidden;
  margin-top: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.auto-carousel + .auto-carousel {
  margin-top: 22px;
}

.auto-carousel-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: autoCarousel 34s linear infinite;
}

.auto-carousel-track.reverse {
  animation-name: autoCarouselReverse;
  animation-duration: 42s;
}

.auto-carousel:hover .auto-carousel-track {
  animation-play-state: paused;
}

.client-logo-card {
  width: 210px;
  height: 104px;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(26, 47, 66, 0.06);
}

.client-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.client-logo-card strong {
  text-align: center;
  font-size: 1rem;
}

.testimonial-card {
  width: min(360px, 82vw);
  min-height: 170px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 22px;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(26, 47, 66, 0.08);
}

.testimonial-card p {
  margin: 0;
  color: rgba(26, 47, 66, 0.78);
}

.testimonial-card p::before {
  content: "“";
}

.testimonial-card p::after {
  content: "”";
}

.testimonial-card strong {
  display: block;
}

.testimonial-card span {
  display: block;
  color: rgba(26, 47, 66, 0.62);
  font-size: 0.9rem;
}

@keyframes autoCarousel {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@keyframes autoCarouselReverse {
  from {
    transform: translateX(calc(-50% - 9px));
  }
  to {
    transform: translateX(0);
  }
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
}

.stack {
  display: grid;
  gap: 12px;
}

.row-link {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(26, 47, 66, 0.06);
}

.row-link:hover {
  border-color: rgba(102, 153, 255, 0.46);
  transform: translateX(3px);
}

.cta-section {
  margin: 0;
  padding: clamp(56px, 7vw, 90px) 20px;
  text-align: center;
  color: var(--ice);
  background:
    linear-gradient(120deg, rgba(26, 47, 66, 0.96), rgba(12, 27, 40, 0.98)),
    repeating-linear-gradient(135deg, rgba(250, 253, 255, 0.08) 0 1px, transparent 1px 18px);
}

.cta-section p {
  margin-inline: auto;
  max-width: 680px;
}

.article {
  max-width: 900px;
}

.article .meta {
  color: rgba(26, 47, 66, 0.64);
}

.rich-text {
  font-size: 1.05rem;
}

.rich-text h2,
.rich-text h3 {
  margin-top: 34px;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding: 22px;
  background: var(--sky);
  border-radius: var(--radius);
}

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

.case-grid section {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.case-gallery {
  margin: 28px 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(26, 47, 66, 0.08);
}

.case-gallery h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

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

.case-gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  cursor: zoom-in;
  overflow: hidden;
}

.case-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, filter 180ms ease;
}

.case-gallery-item:hover img {
  filter: brightness(0.96);
  transform: scale(1.025);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(12, 27, 40, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  color: var(--ice);
  background: rgba(250, 253, 255, 0.12);
  border: 1px solid rgba(250, 253, 255, 0.28);
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  width: 52px;
  height: 52px;
  color: var(--ice);
  background: rgba(250, 253, 255, 0.12);
  border: 1px solid rgba(250, 253, 255, 0.28);
  border-radius: 999px;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox-nav:hover,
.lightbox-close:hover {
  background: rgba(250, 253, 255, 0.22);
}

.lightbox-nav.prev {
  left: 22px;
}

.lightbox-nav.next {
  right: 22px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(380px, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  padding-top: clamp(24px, 4vw, 42px);
}

.contact-layout::before {
  display: none;
}

.form {
  display: grid;
  gap: 16px;
}

.form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid rgba(26, 47, 66, 0.24);
  border-radius: var(--radius);
  background: #fff;
  color: var(--blue);
  font: inherit;
}

textarea {
  resize: vertical;
}

input[type="checkbox"] {
  width: auto;
  min-height: auto;
  padding: 0;
}

input:focus,
textarea:focus,
select:focus,
button:focus,
a:focus {
  outline: 3px solid rgba(102, 153, 255, 0.45);
  outline-offset: 2px;
}

.contact-card {
  display: grid;
  gap: 18px;
  align-self: start;
  padding: clamp(26px, 4vw, 38px);
  color: var(--ice);
  background:
    linear-gradient(145deg, rgba(26, 47, 66, 0.98), rgba(12, 27, 40, 0.98)),
    repeating-linear-gradient(135deg, rgba(250, 253, 255, 0.08) 0 1px, transparent 1px 18px);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(26, 47, 66, 0.18);
  overflow: hidden;
}

.contact-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -90px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(102, 153, 255, 0.26), transparent 68%);
  pointer-events: none;
}

.contact-card .eyebrow {
  color: var(--denim);
}

.contact-card h2,
.contact-card p,
.contact-card ul,
.contact-card a {
  position: relative;
  z-index: 1;
}

.contact-card h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
}

.contact-card p {
  margin: 0;
  color: rgba(250, 253, 255, 0.82);
}

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

.contact-points li {
  padding: 13px 14px;
  background: rgba(250, 253, 255, 0.08);
  border: 1px solid rgba(250, 253, 255, 0.14);
  border-radius: var(--radius);
}

.contact-note {
  font-size: 0.95rem;
}

.site-footer {
  color: var(--ice);
  background: var(--blue-2);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(46px, 6vw, 76px) 20px 28px;
}

.site-footer a {
  color: var(--ice);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.1fr) minmax(260px, 0.9fr);
  align-items: center;
  gap: clamp(26px, 5vw, 64px);
}

.footer-brand {
  display: grid;
  justify-items: center;
  text-align: center;
}

.footer-brand img {
  width: min(260px, 80%);
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 320px;
  color: rgba(250, 253, 255, 0.74);
  font-size: 0.95rem;
}

.footer-location {
  display: grid;
  gap: 14px;
  text-align: center;
}

.footer-map {
  overflow: hidden;
  min-height: 210px;
  border: 1px solid rgba(250, 253, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 230px;
  border: 0;
}

.footer-location address {
  color: var(--ice);
  font-style: normal;
  font-weight: 700;
}

.footer-contact {
  display: grid;
  gap: 13px;
  align-content: center;
  justify-items: start;
  font-weight: 700;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 4px 0;
}

.footer-contact-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: var(--blue);
  background: var(--sky);
  border-radius: 999px;
}

.footer-contact-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 42px;
  padding: 20px 0;
  border-top: 1px solid rgba(250, 253, 255, 0.18);
  border-bottom: 1px solid rgba(250, 253, 255, 0.18);
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 18px;
  color: rgba(250, 253, 255, 0.82);
  font-weight: 600;
}

.admin-body {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}

.login-body {
  grid-template-columns: 1fr;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px;
  background: var(--blue);
}

.admin-sidebar img {
  width: 170px;
  margin-bottom: 22px;
}

.admin-sidebar a {
  color: var(--ice);
  padding: 10px 12px;
  border-radius: var(--radius);
}

.admin-sidebar a:hover {
  background: rgba(250, 253, 255, 0.1);
}

.admin-main {
  padding: 30px;
}

.login-body .admin-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-panel {
  width: min(460px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 42px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login-panel img {
  width: min(210px, 78%);
  margin-bottom: 24px;
}

.login-panel h1 {
  max-width: 360px;
  font-size: clamp(2.3rem, 8vw, 4.2rem);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat,
.admin-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat strong {
  display: block;
  font-size: 2rem;
  font-family: "IBM Plex Sans", Arial, sans-serif;
}

.admin-muted {
  color: rgba(26, 47, 66, 0.68);
  font-size: 0.92rem;
}

.field-note {
  color: rgba(26, 47, 66, 0.68);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.45;
}

.checkbox-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
}

.admin-image-preview {
  width: min(320px, 100%);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.admin-gallery-preview img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.gallery-upload-list {
  display: grid;
  gap: 8px;
  padding: 12px;
  color: rgba(26, 47, 66, 0.74);
  background: rgba(205, 223, 237, 0.28);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.gallery-upload-list:empty {
  display: none;
}

.gallery-upload-list ul {
  margin: 0;
  padding-left: 18px;
}

.gallery-upload-list li {
  overflow-wrap: anywhere;
}

.admin-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--sky);
}

.leads-table td,
.leads-table th {
  padding: 9px 12px;
  vertical-align: middle;
}

.lead-row-pending td {
  background: rgba(210, 54, 54, 0.1);
}

.lead-row-contacted td {
  background: rgba(52, 168, 83, 0.12);
}

.lead-row-pending td:first-child {
  box-shadow: inset 5px 0 0 rgba(210, 54, 54, 0.78);
}

.lead-row-contacted td:first-child {
  box-shadow: inset 5px 0 0 rgba(52, 168, 83, 0.78);
}

.lead-detail-row,
.lead-detail-row td {
  padding: 0;
  border: 0;
  background: transparent !important;
}

.lead-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(250, 253, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.lead-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 27, 40, 0.58);
}

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

.lead-modal-panel {
  width: min(900px, 96vw);
  max-height: 90vh;
  overflow: auto;
  display: grid;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.lead-detail-grid section {
  padding: 16px;
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lead-detail-grid h3 {
  font-size: 1.15rem;
}

.lead-detail-grid p {
  margin: 0 0 8px;
}

.actions-cell {
  display: flex;
  gap: 10px;
  align-items: center;
}

.actions-cell form {
  margin: 0;
}

.actions-cell button {
  border: 0;
  background: transparent;
  color: #8a1c1c;
  cursor: pointer;
}

.lead-followup-cell {
  min-width: 280px;
}

.lead-followup-form {
  display: grid;
  gap: 10px;
}

.lead-followup-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.lead-followup-form textarea {
  min-height: 86px;
}

.lead-action-form {
  margin: 0;
}

.check-row {
  display: inline-flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 8px !important;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.media-grid figure {
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--sky);
}

.media-grid figcaption {
  overflow-wrap: anywhere;
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-menu,
  .nav-submenu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    padding: 8px;
    box-shadow: none;
    transform: none;
  }

  .nav-submenu {
    margin: 6px 0 10px 12px;
    background: rgba(26, 47, 66, 0.92);
  }

  .nav-dropdown:not(.is-open) > .nav-menu,
  .nav-category:not(.is-open) > .nav-submenu {
    display: none;
  }

  .nav-dropdown.is-open > .nav-menu,
  .nav-category.is-open > .nav-submenu {
    display: block;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .band,
  .split,
  .contact-layout,
  .site-footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 46px;
  }

  .hero-media,
  .hero-media img {
    min-height: 390px;
  }

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

  .footer-contact {
    justify-items: center;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

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

  .admin-body {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 150px;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-panel {
    min-height: 340px;
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-media img {
    min-height: 300px;
  }

  .hero-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }

  .hero-carousel-head {
    align-items: flex-start;
  }

  .hero-carousel-track {
    grid-auto-columns: minmax(245px, 82vw);
  }

  .grid,
  .case-grid,
  .case-gallery-mural,
  .lead-detail-grid,
  .admin-grid,
  .media-grid,
  .admin-gallery-preview,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .article-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox img {
    max-height: 78vh;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox-nav.prev {
    left: 18px;
  }

  .lightbox-nav.next {
    right: 18px;
  }

  .admin-main {
    padding: 18px;
  }
}
