:root {
  --ink: #172426;
  --ink-soft: #314346;
  --muted: #66797d;
  --paper: #ffffff;
  --surface: #f5f8f7;
  --surface-strong: #e7efed;
  --line: #dce6e4;
  --teal: #007c89;
  --teal-dark: #005f67;
  --ruby: #d94f54;
  --amber: #eea238;
  --green: #2e8b57;
  --blue: #3278b8;
  --shadow: 0 18px 44px rgba(23, 36, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

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

.top-strip {
  color: rgba(255, 255, 255, 0.88);
  background: var(--ink);
  font-size: 13px;
}

.top-strip__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-strip__links,
.top-strip__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-strip a:hover {
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.main-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: clamp(174px, 18vw, 238px);
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--ruby));
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 12px 24px rgba(0, 124, 137, 0.22);
}

.brand-text strong,
.brand-text span {
  display: block;
  line-height: 1.15;
}

.brand-text strong {
  color: var(--ink);
  font-size: 20px;
}

.brand-text span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1 1 auto;
  flex-wrap: wrap;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-links a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  padding: 7px 8px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--teal-dark);
  background: var(--surface-strong);
}

.nav-links a svg {
  width: 14px;
  height: 14px;
}

.nav-submenu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 60;
  min-width: 190px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -9px;
  height: 9px;
}

.nav-item--has-submenu:hover .nav-submenu,
.nav-item--has-submenu:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-submenu a {
  width: 100%;
  min-height: 38px;
  justify-content: flex-start;
  white-space: nowrap;
  font-size: 13px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
}

.icon-button,
.btn {
  border-radius: 8px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
}

.icon-button svg,
.btn svg,
.text-link svg,
.check-list svg,
.phone-list svg,
.package-card li svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  padding: 0 18px;
  color: #ffffff;
  background: var(--ruby);
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: #c9444a;
  box-shadow: 0 12px 28px rgba(217, 79, 84, 0.24);
}

.btn--ghost {
  color: var(--ink);
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--ghost:hover {
  color: var(--teal-dark);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(23, 36, 38, 0.14);
}

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

.btn--outline:hover {
  color: var(--teal-dark);
  background: var(--surface-strong);
  box-shadow: none;
}

.home-hero,
.page-hero {
  position: relative;
  isolation: isolate;
  color: #ffffff;
  background-position: center;
  background-size: cover;
}

.home-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
}

.page-hero {
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 72px 0;
}

.hero-copy {
  max-width: 760px;
  padding: 48px 0;
}

.hero-eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(23, 36, 38, 0.48);
}

.hero-copy h1 {
  margin: 18px 0 14px;
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: 0;
}

.page-hero h1 {
  max-width: 880px;
  margin: 18px 0 14px;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy p,
.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

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

.market-band {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.market-band__inner,
.market-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.market-band__inner {
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
}

.market-band__inner span,
.market-row span,
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--ink-soft);
  background: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.section {
  padding: 72px 0;
}

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

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head__copy {
  max-width: 760px;
}

.section h2,
.section-head h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-dark);
  font-weight: 900;
}

.service-grid,
.work-grid,
.product-grid,
.package-grid,
.value-grid,
.gallery-grid,
.address-grid,
.link-card-grid,
.feature-list,
.focus-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-grid--wide {
  grid-template-columns: repeat(3, 1fr);
}

.service-tile,
.work-card,
.product-card,
.package-card,
.value-card,
.gallery-card,
.address-card,
.link-card,
.feature-card,
.statement-card,
.focus-grid article,
.contact-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.service-tile,
.work-card,
.gallery-card {
  overflow: hidden;
}

.service-tile {
  min-height: 310px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-tile:hover,
.work-card:hover,
.product-card:hover,
.package-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 124, 137, 0.34);
  box-shadow: 0 18px 36px rgba(23, 36, 38, 0.1);
}

.service-tile__image,
.work-card__image {
  height: 154px;
  position: relative;
  overflow: hidden;
  background: var(--surface-strong);
}

.service-tile__image img,
.work-card__image img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-tile__body,
.work-card__body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.tile-icon,
.mini-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--surface-strong);
}

.tile-icon svg,
.mini-icon svg {
  width: 22px;
  height: 22px;
}

.service-tile h3,
.work-card h3,
.product-card h3,
.package-card h3,
.value-card h3,
.address-card h3,
.feature-card h2,
.statement-card h2,
.focus-grid h3,
.contact-panel h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.22;
  letter-spacing: 0;
}

.service-tile p,
.work-card p,
.product-card p,
.package-card p,
.value-card p,
.address-card p,
.feature-card p,
.statement-card p,
.focus-grid p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.stat {
  min-height: 106px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 20px;
  background: #ffffff;
}

.stat strong {
  color: var(--ruby);
  font-size: 30px;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 36px;
  align-items: center;
}

.split-image {
  min-height: 390px;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
}

.check-list,
.process-list,
.package-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.check-list li,
.package-card li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink-soft);
  font-weight: 750;
}

.check-list svg,
.package-card li svg {
  color: var(--green);
  margin-top: 3px;
}

.work-grid {
  grid-template-columns: repeat(3, 1fr);
}

.work-card {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.work-card__image span {
  position: absolute;
  left: 14px;
  top: 14px;
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  background: rgba(23, 36, 38, 0.76);
  font-size: 12px;
  font-weight: 900;
}

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

.package-card,
.product-card,
.value-card,
.address-card,
.feature-card,
.statement-card,
.focus-grid article,
.contact-panel,
.contact-form {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
}

.package-card {
  min-height: 360px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.package-card__audience {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  background: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.package-card .btn {
  align-self: end;
}

.location-layout,
.contact-layout,
.statement-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.address-grid {
  grid-template-columns: repeat(3, 1fr);
}

.location-layout .address-grid,
.contact-layout .address-grid {
  grid-template-columns: 1fr;
}

.contact-panel {
  min-height: 100%;
  background: var(--ink);
}

.contact-panel h2,
.contact-panel p,
.contact-panel .eyebrow {
  color: #ffffff;
}

.contact-panel p {
  opacity: 0.82;
}

.phone-list {
  display: grid;
  gap: 9px;
}

.phone-list a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 8px 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.phone-list--large {
  margin: 22px 0;
}

.phone-list--large a {
  color: var(--ink);
  border-color: var(--line);
  background: #ffffff;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.link-card-grid {
  grid-template-columns: repeat(4, 1fr);
}

.link-card {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 124, 137, 0.34);
  box-shadow: 0 18px 34px rgba(23, 36, 38, 0.08);
}

.link-card svg {
  width: 20px;
  height: 20px;
  color: var(--teal-dark);
}

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

.feature-card {
  min-height: 230px;
}

.process-list li {
  display: grid;
  gap: 4px;
  border-left: 3px solid var(--teal);
  padding-left: 14px;
}

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

.process-list span {
  color: var(--muted);
}

.statement-layout {
  align-items: stretch;
}

.statement-card {
  background: var(--ink);
}

.statement-card h2,
.statement-card p,
.statement-card .eyebrow {
  color: #ffffff;
}

.statement-card p {
  opacity: 0.82;
}

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

.value-grid {
  grid-template-columns: repeat(3, 1fr);
}

.value-card span {
  color: var(--ruby);
  font-size: 13px;
  font-weight: 900;
}

.product-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.gallery-card {
  margin: 0;
  min-height: 250px;
  position: relative;
  background: var(--surface-strong);
}

.gallery-card img {
  min-height: 250px;
}

.gallery-card figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border-radius: 8px;
  padding: 10px 12px;
  color: #ffffff;
  background: rgba(23, 36, 38, 0.78);
  font-weight: 900;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 124, 137, 0.13);
}

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

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

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 28px;
  padding: 54px 0 34px;
}

.footer-main h3,
.footer-main h4 {
  margin: 0 0 14px;
  color: #ffffff;
}

.footer-logo-box {
  width: min(280px, 100%);
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 16px;
  background: #ffffff;
}

.footer-logo {
  width: 100%;
  height: auto;
}

.footer-main p {
  margin: 0 0 18px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  max-width: 360px;
  border-radius: 8px;
  padding: 14px 16px;
  color: #ffffff;
  background: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

@media (max-width: 1120px) {
  .service-grid,
  .service-grid--wide,
  .work-grid,
  .product-grid,
  .value-grid,
  .gallery-grid,
  .address-grid,
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 980px) {
  .top-strip__inner {
    justify-content: center;
  }

  .top-strip__meta {
    display: none;
  }

  .main-nav {
    min-height: 70px;
    justify-content: space-between;
  }

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

  .header-actions {
    display: none;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    max-height: calc(100vh - 110px);
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    min-height: 44px;
    justify-content: space-between;
    padding: 12px;
    font-size: 15px;
  }

  .nav-item {
    display: grid;
    width: 100%;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    display: grid;
    gap: 4px;
    margin: -2px 0 8px 14px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    padding: 0 0 0 10px;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-submenu::before {
    display: none;
  }

  .nav-submenu a {
    min-height: 38px;
    padding: 9px 10px;
    font-size: 14px;
  }

  .split-band,
  .location-layout,
  .contact-layout,
  .statement-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .page-hero h1 {
    font-size: 40px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand-text strong {
    font-size: 18px;
  }

  .brand-text span {
    display: none;
  }

  .brand-logo {
    width: 190px;
    max-height: 48px;
  }

  .home-hero {
    min-height: 520px;
  }

  .hero-copy {
    padding: 34px 0;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-copy p,
  .page-hero p {
    font-size: 16px;
  }

  .page-hero {
    min-height: 320px;
    padding: 52px 0;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .service-grid,
  .service-grid--wide,
  .work-grid,
  .product-grid,
  .value-grid,
  .gallery-grid,
  .address-grid,
  .package-grid,
  .link-card-grid,
  .feature-list,
  .form-grid,
  .stats-row,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .section-head {
    display: grid;
  }

  .section h2,
  .section-head h2 {
    font-size: 28px;
  }

  .market-band__inner {
    justify-content: flex-start;
    padding: 16px 0;
  }

  .split-image {
    min-height: 270px;
  }

  .gallery-card,
  .gallery-card img {
    min-height: 220px;
  }

  .footer-bottom {
    display: grid;
  }
}
