/* Bioveda Hospital – theme styles
   Colours/fonts come from theme.json (Site Editor → Styles). Edit those, not this file. */
:root {
	--bv-gutter: clamp(1rem, 4vw, 2rem);
	--bv-radius: 16px;
	--bv-navy: var(--wp--preset--color--primary);
	--bv-accent: var(--wp--preset--color--accent);
	--bv-accent-dark: var(--wp--preset--color--accent-dark);
	--bv-soft: var(--wp--preset--color--soft);
	--bv-ink: var(--wp--preset--color--ink);
	--bv-muted: var(--wp--preset--color--muted);
	--bv-line: var(--wp--preset--color--line);
	--bv-shadow: 0 18px 50px rgba(11, 37, 69, .10);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
img { max-width: 100%; height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; margin-block-end: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 3px solid var(--bv-accent); outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Buttons ---------- */
.wp-block-button__link, .bv-btn { transition: background-color .2s, color .2s, transform .2s; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--bv-navy); border: 2px solid var(--bv-navy); padding: calc(.95rem - 2px) calc(1.9rem - 2px); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--bv-navy); color: #fff; }
.bv-btn-light .wp-block-button__link { background: #fff; color: var(--bv-navy); }
.bv-btn-light .wp-block-button__link:hover { background: var(--bv-navy); color: #fff; }
.bv-section--dark .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }
.bv-section--dark .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--bv-navy); }

/* ---------- Header ---------- */
.wp-site-blocks > header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 20px rgba(11, 37, 69, .07); }
.admin-bar .wp-site-blocks > header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header { top: 46px; } }
.bv-topbar { background: var(--bv-navy); color: rgba(255, 255, 255, .85); font-size: .875rem; padding: 9px var(--bv-gutter); max-height: 80px; overflow: hidden; transition: max-height .25s, padding .25s; }
body.is-scrolled .bv-topbar { max-height: 0; padding-top: 0; padding-bottom: 0; }
.bv-topbar .bv-topbar__inner { max-width: 1320px; margin: 0 auto; gap: .5rem 2rem; }
.bv-topbar p { margin: 0; }
.bv-topbar a { color: #fff; text-decoration: none; }
.bv-topbar a:hover { color: var(--bv-accent); }
.bv-topbar .bv-topbar__right { gap: 1.25rem; align-items: center; }
.bv-social.wp-block-social-links { margin: 0; gap: .5rem; }
.bv-social .wp-social-link { background: transparent !important; color: #fff; }
.bv-social .wp-social-link a { color: inherit; padding: 0; }
.bv-social .wp-social-link:hover { color: var(--bv-accent); }
.bv-header { padding: 12px var(--bv-gutter); }
.bv-header .bv-header__inner { max-width: 1320px; margin: 0 auto; gap: 1.5rem; }
.bv-logo { margin: 0; flex: 0 0 auto; }
.bv-logo img { height: auto; max-width: 210px; width: 100%; }
.bv-nav { flex: 1 1 auto; }
.bv-nav .wp-block-navigation-item__content { font-family: var(--wp--preset--font-family--sora); font-weight: 600; font-size: .95rem; color: var(--bv-navy); padding: 8px 4px; }
.bv-nav .wp-block-navigation-item__content:hover, .bv-nav .current-menu-item > a { color: var(--bv-accent); }
.bv-nav .wp-block-navigation__submenu-container { border-radius: 12px; border: 1px solid var(--bv-line); box-shadow: var(--bv-shadow); padding: 8px; min-width: 260px; }
.bv-nav .wp-block-navigation__submenu-container a { padding: 10px 12px; border-radius: 8px; }
.bv-nav .wp-block-navigation__submenu-container a:hover { background: var(--bv-soft); }
.bv-header__cta { margin: 0; flex: 0 0 auto; }
@media (max-width: 782px) { .bv-topbar__right .bv-topbar__phone { display: none; } .bv-topbar__info { display: none; } .bv-header__cta { display: none; } .bv-nav { justify-content: flex-end; } .bv-topbar { padding: 6px var(--bv-gutter); } }

/* ---------- Sections ---------- */
.bv-section { padding: clamp(56px, 8vw, 104px) var(--bv-gutter); }
.bv-section--soft { background: var(--bv-soft); }
.bv-section--dark { background: var(--bv-navy); color: rgba(255, 255, 255, .78); }
.bv-section--dark :where(h1, h2, h3, h4) { color: #fff; }
.bv-section--dark a { color: #fff; }
.bv-main > .wp-block-post-content > :where(:not(.alignfull)) { padding-left: var(--bv-gutter); padding-right: var(--bv-gutter); }
.bv-center { text-align: center; }
.bv-eyebrow { display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 .6rem; color: var(--bv-accent); font-weight: 700; font-size: .95rem; }
.bv-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.bv-sec-title { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.bv-sec-title h2, .bv-sec-title p { margin-top: 0; }
.bv-sec-title h2 { margin-bottom: 0; max-width: 20ch; }
.bv-center.bv-sec-title h2 { margin-inline: auto; }
.bv-sec-head { gap: 1.25rem 2rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.bv-sec-head .bv-sec-title { margin-bottom: 0; }
.wp-block-column.bv-col-5 { flex-grow: 5; } .wp-block-column.bv-col-7 { flex-grow: 7; }
.wp-block-column.bv-col-4 { flex-grow: 4; } .wp-block-column.bv-col-8 { flex-grow: 8; }
.wp-block-columns { gap: clamp(1.5rem, 4vw, 4rem); }
:where(.bv-hero, .bv-section, .bv-cta, .bv-steps, .bv-banner) .wp-block-columns { margin-bottom: 0; }
.bv-checks { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.bv-checks li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
.bv-checks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #FDEBE2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F26A2E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* ---------- Hero ---------- */
.bv-hero { background: linear-gradient(135deg, var(--bv-soft) 0%, #fff 62%); padding: clamp(40px, 6vw, 88px) var(--bv-gutter) clamp(110px, 12vw, 170px); overflow: hidden; }
.bv-hero__cols { gap: clamp(2rem, 5vw, 5rem); }
.bv-hero h1 { margin: 0 0 1.25rem; max-width: 16ch; }
.bv-lead { font-size: 1.15rem; max-width: 52ch; }
.bv-hero__btns { margin-top: 1.75rem; gap: 1rem; }
.bv-trust { gap: .6rem 1.75rem; margin-top: 2.25rem; }
.bv-trust p { margin: 0; font-weight: 600; color: var(--bv-navy); font-size: .95rem; display: flex; align-items: center; gap: .55rem; }
.bv-trust p::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--bv-accent); flex: none; }
.bv-hero__img { margin: 0; }
.bv-hero__img img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; border-radius: 28px 28px 28px 150px; box-shadow: var(--bv-shadow); }

/* ---------- Steps ---------- */
.bv-steps { padding: 0 var(--bv-gutter); margin-top: -80px; position: relative; z-index: 2; }
.bv-steps__cols { background: #fff; border-radius: 22px; box-shadow: var(--bv-shadow); gap: 0 !important; counter-reset: bv-step; overflow: hidden; }
.bv-step { counter-increment: bv-step; padding: 30px 28px; height: 100%; }
.bv-step::before { content: counter(bv-step, decimal-leading-zero); display: block; font-family: var(--wp--preset--font-family--sora); font-weight: 700; font-size: 1.75rem; color: var(--bv-accent); margin-bottom: .35rem; }
.bv-step h4 { margin: 0 0 .4rem; } .bv-step p { margin: 0; font-size: .97rem; }
@media (min-width: 782px) { .bv-steps__cols .wp-block-column + .wp-block-column .bv-step { border-left: 1px solid var(--bv-line); } }
@media (max-width: 781px) { .bv-steps__cols .wp-block-column + .wp-block-column .bv-step { border-top: 1px solid var(--bv-line); } }

/* ---------- About ---------- */
.bv-about__imgs { position: relative; padding-bottom: 80px; }
.bv-about__img1 { margin: 0; width: 80%; } .bv-about__img1 img { width: 100%; aspect-ratio: 4 / 4.7; object-fit: cover; border-radius: 24px 24px 24px 100px; }
.bv-about__img2 { position: absolute; right: 0; bottom: 0; width: 52%; margin: 0; } .bv-about__img2 img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: 20px; border: 8px solid #fff; box-shadow: var(--bv-shadow); }
.bv-mini-cols { margin: 1.5rem 0; gap: 1.5rem !important; }
.bv-mini { border-left: 3px solid var(--bv-accent); padding-left: 1rem; } .bv-mini h4 { margin: 0 0 .25rem; } .bv-mini p { margin: 0; font-size: .97rem; }
.bv-mini--light { margin-top: 1.25rem; } .bv-mini--light p { color: rgba(255, 255, 255, .75); }

/* ---------- Treatments / blog cards ---------- */
.bv-services-grid .wp-block-post-template, .bv-blog-grid .wp-block-post-template { gap: 24px; padding: 0; margin: 0; list-style: none; }
.bv-svc { position: relative; border-radius: 22px; overflow: hidden; background: var(--bv-navy); }
.bv-svc .wp-block-post-featured-image { margin: 0; } .bv-svc img { width: 100%; height: auto; aspect-ratio: 3 / 3.6; object-fit: cover; transition: transform .5s; display: block; }
.bv-svc:hover img { transform: scale(1.05); }
.bv-svc .wp-block-post-title { position: absolute; left: 16px; right: 16px; bottom: 16px; margin: 0; background: #fff; border-radius: 14px; padding: 15px 18px; font-size: 1.05rem; transition: background-color .2s; }
.bv-svc .wp-block-post-title a { color: var(--bv-navy); text-decoration: none; display: block; transition: color .2s; }
.bv-svc:hover .wp-block-post-title { background: var(--bv-accent); } .bv-svc:hover .wp-block-post-title a { color: #fff; }
.bv-post .wp-block-post-featured-image { margin: 0 0 1rem; } .bv-post img { border-radius: 18px; width: 100%; object-fit: cover; }
.bv-post__date { font-size: .875rem; color: var(--bv-accent); font-weight: 600; margin: 0 0 .3rem; }
.bv-post .wp-block-post-title { margin: 0 0 .5rem; font-size: 1.2rem; } .bv-post .wp-block-post-title a { color: var(--bv-navy); text-decoration: none; } .bv-post .wp-block-post-title a:hover { color: var(--bv-accent); }
.bv-post .wp-block-post-excerpt { margin: 0; font-size: .97rem; }
.wp-block-query-pagination { margin-top: 2.5rem; gap: .5rem; } .wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { padding: .45rem .9rem; border-radius: 999px; text-decoration: none; }
.wp-block-query-pagination .current { background: var(--bv-accent); color: #fff; }
@media (max-width: 1024px) { .bv-services-grid .wp-block-post-template, .bv-blog-grid .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .bv-services-grid .wp-block-post-template, .bv-blog-grid .wp-block-post-template { grid-template-columns: minmax(0, 1fr) !important; } }

/* ---------- Why choose us ---------- */
.bv-feature { display: grid; grid-template-columns: 56px 1fr; column-gap: 1rem; align-items: start; padding: 1rem 0; }
.bv-feature::before { content: ""; grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 50%; background: #FDEBE2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F26A2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-9 5-14 14-14 0 9-5 14-14 14z'/%3E%3Cpath d='M5 19c2-5 5-8 9-10'/%3E%3C/svg%3E") center / 26px no-repeat; }
.bv-feature h4 { margin: 0 0 .2rem; } .bv-feature p { margin: 0; font-size: .97rem; }
.bv-why__img { margin: 0; } .bv-why__img img { width: 100%; aspect-ratio: 3 / 3.9; object-fit: cover; border-radius: 220px 220px 24px 24px; }
@media (min-width: 782px) { .bv-why__mid { flex-grow: 1.15 !important; } }

/* ---------- Stats ---------- */
.bv-stats { padding-block: clamp(44px, 6vw, 72px); }
.bv-stat { text-align: center; } .bv-stat h3 { font-size: clamp(2.2rem, 4vw, 3.25rem); margin: 0; color: #fff; } .bv-stat p { margin: .25rem 0 0; color: rgba(255, 255, 255, .75); }
.bv-stats__cols { gap: 2rem !important; }

/* ---------- Gallery ---------- */
.bv-gallery { gap: 18px; } .bv-gallery .wp-block-image img { border-radius: 18px; transition: transform .45s; } .bv-gallery .wp-block-image { overflow: hidden; border-radius: 18px; } .bv-gallery .wp-block-image:hover img { transform: scale(1.06); }

/* ---------- Appointment ---------- */
.bv-appt h2 { max-width: 16ch; }
.bv-formcard { background: #fff; border-radius: 24px; padding: clamp(1.25rem, 3vw, 2.5rem); color: var(--bv-muted); box-shadow: 0 24px 60px rgba(0, 0, 0, .18); }
.bv-formcard :where(h2, h3, h4) { color: var(--bv-navy); }
.bv-formcard--light { border: 1px solid var(--bv-line); box-shadow: var(--bv-shadow); }
.bv-formcard h3 { margin-top: 0; }

/* ---------- Team / testimonials ---------- */
.bv-team__cols { gap: 24px !important; } .bv-team__card { text-align: center; } .bv-team__img { margin: 0 0 1rem; } .bv-team__img img { width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; border-radius: 22px; }
.bv-team__card h3 { margin: 0; font-size: 1.15rem; } .bv-team__card p { margin: .15rem 0 0; color: var(--bv-accent); font-weight: 600; font-size: .95rem; }
.bv-testi__cols { gap: 24px !important; } .bv-testi__cols .wp-block-column { display: flex; } .bv-testi { background: #fff; border-radius: 22px; padding: 2rem; flex: 1; box-shadow: 0 8px 30px rgba(11, 37, 69, .06); }
.bv-quote-mark { font-family: var(--wp--preset--font-family--sora); font-size: 4.5rem; line-height: .7; color: var(--bv-accent); margin: 0 0 .5rem; height: 2rem; }
.bv-quote { margin: 0 0 1.25rem; } .bv-testi h4 { margin: 0; } .bv-quote-by { margin: 0; font-size: .9rem; }

/* ---------- CTA ---------- */
.bv-cta { background: linear-gradient(110deg, var(--bv-accent), var(--bv-accent-dark)); color: #fff; padding: clamp(40px, 6vw, 64px) var(--bv-gutter); }
.bv-cta :where(h2, p) { color: #fff; margin: 0; } .bv-cta h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); max-width: 26ch; } .bv-cta p { margin-top: .5rem; } .bv-cta a { color: #fff; font-weight: 700; }
.bv-cta__inner { gap: 1.5rem 3rem; } .bv-cta .wp-block-buttons { margin: 0; }

/* ---------- FAQ / info / map ---------- */
.bv-faq .wp-block-details { border: 1px solid var(--bv-line); border-radius: 14px; padding: 1rem 1.25rem; margin-bottom: .85rem; background: #fff; }
.bv-faq summary { font-family: var(--wp--preset--font-family--sora); font-weight: 600; color: var(--bv-navy); cursor: pointer; }
.bv-faq .wp-block-details[open] { border-color: var(--bv-accent); } .bv-faq .wp-block-details p { margin: .75rem 0 0; }
.bv-info { border: 1px solid var(--bv-line); border-radius: 16px; padding: 1.15rem 1.4rem; margin-bottom: 1rem; } .bv-info h4 { margin: 0 0 .25rem; } .bv-info p { margin: 0; }
.bv-map iframe { width: 100%; border-radius: 22px; display: block; }

/* ---------- Page banner ---------- */
.bv-banner { background: radial-gradient(circle at 85% 20%, rgba(23, 92, 102, .85), transparent 45%), radial-gradient(circle at 10% 110%, rgba(242, 106, 46, .35), transparent 40%), var(--bv-navy); padding: clamp(44px, 7vw, 84px) var(--bv-gutter); }
.bv-banner :where(h1, .wp-block-post-title, .wp-block-query-title) { color: #fff; margin: 0; font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem); }
.bv-main { min-height: 30vh; }
.bv-prose h2 { font-size: 1.5rem; margin-top: 2.4rem; } .bv-prose h3 { font-size: 1.15rem; margin-top: 1.6rem; } .bv-prose ul { padding-left: 1.3rem; } .bv-prose li { margin-bottom: .3rem; }

/* ---------- Single treatment / post ---------- */
.bv-single__cols { gap: clamp(2rem, 4vw, 3.5rem) !important; }
.bv-single__img { margin: 0 0 1.5rem; } .bv-single__img img { width: 100%; border-radius: 22px; object-fit: cover; }
.bv-sidebar { position: sticky; top: 150px; }
.bv-side-card { border: 1px solid var(--bv-line); border-radius: 20px; padding: 1.6rem; margin-bottom: 1.5rem; }
.bv-side-card h3 { margin: 0 0 1rem; font-size: 1.2rem; } .bv-side-card p { margin: 0 0 1rem; }
.bv-side-card--dark { background: var(--bv-navy); border: 0; color: rgba(255, 255, 255, .8); } .bv-side-card--dark :where(h3) { color: #fff; } .bv-side-card--dark a:not(.wp-block-button__link) { color: #fff; font-weight: 600; }
.bv-side-list ul { list-style: none; margin: 0; padding: 0; } .bv-side-list li { border-bottom: 1px solid var(--bv-line); } .bv-side-list li:last-child { border: 0; }
.bv-side-list a { display: block; padding: .7rem 0; color: var(--bv-navy); text-decoration: none; font-weight: 600; } .bv-side-list a:hover { color: var(--bv-accent); }
.bv-postnav { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--bv-line); }

/* ---------- Footer ---------- */
.bv-footer { background: #07182F; color: rgba(255, 255, 255, .72); }
.bv-footer :where(h4) { color: #fff; margin: 0 0 1.1rem; font-size: 1.1rem; }
.bv-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; } .bv-footer a:hover { color: var(--bv-accent); }
.bv-footer p { margin: 0 0 .7rem; font-size: .97rem; }
.bv-foot__top { padding: clamp(48px, 7vw, 80px) var(--bv-gutter) 36px; max-width: 1320px; margin: 0 auto; }
.bv-foot__cols { gap: 2.5rem !important; margin: 0; }
.bv-foot-list ul { list-style: none; margin: 0 0 .8rem; padding: 0; } .bv-foot-list li { margin-bottom: .45rem; } .bv-foot-list li p { margin: 0; }
.bv-footer .bv-social { margin-top: 1rem; }
.bv-foot__bottom { max-width: 1320px; margin: 0 auto; padding: 20px var(--bv-gutter); border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; gap: .5rem 2rem; }
.bv-foot__bottom p { margin: 0; font-size: .9rem; }

/* ---------- Forms ---------- */
.bv-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.bv-field { margin: 0; } .bv-field--full { grid-column: 1 / -1; }
.bv-form label { display: block; font-weight: 600; color: var(--bv-navy); font-size: .9rem; margin-bottom: .35rem; }
.bv-form :where(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea) { width: 100%; padding: .85rem 1rem; border: 1px solid var(--bv-line); border-radius: 12px; background: var(--bv-soft); font: inherit; font-size: 1rem; color: var(--bv-ink); transition: border-color .2s, background-color .2s; }
.bv-form :where(input, select, textarea):focus { background: #fff; border-color: var(--bv-accent); }
.bv-form textarea { resize: vertical; min-height: 96px; }
.bv-check { margin: 1.1rem 0 0; } .bv-check label { display: flex; gap: .65rem; font-weight: 400; color: var(--bv-muted); line-height: 1.5; margin: 0; } .bv-check input { margin-top: .25rem; width: 1.05rem; height: 1.05rem; accent-color: var(--bv-accent); flex: none; }
.bv-form__submit { margin: 1.4rem 0 0; }
.bv-btn { display: inline-block; background: var(--bv-accent); color: #fff; border: 0; border-radius: 999px; padding: .95rem 2.2rem; font: inherit; font-weight: 600; cursor: pointer; }
.bv-btn:hover { background: var(--bv-navy); } .bv-btn[disabled] { opacity: .6; cursor: wait; }
.bv-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bv-form__notice { padding: .9rem 1.1rem; border-radius: 12px; font-weight: 600; margin: 0 0 1rem; }
.bv-form__live:empty { display: none; } .bv-form__live { margin: 1rem 0 0; }
.bv-form__notice--success { background: #E4F6EA; color: #14693A; } .bv-form__notice--error { background: #FDE8E6; color: #A1281D; }
@media (max-width: 640px) { .bv-form__grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp floating button ---------- */
.bv-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37, 211, 102, .45); transition: transform .2s; }
.bv-wa-float:hover { transform: scale(1.08); }
@media (max-width: 600px) { .bv-wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; } }
