:root {
  --burgundy: #6e2932;
  --burgundy-dark: #491a24;
  --green: #10a245;
  --blue: #1742c9;
  --ink: #272225;
  --peach: #fae6dc;
  --line: #d9d2cc;
  --cream: #fffdfa;
  --shadow: 0 18px 48px rgba(91, 44, 30, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Trebuchet MS", Arial, sans-serif; font-size: 16px; line-height: 1.55; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; transform: translateY(-180%); padding: 10px 14px; border-radius: 4px; background: var(--burgundy-dark); color: #fff; text-decoration: none; transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #1b69de; outline-offset: 3px; }
.content-width { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding: clamp(68px, 8vw, 132px) 0; }
.hero { min-height: 700px; display: grid; place-items: center; background: linear-gradient(90deg, rgba(255,255,255,.82), rgba(255,240,230,.24)), url("assets/hero.jpg") center / cover; text-align: center; }
.hero-inner { padding: 64px 20px 42px; margin-top: 30px; }
.brand-mark { width: clamp(150px, 16vw, 240px); margin: 0 auto 18px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; color: #202124; font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: .98; letter-spacing: -.055em; }
.hero-subtitle { font-size: clamp(1.2rem, 2.3vw, 2rem); font-weight: 700; margin-bottom: 40px; }
.appointment-button, .contact-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 2px solid #3c3030; background: rgba(255, 248, 243, .38); min-width: 355px; padding: 12px 28px; color: #322727; text-decoration: none; font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; font-size: 1.05rem; font-style: normal; font-weight: 600; letter-spacing: .1em; transition: transform .2s ease, background .2s ease; }
.appointment-button { width: fit-content; min-width: 0; border-color: rgba(36, 105, 51, .65); background: rgba(16, 162, 69, .35); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.appointment-button:hover { transform: translateY(-2px); border-color: #d8916b; background: #f4c6a8; color: #3c3030; }
.contact-button:hover { transform: translateY(-2px); background: rgba(255,255,255,.84); }
.appointment-button span { font-size: 1.5em; line-height: .7; }
.hero-tagline { margin: 30px auto 0; font-family: Georgia, serif; font-size: clamp(1.05rem, 1.8vw, 1.45rem); font-style: italic; font-weight: 700; }
.section-heading { text-align: center; margin-bottom: 46px; }
.section-heading h2 { margin: 0; color: var(--burgundy); font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.06; font-weight: 500; }
.eyebrow { display: none; }
.therapy-section { background: #fff; }
.therapy-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(38px, 6vw, 88px); align-items: center; }
.anatomy-frame { margin: 0; padding: 10px; background: #f6f8fb; }
.anatomy-frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; }
.therapy-copy { font-size: 1.08rem; }
.therapy-copy p { margin-bottom: 26px; }
.strong-line { font-weight: 700; }
.education-videos { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 34px; margin-top: 72px; }
.video-card { padding: 15px; background: #3d3634; box-shadow: var(--shadow); }
.video-title-row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 8px 14px; color: #fff; font-family: Georgia, serif; font-size: 1.25rem; }
.video-kicker { color: #e9d5cc; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; align-self: center; }
.video-card video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #241d1d; }
.video-note { margin: 10px 8px 0; color: #eadfd8; font-size: .75rem; }
.about-section { background: #fafafa; }
.about-card { display: grid; grid-template-columns: 1.35fr .65fr; align-items: stretch; border: 4px solid #5084e8; position: relative; background: #fff; box-shadow: var(--shadow); }
.about-card::after { content: ""; position: absolute; left: 7%; bottom: -15px; border: 15px solid transparent; border-top-color: #5084e8; border-bottom: 0; }
.about-copy { padding: clamp(30px, 5vw, 62px); }
.about-copy h2 { margin-bottom: 26px; color: var(--burgundy-dark); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 500; line-height: .95; }
.about-copy h3 { color: var(--burgundy-dark); font-size: 1.75rem; font-weight: 500; }
.about-copy p { max-width: 680px; margin-bottom: 24px; }
.about-photo { margin: 0; min-height: 540px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.service-section { min-height: 860px; padding: 92px 0 88px; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,230,215,.18)), url("assets/hero.jpg") center / cover; }
.service-inner > h2 { margin: 0; color: var(--green); font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 3.4rem); font-style: italic; }
.price { margin: 18px 0 30px; color: #3489e6; font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 800; }
.service-copy { margin: 0 auto 32px; max-width: 760px; font-size: 1.25rem; font-weight: 700; }
.service-copy p { margin-bottom: 8px; }
.service-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 92px auto 0; width: min(920px, 100%); box-shadow: 0 12px 30px rgba(80,40,20,.16); }
.service-gallery img { width: 100%; height: 228px; object-fit: cover; }
.service-gallery img:nth-child(1) { object-position: center 65%; }
.service-gallery img:nth-child(2) { object-position: center 30%; }
.service-gallery img:nth-child(3) { object-position: center; }
.cert-section { background: #fff; }
.cert-slider { display: grid; grid-template-columns: 58px minmax(0, 1fr) 58px; align-items: center; gap: 20px; width: min(760px, calc(100% - 48px)); }
.cert-card { margin: 0; overflow: hidden; background: #f5f2ed; box-shadow: var(--shadow); }
.cert-card img { width: 100%; aspect-ratio: 1.38 / 1; object-fit: cover; }
.cert-card figcaption { display: flex; gap: 12px; flex-direction: column; padding: 14px 20px 18px; color: #686060; font-size: .95rem; }
.cert-card figcaption strong { color: var(--burgundy); font-family: Georgia, serif; font-size: 1.2rem; }
.slider-control { width: 48px; height: 48px; border: 2px solid var(--burgundy); border-radius: 50%; background: #fff; color: var(--burgundy); font-size: 2rem; cursor: pointer; }
.slider-control:hover { color: #fff; background: var(--burgundy); }
.slider-meta { display: flex; justify-content: center; gap: 30px; padding-top: 18px; color: #7b7070; font-size: .85rem; }
.testimonials-section { background: #fff; }
.script { display: block; margin-bottom: 8px; color: var(--green); font-family: "Brush Script MT", cursive; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(48px, 8vw, 100px); }
.testimonial-card h3 { margin-bottom: 38px; color: var(--green); text-align: center; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.03; }
.testimonial-card h3 span { font-size: 1em; }
blockquote { margin: 0; font-size: 1.07rem; line-height: 1.45; }
cite { display: block; margin-top: 20px; font-weight: 700; }
.review-image-link { display: block; width: min(440px, calc(100% - 48px)); margin: 70px auto 0; }
.review-image-link img { width: 100%; border: 2px solid #1a1a1a; }
.media-section { background: #fff; }
.media-heading h2 { display: inline-block; padding-bottom: 9px; border-bottom: 5px solid #e86521; }
.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 70px; }
.media-card h3 { margin-bottom: 18px; color: #76521f; text-align: center; font-size: 1.35rem; font-weight: 500; }
.media-card p { margin-top: 20px; font-size: 1.02rem; }
.media-video { overflow: hidden; border: 2px solid #d2cbc4; background: #262222; aspect-ratio: 16 / 9; }
.media-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-fallback { margin: 8px 0 0; text-align: right; font-size: .82rem; }
.video-fallback a { color: var(--burgundy); font-weight: 700; }
.unavailable-video { min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 2px solid #d2cbc4; background: linear-gradient(135deg, #262222, #57504b); color: #fff; text-align: center; }
.unavailable-video .play-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #f20f45; font-size: 1.4rem; }
.unavailable-video small { display: block; max-width: 290px; color: #e8ded8; font-size: .72rem; }
.contact-section { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.contact-card { padding: 44px; background: #fff; text-align: center; }
.contact-logo { width: 190px; margin: 0 auto 16px; }
.contact-card h2 { margin-bottom: 0; font-size: 2.35rem; }
.contact-subtitle { margin-bottom: 28px; font-size: 1.18rem; font-weight: 700; }
address { margin-bottom: 30px; color: var(--blue); font-size: 1.35rem; font-style: normal; line-height: 1.25; }
.contact-button { min-width: auto; width: 100%; flex-direction: column; gap: 4px; border-color: rgba(22, 139, 31, .7); background: rgba(23, 66, 201, .35); color: #4a4747; font-family: inherit; font-size: 1.12rem; font-style: normal; line-height: 1.2; letter-spacing: .05em; }
.map-card { position: relative; min-height: 450px; overflow: hidden; border: 1px solid #d5d8dc; background: #c9e7ef; }
.map-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-grid { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 45%, rgba(255,255,255,.9) 46%, rgba(255,255,255,.9) 48%, transparent 49%), linear-gradient(20deg, transparent 47%, rgba(255,255,255,.92) 48%, rgba(255,255,255,.92) 50%, transparent 51%), linear-gradient(75deg, transparent 35%, rgba(166,189,197,.65) 36%, rgba(166,189,197,.65) 38%, transparent 39%), linear-gradient(135deg, #aad6e7 0 28%, #e5ebdc 28% 100%); opacity: .9; }
.map-label { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 10px 14px; background: #fff; border-radius: 3px; font-weight: 700; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.map-label span { margin-left: 12px; color: #68737b; font-weight: 400; }
.map-pin { position: absolute; top: 55%; left: 49%; z-index: 2; color: #db302c; font-size: 4rem; text-shadow: 0 2px 2px #fff; }
.map-popover { position: absolute; z-index: 3; left: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 4px; padding: 16px; background: rgba(255,255,255,.94); border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.2); font-size: .9rem; }
.map-popover a { color: #2c61bf; }
.map-note { position: absolute; z-index: 4; right: 12px; bottom: 10px; margin: 0; padding: 4px 7px; color: #524c4c; background: rgba(255,255,255,.8); font-size: .68rem; }
.policy { margin-top: 60px; text-align: center; font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; font-size: clamp(1.1rem, 2vw, 1.45rem); font-style: normal; font-weight: 500; letter-spacing: .01em; }
.site-footer { padding: 60px 0 36px; background: #f7f6f4; }
.footer-inner { display: grid; grid-template-columns: .7fr 1.15fr .9fr; gap: 36px; align-items: start; }
.footer-label { font-family: Georgia, serif; font-size: 1.2rem; font-style: italic; }
.social-row { display: flex; gap: 8px; margin-top: 14px; }
.social-row a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--burgundy); color: #fff; text-decoration: none; }
.app-prompt { display: flex; flex-direction: column; gap: 8px; }
.app-prompt strong { font-size: 1.1rem; }
.app-prompt span { color: #686060; }
.qr-placeholder { display: grid; place-items: center; width: 100px; height: 100px; border: 1px dashed #999; color: #777; text-align: center; font-size: .64rem; }
.footer-meta { color: #766d6d; font-size: .82rem; text-align: right; }
.footer-meta a { color: var(--burgundy); }
.chat-button { position: fixed; z-index: 10; right: 22px; bottom: 20px; border: 0; border-radius: 5px; padding: 15px 20px; background: #453d3c; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.2); cursor: pointer; font: inherit; }
.chat-button:hover { background: var(--burgundy); }

@media (max-width: 760px) {
  body { font-size: 15px; }
  .content-width { width: min(100% - 30px, 520px); }
  .hero { min-height: 660px; background-position: 56% center; }
  .hero-inner { margin-top: 0; padding-inline: 16px; }
  h1 { font-size: clamp(2.2rem, 12vw, 3.3rem); }
  .hero-subtitle { font-size: 1.16rem; }
  .appointment-button { width: 100%; min-width: 0; font-size: 1.05rem; }
  .hero-tagline { font-size: 1rem; }
  .section-pad { padding: 62px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: 2.1rem; }
  .therapy-grid, .education-videos, .testimonial-grid, .media-grid, .contact-grid, .footer-inner { grid-template-columns: 1fr; }
  .therapy-grid { gap: 28px; }
  .therapy-copy { font-size: 1rem; }
  .education-videos { gap: 22px; margin-top: 48px; }
  .video-title-row { font-size: 1.05rem; }
  .about-card { grid-template-columns: 1fr; }
  .about-copy { padding: 28px 22px 34px; }
  .about-copy h2 { font-size: 2.8rem; }
  .about-photo { min-height: 380px; }
  .service-section { min-height: auto; padding: 70px 0 56px; }
  .service-inner > h2 { font-size: 2.2rem; }
  .price { font-size: 2rem; }
  .service-copy { font-size: 1.05rem; }
  .service-gallery { grid-template-columns: 1fr; margin-top: 50px; }
  .service-gallery img { height: 220px; }
  .cert-slider { grid-template-columns: 38px minmax(0,1fr) 38px; gap: 8px; }
  .slider-control { width: 36px; height: 36px; font-size: 1.5rem; }
  .cert-card figcaption { padding-inline: 13px; font-size: .86rem; }
  .testimonial-card h3 { margin-bottom: 24px; }
  blockquote { font-size: 1rem; }
  .media-grid { gap: 42px; }
  .media-card p { font-size: .97rem; }
  .contact-card { padding: 32px 18px; }
  address { font-size: 1.18rem; }
  .map-card { min-height: 340px; }
  .map-popover { left: 29%; }
  .policy { margin-top: 42px; font-size: 1.05rem; }
  .footer-inner { gap: 28px; }
  .footer-meta { text-align: left; }
  .chat-button { right: 12px; bottom: 12px; padding: 12px 14px; font-size: .9rem; }
}

@media (min-width: 761px) {
  body.mobile-preview { font-size: 15px; }
  body.mobile-preview .content-width { width: min(100% - 30px, 520px); }
  body.mobile-preview .hero { min-height: 660px; background-position: 56% center; }
  body.mobile-preview .hero-inner { margin-top: 0; padding-inline: 16px; }
  body.mobile-preview h1 { font-size: 3.3rem; }
  body.mobile-preview .hero-subtitle { font-size: 1.16rem; }
  body.mobile-preview .appointment-button { width: 100%; min-width: 0; font-size: 1.05rem; }
  body.mobile-preview .hero-tagline { font-size: 1rem; }
  body.mobile-preview .section-pad { padding: 62px 0; }
  body.mobile-preview .section-heading { margin-bottom: 30px; }
  body.mobile-preview .section-heading h2 { font-size: 2.1rem; }
  body.mobile-preview .therapy-grid,
  body.mobile-preview .education-videos,
  body.mobile-preview .testimonial-grid,
  body.mobile-preview .media-grid,
  body.mobile-preview .contact-grid,
  body.mobile-preview .footer-inner { grid-template-columns: 1fr; }
  body.mobile-preview .therapy-grid { gap: 28px; }
  body.mobile-preview .therapy-copy { font-size: 1rem; }
  body.mobile-preview .education-videos { gap: 22px; margin-top: 48px; }
  body.mobile-preview .video-title-row { font-size: 1.05rem; }
  body.mobile-preview .about-card { grid-template-columns: 1fr; }
  body.mobile-preview .about-copy { padding: 28px 22px 34px; }
  body.mobile-preview .about-copy h2 { font-size: 2.8rem; }
  body.mobile-preview .about-photo { min-height: 380px; }
  body.mobile-preview .service-section { min-height: auto; padding: 70px 0 56px; }
  body.mobile-preview .service-inner > h2 { font-size: 2.2rem; }
  body.mobile-preview .price { font-size: 2rem; }
  body.mobile-preview .service-copy { font-size: 1.05rem; }
  body.mobile-preview .service-gallery { grid-template-columns: 1fr; margin-top: 50px; }
  body.mobile-preview .service-gallery img { height: 220px; }
  body.mobile-preview .cert-slider { grid-template-columns: 38px minmax(0,1fr) 38px; gap: 8px; width: min(100% - 30px, 520px); }
  body.mobile-preview .slider-control { width: 36px; height: 36px; font-size: 1.5rem; }
  body.mobile-preview .cert-card figcaption { padding-inline: 13px; font-size: .86rem; }
  body.mobile-preview .testimonial-card h3 { margin-bottom: 24px; }
  body.mobile-preview blockquote { font-size: 1rem; }
  body.mobile-preview .media-grid { gap: 42px; }
  body.mobile-preview .media-card p { font-size: .97rem; }
  body.mobile-preview .contact-card { padding: 32px 18px; }
  body.mobile-preview address { font-size: 1.18rem; }
  body.mobile-preview .map-card { min-height: 340px; }
  body.mobile-preview .map-popover { left: 29%; }
  body.mobile-preview .policy { margin-top: 42px; font-size: 1.05rem; }
  body.mobile-preview .footer-inner { gap: 28px; }
  body.mobile-preview .footer-meta { text-align: left; }
  body.mobile-preview .chat-button { right: 12px; bottom: 12px; padding: 12px 14px; font-size: .9rem; }
}


/* Keep certificate proportions and provide a readable full-resolution view. */
.cert-slider { width: min(1100px, calc(100% - 32px)); }
.cert-card img { aspect-ratio: auto; height: auto; object-fit: contain; }
.certificate-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.certificate-open:focus-visible { outline: 3px solid var(--burgundy); outline-offset: -3px; }
.certificate-zoom-hint { padding: 0; border: 0; background: transparent; color: var(--burgundy); text-decoration: underline; cursor: zoom-in; font: inherit; }
.certificate-dialog { width: min(1400px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 8px; background: #fff; }
.certificate-dialog::backdrop { background: rgba(0,0,0,.8); }
.certificate-toolbar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; color: var(--burgundy); }
.certificate-toolbar strong { margin-right: auto; }
.certificate-toolbar button { padding: 8px 12px; border: 1px solid var(--burgundy); border-radius: 5px; color: var(--burgundy); background: #fff; cursor: pointer; }
.certificate-scroll { max-height: calc(100dvh - 100px); overflow: auto; }
.certificate-dialog img { width: 100%; max-width: none; height: auto; }
.certificate-dialog.original-size img { width: auto; max-width: none; }
@media (max-width: 600px) {
  .cert-slider { grid-template-columns: 30px minmax(0,1fr) 30px; gap: 4px; width: calc(100% - 16px); }
  .slider-control { width: 28px; height: 28px; }
  .certificate-toolbar { flex-wrap: wrap; gap: 8px; }
  .certificate-toolbar strong { flex-basis: 100%; }
}
