:root {
  --bg: #F2F4F6;
  --bg-2: #E8F4F4;
  --paper: #FFFFFF;
  --text: #0D2B45;
  --muted: #536273;

  --accent: #0FA3A3;
  --accent-dark: #0D2B45;

  --line: rgba(13, 43, 69, 0.12);
  --shadow: 0 20px 50px rgba(13, 43, 69, 0.08);
  --shadow-soft: 0 16px 40px rgba(15, 163, 163, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
}

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

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

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

.narrow {
  width: min(760px, 100%);
}

.center {
  text-align: center;
  margin-inline: auto;
}

h1,
h2,
h3,
h4 {
  font-family: 'Inter', 'Avenir Next', Arial, sans-serif;
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.85rem;
}

p {
  margin: 0 0 16px;
  line-height: 1.72;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.8;
}

.section {
  padding: 84px 0;
}

.section-gap {
  gap: 48px;
}

.soft-bg {
  background: #F7FAFA;
}

.accent-band {
  background: linear-gradient(135deg, #EEF8F8, #E8F4F4);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
 /* background: rgba(252, 251, 254, 0.95);*/
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  min-height: 92px;
  gap: 18px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
  margin-right: 10px;
}

.site-logo {
  display: block;
  height: 76px;
  width: auto;
  max-width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-left: auto;
}

.site-nav a {
  font-size: 0.96rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--text);
}

.nav-cta,
.mobile-contact-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 22px rgba(15, 163, 163, 0.18);
}

.nav-cta:hover,
.mobile-contact-btn:hover {
  transform: translateY(-1px);
  opacity: 0.97;
  box-shadow: 0 14px 28px rgba(15, 163, 163, 0.22);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.mobile-contact-btn {
  display: none;
}

.menu-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 46px;
  height: 46px;
  font-size: 1.4rem;
  color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(15, 163, 163, 0.08);
}

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(255,255,255,0.36), rgba(255,255,255,0.28));
}

.hero-grid,
.split,
.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.info-card,
.panel,
.quote-box,
.form-card,
.service-card,
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.info-card:hover,
.panel:hover,
.quote-box:hover,
.form-card:hover,
.service-card:hover,
.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(45, 110, 163, 0.10);
  border-color: rgba(15, 163, 163, 0.18);
}

.hero-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(45, 110, 163, 0.10);
  backdrop-filter: blur(8px);
}

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

.check-list li::before {
  content: '•';
  color: var(--accent);
  font-weight: 700;
  margin-right: 10px;
}

.cards-3,
.cards-2 {
  display: grid;
  gap: 24px;
}

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

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

.stack-cards {
  display: grid;
  gap: 22px;
}

.service-card h2,
.faq-item h2 {
  font-size: 2rem;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

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

.stack-links a,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--text);
  box-shadow: 0 10px 22px rgba(45, 110, 163, 0.16);
}

.btn-primary:hover {
  transform: translateY(-1px);
  opacity: 0.97;
  box-shadow: 0 14px 28px rgba(15, 163, 163, 0.22);
}

.btn-secondary,
.stack-links a {
  background: rgba(45, 110, 163, 0.06);
  border: 1px solid rgba(45, 110, 163, 0.16);
  color: var(--text);
}

.btn-secondary:hover,
.stack-links a:hover {
  background: rgba(45, 110, 163, 0.10);
}

.page-hero {
  padding: 88px 0 48px;
  background: linear-gradient(
    180deg,
    rgba(45, 110, 163, 0.05),
    rgba(90, 45, 134, 0.03)
  );
}

.quote-box {
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(135deg, #fff, var(--bg));
}

.quote-box p {
  font-family: 'Inter', 'Avenir Next', Arial, sans-serif;
  font-size: 2rem;
  line-height: 1.45;
}

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

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

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(90, 45, 134, 0.14);
  font: inherit;
  background: #fff;
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(45, 110, 163, 0.45);
  box-shadow: 0 0 0 4px rgba(15, 163, 163, 0.08);
}

textarea {
  resize: vertical;
}

.full-width {
  width: 100%;
}

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

/* Footer */
.site-footer {
  background: #f7f9fc;
  color: var(--text);
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 30px;
  padding: 60px 0 32px;
}

.footer-grid h3,
.footer-grid h4 {
  color: var(--text);
}

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

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

.footer-grid a:hover {
  color: var(--primary);
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  display: block;
  width: min(100%, 381px);
  height: auto;
}

.footer-bottom {
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  padding: 18px 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Large tablets / small desktops */
@media (max-width: 1100px) {
  .site-logo {
    height: 68px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 0.92rem;
  }

  .nav-wrap {
    min-height: 92px;
  }
}

/* Tablet and below */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .two-col,
  .cards-3,
  .cards-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    min-height: 82px;
    gap: 10px;
  }

  .site-logo {
    height: 58px;
  }

  .site-nav {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: min(320px, calc(100vw - 32px));
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-left: 0;
  }

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

  .site-nav a {
    padding: 10px 8px;
    font-size: 1rem;
  }

  .site-nav .nav-cta {
    display: none;
  }

  .header-actions {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    order: 1;
  }

  .mobile-contact-btn {
    display: inline-flex;
    order: 2;
    padding: 11px 16px;
    font-size: 0.92rem;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 72px;
  }

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

  .container {
    width: min(100% - 22px, 1120px);
  }

  .hero-card,
  .info-card,
  .panel,
  .quote-box,
  .form-card,
  .service-card,
  .faq-item {
    border-radius: 22px;
    padding: 22px;
  }

  .site-logo {
    height: 54px;
  }

  .nav-wrap {
    min-height: 76px;
  }

  .mobile-contact-btn {
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  .site-nav {
    width: min(300px, calc(100vw - 22px));
    right: 0;
  }
}

@media (max-width: 420px) {
  .site-logo {
    height: 48px;
  }

  .mobile-contact-btn {
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  .nav-wrap {
    gap: 8px;
  }
}
/* Marketing update additions */
.top-strip {
  background: linear-gradient(135deg, #0D2B45, #3b1b63);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
}

.top-strip-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.top-strip-inner span {
  margin-right: auto;
}

.top-strip a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.top-strip .employee-link {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 6px 12px;
  text-decoration: none;
}

.site-nav {
  gap: 13px;
}

.site-nav a {
  font-size: 0.91rem;
}

.nav-wrap {
  min-height: 88px;
}

.site-logo {
  height: 68px;
}

.btn-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.20);
}

.kicker-card {
  border-left: 4px solid var(--accent);
}

.stat-row,
.icon-list,
.pill-grid,
.resource-grid,
.service-area-grid,
.cta-grid {
  display: grid;
  gap: 20px;
}

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

.stat-box {
  background: rgba(45, 110, 163, 0.07);
  border: 1px solid rgba(45, 110, 163, 0.12);
  border-radius: 22px;
  padding: 20px;
}

.stat-box strong {
  display: block;
  font-family: 'Inter', 'Avenir Next', Arial, sans-serif;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--text);
}

.stat-box span {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.pill-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
}

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

.resource-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.resource-card h3 {
  font-size: 1.7rem;
}

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

.resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
}

.resource-card .btn,
.service-area-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.article-content {
  font-size: 1.04rem;
}

.article-content h2,
.article-content h3 {
  margin-top: 34px;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin: 0 0 18px;
}

.article-content li {
  margin-bottom: 8px;
}

.service-area-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 8px;
}

.notice-box {
  background: linear-gradient(135deg, rgba(15, 163, 163, 0.08), rgba(13, 43, 69, 0.08));
  border: 1px solid rgba(45, 110, 163, 0.14);
  border-radius: 26px;
  padding: 24px;
}

.form-card .small-note,
.small-note {
  font-size: 0.9rem;
  color: var(--muted);
}

select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(90, 45, 134, 0.14);
  font: inherit;
  background: #fff;
  color: var(--text);
}

select:focus {
  outline: none;
  border-color: rgba(45, 110, 163, 0.45);
  box-shadow: 0 0 0 4px rgba(15, 163, 163, 0.08);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.success-panel,
.error-panel {
  background: #fff;
  border-radius: 28px;
  border: 1px solid var(--line);
  padding: 34px;
  box-shadow: var(--shadow);
}

.success-panel {
  border-color: rgba(15, 163, 163, 0.18);
}

.error-panel {
  border-color: rgba(165, 65, 65, 0.24);
}

.footer-cta {
  transform: translateY(-40px);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-radius: 32px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(15, 163, 163, 0.18);
}

.footer-cta h2,
.footer-cta .eyebrow,
.footer-cta p {
  color: #fff;
}

.footer-cta p {
  margin-bottom: 0;
}

.footer-grid {
  padding-top: 18px;
}

.two-col-top {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.timeline-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.timeline-list li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px 20px 20px 68px;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.timeline-list li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  font-weight: 700;
}

@media (max-width: 1200px) {
  .site-nav {
    gap: 10px;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  .site-logo {
    height: 62px;
  }
}

@media (max-width: 980px) {
  .resource-grid,
  .service-area-grid,
  .stat-row,
  .pill-grid,
  .footer-cta,
  .two-col-top {
    grid-template-columns: 1fr;
  }

  .pill-grid {
    gap: 12px;
  }

  .top-strip-inner {
    justify-content: center;
    text-align: center;
    padding: 8px 0;
  }

  .top-strip-inner span {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 640px) {
  .top-strip {
    font-size: 0.82rem;
  }

  .top-strip-inner {
    gap: 8px;
  }

  .footer-cta {
    border-radius: 24px;
    padding: 24px;
  }

  .stat-box strong {
    font-size: 1.8rem;
  }
}

/* Design polish update - form/button spacing and top-strip cleanup */
.btn,
.stack-links a,
.nav-cta,
.mobile-contact-btn,
button.btn {
  line-height: 1.2;
  min-height: 48px;
  gap: 8px;
  text-align: center;
}

button.btn,
input[type="submit"].btn {
  cursor: pointer;
  border: 0;
}

.btn.full-width,
button.full-width,
input.full-width {
  display: flex;
  width: 100%;
}

.form-card form {
  display: grid;
  gap: 18px;
}

.form-card .form-grid {
  gap: 18px;
  margin-bottom: 0;
}

.form-card label {
  min-width: 0;
}

.form-card input,
.form-card select,
.form-card textarea {
  min-height: 52px;
}

.form-card textarea {
  min-height: 160px;
  margin-bottom: 0;
}

.form-card form > .btn,
.form-card form > button.btn,
.form-card form > input[type="submit"].btn {
  margin-top: 2px;
}

.form-card .small-note,
.small-note {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.65;
}

.hero-actions,
.stack-links,
.btn-row,
.footer-cta > div:last-child {
  align-items: center;
}

.panel .btn,
.info-card .btn,
.service-card .btn,
.notice-box .btn,
.success-panel .btn,
.error-panel .btn {
  margin-top: 8px;
}

.resource-card .btn,
.service-area-card .btn {
  margin-top: 18px;
}

.top-strip {
  line-height: 1.35;
}

.top-strip-inner {
  min-height: 44px;
  gap: 10px 18px;
  padding: 6px 0;
}

.top-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
}

.top-strip .employee-link {
  padding: 7px 14px;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .site-nav a {
    border-radius: 12px;
  }

  .site-nav a:hover {
    background: rgba(45, 110, 163, 0.06);
  }

  .site-nav .employee-link {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .btn,
  .stack-links a,
  .nav-cta,
  .mobile-contact-btn,
  button.btn {
    min-height: 46px;
    padding: 12px 16px;
  }

  .form-card form {
    gap: 16px;
  }

  .form-card .form-grid {
    gap: 16px;
  }

  .form-card input,
  .form-card select,
  .form-card textarea {
    border-radius: 14px;
  }

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

  .top-strip-inner {
    padding: 9px 0;
    gap: 8px 12px;
  }

  .top-strip-inner span {
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .stack-links,
  .footer-cta > div:last-child {
    align-items: stretch;
  }

  .hero-actions .btn,
  .stack-links .btn,
  .stack-links a,
  .footer-cta .btn {
    width: 100%;
  }
}


/* Form button spacing fix v2 - targets forms that ARE the .form-card element */
form.form-card {
  display: grid;
  gap: 20px;
  overflow: hidden;
}

form.form-card h3 {
  margin-bottom: 0;
}

form.form-card .form-grid {
  gap: 18px 18px;
  margin-bottom: 0;
}

form.form-card label {
  min-width: 0;
}

form.form-card input,
form.form-card select,
form.form-card textarea {
  width: 100%;
}

form.form-card textarea {
  display: block;
  min-height: 170px;
  margin-bottom: 0;
}

form.form-card .form-actions {
  display: flex;
  width: 100%;
  padding-top: 10px;
  margin-top: 0;
}

form.form-card .form-actions .btn,
form.form-card > button.btn,
form.form-card > input[type="submit"].btn {
  width: 100%;
  min-height: 54px;
  border: 0;
  cursor: pointer;
  margin: 0;
}

form.form-card .form-actions + .small-note,
form.form-card > .small-note {
  margin-top: -6px;
  margin-bottom: 0;
  padding-bottom: 2px;
}

form.form-card .honeypot {
  position: absolute;
  left: -9999px;
}

@media (max-width: 640px) {
  form.form-card {
    gap: 18px;
  }

  form.form-card .form-grid {
    gap: 16px;
  }

  form.form-card .form-actions {
    padding-top: 8px;
  }

  form.form-card .form-actions .btn,
  form.form-card > button.btn,
  form.form-card > input[type="submit"].btn {
    min-height: 52px;
  }
}


/* Mobile header/nav fix - prevents the logo, menu button, and CTA from crowding/cutting off on phones */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.site-header,
.nav-wrap,
.top-strip {
  max-width: 100%;
}

@media (max-width: 640px) {
  .nav-wrap {
    min-height: 74px;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 0;
  }

  .site-logo {
    width: clamp(210px, 58vw, 260px);
    height: auto;
    max-height: 64px;
    object-fit: contain;
  }

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

  .menu-toggle {
    flex: 0 0 42px;
  }

  .mobile-contact-btn {
    flex: 0 0 auto;
    max-width: 142px;
    padding-left: 13px;
    padding-right: 13px;
  }

  .site-nav {
    left: auto;
    right: 11px;
    width: min(330px, calc(100vw - 22px));
    max-width: calc(100vw - 22px);
  }
}

@media (max-width: 520px) {
  .top-strip-inner {
    justify-content: center;
    text-align: center;
    gap: 7px 10px;
    padding: 8px 0;
  }

  .top-strip-inner span {
    width: 100%;
    margin: 0;
  }

  .top-strip a {
    min-height: 30px;
  }

  .top-strip .employee-link {
    padding: 6px 11px;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .site-logo {
    width: clamp(178px, 62vw, 238px);
    max-height: 56px;
  }

  /* The top strip already has a Check Service Availability link.
     Hiding the duplicate header CTA keeps the phone header clean and prevents cutoff. */
  .mobile-contact-btn {
    display: none !important;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}

@media (max-width: 360px) {
  .site-logo {
    width: clamp(158px, 58vw, 205px);
  }

  .top-strip {
    font-size: 0.78rem;
  }
}

/* Ambella live chat widget */
.oasis-live-chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.oasis-chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 320px;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  color: #fff;
  background: linear-gradient(135deg, #0FA3A3, #0D2B45);
  box-shadow: 0 18px 38px rgba(43, 28, 78, .22);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}
.oasis-chat-pulse {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #62d487;
  box-shadow: 0 0 0 6px rgba(98, 212, 135, .18);
  flex: 0 0 auto;
}
.oasis-chat-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: min(380px, calc(100vw - 28px));
  background: #fff;
  border: 1px solid rgba(32, 36, 48, .12);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(17, 24, 39, .22);
  overflow: hidden;
}
.oasis-chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #2b1648, #0D2B45);
  color: #fff;
}
.oasis-chat-header strong { display: block; font-size: 1rem; }
.oasis-chat-header span { display: block; margin-top: 3px; font-size: .84rem; opacity: .86; }
.oasis-chat-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.oasis-chat-body { padding: 16px; }
.oasis-chat-intro {
  margin-bottom: 13px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f6f3fb;
  color: #2b2340;
  font-weight: 700;
  line-height: 1.45;
}
.oasis-chat-start-form,
.oasis-chat-reply-form { display: grid; gap: 12px; }
.oasis-chat-start-form label {
  display: grid;
  gap: 7px;
  margin: 0;
  font-weight: 800;
  color: #2b2340;
}
.oasis-chat-start-form label span { color: #68627a; font-weight: 600; }
.oasis-chat-start-form input,
.oasis-chat-start-form textarea,
.oasis-chat-reply-form textarea {
  width: 100%;
  border: 1px solid #ded8e8;
  border-radius: 14px;
  padding: 12px 13px;
  font: inherit;
  color: #2b2340;
  background: #fff;
}
.oasis-chat-start-form textarea,
.oasis-chat-reply-form textarea { resize: vertical; min-height: 72px; }
.oasis-chat-submit,
.oasis-chat-send { width: 100%; min-height: 46px; }
.oasis-chat-note { margin: -2px 0 0; color: #6b6478; font-size: .86rem; line-height: 1.45; }
.oasis-chat-messages {
  max-height: 270px;
  overflow-y: auto;
  display: grid;
  gap: 10px;
  padding: 4px 2px 12px;
}
.oasis-chat-message { display: grid; gap: 4px; }
.oasis-chat-message.visitor { justify-items: end; }
.oasis-chat-message.admin { justify-items: start; }
.oasis-chat-bubble {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 16px;
  background: #f0f4f8;
  color: #2b2340;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.oasis-chat-message.visitor .oasis-chat-bubble { background: #0FA3A3; color: #fff; border-bottom-right-radius: 6px; }
.oasis-chat-message.admin .oasis-chat-bubble { background: #f2ecf8; border-bottom-left-radius: 6px; }
.oasis-chat-message small { color: #7a7388; font-size: .74rem; }
@media (max-width: 520px) {
  .oasis-live-chat { right: 12px; bottom: 12px; left: 12px; }
  .oasis-chat-launcher { width: 100%; max-width: none; justify-content: center; text-align: center; }
  .oasis-chat-panel { right: 0; left: 0; width: auto; bottom: 62px; }
}

/* Live chat cleanup: keep finished start form hidden once a conversation has begun */
.oasis-live-chat [hidden],
.oasis-live-chat .is-hidden {
  display: none !important;
}
.oasis-chat-panel {
  max-height: min(720px, calc(100vh - 100px));
}
.oasis-chat-body {
  max-height: calc(100vh - 190px);
  overflow-y: auto;
}
.oasis-chat-messages:not([hidden]) + .oasis-chat-start-form {
  display: none !important;
}
@media (max-width: 520px) {
  .oasis-chat-panel {
    max-height: calc(100vh - 88px);
  }
  .oasis-chat-body {
    max-height: calc(100vh - 170px);
  }
}
