:root {
  --paper: #fffdfb;
  --soft: #f8ebe4;
  --soft-2: #f5dfd4;
  --line: #eadbd3;
  --line-strong: #e5cbc0;
  --text: #2c2927;
  --muted: #716a66;
  --accent: #df9077;
  --accent-dark: #c97760;
  --footer: #f2dfd5;
  --container: min(1180px, calc(100% - clamp(36px, 14vw, 144px)));
  --radius: 8px;
  --shadow: 0 18px 45px rgba(94, 66, 52, .08);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.22, 1.18, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); color: var(--text); }
body { font-family: Avenir, "Avenir Next", "Helvetica Neue", Arial, sans-serif; font-size: 15px; line-height: 1.45; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: var(--container); margin-inline: auto; }

.site-header { height: 76px; border-bottom: 1px solid rgba(224, 203, 192, .75); background: rgba(255, 253, 251, .96); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-grid; gap: 0; min-width: 145px; }
.brand-main { font-family: Georgia, "Times New Roman", serif; font-size: 26px; line-height: .92; letter-spacing: .16em; color: #48403d; }
.brand-sub { padding-left: 4px; font-size: 10px; line-height: 1.1; letter-spacing: .28em; color: #7c706b; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 38px); font-size: 13px; color: #2f2b29; white-space: nowrap; flex: 1; }
.main-nav a, .footer-grid a { transition: color .25s ease; }
.main-nav a:hover, .footer-grid a:hover, .phone:hover { color: var(--accent-dark); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.phone { font-weight: 650; font-size: 13px; white-space: nowrap; }
.pill-btn { border: 0; min-height: 46px; padding: 0 28px; border-radius: 999px; background: var(--accent); color: #fffaf7; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 20px rgba(223, 144, 119, .25); transition: transform .32s var(--ease-spring), background .25s ease, box-shadow .32s var(--ease-out); }
.pill-btn.small { min-height: 34px; padding-inline: 22px; font-size: 13px; }
.pill-btn:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 14px 24px rgba(201, 119, 96, .25); }
.pill-btn:active, .outline-btn:active, .program-card button:active { transform: translateY(1px) scale(.99); }
.menu-btn { display: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 999px; background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.menu-btn span { width: 17px; height: 1px; background: #423a36; display: block; transition: transform .26s var(--ease-out), opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(42deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-42deg); }
.mobile-nav { display: none; }

.hero { background: #f8e5db; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero-grid { min-height: clamp(330px, 26vw, 430px); display: block; position: relative; }
.hero-copy { align-self: center; padding-block: clamp(42px, 5vw, 66px); position: relative; z-index: 2; max-width: 620px; }
h1 { margin: 0; font-size: clamp(40px, 3.25vw, 54px); line-height: 1.16; letter-spacing: -.035em; font-weight: 430; color: #2f2b29; }
.hero-copy p { margin: 22px 0 0; max-width: 560px; color: var(--muted); font-size: clamp(16px, 1.15vw, 20px); line-height: 1.55; }
.hero-cta { margin-top: 30px; }
.safe-note { display: flex; align-items: center; gap: 10px; font-size: 12px !important; color: #7d746f !important; margin-top: 28px !important; }
.hero-media { position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); overflow: hidden; z-index: 0; }
.hero-media::before { content: ""; position: absolute; inset: 0; width: 58%; background: linear-gradient(90deg, rgba(255,253,251,.78) 0%, rgba(255,250,247,.58) 42%, rgba(255,250,247,0) 100%); z-index: 1; pointer-events: none; }
.hero-media img { width: 100%; height: 100%; min-height: clamp(330px, 26vw, 430px); object-fit: cover; object-position: center center; filter: saturate(.99) contrast(.995); }

section h2, footer h3 { margin: 0; font-size: clamp(22px, 1.7vw, 29px); line-height: 1.2; font-weight: 520; letter-spacing: -.02em; text-align: center; }
.procedures { padding: 31px 0 28px; background: #fffefe; border-bottom: 1px solid var(--line); }
.procedure-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.procedure-card { min-height: 176px; border: 1px solid var(--line); border-radius: 5px; background: #fff; padding: 23px 17px 18px; text-align: center; box-shadow: 0 8px 20px rgba(68, 46, 37, .03); transition: transform .34s var(--ease-spring), border-color .25s ease, box-shadow .34s var(--ease-out); }
.procedure-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 18px 34px rgba(68, 46, 37, .07); }
.procedure-card h3 { margin: 14px 0 10px; min-height: 35px; font-size: 14px; line-height: 1.22; font-weight: 740; }
.procedure-card p { margin: 0; color: #5d5550; font-size: 12px; line-height: 1.55; }
.procedure-icon { width: 36px; height: 36px; margin: 0 auto; display: block; color: var(--accent); background-repeat: no-repeat; background-size: contain; background-position: center; }
.procedure-icon.skin { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23df9077' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 8c2 4 1.6 8.5-1.8 12.3-2.2 2.5-3.2 5.7-2.5 8.8 1.2 5.2 6.7 8.7 13.3 8.7 7.2 0 12-3.9 12-9.1 0-4.2-3.3-7.5-8.1-8.5'/%3E%3Cpath d='M26 10c3 1.3 4.6 3.6 4.6 6.3 0 3.6-3.3 6.8-7.4 6.8-3 0-5-1.6-5-4'/%3E%3Cpath d='M10 34c2.7-2.2 6.3-3.3 10.9-3.3h8.2c3.8 0 6.8.8 9.4 2.4'/%3E%3Cpath d='M8 39c3.2-2.5 7.5-3.7 13-3.7h7.8c4.7 0 8.6 1 11.8 3.1'/%3E%3C/g%3E%3C/svg%3E"); }
.procedure-icon.syringe { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23df9077' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 32 15-15'/%3E%3Cpath d='m25 10 13 13'/%3E%3Cpath d='m29 7 12 12'/%3E%3Cpath d='m10 37 5-5 6 6-5 5'/%3E%3Cpath d='m31 20-8 8'/%3E%3Cpath d='M17 25 23 31'/%3E%3C/g%3E%3C/svg%3E"); }
.procedure-icon.laser { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23df9077' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='13' y='12' width='22' height='14' rx='5' transform='rotate(-35 24 19)'/%3E%3Cpath d='m27 27 5 7'/%3E%3Cpath d='m18 18 3 4M25 13l3 4M15 26l3 4'/%3E%3Cpath d='M12 38h19'/%3E%3C/g%3E%3C/svg%3E"); }
.procedure-icon.peel { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23df9077' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 7c7 4.4 11 9.8 11 16.2C35 31.5 30.3 39 24 39S13 31.5 13 23.2C13 16.8 17 11.4 24 7Z'/%3E%3Cpath d='M19 25c2.5 2.4 7.7 2.4 10 0M20 18h.1M28 18h.1M23 31h2'/%3E%3C/g%3E%3C/svg%3E"); }
.procedure-icon.contour { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23df9077' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 36 24-24'/%3E%3Cpath d='m30 8 10 10'/%3E%3Cpath d='m8 40 6-1 1-6'/%3E%3Cpath d='M21 21h9M18 26h7M28 14l6 6'/%3E%3C/g%3E%3C/svg%3E"); }
.procedure-icon.care { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23df9077' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 12h22l-2 25H15L13 12Z'/%3E%3Cpath d='M18 12c.7-4 3-6 6-6s5.3 2 6 6'/%3E%3Cpath d='M19 24c3 4 7 4 10 0M18 18h.1M30 18h.1'/%3E%3C/g%3E%3C/svg%3E"); }

.split-section { border-bottom: 1px solid var(--line); background: #fff; }
.split-grid { display: grid; grid-template-columns: .78fr 1.22fr; }
.panel { padding: 24px clamp(10px, 2.3vw, 28px); position: relative; }
.split-grid > .panel + .panel { border-left: 1px solid var(--line); }
.doctor-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; margin-top: 24px; }
.doctor-card { border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: #fff; transition: transform .34s var(--ease-spring), box-shadow .34s var(--ease-out), border-color .25s ease; }
.doctor-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 18px 36px rgba(68, 46, 37, .08); }
.doctor-card img { width: 100%; aspect-ratio: 1.42; object-fit: cover; }
.doctor-body { padding: 12px 14px 14px; }
.doctor-body h3 { margin: 0 0 4px; font-size: 14px; }
.doctor-body p, .doctor-body span { margin: 0; display: block; color: #5f5752; font-size: 12px; line-height: 1.35; }
.doctor-body button, .program-card button { margin-top: 11px; padding: 0; border: 0; background: transparent; color: var(--accent-dark); font-size: 12px; font-weight: 650; }
.outline-btn { min-height: 35px; border: 1px solid var(--accent); background: transparent; color: var(--accent-dark); padding: 0 42px; border-radius: 5px; display: flex; align-items: center; justify-content: center; margin: 22px auto 0; font-size: 12px; transition: background .25s ease, transform .3s var(--ease-spring), box-shadow .3s var(--ease-out); }
.outline-btn:hover { background: #fff5f0; transform: translateY(-1px); box-shadow: 0 12px 24px rgba(201,119,96,.12); }
.result-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 38px; }
.result-grid figure { margin: 0; text-align: center; }
.result-grid img { width: 100%; border-radius: 5px; aspect-ratio: 1.62; object-fit: cover; box-shadow: 0 10px 22px rgba(74, 48, 36, .08); }
.result-grid figcaption { margin-top: 8px; font-size: 12px; color: #5d5550; }

.cert-layout { grid-template-columns: .76fr 1.24fr; }
.contraindications { min-height: 235px; }
.contraindications h2, .certificates h2, .price-panel h2, .booking-card h2, .reviews-panel h2, .faq-panel h2 { font-size: clamp(20px, 1.4vw, 26px); }
.contraindications h2, .certificates h2, .price-panel h2, .booking-card h2 { text-align: left; }
.contraindications ul { margin: 20px 0 22px; padding-left: 18px; color: #5e5651; font-size: 13px; line-height: 1.75; }
.contraindications li::marker { color: var(--accent); }
.contraindications p { margin: 0; color: #5e5651; font-size: 13px; }
.warning-mark { position: absolute; right: 54px; bottom: 26px; width: 72px; height: 66px; color: #fff; display: grid; place-items: center; font-size: 44px; font-weight: 700; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: #f0d0bf; padding-top: 15px; opacity: .75; }
.cert-row { margin-top: 24px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; align-items: end; }
.cert-row img { width: 100%; aspect-ratio: .75; object-fit: cover; box-shadow: 0 7px 20px rgba(62, 42, 33, .12); border: 1px solid #e7ded9; }

.price-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 0; }
.price-grid > .panel + .panel { border-left: 1px solid var(--line); }
.price-panel { padding-top: 31px; }
.price-list { margin-top: 25px; }
.price-list div { display: grid; grid-template-columns: auto max-content; gap: 12px; align-items: end; min-height: 31px; font-size: 14px; color: #38322f; }
.price-list div::before { content: ""; grid-column: 1 / -1; grid-row: 1; align-self: end; border-bottom: 1px solid #e7dcd6; transform: translateY(-7px); }
.price-list span, .price-list b { position: relative; z-index: 1; background: #fff; }
.price-list span { padding-right: 8px; }
.price-list b { padding-left: 8px; font-weight: 520; }
.booking-card { margin: 7px 0 8px; min-height: 258px; border: 0 !important; border-radius: 6px; background: linear-gradient(105deg, #fffdfb 0 38%, #f9e4d9 56%, #f3d7c7 100%); display: grid; grid-template-columns: minmax(310px, .66fr) minmax(180px, .34fr); gap: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(234,219,211,.75); }
.booking-form-copy { position: relative; z-index: 2; }
.booking-card h2 { text-align: center; margin-bottom: 13px; }
.mini-form { display: grid; gap: 9px; max-width: 330px; margin: 0 auto; }
.mini-form label span, .modal-form label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
input, select, textarea { width: 100%; border: 1px solid #ead9d0; background: rgba(255,255,255,.95); color: var(--text); border-radius: 4px; min-height: 38px; padding: 0 16px; outline: none; transition: border-color .22s ease, box-shadow .22s ease, background .22s ease; }
textarea { min-height: 92px; padding-block: 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(223,144,119,.15); }
.date-field { position: relative; }
.date-input { cursor: pointer; padding-right: 44px; caret-color: transparent; background-image: linear-gradient(135deg, transparent 0 50%, #8b746b 50% 100%), linear-gradient(45deg, #8b746b 0 50%, transparent 50% 100%); background-repeat: no-repeat; background-size: 7px 7px, 7px 7px; background-position: calc(100% - 24px) 53%, calc(100% - 18px) 53%; }
.date-input.is-active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(223,144,119,.15); background-color: #fffaf7; }
.form-submit { width: 100%; min-height: 40px; border-radius: 5px; }
.form-note { margin: 4px 0 0; text-align: center; color: #857873; font-size: 11px; }
.spa-img { position: absolute; right: 8px; bottom: -3px; width: min(38%, 260px); max-height: 93%; object-fit: contain; object-position: bottom right; mix-blend-mode: multiply; }

.programs { padding: 27px 0 28px; border-bottom: 1px solid var(--line); }
.program-grid { margin-top: 21px; display: grid; grid-template-columns: 1fr 1fr 1.05fr 1.28fr; gap: 14px; }
.program-card { min-height: 145px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 18px 20px; box-shadow: 0 9px 20px rgba(68, 46, 37, .035); transition: transform .34s var(--ease-spring), box-shadow .34s var(--ease-out), border-color .25s ease; }
.program-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 18px 38px rgba(68, 46, 37, .075); }
.program-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 520; }
.program-card p { margin: 0 0 17px; color: #5f5752; font-size: 13px; line-height: 1.45; }
.program-card strong { display: block; font-size: 23px; line-height: 1; font-weight: 540; }
.promo-card { background: linear-gradient(102deg, #f8e7de, #f1d2c2); display: grid; grid-template-columns: .55fr 1fr; gap: 16px; align-items: center; padding: 16px 18px; }
.promo-card img { width: 100%; object-fit: contain; mix-blend-mode: multiply; }

.reviews-faq .split-grid { grid-template-columns: 1fr 1.16fr; }
.reviews-panel h2, .faq-panel h2 { text-align: center; }
.review-card { margin-top: 23px; min-height: 138px; border: 1px solid var(--line); border-radius: 6px; display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 20px 25px; align-items: start; }
.review-card img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-head h3 { margin: 0; font-size: 15px; font-weight: 620; }
.stars { letter-spacing: 2px; color: #e2a72f; font-size: 14px; }
.review-card time { display: block; margin-top: 2px; color: #8a807b; font-size: 11px; }
.review-card p { margin: 14px 0 0; max-width: 440px; color: #514a46; font-size: 12px; line-height: 1.55; }
.review-controls { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 14px; }
.review-controls span { width: 7px; height: 7px; border-radius: 50%; background: #d8ccc6; }
.review-controls span.active { background: #b88a78; }
.review-controls button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: #8d807a; margin-left: 4px; transition: transform .28s var(--ease-spring), border-color .2s ease, color .2s ease; }
.review-controls button:hover { transform: translateY(-1px); border-color: var(--accent); color: var(--accent-dark); }
.faq-list { margin-top: 23px; display: grid; gap: 8px; }
.faq-item { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--text); padding: 0 16px; text-align: left; font-size: 13px; transition: border-color .25s ease, background .25s ease, box-shadow .3s var(--ease-out); }
.faq-item:hover, .faq-item.open { border-color: var(--line-strong); background: #fffaf7; box-shadow: 0 10px 20px rgba(68,46,37,.035); }
.faq-item b { font-weight: 400; font-size: 17px; color: #6e625d; transition: transform .3s var(--ease-spring), color .2s ease; }
.faq-answer { overflow: hidden; max-height: 0; opacity: 0; margin-top: -8px; padding: 0 16px; color: #5d5550; font-size: 12px; line-height: 1.55; transition: max-height .34s var(--ease-out), opacity .24s ease, padding .34s var(--ease-out), margin .34s var(--ease-out); }
.faq-item.open + .faq-answer { max-height: 110px; opacity: 1; margin-top: -3px; padding: 4px 16px 11px; }
.faq-item.open b { transform: rotate(45deg); color: var(--accent-dark); }

.site-footer { background: var(--footer); border-top: 1px solid #dec7bb; }
.footer-grid { padding: 31px 0 27px; display: grid; grid-template-columns: 1.2fr .78fr 1.02fr 1.14fr; gap: clamp(32px, 7vw, 92px); }
.footer-brand p { margin: 19px 0 16px; color: #6f635d; font-size: 13px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #cdb4a7; border-radius: 50%; font-size: 10px; text-transform: uppercase; color: #6b5d56; }
.footer-grid h3 { text-align: left; font-size: 14px; font-weight: 650; margin: 0 0 15px; }
.footer-grid div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a, .footer-grid span { margin-bottom: 7px; color: #615650; font-size: 12px; line-height: 1.4; }
.footer-bottom { min-height: 41px; border-top: 1px solid rgba(202,180,169,.7); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #756861; font-size: 11px; }
.footer-bottom a { color: #756861; }

.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 22px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .28s ease, visibility 0s linear .28s; }
.modal.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .28s ease, visibility 0s; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(44, 37, 33, .42); backdrop-filter: blur(0); opacity: 0; transition: opacity .32s ease, backdrop-filter .32s ease; }
.modal.open .modal-backdrop { opacity: 1; backdrop-filter: blur(8px); }
.modal-card { width: min(820px, calc(100vw - 40px)); max-height: min(86dvh, 820px); overflow: auto; position: relative; background: #fffdfb; border-radius: 18px; box-shadow: 0 30px 80px rgba(48, 34, 27, .28); padding: clamp(26px, 4vw, 42px); outline: none; opacity: 0; transform: translateY(18px) scale(.985); filter: blur(5px); transition: opacity .34s ease, transform .42s var(--ease-spring), filter .34s ease; will-change: transform, opacity; }
.modal.open .modal-card { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.modal-card.gallery, .modal-card.certificates, .modal-card.specialists { width: min(1120px, calc(100vw - 40px)); }
.modal-close { position: sticky; top: 0; margin-left: auto; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; display: grid; place-items: center; color: #695d57; font-size: 24px; line-height: 1; z-index: 2; transition: transform .28s var(--ease-spring), background .2s ease, border-color .2s ease; }
.modal-close:hover { transform: rotate(90deg) scale(1.04); background: #fff7f3; border-color: var(--line-strong); }
.eyebrow { margin: 0 0 8px; color: var(--accent-dark); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; font-weight: 760; }
.modal-content h2 { margin: 0 0 12px; text-align: left; font-size: clamp(27px, 3vw, 40px); line-height: 1.08; font-weight: 520; }
.modal-booking { display: grid; grid-template-columns: .75fr 1.25fr; gap: 32px; align-items: start; }
.modal-booking p:not(.eyebrow):not(.form-note) { color: var(--muted); margin: 0; }
.modal-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.modal-form .wide { grid-column: 1 / -1; }
.modal-list h2 { margin-bottom: 24px; }
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.staff-grid article { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.staff-grid img { width: 100%; aspect-ratio: 1.2; object-fit: cover; }
.staff-grid h3, .staff-grid p { margin: 0; padding-inline: 14px; }
.staff-grid h3 { padding-top: 13px; font-size: 16px; }
.staff-grid p { padding-block: 8px 16px; color: #655b56; font-size: 13px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid img { width: 100%; aspect-ratio: 1.2; object-fit: cover; border-radius: 9px; box-shadow: 0 10px 26px rgba(66,44,34,.1); }
.expanded { margin-top: 0; }
.cert-modal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cert-modal-grid img { width: 100%; aspect-ratio: .75; object-fit: cover; border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(66,44,34,.12); }
.review-stack { display: grid; gap: 12px; }
.review-stack article { display: grid; grid-template-columns: 64px 1fr; gap: 16px; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.review-stack img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.review-stack h3 { margin: 0 0 6px; }
.review-stack p { margin: 0; color: #5f5752; }
.success-message { border: 1px solid #e0c6bb; border-radius: 10px; background: #fff6f2; color: #6a4f45; padding: 14px 16px; text-align: center; font-size: 13px; }

.date-picker-popover {
  position: fixed;
  z-index: 260;
  width: min(360px, calc(100vw - 28px));
  padding: 14px;
  border: 1px solid rgba(226, 201, 189, .92);
  border-radius: 22px;
  background: rgba(255, 253, 251, .96);
  box-shadow: 0 28px 70px rgba(63, 41, 31, .18), inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .34s var(--ease-spring), visibility 0s linear .24s;
}
.date-picker-popover.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; transition: opacity .22s ease, transform .34s var(--ease-spring), visibility 0s; }
.date-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 2px 12px; }
.date-picker-title { display: grid; gap: 1px; }
.date-picker-title strong { font-size: 15px; font-weight: 720; color: #302a27; letter-spacing: -.01em; }
.date-picker-title span { color: #8a7a73; font-size: 11px; }
.date-nav { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fff8f4; color: #6a5a52; display: grid; place-items: center; transition: transform .24s var(--ease-spring), background .2s ease, border-color .2s ease; }
.date-nav:hover { transform: translateY(-1px); background: #fff0e9; border-color: var(--line-strong); }
.date-picker-weekdays, .date-picker-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.date-picker-weekdays { margin-bottom: 6px; color: #aa8e82; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; text-align: center; }
.date-picker-weekdays span { padding-block: 4px; }
.date-picker-day {
  min-height: 36px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #3a3330;
  font-size: 13px;
  display: grid;
  place-items: center;
  transition: transform .22s var(--ease-spring), background .18s ease, color .18s ease, box-shadow .22s ease;
}
.date-picker-day:hover:not(:disabled) { background: #fff1ea; transform: translateY(-1px); color: var(--accent-dark); }
.date-picker-day.today { box-shadow: inset 0 0 0 1px rgba(223,144,119,.42); }
.date-picker-day.selected { background: var(--accent); color: #fffaf7; box-shadow: 0 10px 20px rgba(223,144,119,.24); }
.date-picker-day.muted { color: #c2b2aa; }
.date-picker-day:disabled { color: #d8cbc5; cursor: not-allowed; }
.date-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 12px; }
.date-quick button, .time-pill {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf7;
  color: #6e5e56;
  font-size: 11px;
  transition: transform .22s var(--ease-spring), border-color .2s ease, background .2s ease, color .2s ease;
}
.date-quick button:hover, .time-pill:hover { transform: translateY(-1px); border-color: var(--accent); color: var(--accent-dark); background: #fff3ed; }
.time-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(234,219,211,.82); }
.time-pill.selected { background: #2f2b29; border-color: #2f2b29; color: #fffaf7; }
.date-picker-hint { margin: 10px 2px 0; color: #9a867c; font-size: 11px; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media (max-width: 1180px) {
  :root { --container: min(100% - 40px, 1060px); }
  .main-nav { gap: 18px; }
  .phone { display: none; }
  .hero-grid { grid-template-columns: minmax(390px, .98fr) minmax(390px, 1.02fr); gap: 26px; }
  h1 { font-size: clamp(38px, 4.4vw, 48px); }
  .procedure-grid { grid-template-columns: repeat(3, 1fr); }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-card { grid-column: span 1; }
}

@media (max-width: 900px) {
  .site-header { height: 68px; }
  .main-nav, .header-actions .pill-btn.small { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { position: fixed; top: 68px; left: 0; right: 0; background: rgba(255,253,251,.98); border-bottom: 1px solid var(--line); padding: 18px 20px 24px; display: grid; grid-template-columns: 1fr; gap: 14px; z-index: 19; box-shadow: 0 20px 30px rgba(49,33,26,.08); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-12px); transition: opacity .26s ease, transform .34s var(--ease-out), visibility 0s linear .28s; }
  .mobile-nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition: opacity .26s ease, transform .34s var(--ease-out), visibility 0s; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-block: 46px 28px; }
  .hero-media { position: relative; top: auto; bottom: auto; left: auto; width: auto; transform: none; min-height: 340px; border-radius: 0; margin-inline: -20px; }
  .hero-media::before { display: none; }
  .hero-media img { width: 100%; min-height: 340px; object-position: 64% center; }
  .split-grid, .cert-layout, .price-grid, .reviews-faq .split-grid { grid-template-columns: 1fr; }
  .split-grid > .panel + .panel, .price-grid > .panel + .panel { border-left: 0; border-top: 1px solid var(--line); }
  .doctor-row { gap: 16px; }
  .cert-row { gap: 12px; }
  .booking-card { grid-template-columns: 1fr; padding-bottom: 190px; }
  .spa-img { width: min(320px, 58%); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .staff-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-booking { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --container: calc(100% - 32px); }
  body { font-size: 14px; }
  .brand-main { font-size: 21px; }
  .brand-sub { font-size: 8px; }
  .hero-copy { padding-block: 36px 24px; }
  h1 { font-size: clamp(36px, 11vw, 50px); }
  .hero-copy p { font-size: 16px; }
  .hero-media { min-height: 280px; margin-inline: -16px; }
  .hero-media img { min-height: 280px; }
  .procedures { padding-top: 26px; }
  .procedure-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .procedure-card { min-height: 160px; padding: 18px 10px 14px; }
  .doctor-row, .result-grid, .program-grid, .footer-grid { grid-template-columns: 1fr; }
  .panel { padding: 24px 0; }
  .cert-row { grid-template-columns: repeat(3, 1fr); }
  .warning-mark { display: none; }
  .booking-card { padding-inline: 16px; padding-bottom: 170px; }
  .spa-img { width: min(310px, 82%); right: 50%; transform: translateX(50%); }
  .promo-card { grid-template-columns: .56fr 1fr; }
  .review-card { grid-template-columns: 1fr; padding: 18px; }
  .review-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-block: 14px; }
  .modal { padding: 12px; }
  .modal-card, .modal-card.gallery, .modal-card.certificates, .modal-card.specialists { width: calc(100vw - 24px); padding: 20px; border-radius: 14px; }
  .modal-form, .staff-grid, .gallery-grid, .cert-modal-grid { grid-template-columns: 1fr; }
  .cert-modal-grid { max-width: 260px; margin-inline: auto; }
  .date-picker-popover { left: 12px !important; right: 12px; top: auto !important; bottom: 12px; width: auto; max-height: calc(100dvh - 24px); overflow: auto; border-radius: 24px; }
  .date-picker-day { min-height: 39px; }
}

@media (min-width: 1600px) {
  :root { --container: min(1280px, calc(100% - 220px)); }
  .hero-media img { max-width: none; }
}
