:root {
  --ink: #111111;
  --muted: #555b61;
  --line: #d6e1e3;
  --brand: #8d123f;
  --accent: #8d123f;
  --plum: #2d2635;
  --soft: #eef7f6;
  --rose: #fff3f7;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  background: var(--white);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 9px max(24px, calc((100vw - 1180px) / 2 + 24px));
  color: var(--white);
  background: linear-gradient(135deg, var(--plum) 0 48%, var(--accent) 48% 100%);
  font-size: 13px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--brand);
}

.brand img { width: 72px; height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a:not(.button) {
  padding: 12px 16px;
  border-bottom: 2px solid transparent;
}

.nav-links a:not(.button):hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 6px;
  color: var(--white);
  background: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  border: 2px solid transparent;
}

.button.secondary { background: var(--brand); }
.button.white { background: var(--white); color: var(--accent); }
.button.small { min-height: 38px; padding: 0 16px; }

.hero {
  min-height: 520px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, .78), rgba(17, 17, 17, .54)),
    url("/assets/hero-optimized.jpg") center / cover no-repeat;
  color: var(--white);
  text-align: left;
}

.hero-inner, .section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero h1 {
  max-width: 830px;
  margin: 10px 0 14px;
  font-size: clamp(40px, 5.6vw, 66px);
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.area-hero .eyebrow,
.hero .eyebrow {
  color: #fff1f6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.hero p {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: 17px;
  color: var(--white);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .actions { justify-content: flex-start; }

.hero-contact {
  display: flex;
  justify-content: flex-start;
  gap: 18px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
}

.hero-contact a {
  display: inline-flex;
  min-width: 210px;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
}

.section { padding: 72px 0; }
.section.alt { background: var(--soft); }
.section.tight { padding: 46px 0; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.image-stack img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.about-visual {
  position: relative;
  min-height: 380px;
}

.about-visual .main-photo {
  display: block;
  width: 72%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-left: 42px;
}

.about-visual .small-photo {
  position: absolute;
  top: 36px;
  right: 0;
  width: 44%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  border: 10px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.experience-badge {
  position: absolute;
  left: 8px;
  bottom: 22px;
  width: 150px;
  min-height: 130px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  text-align: center;
  font-weight: 800;
}

.experience-badge strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.experience-visual {
  min-height: 0;
}

.experience-visual .main-photo {
  width: 100%;
  height: 380px;
  margin-left: 0;
}

.experience-visual .experience-badge {
  left: 22px;
  bottom: 22px;
}

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: 0; }
h2 { margin-top: 8px; font-size: clamp(30px, 3.6vw, 44px); text-transform: uppercase; }
h2 .accent { color: var(--accent); }
h3 { font-size: 21px; }
p { color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.card-body { padding: 22px; }

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.check-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: var(--white);
  font-weight: 700;
}

.center { display: block; text-align: center; }
h2.center { margin-left: auto; margin-right: auto; }

.timeline {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 640px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--accent);
  opacity: .35;
}

.timeline li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 26px;
}

.timeline li:last-child { margin-bottom: 0; }

.timeline-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  z-index: 1;
}

.timeline li > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px;
  background: var(--white);
}

.about-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.about-badge {
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 16px;
  color: var(--ink);
  font-weight: 800;
}

.area-hero {
  padding: 78px 0 52px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(45, 38, 53, .9), rgba(141, 18, 63, .82)),
    url("/assets/business-it-optimized.webp") center / cover no-repeat;
}

.area-hero h1 { max-width: 900px; font-size: clamp(34px, 5vw, 56px); }
.area-hero p { max-width: 760px; color: #d9e4ea; font-size: 18px; }

.contact-hero {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, .84), rgba(45, 38, 53, .7)),
    url("/assets/business-it-optimized.webp") center / cover no-repeat;
}

.contact-hero-actions {
  margin-top: 22px;
}

.content-block {
  max-width: 920px;
  margin: 0 auto;
}

.content-block h2 { margin-top: 34px; font-size: 30px; }
.content-block h3 { margin-top: 24px; }

.quote-band {
  margin: 34px 0;
  padding: 26px;
  border-radius: 8px;
  background: var(--plum);
  color: var(--white);
}

.quote-band p { color: var(--white); margin: 0 0 10px; }

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

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

#contactForm {
  background: var(--white);
  box-shadow: 0 12px 34px rgba(45, 38, 53, .08);
}

#formStatus:empty {
  display: none;
}

.contact-method-section {
  padding: 36px 0;
}

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

.contact-method {
  display: grid;
  gap: 8px;
  min-height: 152px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
}

.contact-method:hover,
.contact-method:focus-visible {
  border-color: var(--accent);
}

.contact-method span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-method strong {
  overflow-wrap: anywhere;
  font-size: 20px;
  line-height: 1.2;
}

.contact-method small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.google-proof {
  background: var(--soft);
}

.strong-contact-grid {
  grid-template-columns: 1fr 1fr;
}

.contact-copy {
  min-width: 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.trust-strip div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

.trust-strip strong {
  color: var(--accent);
  font-size: 24px;
  line-height: 1.1;
}

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.content-photo {
  margin: 24px 0 0;
}

.content-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

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

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

.form-field.full,
.service-form .cf-turnstile,
.service-form .privacy-note,
.service-form button,
.service-form #formStatus {
  grid-column: 1 / -1;
}

.cf-turnstile {
  min-height: 65px;
}

.form-field label {
  font-weight: 800;
}

form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--rose);
}
.trap-field { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
#formStatus { min-height: 1.4em; margin: 8px 0 0; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 14px;
  font: inherit;
  background: var(--white);
}

textarea { min-height: 120px; resize: vertical; border-radius: 12px; }

.privacy-note {
  margin: 0;
  font-size: 14px;
}

.process-list {
  display: grid;
  gap: 16px;
  margin: 28px 0;
  padding-left: 24px;
}

.process-list li {
  padding-left: 6px;
  color: var(--muted);
}

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

.service-area-band {
  background: var(--plum);
  color: var(--white);
}

.service-area-band p,
.service-area-band .eyebrow,
.service-area-band h2 {
  color: var(--white);
}

.area-list {
  display: grid;
  gap: 14px;
  font-weight: 800;
}

.area-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.link-panel {
  margin-top: 34px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.link-panel h2 {
  margin-top: 0;
  font-size: 24px;
}

.link-panel .area-list a {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--soft);
}

.link-panel .area-list a:hover,
.link-panel .area-list a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--rose);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.seo-links a {
  color: var(--accent);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--rose);
}

details {
  margin: 14px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

details p {
  margin-bottom: 0;
}

.map-section {
  background: var(--white);
}

.map-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 38px;
  align-items: center;
}

.map-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.map-cities a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent);
  background: var(--rose);
  font-weight: 800;
}

.map-note {
  margin-top: 18px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  font-weight: 700;
}

.map-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  min-height: 380px;
}

.map-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.footer {
  padding: 52px 0 0;
  color: var(--ink);
  background: var(--soft);
}

.footer-grid {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer h2 { font-size: 16px; margin-bottom: 14px; }
.footer a, .footer p { display: block; color: var(--ink); margin: 8px 0; }
.footer-logo {
  width: 142px;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 10px;
}
.footer .copyright {
  width: 100%;
  margin: 34px auto 0;
  padding: 12px 20px;
  color: var(--white);
  background: var(--accent);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 820px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--white);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
  }

  .nav {
    background: var(--white);
  }

  .topbar { flex-direction: column; }
  .topbar {
    width: 100%;
    min-height: 74px;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 10px 58px 10px 92px;
    color: var(--ink);
    background: var(--white);
    text-align: left;
    overflow-wrap: anywhere;
    border-bottom: 1px solid var(--line);
  }
  .topbar a {
    line-height: 1.25;
  }
  .nav {
    position: relative;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    padding: 6px 10px 7px 92px;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    position: absolute;
    top: -68px;
    left: 12px;
    z-index: 2;
    gap: 0;
  }
  .brand img {
    width: 66px;
    height: 66px;
    object-fit: contain;
  }
  .brand span {
    display: none;
  }
  .nav-links {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px 7px;
    margin-top: 0;
    font-size: 11px;
    line-height: 1;
  }
  .nav-links a:not(.button) {
    padding: 6px 5px;
    white-space: nowrap;
  }
  .nav-links .button.small {
    order: 4;
    position: absolute;
    top: -50px;
    right: 12px;
    width: 30px;
    min-height: 28px;
    padding: 0;
    font-size: 0;
    white-space: nowrap;
  }
  .nav-links .button.small::before {
    content: "";
    width: 16px;
    height: 16px;
    display: block;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.91.33 1.8.62 2.65a2 2 0 0 1-.45 2.11L8.09 9.67a16 16 0 0 0 6.24 6.24l1.19-1.19a2 2 0 0 1 2.11-.45c.85.29 1.74.5 2.65.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.91.33 1.8.62 2.65a2 2 0 0 1-.45 2.11L8.09 9.67a16 16 0 0 0 6.24 6.24l1.19-1.19a2 2 0 0 1 2.11-.45c.85.29 1.74.5 2.65.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .section { padding: 62px 0; }
  .section.tight { padding: 42px 0; }
  .section-inner, .hero-inner, .footer-grid, .copyright { width: min(100% - 44px, 1120px); }
  .hero { min-height: 510px; }
  .hero { text-align: center; }
  .hero p, .hero h1 { margin-left: auto; margin-right: auto; }
  .hero .actions, .hero-contact { justify-content: center; }
  .hero-contact { flex-direction: column; align-items: center; margin-bottom: 26px; }
  .hero-contact a { min-width: 0; width: 100%; max-width: 280px; }
  .split, .grid, .check-list, .about-badges, .contact-grid, .footer-grid, .map-grid {
    grid-template-columns: 1fr;
  }
  .contact-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .strong-contact-grid,
  .service-form {
    grid-template-columns: 1fr;
  }
  .trust-strip {
    grid-template-columns: 1fr;
  }
  .seo-links { grid-template-columns: 1fr; }
  .grid { gap: 18px; }
  .card-body, .link-panel, details, form { padding: 20px; }
  .contact-grid {
    gap: 22px;
  }
  #contact.section {
    padding: 38px 0 34px;
  }
  #contactForm {
    gap: 10px;
    padding: 16px;
  }
  #contactForm input {
    min-height: 42px;
    padding: 10px 12px;
  }
  #contactForm textarea {
    min-height: 88px;
    padding: 10px 12px;
  }
  .footer {
    padding-top: 10px;
  }
  .footer-grid {
    gap: 16px;
  }
  .footer-logo {
    width: 88px;
  }
  .footer h2 {
    margin: 10px 0 8px;
  }
  .footer a,
  .footer p {
    margin: 6px 0;
  }
  .footer .copyright {
    margin-top: 22px;
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }
  .map-frame { min-height: 330px; height: 330px; }
  .map-frame img { height: 330px; }
  .about-visual {
    min-height: 0;
    padding-bottom: 86px;
  }
  .about-visual .main-photo {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin-left: 0;
  }
  .about-visual .small-photo {
    top: auto;
    right: 0;
    bottom: 18px;
    width: 46%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-width: 7px;
  }
  .experience-badge {
    left: 0;
    bottom: 12px;
    width: 132px;
    min-height: 112px;
    padding: 14px;
  }
  .experience-badge strong { font-size: 26px; }
}

@media (max-width: 560px) {
  .contact-methods {
    grid-template-columns: 1fr;
  }
  .contact-method {
    min-height: 0;
  }
  .contact-method strong {
    font-size: 18px;
  }
}


/* Idea 10 accessibility and performance refinements */
.topbar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.service-grid-title {
  margin: 0 0 24px;
  font-size: 30px;
  line-height: 1.15;
}
.form-field {
  display: grid;
  gap: 6px;
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field label {
  font-weight: 800;
  color: var(--ink);
  font-size: 14px;
}
#contactForm input,
#contactForm textarea {
  min-height: 46px;
}
#contactForm textarea {
  min-height: 132px;
}
.appointment-bot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: min(380px, calc(100vw - 32px));
  color: var(--ink);
}
.appointment-bot-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  min-height: 48px;
  padding: 8px 16px 8px 10px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.appointment-bot-toggle span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--accent);
}
.appointment-bot-panel {
  display: none;
  margin-bottom: 12px;
  max-height: calc(100vh - 96px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
}
.appointment-bot[data-open="true"] .appointment-bot-panel {
  display: block;
}
.appointment-bot-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: var(--white);
  background: var(--plum);
}
.appointment-bot-header .eyebrow {
  color: #fff1f6;
  text-shadow: none;
}
.appointment-bot-header h2 {
  margin: 4px 0 0;
  font-size: 22px;
}
.appointment-bot-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.appointment-bot-messages {
  display: grid;
  gap: 10px;
  max-height: 210px;
  overflow: auto;
  padding: 16px 18px 4px;
}
.appointment-bot-messages p {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: var(--soft);
  font-size: 14px;
}
.appointment-bot-messages strong {
  color: var(--accent);
}
.appointment-bot-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 18px 0;
}
.appointment-bot-prompts button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--accent);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}
.appointment-bot-prompts button:hover,
.appointment-bot-prompts button:focus-visible {
  border-color: var(--accent);
  background: var(--soft);
}
.appointment-bot-form {
  padding: 18px;
  border: 0;
  border-radius: 0;
  background: var(--white);
}
.appointment-bot-form label {
  font-weight: 800;
  font-size: 14px;
}
.appointment-bot-form textarea {
  min-height: 82px;
  border-radius: 8px;
}
.appointment-bot-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.appointment-bot-form input,
.appointment-bot-form select,
.appointment-bot-form textarea {
  border-color: var(--line);
}
.appointment-bot-form .button {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  text-align: center;
}
.manager-page {
  background: #f5f6f8;
}
.manager-page .site-header,
.manager-page .footer,
.manager-page .appointment-bot {
  display: none;
}
.manager-shell {
  min-height: 100vh;
  padding: 28px;
}
.manager-app {
  width: min(1180px, 100%);
  margin: 0 auto;
}
.manager-dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
  padding: 22px;
  border: 1px solid #d9dde5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(22, 28, 45, .06);
}
.manager-dashboard-head h1 {
  margin: 4px 0 6px;
  color: #121722;
  font-size: clamp(32px, 4vw, 48px);
}
.manager-dashboard-head p {
  max-width: 680px;
  margin: 0;
  color: #566070;
}
.manager-login {
  display: grid;
  grid-template-columns: minmax(220px, 420px) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #d9dde5;
  border-radius: 8px;
  background: #ffffff;
}
.manager-login #managerStatus {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.3em;
  color: #566070;
}
.manager-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.manager-toolbar select {
  max-width: 260px;
}
.manager-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.manager-stats div {
  padding: 16px;
  border: 1px solid #d9dde5;
  border-radius: 8px;
  background: #ffffff;
}
.manager-stats strong {
  display: block;
  color: #121722;
  font-size: 28px;
  line-height: 1;
}
.manager-stats span {
  display: block;
  margin-top: 6px;
  color: #566070;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.manager-list {
  display: grid;
  gap: 14px;
}
.manager-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid #d9dde5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(22, 28, 45, .05);
}
.manager-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}
.manager-card h2 {
  margin: 7px 0 3px;
  color: #121722;
  font-size: 26px;
}
.manager-card h3 {
  margin: 0;
  color: #121722;
}
.manager-card p {
  margin: 0;
}
.manager-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef2ff;
  color: #253b78;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.manager-card-status {
  max-width: 170px;
}
.manager-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.manager-no-contact {
  color: #8a3349;
  font-weight: 800;
}
.manager-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.manager-fields span {
  min-height: 72px;
  padding: 11px;
  border: 1px solid #e2e6ee;
  border-radius: 8px;
  background: #f8fafc;
  overflow-wrap: anywhere;
  color: #384150;
}
.manager-fields strong {
  display: block;
  margin-bottom: 4px;
  color: #566070;
  font-size: 12px;
  text-transform: uppercase;
}
.manager-request {
  padding: 14px;
  border-left: 4px solid #6f1237;
  border-radius: 8px;
  background: #fbf6f8;
}
.manager-transcript {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.manager-transcript p {
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
}
.manager-transcript small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.manager-note-label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}
.manager-note {
  min-height: 82px;
}
.manager-empty {
  padding: 18px;
  border: 1px solid #d9dde5;
  border-radius: 8px;
  background: #ffffff;
}
.content-photo {
  margin: 4px 0 28px;
}
.content-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
.contact-support-photo {
  margin-top: 22px;
}
.trap-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 760px) {
  .topbar {
    align-items: stretch;
    gap: 8px;
  }
  .topbar a {
    justify-content: flex-start;
    flex: 0 0 auto;
  }
  .appointment-bot {
    right: 16px;
    bottom: 16px;
  }
  .appointment-bot-fields {
    grid-template-columns: 1fr;
  }
  .appointment-bot-toggle strong {
    font-size: 14px;
  }
  .manager-card-head {
    display: grid;
  }
  .manager-card-status,
  .manager-toolbar select {
    max-width: none;
  }
  .manager-shell {
    padding: 14px;
  }
  .manager-dashboard-head,
  .manager-login {
    grid-template-columns: 1fr;
  }
  .manager-dashboard-head,
  .manager-toolbar {
    display: grid;
  }
  .manager-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .manager-fields {
    grid-template-columns: 1fr;
  }
}

/* Keep bottom contact sections compact and visibly intentional on landing pages. */
#contact.section {
  background: var(--soft);
}

body:not(.contact-page) #contact.section {
  display: none;
}

body:not(.contact-page) main > .section.alt:nth-last-child(2) {
  padding-bottom: 18px;
}

#contactForm {
  background: var(--white);
  box-shadow: 0 12px 34px rgba(45, 38, 53, .08);
}

#formStatus:empty {
  display: none;
}

@media (max-width: 820px) {
  #contact.section {
    padding: 38px 0 34px;
  }

  #contact .contact-grid {
    gap: 22px;
  }

  #contactForm {
    gap: 10px;
    padding: 16px;
  }

  #contactForm input {
    min-height: 42px;
    padding: 10px 12px;
  }

  #contactForm textarea {
    min-height: 88px;
    padding: 10px 12px;
  }
}
