/* Clean editorial direction inspired by the approved visual reference. */
:root {
  --ink: #0f4b59;
  --green: #4f8f86;
  --cream: #fcf9f2;
  --mint: #e4efe9;
  --coral: #dfa995;
  --line: #d7e3de;
}

body {
  background-color: var(--cream);
  background-image: none;
  color: var(--ink);
}

header,
.home-new header {
  background: rgba(252, 249, 242, .97);
  color: var(--ink);
  border-bottom: 1px solid rgba(79, 143, 134, .18);
  box-shadow: 0 7px 25px rgba(15, 75, 89, .055);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  max-width: 1420px;
  min-height: 92px;
  padding: 10px 32px;
  gap: 26px;
}

.clinic-logo,
.home-new .clinic-logo {
  width: 78px;
  height: 78px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.brand {
  gap: 14px;
  color: var(--ink);
  font-size: 1.62rem;
  letter-spacing: .055em;
}

.brand small {
  font-size: .57rem;
  letter-spacing: .18em;
  margin-top: 5px;
}

header .brand {
  gap: 12px;
  letter-spacing: 0;
  line-height: 1;
}

header .clinic-logo,
.home-new header .clinic-logo {
  width: 92px;
  height: 92px;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: max-content;
  color: var(--ink);
}

.header-brand .clinic-logo {
  display: block;
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  filter: saturate(.76) contrast(.88) brightness(1.035);
  opacity: .94;
}

.clinic-wordmark {
  display: block;
  width: 228px;
  height: auto;
  flex: 0 0 auto;
  filter: saturate(.84) contrast(.94) brightness(1.015);
  opacity: .96;
}

.brand-wordmark strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.08rem;
  font-weight: 400;
  line-height: .92;
  letter-spacing: .025em;
}

header .brand-wordmark .brand-kicker {
  margin: 0 0 5px 3px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .61rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .22em;
}

header .brand-wordmark .brand-specialty {
  margin: 8px 0 0 3px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .46rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .17em;
}

.nav-wrap nav { gap: 28px; }
.nav-wrap nav a { font-size: .86rem; font-weight: 600; }

.nav-wrap nav a:hover,
.nav-wrap nav a[aria-current],
.home-new .nav-wrap nav a:hover,
.home-new .nav-wrap nav a[aria-current] {
  color: var(--green);
}

.nav-wrap > .button,
.home-new header .button {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  border-radius: 999px;
  padding: 13px 22px;
  box-shadow: 0 7px 18px rgba(79, 143, 134, .16);
}

.nav-wrap > .button:hover,
.home-new header .button:hover {
  background: #3f786f;
  color: #fff;
}

.home-new .reference-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #fcf9f2 0%, #fcf9f2 45%, #e6efe9 45%, #e6efe9 100%);
}

.home-new .reference-hero::before {
  content: "";
  position: absolute;
  left: -130px;
  top: 75px;
  width: 260px;
  height: 420px;
  border: 2px solid rgba(79, 143, 134, .18);
  border-radius: 50%;
  pointer-events: none;
}

.reference-hero-grid {
  max-width: 1420px;
  grid-template-columns: .82fr 1.18fr;
  min-height: 570px;
}

.reference-hero-copy {
  position: relative;
  z-index: 2;
  padding: 72px 38px 42px 0;
}

.reference-hero-copy .eyebrow { color: var(--green); }

.reference-hero-copy h1 {
  max-width: 590px;
  margin: 16px 0 18px;
  color: var(--ink);
  font-size: clamp(3.5rem, 5.4vw, 5.55rem);
  line-height: 1.01;
}

.reference-hero-copy h1 em {
  color: var(--green);
  font-style: normal;
}

.reference-hero-copy > p {
  max-width: 510px;
  margin-bottom: 0;
  color: #365f67;
  font-size: 1.12rem;
  line-height: 1.55;
}

.whatsapp-button {
  gap: 9px;
  border-radius: 999px;
  padding: 15px 25px;
}

.whatsapp-button span:first-child {
  width: 20px;
  height: 20px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0;
}

.whatsapp-button span:first-child::after {
  content: "✓";
  font-size: .7rem;
}

.hero-differentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.hero-differentials > div {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.hero-differentials small {
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.35;
  color: #244f58;
}

.line-icon {
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  display: grid;
  place-items: center;
  border: 1px solid #a9c9c0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
}

.line-icon svg,
.service-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reference-hero-photo {
  min-height: 570px;
  margin-right: -50px;
  background: #fcf9f2;
}

.reference-hero-photo > img {
  object-position: 52% 50%;
  filter: saturate(.86) contrast(.93) brightness(1.025);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 9%, #000 26%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 9%, #000 26%, #000 100%);
}

.reference-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(252, 249, 242, .7) 0%, rgba(252, 249, 242, .22) 17%, transparent 38%);
  pointer-events: none;
}

.hero-handwritten {
  position: absolute;
  z-index: 2;
  right: 58px;
  top: 92px;
  color: var(--ink);
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 2rem;
  line-height: 1.08;
  text-align: center;
  transform: rotate(-5deg);
}

.hero-handwritten span {
  display: block;
  margin-top: 5px;
  font-family: Georgia, serif;
}

.services-showcase {
  padding: 34px 0 48px;
  background: #fbf8f1;
}

.service-card-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card-row > a {
  min-height: 180px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 24px 20px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(79, 143, 134, .15);
  border-radius: 17px;
  box-shadow: 0 10px 28px rgba(15, 75, 89, .055);
  transition: transform .2s, box-shadow .2s;
}

.service-card-row > a:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 32px rgba(15, 75, 89, .1);
}

.service-card-row h3 {
  margin: 4px 0 8px;
  font: 600 .98rem/1.3 Arial, sans-serif;
  color: var(--ink);
}

.service-card-row p {
  margin: 0;
  color: #587078;
  font-size: .78rem;
  line-height: 1.55;
}

.service-icon {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: #dcecf0;
}

.service-icon-mint { background: #dcebdc; }
.service-icon-rose { background: #f0ddd5; }
.service-icon-sage { background: #dfeadd; }
.service-icon svg { width: 32px; height: 32px; }

.card-link {
  display: inline-block;
  margin-top: 13px;
  color: var(--green);
  font-size: .74rem;
  font-weight: 700;
}

.brand-quote {
  position: relative;
  overflow: hidden;
  padding: 46px 0 58px;
  text-align: center;
  background: linear-gradient(168deg, #eef4ef 0 47%, #dfeae4 47% 72%, #f8f5ee 72%);
}

.brand-quote::before,
.brand-quote::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.brand-quote::before {
  width: 270px;
  height: 150px;
  left: -65px;
  bottom: -58px;
  background: rgba(79, 143, 134, .08);
}

.brand-quote::after {
  width: 250px;
  height: 120px;
  right: -65px;
  top: -55px;
  background: rgba(223, 169, 149, .08);
}

.brand-quote p {
  position: relative;
  margin: 0;
  font: italic 1.32rem Georgia, serif;
  color: var(--ink);
}

.brand-quote span {
  position: relative;
  display: block;
  margin-top: 9px;
  font: 1.3rem Georgia, serif;
  color: var(--green);
}

.clinic-feature { background: #e8f1ed; }
.clinic-feature-copy,
.services-showcase,
.doctor-home { background-color: #fcf9f2; }
.feline-band,
.dental { background: #4f8f86; }
.contact-panel,
.google-reviews { background: #edf4f0; }
.outline-button {
  border-color: #8db8ad;
  color: var(--ink);
  border-radius: 999px;
}
.outline-button:hover { background: #e4efe9; }
.home-new footer,
footer { background: #174f59; color: #f7fbf8; }
.home-new .footer-bottom,
.footer-bottom { border-color: #52818a; }
.floating-wa { background: var(--green); border-color: #a7c9c0; }
.floating-instagram { color: var(--ink); border-color: #a7c9c0; }

@media (max-width: 1180px) {
  .nav-wrap nav { gap: 17px; }
  .nav-wrap nav a { font-size: .78rem; }
  .brand-wordmark strong { font-size: 1.7rem; }
  header .brand-wordmark .brand-kicker { font-size: .5rem; }
  header .brand-wordmark .brand-specialty { font-size: .38rem; }
  header .clinic-logo,
  .home-new header .clinic-logo { width: 78px; height: 78px; }
  .header-brand .clinic-logo { width: 72px; height: 72px; flex-basis: 72px; }
  .clinic-wordmark { width: 198px; }
  .service-card-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1000px) {
  .home-new .menu-toggle,
  .menu-toggle { color: var(--ink); border-color: #9bbeb5; }
  .home-new .nav-wrap nav,
  .nav-wrap nav { background: #fcf9f2; border-color: #d7e3de; }
  .reference-hero-grid { grid-template-columns: 1fr 1fr; }
  .reference-hero-copy { padding-right: 25px; }
  .hero-differentials { grid-template-columns: 1fr; gap: 10px; }
  .line-icon { width: 40px; height: 40px; flex-basis: 40px; }
}

@media (max-width: 700px) {
  .nav-wrap { min-height: 74px; padding: 8px 16px; }
  header .clinic-logo,
  .home-new header .clinic-logo { width: 64px; height: 64px; }
  header .brand { gap: 8px; }
  .brand-wordmark strong { font-size: 1.27rem; }
  header .brand-wordmark .brand-kicker { margin-bottom: 4px; font-size: .4rem; letter-spacing: .17em; }
  header .brand-wordmark .brand-specialty { margin-top: 5px; font-size: .3rem; letter-spacing: .12em; }
  .header-brand .clinic-logo { width: 58px; height: 58px; flex-basis: 58px; }
  .clinic-wordmark { width: 170px; }
  .home-new .reference-hero { background: #fcf9f2; }
  .reference-hero-grid { grid-template-columns: 1fr; padding: 0; }
  .reference-hero-copy { padding: 42px 24px 32px; }
  .reference-hero-copy h1 { font-size: 3.25rem; }
  .reference-hero-copy > p { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-differentials { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-differentials > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .hero-differentials small { font-size: .64rem; }
  .reference-hero-photo { min-height: 360px; margin: 0; }
  .reference-hero-photo > img {
    object-position: 72% 50%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .8) 7%, #000 18%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .8) 7%, #000 18%, #000 100%);
  }
  .reference-hero-photo::after {
    background: linear-gradient(180deg, rgba(252, 249, 242, .55) 0%, transparent 20%);
  }
  .hero-handwritten {
    right: 14px;
    top: 12px;
    max-width: 126px;
    font-size: 1.28rem;
    line-height: 1.02;
    text-align: right;
    text-shadow: 0 1px 10px rgba(252, 249, 242, .95);
  }
  .hero-handwritten span { display: none; }
  .service-card-row { grid-template-columns: 1fr; gap: 12px; }
  .service-card-row > a { min-height: 0; }
  .services-showcase { padding: 22px 0 34px; }
  .brand-quote { padding: 38px 24px 48px; }
  .brand-quote p { font-size: 1.1rem; }
}

@media (max-width: 370px) {
  .header-brand .clinic-logo { width: 50px; height: 50px; flex-basis: 50px; }
  .clinic-wordmark { width: 150px; }
}
