/* TOKENS AND BASE */
:root {
  --primary-color: #153f39;
  --secondary-color: #e9f0ec;
  --accent-color: #a98848;
  --text-color: #1d302d;
  --muted-color: #536560;
  --bg-color: #fff;
  --card-bg: #f5f7f4;
  --border-color: #d6dfd9;
  --radius: 12px;
  --container: 1200px;
  --section-space: 44px;
  --font: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--text-color); background: var(--bg-color); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, .button { cursor: pointer; }
img { display: block; max-width: 100%; object-fit: cover; }
svg { width: 32px; height: 32px; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.13; font-weight: 500; }
h1 { font-size: 36px; letter-spacing: -1.5px; }
h2 { font-size: 30px; letter-spacing: -1px; }
h3 { font-size: 22px; }
p + p { margin-top: 18px; }
:focus-visible { outline: 3px solid #a46d21; outline-offset: 5px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.eyebrow { margin-bottom: 20px; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--primary-color); }
.button { display: inline-flex; min-height: 50px; justify-content: center; align-items: center; padding: 12px 22px; font-size: 14px; font-weight: 600; text-decoration: none; color: #fff; background: var(--primary-color); border: 1px solid var(--primary-color); border-radius: 6px; transition: background .3s, transform .3s; }
.button:hover { background: #256052; transform: translateY(-2px); }
.button-outline { color: var(--primary-color); background: transparent; }
.button-outline:hover { color: #fff; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 15px; background: white; }
/* HEADER */
.header { position: sticky; z-index: 5; top: 0; background: #fffffffa; border-bottom: 1px solid var(--border-color); }
.header-inner { position: relative; display: grid; grid-template-columns: 1fr 44px; min-height: 100px; align-items: center; gap: 6px 18px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-color); font-size: 25px; line-height: 1; letter-spacing: 4px; text-decoration: none; }
.brand-symbol { font-size: 44px; color: #886e3d; letter-spacing: 0; }
.brand small { display: block; margin-top: 7px; font-size: 9px; letter-spacing: 2.3px; }
.header-contact { grid-column: 1; grid-row: 2; }
.header-contact .phone { display: block; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-contact span, .header-cta { display: none; }
.menu-toggle { display: grid; grid-column: 2; grid-row: 1 / 3; order: 3; place-content: center; gap: 6px; width: 44px; height: 44px; padding: 7px; background: transparent; border: 1px solid var(--border-color); border-radius: 5px; }
.menu-toggle span { width: 20px; height: 1px; background: var(--primary-color); }
nav { position: absolute; top: 100%; right: -20px; left: -20px; display: none; padding: 20px; background: white; border-bottom: 1px solid var(--border-color); }
nav.is-open { display: grid; }
nav a { padding: 10px; font-size: 14px; text-decoration: none; }
nav a:hover { text-decoration: underline; }
/* HERO */
.hero { display: grid; gap: 35px; padding-top: 38px; padding-bottom: 46px; }
.hero-copy { align-self: center; animation: appear .7s ease both; }
.hero h1 em { font-family: Georgia, serif; font-weight: 400; color: var(--primary-color); }
.hero-description { max-width: 440px; margin-top: 24px; color: var(--muted-color); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-address { display: flex; align-items: center; gap: 12px; margin-top: 30px; font-size: 13px; line-height: 1.5; color: var(--muted-color); }
.hero-address svg { width: 25px; }
.hero-visual { position: relative; min-width: 0; margin-bottom: 14px; }
.hero-photo { width: 100%; height: 365px; border-radius: 160px 160px 12px 12px; object-position: center 45%; }
.photo-label { position: absolute; bottom: 76px; left: 20px; right: 20px; width: fit-content; padding: 5px 10px; font-size: 12px; color: white; background: #153f39e8; border-radius: 4px; }
.rating-badge { position: absolute; bottom: -17px; left: 16px; display: grid; padding: 14px 20px; border: 1px solid var(--border-color); border-radius: 9px; color: var(--primary-color); background: white; box-shadow: 0 9px 28px #1b332c15; text-decoration: none; }
.rating-badge strong { font-size: 28px; line-height: 1.3; }
.rating-badge strong span { margin-left: 10px; font-size: 17px; letter-spacing: 2px; color: #8d6b2d; }
.rating-badge > span { font-size: 12px; }
.hero-seal { position: absolute; top: 28px; right: -10px; display: grid; align-content: center; width: 78px; height: 78px; text-align: center; font-size: 12px; line-height: 1.7; letter-spacing: 2px; color: #fff; background: var(--primary-color); border: 5px solid white; border-radius: 50%; transform: rotate(12deg); }
@keyframes appear { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
/* BENEFITS */
.benefits { display: grid; gap: 26px; padding-block: 30px 44px; border-top: 1px solid var(--border-color); }
.benefits article { display: flex; gap: 16px; }
.benefits svg { color: var(--primary-color); }
.benefits h2 { margin-bottom: 9px; font-size: 18px; letter-spacing: -.3px; }
.benefits p { font-size: 16px; line-height: 1.65; color: var(--muted-color); }
/* SERVICES */
.services { background: var(--card-bg); }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.section-heading > p { color: var(--muted-color); font-size: 15px; }
.service-grid { display: grid; gap: 16px; }
.service-card { display: flex; flex-direction: column; padding: 27px; border: 1px solid var(--border-color); border-radius: var(--radius); background: white; transition: transform .3s, box-shadow .3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 22px #153f3910; }
.service-card > svg { margin-bottom: 30px; color: var(--primary-color); }
.service-card h3 { max-width: 300px; font-size: 22px; }
.service-card p { margin-top: 12px; margin-bottom: 27px; font-size: 16px; color: var(--muted-color); }
.service-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border-color); }
.service-bottom strong { font-size: 20px; font-weight: 500; }
.service-bottom a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.price-action { display: grid; justify-items: center; gap: 14px; margin-top: 32px; }
.price-action p { font-size: 13px; color: var(--muted-color); text-align: center; }
/* ABOUT */
.about { display: grid; gap: 35px; }
.about-copy p:not(.eyebrow) { margin-top: 22px; color: var(--muted-color); }
.about-copy .text-link { margin-top: 20px; }
.about-photos { position: relative; order: -1; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 12px; padding-bottom: 25px; }
.about-main { width: 100%; height: 300px; border-radius: var(--radius); }
.about-detail { width: 100%; height: 230px; border-radius: var(--radius); }
.about-caption { position: absolute; bottom: 0; left: 0; font-size: 12px; color: var(--muted-color); }
/* REVIEWS */
.reviews-section { background: var(--secondary-color); }
.review-grid { display: flex; align-items: flex-start; gap: 16px; overflow-x: auto; padding: 4px 4px 16px; scroll-snap-type: x mandatory; }
.review { flex: 0 0 90%; padding: 24px; background: white; border-radius: var(--radius); scroll-snap-align: center; }
.stars { font-size: 16px; letter-spacing: 3px; color: #856326; }
.review blockquote { margin: 20px 0 24px; font-size: 16px; line-height: 1.7; }
.review-author { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.review time { font-size: 12px; color: var(--muted-color); }
.swipe-hint { margin-top: 16px; font-size: 12px; color: var(--muted-color); }
/* CONTACTS */
.contacts { display: grid; gap: 34px; }
.contact-copy > p:not(.eyebrow) { margin-top: 22px; color: var(--muted-color); }
.contact-phone { display: inline-block; margin-top: 22px; font-size: clamp(22px, 5vw, 32px); font-weight: 500; text-decoration: none; }
dl { margin-top: 22px; }
dt { margin-top: 16px; font-size: 12px; color: var(--muted-color); }
dd { margin: 3px 0 0; font-size: 16px; }
.social-links { display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0 26px; }
.social-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.map-panel { overflow: hidden; align-self: stretch; border: 1px solid var(--border-color); border-radius: var(--radius); background: var(--card-bg); }
.map-panel iframe { display: block; width: 100%; height: 350px; border: 0; }
.map-panel > a { display: block; padding: 16px 22px; font-size: 14px; }
.medical-note { padding-bottom: 28px; font-size: 13px; color: var(--muted-color); }
/* FOOTER */
.footer { padding-block: 30px; border-top: 1px solid var(--border-color); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.footer-inner > a:not(.brand), .footer-inner > span { font-size: 12px; }
.footer-inner > a:not(.brand) { display: flex; align-items: center; min-height: 44px; }
/* PRICE SHEET AND PRIVACY */
.price-sheet { max-width: var(--container); margin: 40px auto; padding: 24px; background: white; }
.price-sheet-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 22px; }
.close-prices { display: none; width: 44px; height: 44px; font-size: 30px; line-height: 1; background: var(--secondary-color); border: 0; border-radius: 50%; }
.price-sheet.is-modal { position: fixed; z-index: 10; inset: 20px; width: auto; max-width: 850px; max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; margin: auto; padding: 25px; border-radius: 14px; box-shadow: 0 0 0 100vmax #102a26b8; }
.price-sheet.is-modal .close-prices { display: block; flex-shrink: 0; }
.price-sheet[hidden], tr[hidden] { display: none; }
.search-label { display: block; margin-top: 24px; margin-bottom: 6px; font-size: 14px; }
input[type=search] { width: 100%; padding: 12px 14px; border: 1px solid #7a8e84; border-radius: 6px; background: white; }
#search-status { margin-top: 10px; font-size: 13px; color: var(--muted-color); }
table { width: 100%; margin-top: 20px; border-collapse: collapse; text-align: left; }
th, td { padding: 15px 6px; border-bottom: 1px solid var(--border-color); font-size: 14px; }
th { color: var(--muted-color); font-weight: 500; }
td:first-child { overflow-wrap: anywhere; }
td:last-child, th:last-child { width: 108px; min-width: 100px; text-align: right; }
.privacy { max-width: 800px; }
.privacy h1 { margin-block: 28px; }
.privacy h2 { margin-block: 28px 18px; }
/* RESPONSIVE LAYOUT */
@media (min-width: 768px) {
  :root { --section-space: 65px; }
  h1 { font-size: 48px; }
  h2 { font-size: 40px; }
  .header-inner { display: flex; padding-block: 0; }
  .header-contact { margin-left: auto; }
  .header-contact .phone { font-size: 16px; }
  .header-contact span { display: block; font-size: 11px; color: var(--muted-color); }
  .hero { grid-template-columns: 1.12fr 1fr; gap: 36px; padding-block: 50px 65px; }
  .hero-photo { height: 520px; border-radius: 230px 230px 12px 12px; }
  .hero-visual { margin-left: 0; }
  .hero-seal { right: -10px; }
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 36px 55px; }
  .benefits article { flex-direction: column; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about { grid-template-columns: 1fr 1fr; align-items: center; }
  .about-photos { order: 0; }
  .about-main { height: 400px; }
  .about-detail { height: 290px; }
  .review-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; }
  .swipe-hint { display: none; }
  .contacts { grid-template-columns: 1fr 1fr; }
  .map-panel iframe { height: 480px; }
}
@media (min-width: 1024px) {
  :root { --section-space: 80px; }
  h1 { font-size: 64px; }
  h2 { font-size: 44px; }
  .header-inner { gap: 24px; min-height: 96px; }
  .brand { font-size: 28px; }
  .menu-toggle { display: none; }
  nav, nav.is-open { position: static; display: flex; gap: 14px; padding: 0; border: 0; }
  nav a { padding: 10px 0; font-size: 13px; }
  .header-cta { display: inline-flex; }
  .header-contact .phone { font-size: 14px; }
  .hero { grid-template-columns: 1.1fr 1fr; gap: 70px; padding-top: 52px; }
  .hero-description { font-size: 17px; }
  .hero-photo { height: 560px; }
  .rating-badge { left: -35px; bottom: 28px; padding: 18px 24px; }
  .photo-label { bottom: 150px; }
  .hero-seal { top: 42px; right: -14px; width: 94px; height: 94px; }
  .benefits article { flex-direction: row; }
  .service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
  .service-card { min-height: 305px; }
  .about { gap: 72px; }
  .about-main { height: 460px; }
  .about-detail { height: 330px; }
  .review-grid { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; }
  .contacts { gap: 90px; }
}
@media (min-width: 1440px) {
  .hero { gap: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root *, :root *::before, :root *::after { animation: none; transition: none; }
}

/* MISHLEN targeted QA fix: keep decorative seal inside 1024px viewport. */
@media (min-width: 768px) and (max-width: 1199px) {
  .hero-seal { right: 6px; }
}
