/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* Dr. Niraj Parmar homepage. Colours and fonts come from the live site's theme. */
:root {
  --blue: #184897;
  --blue-deep: #10306a;
  --ink: #0f2140;
  --body: #3d4b63;
  --line: #d8e0ec;
  --tint: #eef3fa;
  --paper: #ffffff;
  --amber: #fca028;
  --amber-deep: #e78a0f;
  --orange: #f35120;
  --on-dark: #c9d6ea;
  --displays: "Outfit", "Segoe UI", sans-serif !important;
  --text: "Inter", "Segoe UI", system-ui, sans-serif !important;
  --gaps: clamp(3.5rem, 8vw, 6.5rem) !important;
  --header: 76px !important;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--text); color: var(--body); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; color: var(--ink); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px; }

.wrap { width: min(1200px, 100% - clamp(2.5rem, 6vw, 5rem)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; color: #fff; background: var(--ink); border-radius: 6px; }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.eyebrow { margin-bottom: .85rem; font: 600 .85rem/1.3 var(--text); color: var(--blue); }
.eyebrow-light { color: var(--amber); }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head h2 + p { margin-top: 1rem; }

/* Marks details the client still has to supply. Remove the class once filled in. */
.confirm { display: inline-block; padding: .05rem .5rem; font-size: .9rem; color: #6b3d00; background: #fff4df; border: 1.5px dashed var(--amber-deep); border-radius: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .6rem 1.25rem; font: 600 1rem/1.2 var(--text); text-align: center; text-decoration: none; border: 2px solid transparent; border-radius: 8px; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15,33,64,.18); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-lg { min-height: 56px; padding-inline: 1.6rem; }
.btn-full { width: 100%; }
.btn-amber { color: var(--ink); background: var(--amber); }
.btn-amber:hover { background: var(--amber-deep); }
.btn-line { color: var(--blue); border-color: var(--blue); }
.btn-line:hover { color: #fff; background: var(--blue); }
.btn-line-light { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-line-light:hover { color: var(--ink); background: #fff; border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(15,33,64,.1); }
.header-row { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header); }
.logo { flex: none; }
.logo img { width: 198px; height: 60px; }
.menu-toggle { display: none; }
.main-nav { display: flex; gap: 1.5rem; margin-left: auto; }
.main-nav a { font-weight: 500; font-size: .98rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.main-nav a:hover { color: var(--blue); text-decoration: underline; }
.header-phone { margin-left: .5rem; font-weight: 600; font-size: .98rem; white-space: nowrap; color: var(--ink); text-decoration: none; }
.header-book { white-space: nowrap; }

/* Hero: arena photo bleeds off the right edge and fades into the page colour */
.hero { color: var(--on-dark); background: var(--ink); }
.hero-stage { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(540px, 76vh, 700px); overflow: hidden; }
.hero-stage > .wrap { position: relative; }
.hero-photo { position: absolute; inset: 0 0 0 auto; z-index: -1; width: 62%; margin: 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 35%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(15,33,64,.78) 22%, rgba(15,33,64,0) 55%); }
.hero-copy { width: min(36rem, 52%); padding-block: clamp(2.5rem, 5vw, 4rem); }
.hero h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: 1.06; color: #fff; }
.lede { margin-block: 1.4rem 1.9rem; font-size: clamp(1.05rem, 1.4vw, 1.15rem); }
.hero-call { margin-top: 1.1rem; font-size: .98rem; }
.hero-call a { font-weight: 600; color: #fff; }

.proof { color: #fff; background: var(--ink); border-top: 1px solid rgba(255,255,255,.16); }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-block: 0; }
.proof-row > div { padding: 1.3rem 1.5rem; border-left: 1px solid rgba(255,255,255,.16); }
.proof-row > div:first-child { padding-left: 0; border-left: 0; }
.proof dt { font-size: .85rem; color: var(--on-dark); }
.proof dd { margin: .1rem 0 0; font: 600 clamp(1.3rem, 2.2vw, 1.7rem)/1.2 var(--display); }
.proof small { font: 400 .85rem var(--text); color: var(--on-dark); }

/* Booking */
.book { padding-block: var(--gaps); background: var(--tint); }
.book-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; padding: 0; font: 600 1.2rem/1.2 var(--display); color: var(--ink); }
.num { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; font-size: .95rem; color: #fff; background: var(--blue); border-radius: 50%; }

.clinic { position: relative; padding: 1.4rem 1.5rem; background: var(--paper); border: 2px solid var(--line); border-radius: 12px; transition: border-color .15s; }
.clinic + .clinic { margin-top: 1rem; }
.clinic:hover { border-color: #a9bbd6; }
.clinic:has(input:checked) { border-color: var(--blue); box-shadow: inset 5px 0 0 var(--amber); }
.clinic:target { scroll-margin-top: calc(var(--header) + 16px); }
.clinic label { display: flex; align-items: center; gap: .7rem; cursor: pointer; }
.clinic label::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.clinic input { flex: none; width: 1.3rem; height: 1.3rem; margin: 0; accent-color: var(--blue); }
.clinic-name { font: 600 1.25rem/1.2 var(--display); color: var(--ink); }
.clinic address { margin: .75rem 0 0 2rem; font-style: normal; line-height: 1.5; }
.clinic-hours { margin: .4rem 0 0 2rem; font-weight: 500; color: var(--ink); }
.clinic-links { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; margin: .6rem 0 0 2rem; }
.clinic-links a { position: relative; z-index: 1; font-weight: 600; }

.details { padding: clamp(1.4rem, 3vw, 2rem); background: var(--paper); border-radius: 12px; box-shadow: 0 1px 2px rgba(15,33,64,.08), 0 12px 32px rgba(15,33,64,.07); }
.details legend { float: left; width: 100%; }
.details legend + * { clear: both; }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .3rem; font-weight: 500; font-size: .95rem; color: var(--ink); }
.field input, .field select { width: 100%; min-height: 50px; padding: .6rem .8rem; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #9aabc4; border-radius: 8px; }
.field input:focus, .field select:focus { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 0; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form-note { margin-top: .85rem; font-size: .93rem; }
.form-note.is-sent { padding: .75rem .9rem; color: var(--ink); background: var(--tint); border-radius: 8px; }

/* Videos */
.video-frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink); border-radius: 16px; box-shadow: 0 18px 44px rgba(15,33,64,.2); }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: none; place-items: center; width: 100%; padding: 0; background: rgba(15,33,64,.12); border: 0; cursor: pointer; }
.video-frame.ready .video-play { display: grid; }
.video-play span { display: grid; place-items: center; width: 76px; height: 76px; color: var(--ink); background: var(--amber); border-radius: 50%; box-shadow: 0 6px 20px rgba(15,33,64,.35); transition: transform .15s; }
.video-play:hover span { transform: scale(1.08); }
.video-play svg { width: 38px; height: 38px; }
figure.why-video, figure.try-video { margin: 0; }
.why-video figcaption, .try-video figcaption { margin-top: .85rem; font-size: .93rem; line-height: 1.5; }
.why-video figcaption strong { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--ink); }

/* Why choose us */
.why { padding-block: var(--gaps); }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 350px); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.why .section-head { margin-bottom: 1.75rem; }
.reasons { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.25rem; }
.reasons li { padding-block: 1.25rem 1.4rem; border-top: 1px solid var(--line); }
.reasons h3 { margin-bottom: .45rem; font-size: 1.16rem; }
.reasons p { font-size: .98rem; line-height: 1.55; }

/* Conditions */
.conditions { padding-block: var(--gap) calc(var(--gap) * .6); }
.condition-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.condition-grid h3 { padding-top: .9rem; margin-bottom: .9rem; font-size: 1.25rem; border-top: 3px solid var(--blue); }
.condition-grid li { padding-block: .32rem; font-size: 1rem; line-height: 1.4; }
.condition-note { margin-top: 2.25rem; padding: 1.1rem 1.3rem; color: var(--ink); background: var(--tint); border-radius: 10px; }

/* Treatments */
.treatments { padding-block: calc(var(--gap) * .6) var(--gaps); }
.treatments-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem; }
.treatment-list { border-top: 1px solid var(--line); }
.treatment-list li { border-bottom: 1px solid var(--line); }
.treatment-list a { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: .3rem 1.5rem; padding: 1.15rem 2.25rem 1.15rem .25rem; text-decoration: none; color: inherit; transition: background-color .15s; }
.treatment-list a::after { content: "\2192"; position: absolute; right: .6rem; top: 1.1rem; font-size: 1.2rem; color: var(--blue); transition: transform .15s; }
.treatment-list a:hover { background: var(--tint); }
.treatment-list a:hover::after { transform: translateX(3px); }
.treatment-list strong { font: 600 1.15rem/1.3 var(--display); color: var(--ink); }
.treatment-list span { font-size: .98rem; line-height: 1.5; }

/* About */
.about { padding-bottom: var(--gaps); color: var(--on-dark); background: var(--ink); }
.about h2, .about h3 { color: #fff; }
.about-hero { margin: 0; }
.about-hero img { width: 100%; max-height: 560px; object-fit: cover; object-position: 50% 30%; }
.about-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; padding-block: clamp(2.5rem, 5vw, 4rem); }
.about-intro h2 { font-size: clamp(2rem, 4vw, 3rem); }
.about blockquote { margin: 0; padding-left: 1.25rem; border-left: 4px solid var(--amber); }
.about blockquote p { font: 500 clamp(1.15rem, 1.8vw, 1.4rem)/1.35 var(--display); color: #fff; }
.about cite { display: block; margin-top: .6rem; font-style: normal; font-size: .93rem; }
.cv { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 3vw, 3rem); padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.2); }
.cv h3 { margin-bottom: 1rem; font-size: 1.25rem; }
.cv li { padding-block: .55rem; font-size: .97rem; line-height: 1.45; }
.cv strong { display: block; font-weight: 600; color: #fff; }

/* Try this at home */
.try { padding-block: var(--gaps); background: var(--tint); }
.try-grid { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); grid-template-areas: "video head" "video body"; grid-template-rows: auto 1fr; column-gap: clamp(2.5rem, 6vw, 5rem); }
.try-head { grid-area: head; margin-bottom: 1.75rem; }
.try-video { grid-area: video; }
.try-body { grid-area: body; }
.try-steps { counter-reset: step; }
.try-steps li { position: relative; padding: 0 0 1.5rem 3.5rem; counter-increment: step; }
.try-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; font: 600 1.1rem var(--display); color: #fff; background: var(--blue); border-radius: 50%; }
.try-steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.2rem - 1px); top: 2.4rem; bottom: 0; width: 2px; background: #bccbe2; }
.try-steps h3 { margin-bottom: .3rem; padding-top: .4rem; font-size: 1.22rem; }
.metric { padding: .05rem .4rem; font-weight: 600; color: var(--ink); background: #ffe2b5; border-radius: 4px; white-space: nowrap; }
.try-tips { margin-top: .5rem; padding: 1.4rem 1.5rem 1.5rem; background: var(--paper); border-radius: 12px; }
.try-tips h3 { margin-bottom: .85rem; font-size: 1.15rem; }
.try-tips dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 0; }
.try-tips dt { margin-bottom: .2rem; font-weight: 600; color: var(--ink); }
.try-tips dd { margin: 0; font-size: .95rem; line-height: 1.5; }
.try-habit { margin-top: 1.25rem; padding-left: 1rem; font-weight: 500; color: var(--ink); border-left: 4px solid var(--amber); }

/* Learn */
.learn { padding-block: var(--gaps); }

.articles h2 { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); font-size: clamp(2rem, 4vw, 3rem); }
.article-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.article-card { display: flex; }
.article-card a { display: flex; flex-direction: column; width: 100%; overflow: hidden; color: inherit; text-decoration: none; background: var(--tint); border-radius: 14px; transition: transform .25s ease, box-shadow .25s ease; }
.article-card a:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15,33,64,.14); }
.article-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--line); }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.article-card a:hover .article-image img { transform: scale(1.04); }
.article-text { display: flex; flex: 1; flex-direction: column; padding: 1.2rem 1.35rem 1.35rem; }
.article-meta { font-size: .9rem; }
.article-title { margin-block: .5rem 1.25rem; font: 600 1.2rem/1.28 var(--display); color: var(--ink); text-wrap: balance; }
.article-more { margin-top: auto; font-weight: 600; color: var(--blue); }
.article-more span { display: inline-block; transition: transform .2s ease; }
.article-card a:hover .article-more span { transform: translateX(4px); }
.more-links { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-top: 1.75rem; font-weight: 600; }

/* Reviews */
.reviews { padding-block: clamp(3rem, 6vw, 4.5rem); color: var(--ink); background: var(--amber); }
.reviews a { color: var(--ink); }
.reviews-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.score h2 { font-size: clamp(4.5rem, 9vw, 7rem); font-weight: 700; line-height: .95; }
.stars { font-size: 1.5rem; letter-spacing: .1em; }
.score p:last-child { font-weight: 500; }
.quote { margin: 0; }
.quote blockquote { margin: 0; font: 500 clamp(1.3rem, 2.5vw, 1.9rem)/1.32 var(--display); }
.quote figcaption { margin-top: .85rem; font-weight: 600; }

/* FAQ */
.faq { padding-block: var(--gaps); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.1rem 2.5rem 1.1rem .25rem; font: 600 1.15rem/1.3 var(--display); color: var(--ink); list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .6rem; top: .85rem; font-size: 1.6rem; font-weight: 400; color: var(--blue); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { max-width: 44rem; padding: 0 2.5rem 1.25rem .25rem; }

/* Closing + footer */
.closing { padding-block: clamp(3rem, 6vw, 4.5rem); background: var(--blue); }
.closing-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
.closing h2 { flex: 1 1 22rem; font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: #fff; }

.site-footer { padding-block: 3rem 1.5rem; color: var(--on-dark); background: var(--ink); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr 1fr; gap: 2rem; }
.footer-logo { width: 198px; height: 60px; padding: 4px 8px; background: #fff; border-radius: 6px; box-sizing: content-box; }
.site-footer h2 { margin-bottom: .6rem; font-size: 1rem; color: var(--amber); }
.site-footer p { font-size: .97rem; line-height: 1.9; }
.social { display: flex; gap: .5rem; margin-top: 1.1rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 50%; transition: background-color .15s, color .15s; }
.social a:hover { color: var(--ink); background: var(--amber); border-color: var(--amber); }
.social svg { width: 20px; height: 20px; }
.copyright { margin-top: 2.5rem; padding-top: 1.25rem; font-size: .88rem; border-top: 1px solid rgba(255,255,255,.16); }

.mobile-bar { display: none; }

/* Floating WhatsApp and back-to-top buttons. Desktop only: phones have the bottom bar. */
.float-actions { position: fixed; right: clamp(1rem, 2vw, 1.75rem); bottom: clamp(1rem, 2vw, 1.75rem); z-index: 40; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.float-btn { display: grid; place-items: center; color: #fff; border-radius: 50%; box-shadow: 0 8px 22px rgba(15,33,64,.28); transition: transform .2s ease, background-color .2s ease, opacity .25s ease, visibility .25s; }
.float-btn:hover { transform: translateY(-3px); }
.float-btn:active { transform: none; }
.whatsapp { width: 58px; height: 58px; background: #128c7e; }
.whatsapp:hover { background: #0e7468; }
.whatsapp svg { width: 32px; height: 32px; }
.to-top { width: 46px; height: 46px; background: var(--blue); }
.to-top:hover { background: var(--blue-deep); }
.to-top svg { width: 22px; height: 22px; }
.to-top.is-hidden { visibility: hidden; opacity: 0; transform: translateY(10px); }
@media print { .float-actions { display: none; } }

/* Motion. Hero plays on load; main.js adds .reveal to later content and removes it once finished. */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes ring { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.55); } }
.hero-photo img { animation: settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.proof-row > div { animation: rise .6s ease both; animation-delay: .4s; }
.proof-row > div:nth-child(2) { animation-delay: .47s; }
.proof-row > div:nth-child(3) { animation-delay: .54s; }
.proof-row > div:nth-child(4) { animation-delay: .61s; }
.main-nav.is-open { animation: drop-in .2s ease both; }
.faq-list details[open] > p { animation: fade-in .3s ease both; }
.video-frame.ready .video-play span { position: relative; }
.video-frame.ready .video-play span::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--amber); border-radius: 50%; animation: ring 1.8s ease-out 3; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease var(--reveal-delay, 0s), transform .65s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0s); }
.reveal.reveal-scale { transform: scale(.96); }
.reveal.is-visible { opacity: 1; transform: none; }
.try-steps li.reveal::after { transform: scaleY(0); transform-origin: top; transition: transform .6s ease .25s; }
.try-steps li.reveal.is-visible::after { transform: none; }
@media print { .reveal, .reveal.reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; } }

@media (max-width: 1240px) {
  .header-phone { display: none; }
}

@media (max-width: 1100px) {
  .logo img { width: 158px; height: 48px; }
  .main-nav { gap: .75rem; }
  .main-nav a { font-size: .92rem; }
}

@media (max-width: 900px) {
  :root { --header: 64px; }
  .logo img { width: 158px; height: 48px; }
  .header-book { display: none; }
  .float-actions { display: none; }

  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; margin-left: auto; padding: 10px; background: none; border: 0; cursor: pointer; }
  .menu-toggle span { height: 2px; background: var(--ink); }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; gap: 0; margin: 0; padding: .5rem 1.25rem 1rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15,33,64,.12); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .8rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }

  .hero-stage { display: block; min-height: 0; }
  .hero-photo { position: relative; inset: auto; z-index: 0; width: 100%; height: clamp(220px, 62vw, 400px); }
  .hero-photo img { object-position: 47% 30%; }
  .hero-photo::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(15,33,64,0) 45%); }
  .hero-copy { width: auto; padding-block: 1.25rem 2.25rem; }
  .why-grid { grid-template-columns: 1fr; }
  .article-cards { grid-template-columns: 1fr; }
  .article-card a { flex-direction: row; }
  .article-image { flex: 0 0 42%; aspect-ratio: auto; }
  .why-video, .try-video { width: min(100%, 340px); margin-inline: auto; }
  .try-grid { grid-template-columns: 1fr; grid-template-areas: "head" "video" "body"; grid-template-rows: none; }
  .try-body { margin-top: 2.25rem; }
  .proof-row { grid-template-columns: 1fr 1fr; }
  .proof-row > div { padding: 1rem 0 1rem 1rem; }
  .proof-row > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .proof-row > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }

  .book-form, .treatments-grid, .faq-grid, .about-intro, .reviews-grid { grid-template-columns: 1fr; }
  .condition-grid { grid-template-columns: 1fr 1fr; }
  .cv { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 2fr; gap: .6rem; padding: .6rem max(.75rem, env(safe-area-inset-right)) max(.6rem, env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left)); background: var(--ink); }
  body { padding-bottom: 68px; }
}

@media (max-width: 560px) {
  .actions .btn { width: 100%; }
  .reasons { grid-template-columns: 1fr; }
  .article-card a { flex-direction: column; }
  .article-image { flex: none; aspect-ratio: 16 / 9; }
  .try-tips dl { grid-template-columns: 1fr; }
  .condition-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .treatment-list a { grid-template-columns: 1fr; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .clinic { padding: 1.2rem 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
