:root {
  --color-lavender: #c4a06f;
  --color-lavender-light: #efe4d4;
  --color-lavender-soft: #f8f3eb;
  --color-wood: #b88245;
  --color-wood-dark: #5c4029;
  --color-cream: #fbf7f1;
  --color-stone: #373331;
  --color-text: #2f2b28;
  --color-muted: #6f6258;
  --color-white: #ffffff;
  --color-border: #eadfce;
  --shadow-card: 0 18px 45px rgba(71, 48, 28, 0.13);
  --shadow-soft: 0 14px 30px rgba(71, 48, 28, 0.16);
  --radius-large: 32px;
  --radius-medium: 24px;
  --radius-small: 18px;
  --container: 1180px;
  --section-gap: clamp(72px, 9vw, 120px);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-wood-dark);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-cream);
  color: var(--color-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-hero {
  width: 100%;
  margin: 0;
  padding: clamp(18px, 3vw, 32px);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(92, 64, 41, 0.12), transparent 24%, rgba(255, 255, 255, 0.12) 52%, transparent 78%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 1px 86px
    ),
    linear-gradient(135deg, #d2ad79, #b77f43 54%, #8f623c);
  border-radius: 0 0 var(--radius-large) var(--radius-large);
}

.navbar,
.hero-content,
.section,
.cta-section,
.contact-section,
.footer-grid,
.footer-bottom {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.navbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: 56px;
}

.brand,
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand {
  min-width: 0;
  font-size: clamp(0.96rem, 1.8vw, 1.08rem);
}

.brand-mark,
.phone-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
  color: #342820;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding-block: 8px;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.phone-link {
  justify-self: end;
  padding: 8px 16px 8px 8px;
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid rgba(255, 250, 242, 0.72);
  border-radius: 999px;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.phone-link:hover {
  background: var(--color-white);
  transform: translateY(-2px);
}

.phone-icon {
  width: 38px;
  height: 38px;
  background: var(--color-white);
  color: var(--color-wood-dark);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: rgba(255, 250, 242, 0.72);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

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

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

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

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

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding: clamp(34px, 6vw, 68px) 0 clamp(34px, 5vw, 58px);
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #5c4029;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 5.7vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 57ch;
  margin-bottom: 24px;
  color: #4f433b;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.primary-button {
  background: var(--color-stone);
  color: var(--color-white);
  box-shadow: 0 16px 34px rgba(51, 51, 51, 0.2);
}

.secondary-button {
  background: var(--color-cream);
  color: var(--color-wood-dark);
  box-shadow: var(--shadow-soft);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(71, 48, 28, 0.22);
}

.hero-visual {
  position: relative;
  min-height: 360px;
}

.image-placeholder,
.about-image-inner {
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.55), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 235, 224, 0.82)),
    var(--color-cream);
  border: 1px solid rgba(255, 250, 242, 0.82);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.image-placeholder {
  position: relative;
  min-height: 360px;
}

.image-placeholder p,
.about-image-inner span {
  position: relative;
  z-index: 2;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.placeholder-person {
  position: absolute;
  bottom: 0;
  border-radius: 90px 90px 24px 24px;
}

.placeholder-person::before {
  position: absolute;
  top: -64px;
  left: 50%;
  width: 86px;
  height: 86px;
  background: #e7c6b2;
  border-radius: 999px;
  content: "";
  transform: translateX(-50%);
}

.therapist {
  right: 64px;
  width: 134px;
  height: 230px;
  background: #ffffff;
  box-shadow: inset 0 -18px 0 #d8e6df;
}

.patient {
  left: 58px;
  width: 122px;
  height: 184px;
  background: #cdb9a2;
  box-shadow: inset 0 -16px 0 #f1d8c7;
}

.therapy-line {
  position: absolute;
  right: 148px;
  bottom: 180px;
  width: 170px;
  height: 6px;
  background: #7b604f;
  border-radius: 999px;
  transform: rotate(-14deg);
}

.floating-badge {
  position: absolute;
  z-index: 3;
  max-width: 190px;
  padding: 12px 16px;
  background: rgba(255, 250, 242, 0.94);
  border: 1px solid rgba(255, 250, 242, 0.92);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  color: #3f3028;
  font-size: 0.9rem;
  font-weight: 800;
}

.badge-top {
  top: 34px;
  right: -8px;
}

.badge-left {
  top: 44%;
  left: -22px;
}

.badge-bottom {
  right: 28px;
  bottom: 28px;
}

.section {
  padding-top: var(--section-gap);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-heading span {
  width: clamp(60px, 11vw, 135px);
  height: 2px;
  background: var(--color-wood);
}

.section-heading h2,
.cta-section h2,
.footer-grid h2 {
  margin-bottom: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.about-image-inner {
  min-height: 390px;
  background:
    linear-gradient(135deg, rgba(184, 130, 69, 0.34), rgba(255, 250, 242, 0.82)),
    repeating-linear-gradient(
      45deg,
      rgba(92, 64, 41, 0.05) 0 12px,
      rgba(255, 255, 255, 0.12) 12px 24px
    );
}

.about-copy {
  color: var(--color-muted);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.section-intro {
  max-width: 560px;
  margin: -24px 0 38px;
  color: var(--color-muted);
  font-size: 1rem;
}

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

.team-card {
  min-width: 0;
}

.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  margin-bottom: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 26%, #e5c4ae 0 12%, transparent 13%),
    linear-gradient(180deg, transparent 48%, rgba(184, 130, 69, 0.24) 49%),
    linear-gradient(135deg, #fbf7f1, #eadfce);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  box-shadow: 0 12px 28px rgba(71, 48, 28, 0.08);
}

.team-photo::before,
.team-photo::after {
  position: absolute;
  content: "";
}

.team-photo::before {
  top: 34%;
  left: 50%;
  width: 38%;
  height: 44%;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px 999px 18px 18px;
  transform: translateX(-50%);
}

.team-photo::after {
  right: 16%;
  bottom: 14%;
  left: 16%;
  height: 2px;
  background: rgba(123, 96, 79, 0.22);
  border-radius: 999px;
}

.team-card h3 {
  margin-bottom: 2px;
  font-size: 1rem;
  line-height: 1.25;
}

.team-card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

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

.service-card {
  min-height: 250px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: 0 8px 22px rgba(71, 48, 28, 0.07);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-card:hover {
  border-color: #d6bd9d;
  box-shadow: var(--shadow-card);
  transform: translateY(-6px);
}

.service-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  place-items: center;
  background: var(--color-lavender-light);
  border-radius: 999px;
  color: var(--color-wood-dark);
  font-size: 1.55rem;
}

.service-icon.mint {
  background: #dce9df;
  color: #3f6e55;
}

.service-icon.peach {
  background: #f4dfc8;
  color: #8f5d32;
}

.service-icon.blue {
  background: #dce5ea;
  color: #4c6875;
}

.service-icon.rose {
  background: #ead7d0;
  color: #8f5f54;
}

.service-icon.sand {
  background: #ece0c8;
  color: #765f38;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.22;
}

.service-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: var(--section-gap);
  padding: clamp(32px, 6vw, 64px);
  background:
    linear-gradient(90deg, rgba(92, 64, 41, 0.14), transparent 35%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 1px 76px
    ),
    linear-gradient(135deg, #d5b17c, #aa743f);
  border-radius: var(--radius-large);
}

.cta-section h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 4.6vw, 4rem);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: var(--section-gap);
  overflow: hidden;
  background: #efe7dc;
  border-radius: var(--radius-large);
  box-shadow: 0 18px 45px rgba(71, 48, 28, 0.08);
}

.contact-form-panel,
.contact-info-panel {
  padding: clamp(28px, 5vw, 64px);
}

.contact-form-panel {
  background: #fffaf3;
}

.contact-form-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.contact-form-panel > p {
  max-width: 45ch;
  margin-bottom: 30px;
  color: var(--color-muted);
}

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

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: #3d3028;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  background: #f8f1e8;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--color-text);
  font: inherit;
  outline: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-form textarea {
  min-height: 126px;
  padding-top: 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: var(--color-white);
  border-color: var(--color-lavender);
  box-shadow: 0 0 0 4px rgba(196, 160, 111, 0.26);
}

.contact-form button {
  min-height: 54px;
  background: var(--color-stone);
  border: 0;
  border-radius: 12px;
  color: var(--color-white);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.contact-form button:hover {
  background: #211f1d;
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.contact-info-panel {
  display: grid;
  gap: 38px;
  align-content: center;
  background: #eadfce;
}

.contact-info-list {
  display: grid;
  gap: 28px;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--color-white);
  border-radius: 12px;
  color: var(--color-wood-dark);
  box-shadow: 0 10px 22px rgba(71, 48, 28, 0.08);
}

.contact-info-item h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.contact-info-item p {
  margin-bottom: 0;
  color: #5b4b40;
}

.map-embed {
  overflow: hidden;
  display: grid;
  min-height: 250px;
  border-radius: var(--radius-small);
  background: linear-gradient(135deg, #e9dfd2, #ccb08b);
  box-shadow: var(--shadow-card);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 250px;
  border: 0;
}

.map-consent {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
  color: var(--color-text);
}

.map-consent p {
  margin: 0;
  font-weight: 700;
}

.map-consent small {
  max-width: 260px;
  color: var(--color-muted);
}

.map-consent-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  color: var(--color-wood-dark);
  font-size: 1.6rem;
  font-weight: 500;
}

.map-load-button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--color-wood-dark);
  color: var(--color-white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.map-load-button:hover,
.map-load-button:focus-visible {
  background: var(--color-text);
}


.site-footer {
  width: 100%;
  margin: var(--section-gap) 0 0;
  padding: clamp(42px, 6vw, 74px) clamp(18px, 3vw, 32px) 28px;
  background:
    linear-gradient(90deg, rgba(92, 64, 41, 0.14), transparent 35%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 1px 76px
    ),
    linear-gradient(135deg, #d5b17c, #aa743f);
  border-radius: var(--radius-large) var(--radius-large) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 32px;
}

.footer-grid h2 {
  margin-bottom: 16px;
  font-size: 1.08rem;
}

.footer-grid p {
  margin-bottom: 8px;
  color: #46372d;
}

.footer-grid a {
  transition: color 180ms ease;
}

.footer-grid a:hover {
  color: #1f1a16;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: flex-end;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(92, 64, 41, 0.28);
  color: #3d3028;
  font-size: 0.92rem;
  font-weight: 700;
}

.legal-hero {
  padding-bottom: clamp(44px, 7vw, 76px);
}

.legal-title {
  width: min(100%, var(--container));
  margin: clamp(54px, 8vw, 96px) auto 0;
}

.legal-title h1 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 5rem);
}

.legal-main {
  width: min(calc(100% - 32px), 980px);
  margin: clamp(56px, 8vw, 92px) auto 0;
}

.legal-content {
  padding: clamp(28px, 5vw, 58px);
  background: #fffaf3;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  box-shadow: 0 18px 45px rgba(71, 48, 28, 0.08);
}

.legal-content h2 {
  margin: 38px 0 16px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.16;
}

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

.legal-content h3 {
  margin: 30px 0 10px;
  font-size: 1.15rem;
}

.legal-content p,
.legal-content li {
  color: var(--color-muted);
}

.legal-content a {
  color: #74502f;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

@media (max-width: 980px) {
  .site-hero,
  .site-footer {
    width: 100%;
    margin-top: 0;
  }

  .navbar {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav-links,
  .phone-link {
    grid-column: 1 / -1;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.58);
    border-radius: 22px;
  }

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

  .nav-links a {
    padding: 11px 12px;
  }

  .nav-links a::after {
    display: none;
  }

  .phone-link {
    display: none;
    justify-self: stretch;
    justify-content: center;
  }

  .phone-link.is-open {
    display: inline-flex;
  }

  .legal-nav {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 12ch;
  }

  .hero-visual {
    min-height: 360px;
  }

  .image-placeholder {
    min-height: 360px;
  }

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

  .about-grid,
  .contact-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --radius-large: 26px;
    --radius-medium: 20px;
    --section-gap: 58px;
  }

  .site-hero,
  .site-footer {
    width: 100%;
    margin-top: 0;
    padding-inline: 16px;
  }

  .brand span:last-child {
    max-width: 190px;
    line-height: 1.2;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .navbar {
    gap: 12px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-content {
    gap: 26px;
    padding-top: 30px;
    padding-bottom: 32px;
  }

  h1 {
    max-width: 11ch;
    margin-bottom: 16px;
    font-size: clamp(2.55rem, 15vw, 3.45rem);
  }

  .hero-copy p:not(.eyebrow) {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-visual,
  .image-placeholder {
    min-height: 270px;
  }

  .therapist {
    right: 28px;
    width: 86px;
    height: 158px;
  }

  .patient {
    left: 26px;
    width: 82px;
    height: 132px;
  }

  .placeholder-person::before {
    top: -48px;
    width: 64px;
    height: 64px;
  }

  .therapy-line {
    right: 88px;
    bottom: 132px;
    width: 100px;
    height: 5px;
  }

  .image-placeholder p {
    max-width: 78%;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .floating-badge {
    position: relative;
    inset: auto;
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin: 8px 8px 0 0;
    padding: 9px 12px;
    border-radius: 14px;
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 24px;
  }

  .section-heading span {
    width: 44px;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 11vw, 2.65rem);
  }

  .about-image-inner {
    min-height: 245px;
  }

  .about-copy {
    font-size: 1rem;
    line-height: 1.65;
  }

  .team-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-intro {
    margin-top: -14px;
    margin-bottom: 24px;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .team-grid {
    gap: 28px;
  }

  .team-photo {
    aspect-ratio: 16 / 11;
    margin-bottom: 12px;
  }

  .service-card {
    min-height: 0;
    padding: 22px;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    font-size: 1.35rem;
  }

  .service-card h3 {
    font-size: 1.08rem;
  }

  .service-card p {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 22px;
  }

  .cta-section h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .contact-form-panel,
  .contact-info-panel {
    padding: 28px 20px;
  }

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

  .map-embed,
  .map-embed iframe {
    min-height: 190px;
    height: 190px;
  }

  .footer-bottom {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .navbar,
  .hero-content,
  .section,
  .cta-section,
  .contact-section,
  .footer-grid,
  .footer-bottom,
  .legal-title {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    font-size: 0.9rem;
  }

  .brand span:last-child {
    max-width: 170px;
  }

  .primary-button,
  .secondary-button {
    min-height: 46px;
    padding-inline: 20px;
    font-size: 0.95rem;
  }
}

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