/* Shared visual refinements for DiaMeta's static pages. */
.footer-social {
  margin: 20px 0 24px;
}
.footer-social-label {
  display: block;
  color: #c8deda;
  font-size: 12px;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.footer-social-links {
  display: flex;
  gap: 10px;
}
footer .footer-social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 11px;
  margin: 0;
  color: #fff;
  background: #ffffff10;
  border: 1px solid #ffffff38;
  border-radius: 12px;
  transition: background .2s, transform .2s;
}
.footer-social-link svg {
  display: block;
  width: 22px;
  height: 22px;
}
.footer-social-link:disabled {
  cursor: default;
  opacity: .8;
}
footer a.footer-social-link:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
footer a.footer-social-link.instagram:hover {
  background: #b33076;
}
footer a.footer-social-link.facebook:hover {
  background: #1877f2;
}
footer a.footer-social-link.youtube:hover {
  background: #c62828;
}
.footer-social-link:focus-visible {
  outline: 3px solid #f1c96e;
  outline-offset: 4px;
}
.footer-location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  gap: 36px;
  align-items: center;
  margin-top: 42px;
  padding: 28px;
  border: 1px solid #ffffff28;
  border-radius: 22px;
  background: #ffffff07;
}
.footer-location-eyebrow {
  color: #b5e4d9;
  font-size: 11.5px;
  letter-spacing: .15em;
  font-weight: 700;
}
footer .footer-location h3 {
  font-size: 28px;
  margin: 12px 0;
  letter-spacing: -.035em;
}
footer .footer-location p {
  max-width: 360px;
  margin: 0 0 18px;
}
footer .footer-directions {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid #ffffff48;
  border-radius: 9px;
  color: #fff;
  font-weight: 700;
  margin: 0;
}
footer .footer-directions:hover {
  background: #ffffff14;
  text-decoration: none;
}
.footer-map-frame {
  overflow: hidden;
  border-radius: 14px;
  background: #dcebe5;
}
.footer-clinic-map {
  display: block;
  width: 100%;
  height: 230px;
  border: 0;
  border-radius: 14px;
}
@media (max-width: 700px) {
  .footer-location {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
    margin-top: 30px;
  }
  .footer-clinic-map {
    height: 220px;
  }
}
/* Blend only the outer 5% of the homepage hero photo into its backdrop. */
.hero .hero-photo > img {
  -webkit-mask-image: linear-gradient(to right, #000 95%, transparent 100%), linear-gradient(to bottom, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, #000 95%, transparent 100%), linear-gradient(to bottom, #000 95%, transparent 100%);
  mask-composite: intersect;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}
:root {
  --surface:#fff;
  --line:#dce9e6;
  --shadow-soft:0 10px 32px #153e3a09;
  --radius-card:20px
}
html {
  scroll-padding-top:112px;
  scroll-behavior:auto
}
/* Keep native wheel/touch scrolling responsive and content visible immediately. */
header {
  backdrop-filter:none
}
.reveal,.reveal.visible {
  opacity:1;
  transform:none;
  transition:none
}
body {
  background:#fbfcfc;
  -webkit-font-smoothing:antialiased
}
::selection {
  background:#c6e9df;
  color:#123e42
}
h1,h2,h3 {
  text-wrap:balance
}
p {
  line-height:1.8
}
main>section:not(.hero):not(.page-hero):not(.compact) {
  padding-block:clamp(56px,6.5vw,94px)
}
.eyebrow {
  color:#806000;
  line-height:1.7;
  letter-spacing:.15em
}
.center {
  max-width:700px;
  margin-bottom:40px
}
.center>p {
  max-width:560px;
  margin-inline:auto;
  font-size:15px
}
.actions {
  flex-wrap:wrap
}
.btn {
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:10px;
  box-shadow:0 4px 12px #00808012;
  transition:background .2s,box-shadow .2s,transform .2s
}
.btn:hover {
  transform:translateY(-2px);
  box-shadow:0 8px 20px #00808020
}
.btn.dark:hover {
  background:#193b48
}
.text-link {
  line-height:1.6;
  text-underline-offset:5px
}
.text-link:hover {
  text-decoration:underline
}
.skip-link {
  position:fixed;
  left:20px;
  top:12px;
  z-index:100;
  padding:12px 20px;
  border-radius:10px;
  background:#fff;
  color:#075f65;
  font-weight:700;
  box-shadow:var(--shadow-soft);
  transform:translateY(-180%)
}
.skip-link:focus {
  transform:translateY(0)
}
header {
  height:92px;
  gap:22px;
  background:#ffffffed;
  border-bottom:1px solid #dce9e6;
  box-shadow:0 2px 16px #153e3a04
}
header nav {
  gap:22px
}
header nav>a,header .nav-item>a {
  padding-block:8px
}
header nav a[aria-current=page] {
  color:#087e84
}
header nav a[aria-current=page]::after {
  transform:scaleX(1)
}
.nav-dropdown {
  padding:16px 18px;
  border-radius:0 0 16px 16px;
  box-shadow:0 18px 40px #153e3a14;
  scrollbar-width:thin;
  scrollbar-color:#9dc7be #f4f8f6
}
.nav-dropdown>a {
  font-weight:700
}
.nav-category-heading>a {
  font-weight:600
}
.nav-category-services a {
  font-weight:400
}
.page-hero {
  position:relative;
  background:radial-gradient(ellipse at 95% 10%,#cdeae180,transparent 52%),linear-gradient(115deg,#ecf6fb,#edf7f2);
  padding:46px 0 64px;
  border-bottom:1px solid #dfeee8
}
.page-hero h1 {
  letter-spacing:-.045em;
  line-height:1.12;
  margin-block:20px
}
.page-hero p {
  font-size:18px;
  line-height:1.8
}
.page-hero .pill {
  border:1px solid #d1e9e1;
  background:#ffffffc9;
  line-height:1.8
}
.breadcrumb {
  font-size:12px;
  margin-bottom:24px
}
a.breadcrumb:hover {
  color:#087e84;
  text-decoration:underline
}
.feature,.image-card,.service-card,.quote,.calc,.portal {
  border-color:var(--line);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-soft)
}
.feature {
  transition:border-color .2s,box-shadow .2s
}
.feature:hover {
  border-color:#a9cdc3;
  box-shadow:0 12px 28px #153e3a0c
}
.feature h3 {
  line-height:1.35
}
.image-card {
  display:flex;
  flex-direction:column
}
.image-card>img {
  flex-shrink:0;
  transition:filter .25s
}
.image-card>div {
  flex:1;
  padding:25px 26px 30px
}
.image-card h3 {
  line-height:1.3
}
.image-card p {
  font-size:14px;
  padding-right:18px
}
.image-card:hover {
  transform:translateY(-4px);
  box-shadow:0 16px 32px #153e3a12
}
.image-card:hover>img {
  filter:saturate(1.06)
}
.image-card .arrow {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  line-height:1
}
.soft {
  background:#f0f7f4
}
.blue {
  background:linear-gradient(120deg,#edf5fb,#e8f5f2)
}
.mint-panel {
  background:linear-gradient(145deg,#087e84,#09666a);
  box-shadow:var(--shadow-soft)
}
.tabs {
  border:1px solid #dce9e2;
  background:#edf4f0;
  padding:9px
}
.tabs button {
  min-height:44px;
  line-height:1.5
}
.expert-panel {
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft)
}
.booking-form {
  padding:26px;
  background:#ffffffc9;
  border:1px solid #d5e8e0;
  border-radius:20px;
  box-shadow:var(--shadow-soft)
}
dialog .booking-form {
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none
}
label {
  font-size:13px;
  color:#344f56
}
input,select {
  min-height:46px;
  border-color:#cbded7;
  border-radius:9px;
  font-size:14px
}
input::placeholder {
  color:#778b90
}
input:focus,select:focus {
  box-shadow:0 0 0 3px #0080800e
}
.consent input {
  min-height:16px;
  accent-color:#087e84
}
.booking-form>.btn {
  width:100%
}
.form-result:empty {
  display:none
}
.clinic-map {
  box-shadow:var(--shadow-soft);
  border:1px solid var(--line)
}
.accordion {
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding-inline:24px;
  box-shadow:var(--shadow-soft)
}
.accordion details {
  padding-block:22px
}
.accordion details:last-child {
  border-bottom:0
}
.accordion summary {
  line-height:1.6;
  padding-right:0
}
.accordion summary::after {
  margin-left:16px
}
.accordion details[open] summary {
  color:#087e84
}
.accordion details p {
  line-height:1.85
}
.patient-experiences {
  background:radial-gradient(ellipse at top left,#e0f0e8,transparent 60%),#f1f7f4;
  border-block:1px solid #e1eee7
}
.patient-review-card {
  box-shadow:0 5px 16px #17364407
}
.review-carousel-controls {
  margin-top:20px
}
footer {
  background:linear-gradient(140deg,#073e48,#0a5257);
  padding-top:70px
}
footer .brand {
  padding:5px 12px;
  border:1px solid #ffffff25;
  box-shadow:0 5px 22px #001c2412
}
footer h3 {
  font-size:14px;
  line-height:1.5;
  color:#fff;
  margin-bottom:20px
}
footer p {
  font-size:13px;
  line-height:1.85;
  color:#c0d9d9
}
footer a {
  font-size:13px;
  line-height:1.7;
  color:#dfedeb;
  transition:color .2s
}
footer a:hover {
  color:#fff;
  text-decoration:underline;
  text-underline-offset:4px
}
footer .brand:hover {
  text-decoration:none
}
footer a[href^="tel:"] {
  font-size:17px;
  font-weight:700;
  color:white
}
footer select {
  border-color:#ffffff40;
  background:#ffffffef
}
.legal {
  gap:20px;
  align-items:flex-start;
  line-height:1.8;
  font-size:12px;
  color:#b9d4d2
}
.legal a {
  margin:0;
  font-size:12px
}
@media(max-width:1100px) {
  header {
    height:82px;
    padding-inline:24px;
    gap:16px
  }
  header .brand .brand-logo {
    width:165px
  }
  .menu-toggle {
    display:block;
    border:1px solid #d8e7e2;
    border-radius:9px;
    background:#fff;
    color:#174e55;
    font-size:22px;
    line-height:1;
    padding:9px 11px;
    margin-left:auto;
    min-height:42px
  }
  header>.btn {
    font-size:12px;
    padding:12px 16px
  }
  header nav {
    display:none;
    position:absolute;
    top:82px;
    left:0;
    right:0;
    max-height:calc(100dvh - 155px);
    overflow-y:auto;
    background:#fff;
    padding:22px 28px;
    box-shadow:0 18px 28px #123e4210;
    align-items:stretch
  }
  header nav.open {
    display:grid;
    gap:12px;
    font-size:14px
  }
  .nav-item {
    flex-wrap:wrap;
    justify-content:space-between
  }
  .nav-submenu-toggle {
    padding:10px 14px;
    font-size:14px
  }
  .nav-dropdown {
    position:static;
    width:100%;
    max-height:none;
    margin-top:4px;
    padding:12px 16px;
    box-shadow:none;
    background:#f6faf8;
    border:1px solid #dce9e2;
    border-radius:12px
  }
  .nav-dropdown a {
    font-size:13px
  }
  .nav-category-services a {
    font-size:12px
  }
}
@media(max-width:700px) {
  html {
    scroll-padding-top:94px
  }
  header {
    height:76px;
    padding-inline:16px;
    gap:10px
  }
  header nav {
    top:76px;
    padding:18px 22px
  }
  header .brand .brand-logo {
    width:135px
  }
  header>.btn {
    font-size:11.5px;
    padding:10px 12px;
    min-height:40px
  }
  .menu-toggle {
    font-size:20px;
    padding:8px 9px;
    min-height:40px
  }
  .page-hero {
    padding:32px 0 46px
  }
  .page-hero h1 {
    font-size:clamp(34px,8.5vw,44px)
  }
  .page-hero p {
    font-size:16px
  }
  .page-hero .pill {
    font-size:11px;
    letter-spacing:1px
  }
  .center {
    margin-bottom:28px
  }
  .feature,.image-card>div {
    padding:23px
  }
  .promise-grid .two {
    gap:12px
  }
  .promise-grid .feature {
    padding:19px
  }
  .booking-form {
    padding:20px
  }
  .form-grid {
    gap:12px
  }
  .accordion {
    padding-inline:18px
  }
  .accordion summary {
    font-size:14px
  }
  .footer-grid {
    gap:28px 20px
  }
  footer {
    padding-top:48px
  }
  .legal {
    margin-top:32px
  }
  .mobile-actions {
    padding:10px 6px max(10px,env(safe-area-inset-bottom));
    background:#0b3540
  }
  .mobile-actions a,.mobile-actions button {
    min-height:40px;
    display:flex;
    align-items:center;
    justify-content:center
  }
}
@media(max-width:380px) {
  .form-grid {
    grid-template-columns:1fr
  }
  .promise-grid .two {
    grid-template-columns:1fr
  }
  .footer-grid {
    grid-template-columns:1fr
  }
  .footer-grid>div:first-child {
    grid-column:auto
  }
  header .brand .brand-logo {
    width:114px
  }
  header>.btn {
    padding-inline:9px
  }
}
@media(prefers-reduced-motion:reduce) {
  .btn:hover,.image-card:hover {
    transform:none
  }
  .feature,.btn,.image-card>img {
    transition:none
  }
}
/* Appointment heading sits above equal-height form and map columns. */
.appointment-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px 48px;
}
.appointment-intro {
  grid-column: 1 / -1;
  max-width: 800px;
}
.appointment-intro h2 {
  margin: 12px 0 16px;
}
.appointment-intro > p {
  margin-bottom: 0;
}
.appointment-layout > .booking-form {
  margin: 0;
  padding: 26px;
}
.appointment-layout > .clinic-map {
  height: 100%;
  min-height: 360px;
  max-height: none;
  border-radius: 20px;
}
.appointment-layout .form-grid {
  gap: 18px 16px;
}
.appointment-layout .booking-form > .fine:last-child {
  margin-bottom: 0;
}
@media (max-width: 950px) {
  .appointment-layout {
    gap: 24px;
  }
}
@media (max-width: 700px) {
  .appointment-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .appointment-intro {
    grid-column: auto;
  }
  .appointment-layout > .booking-form {
    padding: 22px;
  }
  .appointment-layout > .clinic-map {
    height: 320px;
    min-height: 320px;
  }
}
