:root {
  --navy: #2f4960;
  --background: #fafafa;
  --gray: #81807c;
  --accent: #998f82;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(47, 73, 96, 0.14);
  --ring: 0 0 0 4px rgba(153, 143, 130, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
  color: var(--navy);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(47, 73, 96, 0.06), rgba(250, 250, 250, 0) 34%),
    var(--background);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: min(100%, 1080px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 18px 28px;
}

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

.logo-link {
  display: inline-flex;
  justify-content: center;
  color: inherit;
}

.logo {
  width: min(86vw, 360px);
  height: auto;
  margin: 2px auto 18px;
  mix-blend-mode: multiply;
}

.headshot {
  width: clamp(132px, 35vw, 172px);
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  object-position: center 23%;
  border: 4px solid var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow);
  background: var(--accent);
}

h1 {
  max-width: 12ch;
  margin: 20px 0 8px;
  color: var(--navy);
  font-size: clamp(2rem, 11vw, 3.25rem);
  line-height: 0.96;
  font-weight: 760;
  letter-spacing: 0;
}

.reviews-page h1,
.questionnaire-page h1,
.schedule-page h1,
.contact-page h1 {
  max-width: none;
}

.subheadline {
  max-width: 24rem;
  margin: 0 0 24px;
  color: var(--gray);
  font-size: clamp(1.02rem, 4.7vw, 1.2rem);
  line-height: 1.45;
  font-weight: 520;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  margin: -8px 0 24px;
  padding: 7px 13px;
  border: 1px solid rgba(153, 143, 130, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(47, 73, 96, 0.06);
  font-size: 0.95rem;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
}

.trust-badge:hover {
  border-color: rgba(153, 143, 130, 0.48);
  color: var(--accent);
}

.trust-badge:focus-visible {
  outline: none;
  box-shadow: var(--ring), 0 8px 18px rgba(47, 73, 96, 0.06);
}

.trust-stars {
  color: #c8952d;
  font-size: 0.92rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.reviews-page-header,
.interior-page-header {
  display: grid;
  justify-items: center;
  margin: 0 auto 24px;
  text-align: center;
}

.reviews-page-header .logo,
.interior-page-header .logo {
  margin-bottom: 22px;
}

.reviews-page-header .subheadline,
.interior-page-header .subheadline {
  margin-bottom: 0;
}

.interior-page-header {
  width: min(100%, 720px);
}

.supporting-text {
  max-width: 39rem;
  margin: 14px 0 0;
  color: #3c4d5b;
  font-size: 1rem;
  line-height: 1.55;
}

.link-list {
  display: grid;
  gap: 12px;
  width: min(100%, 520px);
  margin: 0 auto;
}

.link-button {
  display: grid;
  grid-template-columns: 38px 1fr 24px;
  align-items: center;
  min-height: 68px;
  padding: 12px 15px;
  border: 1px solid rgba(47, 73, 96, 0.1);
  border-radius: 18px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(47, 73, 96, 0.08);
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.link-button:first-child {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(47, 73, 96, 0.24);
}

.link-button:hover {
  transform: translateY(-2px);
  border-color: rgba(153, 143, 130, 0.55);
  box-shadow: 0 16px 34px rgba(47, 73, 96, 0.14);
}

.link-button:focus-visible,
.social-button:focus-visible,
.google-reviews-button:focus-visible {
  outline: none;
  box-shadow: var(--ring), var(--shadow);
}

.button-icon,
.button-arrow {
  width: 24px;
  height: 24px;
  justify-self: center;
  flex: 0 0 auto;
}

.button-label {
  min-width: 0;
  padding: 0 6px;
  font-size: 1.04rem;
  font-weight: 720;
  line-height: 1.22;
}

.reviews-section {
  margin: 0 auto;
}

.reviews-header {
  width: min(100%, 620px);
  margin: 0 auto 18px;
  text-align: center;
}

.trust-line {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 12px;
  padding: 6px 13px;
  border: 1px solid rgba(153, 143, 130, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 780;
}

.reviews-header h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(1.7rem, 8vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.reviews-header p:not(.trust-line) {
  margin: 0 auto;
  color: var(--gray);
  font-size: clamp(1rem, 4.5vw, 1.13rem);
  line-height: 1.48;
  font-weight: 520;
}

.reviews-grid {
  display: grid;
  gap: 14px;
}

.review-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(47, 73, 96, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(47, 73, 96, 0.08);
}

.review-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.review-name {
  margin: 0;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 780;
  line-height: 1.25;
}

.review-rating {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 2px;
  color: #c8952d;
  font-size: 1.04rem;
  line-height: 1;
}

.review-text {
  margin: 0;
  color: #3c4d5b;
  font-size: 1.01rem;
  line-height: 1.58;
}

.reviews-action {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(100%, 520px);
  margin: 18px auto 0;
  text-align: center;
}

.reviews-action p {
  margin: 0;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.35;
}

.google-reviews-button {
  display: grid;
  width: 100%;
  min-height: 62px;
  place-items: center;
  padding: 12px 18px;
  border: 1px solid rgba(47, 73, 96, 0.12);
  border-radius: 18px;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(47, 73, 96, 0.13);
  font-size: 1.04rem;
  font-weight: 780;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.google-reviews-button:hover {
  transform: translateY(-2px);
  background: var(--navy);
  box-shadow: 0 16px 34px rgba(47, 73, 96, 0.16);
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 760;
  text-decoration-color: rgba(47, 73, 96, 0.35);
  text-underline-offset: 4px;
}

.back-link:hover {
  color: var(--accent);
}

.top-back-link {
  margin-bottom: 10px;
}

.interior-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 0 0 10px;
}

.info-section,
.form-section {
  width: min(100%, 760px);
  margin: 14px auto 0;
  padding: 18px;
  border: 1px solid rgba(47, 73, 96, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(47, 73, 96, 0.08);
}

.info-section h2,
.form-section h2 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: clamp(1.25rem, 5.6vw, 1.65rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.info-section p,
.form-section p {
  margin: 0;
  color: #3c4d5b;
  font-size: 1.02rem;
  line-height: 1.58;
}

.security-section {
  border-color: rgba(153, 143, 130, 0.28);
}

.form-section {
  width: min(100%, 920px);
  padding: 0;
  overflow: hidden;
}

.form-section-header {
  padding: 18px 18px 0;
}

.jotform-container {
  width: 100%;
  min-height: 640px;
  padding: 8px 0 0;
}

.jotform-container iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  border: 0;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(47, 73, 96, 0.1);
}

.contact-details p {
  color: var(--navy);
  font-weight: 650;
}

.contact-details a {
  color: var(--navy);
  text-decoration-color: rgba(47, 73, 96, 0.35);
  text-underline-offset: 4px;
}

.contact-details a:hover {
  color: var(--accent);
}

.contact-details address {
  margin: 0;
  color: var(--navy);
  font-style: normal;
  font-size: 1.02rem;
  line-height: 1.5;
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.contact-details p,
.contact-details address {
  margin: 0;
  color: #3c4d5b;
  font-style: normal;
  font-size: 1.02rem;
  line-height: 1.5;
}

.contact-details strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-weight: 780;
}

.contact-details a {
  color: var(--navy);
  font-weight: 760;
  text-decoration-color: rgba(47, 73, 96, 0.35);
  text-underline-offset: 4px;
}

.contact-details a:hover {
  color: var(--accent);
}

.privacy-note {
  border-color: rgba(153, 143, 130, 0.28);
}

.contact-actions {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(100%, 520px);
  margin: 18px auto 0;
  text-align: center;
}

.calendly-section {
  width: min(100%, 920px);
  margin: 18px auto 0;
  overflow: hidden;
  border: 1px solid rgba(47, 73, 96, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(47, 73, 96, 0.08);
}

.calendly-inline-widget {
  width: 100%;
  min-width: 0 !important;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 18px;
}

.social-button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(47, 73, 96, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--navy);
  box-shadow: 0 10px 20px rgba(47, 73, 96, 0.07);
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.social-button:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: var(--white);
}

.social-button svg {
  width: 23px;
  height: 23px;
}

footer {
  color: var(--gray);
  text-align: center;
}

footer p {
  margin: 0 auto;
  max-width: 24rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

@media (min-width: 680px) {
  .page-shell {
    padding-top: 36px;
  }

  .link-button {
    min-height: 72px;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (min-width: 980px) {
  .reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
