:root {
  --navy: #143052;
  --navy-dark: #0b1f37;
  --blue: #2e7bbf;
  --soft-blue: #eaf4ff;
  --sky: #b9d8f2;
  --gray-50: #f7f9fc;
  --gray-100: #eef2f6;
  --gray-300: #cfd8e3;
  --gray-600: #5d6b7c;
  --text: #1e2a38;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(20, 48, 82, 0.12);
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

img,
svg {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px max(24px, calc((100vw - var(--max-width)) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: 0 8px 24px rgba(20, 48, 82, 0.06);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  color: var(--navy);
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  letter-spacing: 0;
  box-shadow: 0 10px 24px rgba(46, 123, 191, 0.22);
}

.brand-text {
  overflow-wrap: anywhere;
}

.brand-subtitle {
  color: var(--gray-600);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--navy);
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
  background: var(--soft-blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  align-items: center;
  gap: 52px;
  width: min(var(--max-width), calc(100% - 48px));
  min-height: calc(100vh - 140px);
  margin: 0 auto;
  padding: 62px 0;
}

.hero h1 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(2.35rem, 4.35vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.page-hero h1 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--gray-600);
  font-size: 1.15rem;
}

.personal-intro {
  margin: 20px 0 0;
  max-width: 610px;
  color: var(--navy);
  font-size: 1.13rem;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-photo-card {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(234, 244, 255, 0.9)),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(20, 48, 82, 0.04) 34px 35px),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(20, 48, 82, 0.04) 34px 35px);
  box-shadow: var(--shadow);
}

.hero-photo-card img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-labels {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: calc(100% - 36px);
}

.photo-labels span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(20, 48, 82, 0.14);
  font-size: 0.86rem;
  font-weight: 800;
}

.photo-placeholder {
  position: absolute;
  inset: 24px;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(46, 123, 191, 0.32);
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.48);
  text-align: center;
}

.photo-placeholder span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(20, 48, 82, 0.1);
  font-weight: 800;
}

.hero-photo-card:not(.is-missing) .photo-placeholder {
  opacity: 0;
}

.hero-photo-card.is-missing .photo-labels {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(46, 123, 191, 0.24);
}

.button-primary:hover {
  background: #246ca9;
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--gray-300);
}

.button-secondary:hover {
  box-shadow: 0 12px 24px rgba(20, 48, 82, 0.1);
}

.workspace-illustration {
  position: relative;
  min-height: 460px;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(185, 216, 242, 0.55), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(46, 123, 191, 0.12), transparent 30%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(234, 244, 255, 0.9)),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(20, 48, 82, 0.04) 34px 35px),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(20, 48, 82, 0.04) 34px 35px);
  box-shadow: var(--shadow);
}

.workspace-illustration::before {
  content: "";
  position: absolute;
  right: 7%;
  bottom: 12%;
  width: 72%;
  height: 120px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(20, 48, 82, 0.08), rgba(46, 123, 191, 0.12));
  transform: skewX(-8deg);
}

.workspace-illustration::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: 10%;
  width: 62%;
  height: 22px;
  border-radius: 999px;
  background: rgba(20, 48, 82, 0.14);
  filter: blur(12px);
}

.desk-card {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(207, 216, 227, 0.8);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 32px rgba(20, 48, 82, 0.14);
}

.card-calendar {
  top: 10%;
  left: 9%;
  width: 190px;
  min-height: 190px;
  padding: 20px;
}

.card-calendar > span {
  display: block;
  width: 54px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--soft-blue);
  border-top: 10px solid var(--blue);
}

.card-calendar strong,
.card-calendar small {
  display: block;
}

.card-calendar small {
  color: var(--gray-600);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 16px;
}

.calendar-grid i {
  display: block;
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--gray-100);
}

.calendar-grid i:nth-child(3),
.calendar-grid i:nth-child(8),
.calendar-grid i:nth-child(10) {
  background: var(--sky);
}

.calendar-grid i:nth-child(6) {
  background: var(--blue);
}

.card-list {
  top: 22%;
  right: 8%;
  width: 230px;
  padding: 24px;
}

.card-list strong {
  display: block;
  margin-bottom: 14px;
}

.card-list span {
  position: relative;
  display: block;
  height: 12px;
  margin: 16px 0 16px 30px;
  border-radius: 999px;
  background: var(--gray-100);
}

.card-list span::before {
  content: "";
  position: absolute;
  left: -30px;
  top: -4px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--soft-blue);
  box-shadow: inset 0 0 0 2px rgba(46, 123, 191, 0.16);
}

.card-list span::after {
  content: "";
  position: absolute;
  left: -24px;
  top: 2px;
  width: 9px;
  height: 5px;
  border-bottom: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.card-list span:nth-child(2) {
  width: 72%;
}

.card-list span:nth-child(3) {
  width: 88%;
}

.card-list span:nth-child(4) {
  width: 62%;
}

.card-message {
  left: 17%;
  bottom: 13%;
  width: 245px;
  padding: 22px;
}

.card-message small {
  display: block;
  color: var(--gray-600);
}

.card-message span {
  position: relative;
  display: block;
  width: 80%;
  height: 12px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--sky);
}

.card-message span::before,
.card-message span::after {
  content: "";
  position: absolute;
  left: 0;
  height: 12px;
  border-radius: 999px;
}

.card-message span::before {
  top: 22px;
  width: 112%;
  background: var(--gray-100);
}

.card-message span::after {
  top: 44px;
  width: 54%;
  background: var(--soft-blue);
}

.card-records {
  right: 18%;
  bottom: 11%;
  width: 190px;
  padding: 20px;
}

.card-records strong {
  display: block;
  margin-bottom: 16px;
}

.card-records span {
  display: block;
  height: 36px;
  margin-top: 10px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, var(--blue) 0 9px, transparent 9px),
    linear-gradient(90deg, var(--gray-100), var(--soft-blue));
}

.card-records span:nth-child(3) {
  width: 78%;
}

.desk-line {
  position: absolute;
  z-index: 0;
  right: 8%;
  bottom: 18.5%;
  width: 70%;
  height: 12px;
  border-radius: 999px;
  background: var(--navy);
}

.section,
.page-hero,
.cta-section {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.home-section {
  padding: 56px 0;
}

.section-alt {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--max-width)) / 2));
  padding-left: max(24px, calc((100vw - var(--max-width)) / 2));
  background: var(--gray-50);
}

.section-heading {
  max-width: 680px;
}

.section-heading.centered {
  margin: 0 auto 34px;
  text-align: center;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  color: var(--navy-dark);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.home-section h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
}

h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.17rem;
  line-height: 1.25;
}

.wide-text {
  max-width: 860px;
  margin: 22px 0 0;
  color: var(--gray-600);
  font-size: 1.08rem;
}

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

.featured-services {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.service-card,
.detail-card,
.contact-card,
.service-note,
.faq-list details {
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(20, 48, 82, 0.08);
}

.service-card {
  min-height: 180px;
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.featured-card {
  min-height: 168px;
  border-color: rgba(207, 216, 227, 0.88);
}

.featured-large {
  grid-row: span 2;
  min-height: 100%;
  padding: 32px;
  background: linear-gradient(135deg, var(--white), var(--soft-blue));
}

.service-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--soft-blue);
  color: var(--blue);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.icon-admin {
  color: var(--navy);
  background: var(--sky);
}

.icon-calendar {
  color: var(--blue);
}

.icon-message {
  color: var(--navy);
  background: var(--gray-100);
}

.icon-records {
  color: var(--blue);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--gray-300);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card p,
.step p,
.detail-card li,
.text-stack p,
.legal-content p,
.contact-card p {
  color: var(--gray-600);
}

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

.weekly-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.weekly-section .section-heading {
  position: sticky;
  top: 104px;
}

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

.week-grid article {
  min-height: 138px;
  padding: 22px;
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(20, 48, 82, 0.06);
}

.week-grid article:nth-child(2),
.week-grid article:nth-child(3) {
  background: var(--gray-50);
}

.week-grid strong {
  display: block;
  color: var(--blue);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.week-grid p {
  margin: 10px 0 0;
  color: var(--navy);
  font-weight: 800;
}

.support-note {
  grid-column: 2;
  margin: 0;
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  color: var(--gray-600);
  background: var(--soft-blue);
}

.about-preview {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 34px;
  align-items: center;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.about-preview p:not(.eyebrow) {
  max-width: 720px;
  color: var(--gray-600);
}

.about-preview .button {
  margin-top: 14px;
}

.about-preview-panel {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 220px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft-blue);
  box-shadow: var(--shadow);
}

.about-preview-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step {
  padding: 28px;
  border-left: 4px solid var(--blue);
  background: var(--soft-blue);
  border-radius: 8px;
}

.step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}

.section-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

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

.check-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 22px rgba(20, 48, 82, 0.06);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 21px;
  width: 12px;
  height: 7px;
  border-bottom: 3px solid var(--blue);
  border-left: 3px solid var(--blue);
  transform: rotate(-45deg);
}

.cta-section {
  margin-bottom: 72px;
  padding: 46px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  box-shadow: var(--shadow);
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  padding: 78px 0 52px;
}

.page-hero p:last-child {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--gray-600);
  font-size: 1.12rem;
}

.content-band {
  padding-top: 24px;
}

.text-stack {
  max-width: 860px;
  font-size: 1.08rem;
}

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

.value-grid div {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 18px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 24px rgba(20, 48, 82, 0.08);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 24px;
}

.detail-card,
.service-note {
  padding: 28px;
}

.detail-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.detail-card li + li {
  margin-top: 8px;
}

.service-note {
  grid-column: 1 / -1;
  background: var(--soft-blue);
}

.service-note p {
  margin-bottom: 0;
  color: var(--gray-600);
}

.faq-list {
  display: grid;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-list details {
  padding: 22px 24px;
}

.faq-list summary {
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.faq-list summary::marker {
  color: var(--blue);
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--gray-600);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 28px;
  align-items: start;
  padding-top: 24px;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 30px;
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  color: var(--navy);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  color: var(--text);
  background: var(--white);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(46, 123, 191, 0.18);
  border-color: var(--blue);
}

.contact-form .field-error {
  border-color: #b83232;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
  color: var(--text);
  font-weight: 400;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.form-status {
  display: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  color: #175733;
  background: #e8f6ee;
}

.form-status.error {
  color: #7a2323;
  background: #faeaea;
}

.contact-card {
  padding: 28px;
}

.contact-card h2 {
  font-size: 1.5rem;
}

.contact-card a {
  color: var(--blue);
  font-weight: 800;
}

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

.legal-content {
  max-width: 860px;
  padding-top: 24px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(24px, calc((100vw - var(--max-width)) / 2));
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy-dark);
}

.footer-info {
  max-width: 620px;
}

.site-footer strong {
  display: block;
  color: var(--white);
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer .copyright {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  max-width: 360px;
}

.site-footer a {
  color: var(--white);
  font-weight: 700;
}

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

  .site-nav {
    position: absolute;
    top: 76px;
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .hero,
  .section-split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 56px 0;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 7vw, 3.5rem);
  }

  .hero-photo-card {
    min-height: 390px;
  }

  .workspace-illustration {
    min-height: 390px;
  }

  .featured-services,
  .weekly-section,
  .about-preview {
    grid-template-columns: 1fr;
  }

  .featured-large {
    grid-row: auto;
  }

  .weekly-section .section-heading {
    position: static;
  }

  .support-note {
    grid-column: auto;
  }

  .card-grid,
  .steps,
  .services-list {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
  }

  .brand-text {
    max-width: 190px;
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .brand-subtitle {
    max-width: 190px;
    font-size: 0.68rem;
  }

  .site-nav {
    top: 70px;
  }

  .hero,
  .section,
  .page-hero,
  .cta-section {
    width: min(100% - 32px, var(--max-width));
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.35rem;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .hero-photo-card {
    min-height: 320px;
  }

  .photo-placeholder {
    inset: 16px;
  }

  .workspace-illustration {
    min-height: 360px;
  }

  .card-calendar {
    top: 8%;
    left: 6%;
    width: 148px;
    min-height: 172px;
    padding: 16px;
  }

  .calendar-grid {
    gap: 5px;
    margin-top: 12px;
  }

  .card-list {
    top: 23%;
    right: 5%;
    width: 174px;
    padding: 18px;
  }

  .card-list span {
    margin-left: 26px;
  }

  .card-message {
    left: 8%;
    bottom: 12%;
    width: 200px;
    padding: 18px;
  }

  .card-records {
    right: 6%;
    bottom: 9%;
    width: 142px;
    padding: 16px;
  }

  .card-records span {
    height: 28px;
  }

  .card-grid,
  .steps,
  .services-list,
  .value-grid,
  .week-grid {
    grid-template-columns: 1fr;
  }

  .featured-card,
  .featured-large {
    min-height: auto;
    padding: 24px;
  }

  .about-preview-panel {
    min-height: 170px;
  }

  .section {
    padding: 52px 0;
  }

  .section-alt {
    padding-right: 16px;
    padding-left: 16px;
  }

  .cta-section,
  .contact-form,
  .contact-card,
  .detail-card,
  .service-note {
    padding: 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
