/*
Theme Name: Vida Dental
Theme URI: https://www.vidadentalsmiles.com/
Author: Vida Dental
Description: Custom "Desert Sun" block theme for Vida Dental, South Austin. Bilingual (English/Spanish with Polylang), one-click page setup, built-in appointment request form, and redirects from the old site's addresses.
Version: 1.2.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vida-dental
*/

:root {
	--vida-olive: #4A5234;
	--vida-deep: #353A24;
	--vida-ink: #2E3121;
	--vida-earth: #4E4B3B;
	--vida-terracotta: #9C5235;
	--vida-terra-dark: #7A3E25;
	--vida-sun: #C48A3B;
	--vida-sandgold: #E3C28E;
	--vida-tan: #C69D6B;
	--vida-cream: #F4EDE1;
	--vida-linen: #FBF8F2;
	--vida-parchment: #E9DFCC;
	--vida-photosand: #D9C7AC;
	--vida-line: #E6D9C6;
	--vida-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
	--vida-sans: 'Jost', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
	--vida-gutter: clamp(16px, 4vw, 40px);
	--vida-pad: clamp(56px, 7vw, 104px);
}

/* ------------------------------------------------------------ base */
body { margin: 0; -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--vida-terracotta); outline-offset: 2px; }
.vida-on-dark :focus-visible, .vida-footer :focus-visible, .vida-topbar :focus-visible { outline-color: var(--vida-sandgold); }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link.screen-reader-text:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 8px; top: 8px; z-index: 100000; padding: 12px 16px; background: var(--vida-linen); color: var(--vida-deep); }

.vida-main, .vida-main > .wp-block-post-content { margin: 0; }
.vida-main .wp-block-post-content > *,
.vida-main > *,
.vida-site-header, .vida-site-footer { margin-block: 0 !important; }

/* ------------------------------------------------------------ layout */
.vida-sec { padding: var(--vida-pad) 0; margin: 0; }
.vida-sec-tight { padding: clamp(48px, 6vw, 88px) 0; }
.vida-sec-flush-top { padding-top: 0; }
.vida-wrap { max-width: 1200px; margin-inline: auto !important; padding-inline: var(--vida-gutter); }
.vida-narrow { max-width: 880px; }
.vida-bg-cream { background: var(--vida-cream); }
.vida-bg-linen { background: var(--vida-linen); }

.vida-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 40px; }
.vida-head > * { margin: 0 !important; }
.vida-head-text { max-width: 720px; }
.vida-head-text > * + * { margin-top: 12px !important; }

.wp-block-columns.vida-cols { gap: clamp(32px, 5vw, 64px); align-items: center; margin: 0; }
.wp-block-columns.vida-cols-top { align-items: flex-start; }
.wp-block-columns.vida-cols-end { align-items: flex-end; }
.wp-block-column > *:first-child { margin-top: 0; }

.vida-grid { display: grid; gap: 20px; }
.vida-grid > * { margin: 0 !important; }
.vida-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.vida-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.vida-grid-1 { grid-template-columns: 1fr; margin-top: 24px !important; }

/* ------------------------------------------------------------ type */
.vida-eyebrow {
	display: flex; align-items: center; gap: 12px; margin: 0;
	font-size: 14px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--vida-terracotta);
}
.vida-eyebrow::before { content: ""; width: 30px; height: 15px; border-radius: 30px 30px 0 0; background: var(--vida-sun); flex: 0 0 auto; }
.vida-on-dark .vida-eyebrow { color: var(--vida-sandgold); }
h1.vida-h1, .vida-h1 { font-weight: 700; font-size: clamp(46px, 6.4vw, 88px); line-height: 1; letter-spacing: -0.02em; margin: 0; }
.vida-h1-page { font-size: clamp(40px, 5vw, 68px); line-height: 1.04; }
.vida-h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
.vida-h2-sm { font-size: clamp(28px, 3.4vw, 44px); }
.vida-h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; margin: 0; }
.vida-h3-sm { font-size: 22px; margin-top: 12px !important; }
.vida-lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--vida-earth); max-width: 36em; }
.vida-muted { color: var(--vida-earth); }
.vida-small { font-size: 13px !important; }
.vida-on-dark, .vida-on-dark h1, .vida-on-dark h2, .vida-on-dark h3, .vida-on-dark p { color: var(--vida-linen); }
.vida-on-dark .vida-muted { color: #E4DACA; }
.vida-prose p { max-width: 42em; }

/* ------------------------------------------------------------ buttons */
.wp-block-buttons { gap: 12px; }
.wp-block-button .wp-block-button__link { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; line-height: 1.2; transition: transform .15s ease, background-color .15s ease; }
.wp-block-button .wp-block-button__link:hover { transform: translateY(-1px); }
.vida-btn--outline .wp-block-button__link { background: transparent !important; color: var(--vida-deep) !important; border: 1.5px solid var(--vida-olive); }
.vida-btn--outline .wp-block-button__link:hover { background: var(--vida-parchment) !important; }
.vida-btn--light .wp-block-button__link { background: var(--vida-linen) !important; color: var(--vida-terra-dark) !important; }
.vida-btn--ghost .wp-block-button__link { background: rgba(251, 248, 242, 0.12) !important; color: var(--vida-linen) !important; border: 1.5px solid var(--vida-linen); }
.vida-btn--link .wp-block-button__link { background: transparent !important; color: var(--vida-terracotta) !important; padding: 10px 0 !important; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.vida-center { justify-content: center; }
.vida-link { margin: 0; }
.vida-link a { display: inline-block; padding: 10px 0; font-weight: 600; color: var(--vida-terracotta); text-underline-offset: 4px; }
.vida-on-dark .vida-link a { color: var(--vida-sandgold); }

/* ------------------------------------------------------------ chips */
.vida-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.vida-chip { background: var(--vida-parchment); color: var(--vida-deep); font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; }
.vida-chip--light { background: var(--vida-linen); }
.vida-chip--olive { background: var(--vida-olive); color: var(--vida-cream); }
.vida-chip--glass { background: rgba(244, 237, 225, 0.14); color: var(--vida-cream); }

/* ------------------------------------------------------------ images */
figure.wp-block-image { margin: 0; }
.wp-block-image img { display: block; width: 100%; }
.wp-block-image figcaption { font-size: 13px; color: var(--vida-earth); text-align: right; margin: 8px 0 0; }
.vida-arch img { border-radius: 999px 999px 28px 28px; object-fit: cover; background: var(--vida-photosand); }
.vida-hero-img img, .vida-profile-img img { aspect-ratio: 4 / 5; object-position: center 30%; }
.vida-svc-img img { aspect-ratio: 5 / 4; object-position: center 60%; }
.vida-dentist-img img { aspect-ratio: 4 / 5; border-radius: 999px 999px 20px 20px; object-position: center 25%; }
.vida-ba img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }

/* ------------------------------------------------------------ hero */
.vida-hero .wp-block-column > * + * { margin-top: 24px; }
.vida-hero-media { position: relative; }
.vida-badge {
	position: absolute; left: -12px; bottom: 40px; margin: 0 !important; background: var(--vida-linen); border-radius: 20px;
	padding: 14px 20px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; color: var(--vida-deep);
	box-shadow: 0 10px 30px rgba(53, 58, 36, 0.14);
}
.vida-badge::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #6B7A3E; }
.vida-trust { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--vida-earth); }
.vida-trust span::before { content: "✓"; color: var(--vida-olive); font-weight: 700; margin-right: 8px; }
.vida-trust span:first-child::before { content: "★"; color: var(--vida-sun); }

/* ------------------------------------------------------------ services */
.vida-service {
	position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 260px; padding: 32px; border-radius: 24px;
	background: var(--vida-cream); border: 1px solid var(--vida-line); transition: transform .15s ease, box-shadow .15s ease;
}
.vida-service > * { margin: 0 !important; }
.vida-service:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(53, 58, 36, 0.10); }
.vida-num { font-family: var(--vida-serif); font-size: 22px; color: var(--vida-terracotta); }
.vida-title { font-size: 26px; }
.vida-desc { flex: 1 1 auto; font-size: 16px; color: var(--vida-earth); }
.vida-more a { color: var(--vida-ink); font-weight: 600; text-decoration: none; }
.vida-more a::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.vida-more::after { content: " →"; font-weight: 600; }
.vida-service--dark { background: var(--vida-olive); border-color: var(--vida-olive); }
.vida-service--dark .vida-title, .vida-service--dark .vida-more a, .vida-service--dark .vida-more { color: var(--vida-cream); }
.vida-service--dark .vida-num { color: var(--vida-sandgold); }
.vida-service--dark .vida-desc { color: #E4DACA; }

/* ------------------------------------------------------------ dentists */
.vida-dentist {
	display: grid; gap: 24px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	background: var(--vida-linen); border: 1px solid var(--vida-line); border-radius: 28px; padding: 20px;
}
.vida-dentist > * { margin: 0 !important; }
.vida-dentist-body > * { margin: 0; }
.vida-dentist-body > * + * { margin-top: 14px !important; }
.vida-dentist-body .vida-chip { font-size: 13px; padding: 6px 12px; }
.vida-profile-body > * + * { margin-top: 18px !important; }
.vida-profile-media { max-width: 480px; }

/* ------------------------------------------------------------ beyond strip */
.vida-strip { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-top: 32px !important; }
.vida-strip > * { margin: 0 !important; }
.vida-strip-img img { height: 400px; object-fit: cover; border-radius: 24px; }
.vida-strip-img.vida-arch img { border-radius: 999px 999px 24px 24px; object-position: 70% center; }

/* ------------------------------------------------------------ vida difference (pine photo) */
.vida-difference {
	background-color: var(--vida-deep);
	background-image: linear-gradient(rgba(53, 58, 36, 0.80), rgba(53, 58, 36, 0.90)), url(assets/images/bg-pines-olive.jpg);
	background-size: cover; background-position: center 62%;
}
.vida-points { display: grid; gap: 40px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.vida-points > * { margin: 0 !important; }
.vida-point { border-top: 1px solid rgba(244, 237, 225, 0.28); padding-top: 20px; }
.vida-point > * { margin: 0; }
.vida-point > * + * { margin-top: 10px !important; }
.vida-point-title { font-family: var(--vida-serif); font-weight: 600; font-size: 23px; }
.vida-point p:not(.vida-point-title) { color: #E4DACA !important; font-size: 16px; }

/* ------------------------------------------------------------ reviews */
.vida-rating { display: flex; align-items: center; gap: 16px; }
.vida-rating > * { margin: 0 !important; }
.vida-rating-meta > * { margin: 0 !important; }
.vida-score { font-family: var(--vida-serif); font-weight: 700; font-size: 64px; line-height: 1; color: var(--vida-deep); }
.vida-stars { color: var(--vida-sun); font-size: 20px; letter-spacing: 2px; }
.vida-card { background: var(--vida-linen); border: 1px solid var(--vida-line); border-radius: 24px; padding: 32px; }
.vida-card > * { margin: 0; }
.vida-card > * + * { margin-top: 14px !important; }
.vida-quote-text { font-family: var(--vida-serif); font-size: 19px; line-height: 1.5; color: var(--vida-deep); }
.vida-quote-text::before { content: "“"; display: block; font-size: 56px; line-height: 0.6; color: var(--vida-tan); margin-bottom: 12px; }
.vida-quote-name { font-size: 15px; font-weight: 600; color: var(--vida-earth); }

/* ------------------------------------------------------------ panels */
.vida-panel { background: var(--vida-parchment); border-radius: 28px; padding: clamp(28px, 4vw, 48px); }
.vida-panel > * { margin: 0; }
.vida-panel > * + * { margin-top: 18px !important; }
.vida-panel--olive { background: var(--vida-olive); }
.vida-option { border-top: 1px solid #D3C3A8; padding-top: 14px; }
.vida-option > * { margin: 0; }
.vida-option-title { font-weight: 600; font-size: 18px; }
.vida-checklist { list-style: none; padding: 0; }
.vida-checklist li { position: relative; padding-left: 30px; margin: 8px 0; }
.vida-checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--vida-olive); font-weight: 700; }
.vida-on-dark .vida-checklist li::before { color: var(--vida-sandgold); }

/* ------------------------------------------------------------ patient tools */
.vida-tools { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 32px !important; }
.vida-tools > * { margin: 0 !important; }
.vida-tool { position: relative; min-height: 140px; padding: 24px; border-radius: 20px; background: var(--vida-cream); border: 1px solid #E2D4BE; }
.vida-bg-cream .vida-tool { background: var(--vida-linen); }
.vida-tool > * { margin: 0; }
.vida-tool > * + * { margin-top: 8px !important; }
.vida-tool-title a { font-weight: 600; font-size: 18px; color: var(--vida-ink); text-decoration: none; }
.vida-tool-title a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.vida-tool-title::after { content: " ↗"; color: var(--vida-terracotta); }

/* ------------------------------------------------------------ Austin photo band */
.vida-austin {
	min-height: 460px; display: flex; align-items: flex-end; margin: 0;
	background-color: var(--vida-photosand); background-image: url(assets/images/bg-austin-arches.jpg);
	background-size: cover; background-position: center 38%;
}
.vida-austin-in { width: 100%; max-width: 1200px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--vida-gutter); }
.vida-austin-card { max-width: 460px; background: rgba(244, 237, 225, 0.95); border-radius: 24px; padding: 28px 32px; box-shadow: 0 12px 36px rgba(46, 49, 33, 0.18); }
.vida-austin-card > * { margin: 0; }
.vida-austin-card > * + * { margin-top: 10px !important; }
.vida-austin-card .vida-eyebrow { font-size: 13px; }
.vida-austin-title { font-family: var(--vida-serif); font-weight: 600; font-size: 30px; line-height: 1.15; color: var(--vida-deep); }

/* ------------------------------------------------------------ visit + form */
.vida-visit-info > * + * { margin-top: 20px !important; }
.vida-address { font-size: 18px; }
.vida-phone a { font-family: var(--vida-serif); font-size: 28px; font-weight: 600; color: var(--vida-deep); text-decoration: none; }
.vida-hours { background: var(--vida-linen); border: 1px solid var(--vida-line); border-radius: 20px; padding: 24px; }
.vida-hours > * { margin: 0 !important; }
.vida-hours-title { font-weight: 600; color: var(--vida-deep); margin-bottom: 8px !important; }
.vida-hours-row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #EEE4D4; padding: 8px 0; font-size: 16px; }
.vida-hours-row:last-child { border-bottom: 0; padding-bottom: 0; }
.vida-map { width: 100%; height: 260px; border: 0; border-radius: 20px; display: block; background: #DCD0B9; }
.vida-form-card { background: var(--vida-linen); border: 1px solid var(--vida-line); border-radius: 28px; padding: clamp(24px, 4vw, 44px); }
.vida-form-card > * { margin: 0; }
.vida-form-card > * + * { margin-top: 14px !important; }

.vida-form p { margin: 0 0 14px; }
.vida-form label { display: block; font-size: 14px; font-weight: 500; color: var(--vida-ink); }
.vida-form input[type="text"], .vida-form input[type="tel"], .vida-form input[type="email"], .vida-form textarea {
	display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 16px; padding: 12px 14px; min-height: 48px;
	border: 1px solid #A8977B; border-radius: 12px; background: #FFFFFF; color: var(--vida-ink);
}
.vida-form textarea { resize: vertical; }
.vida-form-grid { display: grid; gap: 0 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.vida-radios { border: 0; margin: 0 0 14px; padding: 0; }
.vida-radios legend { font-size: 14px; font-weight: 500; padding: 0 0 6px; }
.vida-radios label { display: inline-flex; align-items: center; gap: 8px; margin: 0 18px 6px 0; min-height: 36px; font-size: 15px; }
.vida-form input[type="radio"], .vida-form input[type="checkbox"] { accent-color: var(--vida-olive); width: 18px; height: 18px; flex: 0 0 auto; }
.vida-consent label { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--vida-earth); font-weight: 400; }
.vida-hint { display: block; font-size: 13px; color: var(--vida-earth); margin-top: 6px; }
.vida-req { color: var(--vida-terracotta); }
.vida-submit {
	font: inherit; font-weight: 600; font-size: 16px; background: var(--vida-terracotta); color: #FFFFFF; border: 0;
	border-radius: 999px; padding: 16px 28px; min-height: 52px; width: 100%; cursor: pointer;
}
.vida-submit:hover { background: var(--vida-terra-dark); }
.vida-form-alt { text-align: center; font-size: 15px; }
.vida-form-alt a { color: var(--vida-deep); }
.vida-form-msg { border-radius: 16px; padding: 18px 20px; margin-bottom: 16px; font-size: 16px; }
.vida-form-msg--ok { background: #E4EAD6; color: var(--vida-deep); }
.vida-form-msg--err { background: #F5DED3; color: var(--vida-terra-dark); }
.vida-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ sunset closing band */
.vida-sunset {
	text-align: center; margin: 0; padding: clamp(72px, 10vw, 140px) 0;
	background-color: var(--vida-olive);
	background-image: linear-gradient(180deg, rgba(46, 49, 33, 0.30) 0%, rgba(46, 49, 33, 0.62) 100%), url(assets/images/bg-sunset.jpg);
	background-size: cover; background-position: center 54%;
}
.vida-sunset .vida-wrap > * { margin-inline: auto; }
.vida-sunset-title { font-weight: 700; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; max-width: 14em; }
.vida-sunset-text { font-size: 18px; max-width: 32em; color: #F1E6D4 !important; }
.vida-credit { font-size: 12px; color: #E9DCC6 !important; margin-top: 28px !important; }

/* ------------------------------------------------------------ inner pages */
.vida-page-hero { padding-bottom: clamp(32px, 4vw, 56px); }
.vida-page-hero .vida-wrap > * + * { margin-top: 20px; }
.vida-crumbs { font-size: 14px; color: var(--vida-earth); margin-bottom: 32px !important; }
.vida-crumbs a { color: var(--vida-earth); }
.vida-svc-hero .wp-block-column > * + * { margin-top: 22px; }
.vida-benefits { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.vida-benefits > * { margin: 0 !important; }
.vida-benefit { position: relative; padding-left: 40px; }
.vida-benefit > * { margin: 0; }
.vida-benefit::before {
	content: "✓"; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--vida-olive);
	color: var(--vida-olive); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.vida-benefit-title { font-weight: 600; font-size: 18px; }
.vida-steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.vida-steps > * { margin: 0 !important; }
.vida-step { background: var(--vida-linen); border: 1px solid var(--vida-line); border-radius: 22px; padding: 26px; }
.vida-step > * { margin: 0; }
.vida-step > * + * { margin-top: 10px !important; }
.vida-step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--vida-olive); color: var(--vida-cream); display: flex; align-items: center; justify-content: center; font-family: var(--vida-serif); font-weight: 600; font-size: 18px; }
.vida-step-title { font-weight: 600; font-size: 18px; }
.vida-faq { margin-top: 24px !important; }
.vida-faq > * { margin: 0 !important; }
.wp-block-details { border-top: 1px solid #E2D4BE; }
.wp-block-details:last-child { border-bottom: 1px solid #E2D4BE; }
.wp-block-details summary { list-style: none; cursor: pointer; padding: 22px 0; min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 19px; color: var(--vida-ink); }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-size: 26px; color: var(--vida-terracotta); line-height: 1; }
.wp-block-details[open] summary::after { content: "−"; }
.wp-block-details > p { padding-bottom: 24px; margin: 0; color: var(--vida-earth); max-width: 42em; }
.vida-cta-terra {
	border-radius: 32px; padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
	background-color: var(--vida-terracotta);
	background-image: linear-gradient(90deg, rgba(122, 62, 37, 0.95) 0%, rgba(140, 74, 46, 0.88) 55%, rgba(156, 82, 53, 0.55) 100%), url(assets/images/bg-sunset.jpg);
	background-size: cover; background-position: center 54%;
}
.vida-cta-terra > * { margin: 0 !important; }
.vida-cta-text { max-width: 640px; }
.vida-cta-text > * { margin: 0; }
.vida-cta-text > * + * { margin-top: 8px !important; }
.vida-cta-title { font-size: clamp(30px, 3.4vw, 44px); }
.vida-cta-terra p { color: #F8E7DA !important; }
.vida-nf-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.vida-nf-links a { font-weight: 600; }

/* ------------------------------------------------------------ top bar */
.vida-topbar { background: var(--vida-deep); color: var(--vida-cream); font-size: 14px; }
.vida-topbar .vida-in { max-width: 1200px; margin: 0 auto; padding: 8px var(--vida-gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; }
.vida-topbar .vida-group { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
.vida-topbar a { color: var(--vida-cream); text-decoration: none; font-weight: 600; }
.vida-topbar a.vida-underline { text-decoration: underline; }
.vida-topbar span { color: #D9CBB3; }

/* ------------------------------------------------------------ header */
.vida-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .vida-site-header { top: 32px; }
.vida-header { background: var(--vida-cream); border-bottom: 1px solid #E2D4BE; position: relative; }
.vida-header .vida-in { max-width: 1200px; margin: 0 auto; padding: 12px var(--vida-gutter); display: flex; align-items: center; gap: 24px; }
.vida-brand { display: block; flex: 0 0 auto; }
.vida-brand img { height: 52px; width: auto; display: block; }
.vida-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.vida-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.vida-menu > li { position: relative; }
.vida-menu a { display: block; padding: 12px 12px; color: var(--vida-ink); text-decoration: none; font-weight: 500; font-size: 16px; border-radius: 10px; }
.vida-menu a:hover, .vida-menu a[aria-current="page"] { color: var(--vida-terracotta); }
.vida-menu > li.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.vida-sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--vida-linen); border: 1px solid var(--vida-line); border-radius: 18px; box-shadow: 0 16px 40px rgba(46, 49, 33, 0.14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s ease; }
.vida-menu > li:hover > .vida-sub, .vida-menu > li:focus-within > .vida-sub { opacity: 1; visibility: visible; transform: none; }
.vida-sub a { padding: 10px 12px; font-size: 15px; }
.vida-sub a:hover { background: var(--vida-parchment); }
.vida-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.vida-lang { display: flex; border: 1px solid var(--vida-olive); border-radius: 999px; padding: 3px; background: var(--vida-linen); }
.vida-lang a { font-size: 14px; font-weight: 600; padding: 8px 13px; min-height: 36px; border-radius: 999px; color: var(--vida-olive); text-decoration: none; display: inline-flex; align-items: center; }
.vida-lang a.is-current { background: var(--vida-olive); color: var(--vida-cream); }
.vida-btn-book { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; background: var(--vida-terracotta); color: #FFFFFF !important; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.vida-btn-book:hover { background: var(--vida-terra-dark); }
.vida-burger { display: none; }
.vida-burger summary { list-style: none; cursor: pointer; width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--vida-line); background: var(--vida-linen); }
.vida-burger summary::-webkit-details-marker { display: none; }
.vida-burger-icon, .vida-burger-icon::before, .vida-burger-icon::after { display: block; width: 20px; height: 2px; background: var(--vida-deep); border-radius: 2px; position: relative; }
.vida-burger-icon::before, .vida-burger-icon::after { content: ""; position: absolute; left: 0; }
.vida-burger-icon::before { top: -6px; }
.vida-burger-icon::after { top: 6px; }
.vida-burger[open] .vida-burger-icon { background: transparent; }
.vida-burger[open] .vida-burger-icon::before { top: 0; transform: rotate(45deg); }
.vida-burger[open] .vida-burger-icon::after { top: 0; transform: rotate(-45deg); }
.vida-drawer { position: absolute; left: 0; right: 0; top: 100%; background: var(--vida-cream); border-bottom: 1px solid #E2D4BE; padding: 8px var(--vida-gutter) 24px; max-height: calc(100vh - 120px); overflow-y: auto; box-shadow: 0 16px 30px rgba(46, 49, 33, 0.12); }
.vida-menu--mobile { flex-direction: column; gap: 0; }
.vida-menu--mobile > li { border-bottom: 1px solid var(--vida-line); }
.vida-menu--mobile a { padding: 14px 4px; font-size: 18px; }
.vida-menu--mobile .vida-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 10px 12px; min-width: 0; }
.vida-menu--mobile .vida-sub a { font-size: 16px; padding: 8px 4px; }
.vida-menu--mobile > li.has-sub > a::after { display: none; }
.vida-drawer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 20px; }
.vida-drawer-phone { font-weight: 600; color: var(--vida-deep); }

@media (max-width: 1100px) {
	.vida-nav, .vida-actions .vida-lang { display: none; }
	.vida-burger { display: block; }
	.vida-actions { margin-left: auto; }
	.vida-brand img { height: 44px; }
}
@media (max-width: 480px) {
	.vida-actions .vida-btn-book { padding: 10px 14px; font-size: 14px; }
	.vida-topbar .vida-group:first-child span { display: none; }
}

/* ------------------------------------------------------------ footer */
.vida-footer { background: var(--vida-deep); color: #E4DACA; padding: 64px 0 32px; }
.vida-footer p { margin: 0; color: #E4DACA; }
.vida-footer-cols { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.vida-footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.vida-footer-col a { color: var(--vida-cream); text-decoration: none; }
.vida-footer-col a:hover { text-decoration: underline; }
.vida-footer-logo { width: 130px; height: auto; }
.vida-social { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; }
.vida-social a { color: var(--vida-cream); }
.vida-label { font-size: 13px !important; letter-spacing: 0.16em; text-transform: uppercase; color: var(--vida-sandgold) !important; font-weight: 600; }
.vida-strong { font-weight: 600; }
.vida-footer-legal { margin-top: 48px; border-top: 1px solid rgba(228, 218, 202, 0.25); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13px; }
.vida-legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.vida-legal-links a { color: #E4DACA; }

/* ------------------------------------------------------------ phones */
@media (max-width: 781px) {
	.vida-badge { left: 8px; bottom: 16px; }
	.vida-strip-img img { height: 320px; }
	.vida-austin { min-height: 380px; }
	.vida-austin-card { padding: 22px 24px; }
	.vida-head { margin-bottom: 28px; }
	.vida-hero-media { max-width: 480px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
	.wp-block-button .wp-block-button__link:hover, .vida-service:hover { transform: none; }
}

/* ------------------------------------------------------------ Google reviews block */
.vida-greviews { margin: 0; }
.vida-greviews > * { margin: 0; }
.vida-greviews-summary { display: flex; align-items: center; gap: 16px; margin-bottom: 28px !important; }
.vida-greviews-summary .vida-score { margin: 0; }
.vida-greviews-meta { display: flex; flex-direction: column; gap: 2px; }
.vida-greviews-list { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.vida-greview { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.vida-greview > * { margin: 0 !important; }
.vida-greview-stars { color: var(--vida-sun); font-size: 18px; letter-spacing: 2px; line-height: 1; }
.vida-greview-text {
	margin: 0; font-family: var(--vida-serif); font-size: 18px; line-height: 1.55; color: var(--vida-deep);
	display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.vida-greview.is-open .vida-greview-text { -webkit-line-clamp: unset; display: block; }
.vida-greview-more { align-self: flex-start; background: none; border: 0; padding: 6px 0; min-height: 32px; font: inherit; font-size: 15px; font-weight: 600; color: var(--vida-terracotta); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.vida-greview-translated { font-size: 13px; color: var(--vida-earth); }
.vida-greview-translated a { color: var(--vida-earth); }
.vida-greview-author { display: flex; align-items: center; gap: 12px; margin-top: auto !important; padding-top: 6px; }
.vida-greview-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--vida-parchment); }
.vida-greview-who { display: flex; flex-direction: column; line-height: 1.35; }
.vida-greview-name { font-size: 15px; font-weight: 600; color: var(--vida-ink); text-decoration: none; }
a.vida-greview-name:hover { text-decoration: underline; }
.vida-greview-when { font-size: 13px; color: var(--vida-earth); }
.vida-greview-when a { color: var(--vida-earth); }
.vida-greview.is-skeleton { min-height: 240px; gap: 12px; }
.vida-greview.is-skeleton span { display: block; height: 14px; border-radius: 8px; background: linear-gradient(90deg, var(--vida-parchment) 0%, #F3ECDF 50%, var(--vida-parchment) 100%); background-size: 200% 100%; animation: vida-shimmer 1.4s linear infinite; }
.vida-greview.is-skeleton span:nth-child(1) { width: 40%; }
.vida-greview.is-skeleton span:nth-child(2), .vida-greview.is-skeleton span:nth-child(3) { width: 100%; }
.vida-greview.is-skeleton span:nth-child(4) { width: 70%; }
@keyframes vida-shimmer { to { background-position: -200% 0; } }
.vida-greviews.is-failed .vida-greviews-list { display: none; }
.vida-greviews-foot { margin-top: 20px !important; display: flex; flex-direction: column; gap: 6px; }
.vida-greviews-foot > * { margin: 0; }
.vida-greviews-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.vida-link-strong { display: inline-block; padding: 10px 0; font-weight: 600; color: var(--vida-terracotta); text-underline-offset: 4px; }
.vida-gmaps-attr { font-family: Roboto, Arial, sans-serif; font-weight: 400; font-size: 14px; color: #5E5E5E; letter-spacing: 0; }
.vida-greviews-note { background: var(--vida-linen); border: 1px dashed #C9B796; border-radius: 16px; padding: 16px 20px; font-size: 15px; color: var(--vida-earth); grid-column: 1 / -1; }
@media (prefers-reduced-motion: reduce) { .vida-greview.is-skeleton span { animation: none; } }

/* ------------------------------------------------------------ Vida Photo block (shapes) */
.vida-photo { width: var(--vida-photo-w, 100%); max-width: 100%; margin: 0; }
.vida-photo.aligncenter { margin-inline: auto !important; }
.vida-photo.alignright { margin-left: auto; }
.vida-photo.alignleft, .vida-photo.alignright { float: none; }
.vida-photo-frame {
	display: block; position: relative; overflow: hidden; width: 100%;
	background: var(--vida-photosand); isolation: isolate; border-radius: 0;
}
.vida-photo-img { display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; border-radius: 0; }
.vida-photo--arch .vida-photo-frame { border-radius: 999px 999px 28px 28px; }
.vida-photo--dome .vida-photo-frame { border-radius: 999px 999px 0 0; }
.vida-photo--bowl .vida-photo-frame { border-radius: 28px 28px 999px 999px; }
.vida-photo--rounded .vida-photo-frame { border-radius: var(--vida-radius, 24px); }
.vida-photo--circle .vida-photo-frame { border-radius: 50%; }
.vida-photo--pill .vida-photo-frame { border-radius: 999px; }
.vida-photo--pebble .vida-photo-frame { border-radius: 46% 54% 42% 58% / 56% 44% 56% 44%; }
.vida-photo--leaf .vida-photo-frame { border-radius: 70% 12px 70% 12px; }
.vida-photo--none .vida-photo-frame { border-radius: 0; }
.vida-photo-frame.is-draggable { cursor: grab; touch-action: none; }
.vida-photo-frame.is-draggable:active { cursor: grabbing; }
.vida-photo-caption { font-size: 13px; color: var(--vida-earth); text-align: right; margin: 8px 0 0; }
.vida-on-dark .vida-photo-caption { color: #E4DACA; }
.vida-strip .vida-photo, .vida-dentist .vida-photo, .vida-grid .vida-photo { margin: 0 !important; }
@media (max-width: 600px) {
	.vida-photo { width: max(var(--vida-photo-w, 100%), 70%); }
	.vida-photo.alignleft, .vida-photo.alignright { margin-inline: auto; }
}
