/* =========================================================
   Refresh — Dr. Fidel Abreu, DDS (April 2026)
   Layered on top of /style/skin/default/layout.css
   Goal: clean white + soft sage, modern dental, calm, premium.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&display=swap');

:root {
	--bg:            #FBFAF7;
	--bg-elev:       #FFFFFF;
	--bg-cream:      #F4EFE7;
	--bg-cream-soft: #FAF6EE;
	--sage:          #5C8B83;
	--sage-deep:     #3F6D66;
	--sage-soft:     #DDE8E5;
	--clay:          #C9A16A;
	--ink:           #2A2D2C;
	--text:          #4A524F;
	--muted:         #8A938F;
	--border:        #E5E3DD;
	--shadow-sm:     0 1px 2px rgba(20, 30, 28, 0.04), 0 1px 1px rgba(20, 30, 28, 0.03);
	--shadow-md:     0 8px 24px rgba(20, 30, 28, 0.08);
	--radius-sm:     6px;
	--radius:        10px;
	--radius-lg:     16px;
	--radius-pill:   999px;
	--font-serif:    'Newsreader', Georgia, 'Times New Roman', serif;
	--font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Global typography reset ---------- */

body {
	background: var(--bg) !important;
	color: var(--text) !important;
	font-family: var(--font-sans) !important;
	font-size: 16px !important;
	line-height: 1.6;
	padding-top: 88px !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	scroll-padding-top: 96px;
}
@media (max-width: 700px) {
	body { padding-top: 64px !important; scroll-padding-top: 72px; }
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-serif) !important;
	color: var(--ink) !important;
	text-shadow: none !important;
	text-align: left;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.2 !important;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

a[href]              { color: var(--sage); text-decoration: none; transition: color .15s ease; }
a[href]:hover,
a[href]:focus        { color: var(--sage-deep); text-decoration: none; }

::selection { background: var(--sage); color: #fff; }

/* ---------- Header (refresh) ---------- */

.header {
	background: var(--bg-elev) !important;
	box-shadow: 0 1px 0 var(--border), 0 1px 3px rgba(20,30,28,0.04) !important;
	border-bottom: 0;
	height: 104px !important;
	transition: height .2s ease;
}
.header.small { height: 76px !important; }
.header .title { padding-left: 24px; display: flex; align-items: center; height: 100%; }
.header .title img { max-height: 78px !important; width: auto; transition: max-height .2s ease; }
.header.small .title img { max-height: 56px !important; }

.navigation-list { font-family: var(--font-sans); font-size: 15px; font-weight: 500; }
.navigation-list li { line-height: 104px !important; transition: line-height .2s ease; }
.header.small .navigation-list li { line-height: 76px !important; }
.navigation-list li a {
	color: var(--ink) !important;
	padding: 0 14px !important;
	border-bottom: solid transparent 3px !important;
	transition: color .15s ease, border-color .15s ease;
}
.navigation-list > li.current > a,
.navigation-list li a:hover,
.navigation-list li a:focus {
	color: var(--sage-deep) !important;
	border-bottom-color: var(--sage) !important;
}

/* "Book Appointment" pill (last actionable nav item, before language) */
.navigation-list li:nth-last-child(3) a[href*="nexhealth"] {
	background: var(--sage);
	color: #fff !important;
	border-radius: var(--radius-pill) !important;
	padding: 10px 20px !important;
	margin: 0 8px;
	border-bottom: 0 !important;
	font-weight: 600;
}
.navigation-list li:nth-last-child(3) a[href*="nexhealth"]:hover {
	background: var(--sage-deep);
	color: #fff !important;
	border-bottom: 0 !important;
}

.dropMenu.navigation-list li.dropdownParent::after { color: var(--muted) !important; font-size: 0.7em; }

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
	display: none;
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	padding: 10px;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	cursor: pointer;
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
	gap: 5px;
	z-index: 102;
}
.nav-toggle__bar { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .15s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
	.nav-toggle { display: flex; }
	.header { height: 76px !important; }
	.header .title { padding-left: 16px; }
	.header .title img { max-height: 56px !important; }
	.nav {
		position: fixed;
		inset: 76px 0 0 0;
		background: var(--bg-elev);
		display: none;
		overflow-y: auto;
		padding: 16px 0 32px 0;
		border-top: 1px solid var(--border);
		box-shadow: 0 8px 24px rgba(20,30,28,0.06);
		z-index: 101;
	}
	.nav.is-open { display: block; }
	.navigation-list { display: block !important; padding: 0 !important; }
	.navigation-list li {
		display: block !important;
		line-height: 1.4 !important;
		float: none !important;
		border-bottom: 1px solid var(--border);
	}
	.navigation-list li a {
		display: block !important;
		padding: 16px 24px !important;
		border-bottom: 0 !important;
		font-size: 16px;
	}
	.navigation-list li:nth-last-child(3) a[href*="nexhealth"] {
		margin: 12px 24px;
		text-align: center;
	}
	.dropMenu.navigation-list li.dropdownParent .dropdown {
		display: block !important;
		position: static !important;
		background: var(--bg-cream-soft) !important;
		box-shadow: none !important;
		border: 0 !important;
	}
	.dropMenu.navigation-list li.dropdownParent .dropdown li a { padding-left: 40px !important; font-size: 14px; color: var(--text) !important; }
	.dropMenu.navigation-list li.dropdownParent::after { display: none; }
	.navigation-list li.language-switcher { margin-left: 0 !important; }
	body.menu-open { overflow: hidden; }
	.header.small + .nav,
	.header.small ~ .nav { top: 76px; }
}

/* ---------- Buttons ---------- */

.btn-primary,
a.btn-primary,
.btn-sage {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 26px;
	font-family: var(--font-sans);
	font-weight: 600;
	font-size: 16px;
	color: #fff !important;
	background: var(--sage);
	border: 1px solid var(--sage);
	border-radius: var(--radius-pill);
	text-decoration: none;
	transition: background .15s ease, transform .1s ease;
	cursor: pointer;
}
.btn-primary:hover,
.btn-sage:hover { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff !important; }

.btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 24px;
	font-family: var(--font-sans);
	font-weight: 600;
	font-size: 16px;
	color: var(--ink) !important;
	background: transparent;
	border: 1.5px solid var(--ink);
	border-radius: var(--radius-pill);
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}
.btn-outline:hover { background: var(--ink); color: #fff !important; }

/* Override existing #expander button on home */
#expander.button,
a#expander {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	background: transparent;
	border: 1.5px solid var(--sage);
	color: var(--sage-deep) !important;
	border-radius: var(--radius-pill);
	font-family: var(--font-sans);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}
#expander.button:hover { background: var(--sage); color: #fff !important; }

/* ---------- Sidebar refresh ---------- */

aside.side .contents {
	background: var(--bg-elev);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 20px 22px;
	margin-bottom: 18px;
	box-shadow: var(--shadow-sm);
}
aside.side h2 {
	font-size: 1.1rem !important;
	margin: 0 0 12px 0;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border);
}
aside.side ul { margin: 0 0 0 18px; padding: 0; }
aside.side ul li { margin: 6px 0; color: var(--text); }
aside.side .alignCenter a {
	display: inline-block;
	padding: 10px 18px;
	background: var(--bg-cream);
	border-radius: var(--radius-pill);
	font-weight: 600;
	color: var(--ink) !important;
}
aside.side .alignCenter a:hover { background: var(--sage-soft); }

/* ---------- Homepage footer cap (logo + socials) ---------- */
.r-footer-cap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	padding: 48px 24px 24px 24px;
	background: var(--bg-cream);
	text-align: center;
}
.r-footer-cap__logo img { max-height: 56px; width: auto; }

/* ---------- Footer / Info section ---------- */

#footer.footer { background: var(--bg-cream); margin-top: 64px; padding: 48px 0 0 0; }
#info { padding: 0 24px; }
#info .badge { padding: 24px; }
#info .badge figure { display: flex; align-items: center; gap: 16px; margin: 0 0 16px 0; }
#info .badge figure img { max-height: 64px; width: auto; }

.social-links { list-style: none; padding: 0; margin: 16px 0; display: flex; gap: 10px; }
.social-links li { margin: 0; }
.social-links li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--radius-pill);
	background: var(--bg-elev);
	color: var(--sage-deep);
	border: 1px solid var(--border);
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.social-links li a:hover { background: var(--sage); color: #fff; border-color: var(--sage); }
.social-links li a svg { display: block; }

.copyright { text-align: center; padding: 24px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); margin-top: 32px; background: var(--bg-cream); }
.copyright a { color: var(--muted); text-decoration: underline; }

/* ---------- Map ---------- */
#map-container { padding: 0; }
#footer-map { width: 100%; min-height: 280px; border: 0; border-radius: var(--radius); }

/* =========================================================
   HOMEPAGE — Refreshed structure
   ========================================================= */

body.home.refresh,
body.home.refresh #content,
body.home.refresh #main-container { background: var(--bg) !important; }

body.home.refresh #content { padding: 0 !important; max-width: none !important; width: 100% !important; }
body.home.refresh .main-container { padding: 0 !important; max-width: none !important; }
body.home.refresh .note { display: none; }

/* Hero */
.r-hero {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 48px;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 56px 32px 64px 32px;
}
.r-hero__eyebrow {
	display: inline-block;
	font-family: var(--font-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sage-deep);
	margin-bottom: 16px;
	padding: 6px 14px;
	background: var(--sage-soft);
	border-radius: var(--radius-pill);
}
.r-hero__title {
	font-family: var(--font-serif);
	font-size: clamp(2.25rem, 4.5vw, 3.5rem);
	line-height: 1.08 !important;
	color: var(--ink);
	margin: 0 0 20px 0;
	font-weight: 500;
	letter-spacing: -0.02em;
}
.r-hero__title em { color: var(--sage-deep); font-style: italic; font-weight: 500; }
.r-hero__sub {
	font-size: 1.125rem;
	color: var(--text);
	margin: 0 0 28px 0;
	line-height: 1.6;
	max-width: 56ch;
}
.r-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.r-hero__photo {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	aspect-ratio: 5 / 4;
	background: var(--bg-cream);
}
.r-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Trust strip */
.r-trust {
	background: var(--bg-cream);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 22px 24px;
	margin-top: 0;
}
.r-trust__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 28px 48px;
	font-family: var(--font-sans);
	font-size: 15px;
	color: var(--ink);
	font-weight: 500;
	text-align: center;
}
.r-trust__item { display: inline-flex; align-items: center; gap: 10px; }
.r-trust__item::before { content: ""; width: 6px; height: 6px; background: var(--sage); border-radius: 50%; }

/* Service sections */
.r-section {
	max-width: 1200px;
	margin: 0 auto;
	padding: 80px 32px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}
.r-section--reverse .r-section__media { order: -1; }
.r-section__eyebrow {
	font-family: var(--font-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sage-deep);
	margin: 0 0 14px 0;
}
.r-section__title { margin: 0 0 18px 0; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.r-section__body p { margin: 0 0 14px 0; font-size: 1.05rem; line-height: 1.7; color: var(--text); }
.r-section__body ul {
	list-style: none;
	padding: 0;
	margin: 18px 0 24px 0;
}
.r-section__body ul li {
	position: relative;
	padding: 8px 0 8px 28px;
	color: var(--text);
	border-bottom: 1px dashed var(--border);
}
.r-section__body ul li:last-child { border-bottom: 0; }
.r-section__body ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 16px;
	width: 14px;
	height: 14px;
	background: var(--sage-soft);
	border-radius: 50%;
}
.r-section__body ul li::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 22px;
	width: 6px;
	height: 3px;
	border-left: 1.5px solid var(--sage-deep);
	border-bottom: 1.5px solid var(--sage-deep);
	transform: rotate(-45deg);
}
.r-section__media {
	background: var(--bg-cream);
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--border);
}
.r-section__media--portrait { aspect-ratio: 4 / 5; }
.r-section__media--square { aspect-ratio: 1 / 1; }
.r-section__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.r-section__media--top img,
.r-section__media img.r-section__img--top { object-position: center top; }

.r-section__media--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--muted);
	font-family: var(--font-serif);
	font-size: 1.25rem;
	font-style: italic;
	padding: 40px;
	text-align: center;
}

/* Section divider band */
.r-band-cream { background: var(--bg-cream-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Why-us grid */
.r-why { background: var(--bg-cream-soft); padding: 80px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.r-why__inner { max-width: 1200px; margin: 0 auto; }
.r-why__title { text-align: center; margin: 0 0 12px 0; }
.r-why__lede { text-align: center; color: var(--muted); margin: 0 auto 48px auto; max-width: 56ch; font-size: 1.05rem; }
.r-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.r-why__card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; text-align: left; }
.r-why__icon { width: 44px; height: 44px; border-radius: var(--radius-pill); background: var(--sage-soft); color: var(--sage-deep); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.r-why__icon svg { width: 22px; height: 22px; }
.r-why__card h3 { font-size: 1.25rem !important; margin: 0 0 10px 0; }
.r-why__card p { margin: 0; color: var(--text); font-size: 0.98rem; line-height: 1.6; }

/* Testimonial */
.r-testimonial { padding: 96px 24px; max-width: 980px; margin: 0 auto; text-align: center; }
.r-testimonial__quote {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	color: var(--ink);
	line-height: 1.45 !important;
	margin: 0 0 24px 0;
	font-weight: 400;
}
.r-testimonial__quote::before { content: "\201C"; color: var(--sage); margin-right: 4px; }
.r-testimonial__quote::after { content: "\201D"; color: var(--sage); margin-left: 4px; }
.r-testimonial__attr { color: var(--muted); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.r-testimonial__video { margin: 40px auto 0 auto; max-width: 720px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16 / 9; background: #000; }
.r-testimonial__video video,
.r-testimonial__video iframe { width: 100%; height: 100%; display: block; border: 0; }

/* Visit info */
.r-visit { background: var(--bg-cream); padding: 80px 24px; border-top: 1px solid var(--border); }
.r-visit__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: stretch; }
.r-visit__card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.r-visit__card h2 { margin: 0 0 16px 0; font-size: 1.5rem !important; }
.r-visit__addr { font-style: normal; color: var(--text); line-height: 1.7; margin: 0 0 18px 0; }
.r-visit__addr strong { color: var(--ink); }
.r-visit__hours { width: 100%; border-collapse: collapse; margin: 16px 0; }
.r-visit__hours th, .r-visit__hours td { text-align: left; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 0.95rem; }
.r-visit__hours th { color: var(--muted); font-weight: 500; }
.r-visit__hours td { color: var(--ink); font-weight: 500; }
.r-visit__hours tr:last-child th, .r-visit__hours tr:last-child td { border-bottom: 0; }
.r-visit__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; box-shadow: var(--shadow-sm); }
.r-visit__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* =========================================================
   INNER PAGES — Refreshed
   ========================================================= */

body.inner.refresh #content { background: var(--bg) !important; }
body.inner.refresh .article-header { background: var(--bg-cream); border-radius: var(--radius-lg); padding: 32px 36px; margin: 24px 0 32px 0; border: 1px solid var(--border); }
body.inner.refresh .article-header h1 { margin: 0 0 16px 0; text-align: left !important; text-shadow: none !important; }
body.inner.refresh .article-header blockquote { margin: 0; padding: 0; border-left: 3px solid var(--sage); padding-left: 18px; color: var(--text); font-style: italic; }
body.inner.refresh .article-header blockquote p { margin: 0 0 10px 0; }
body.inner.refresh .article-header blockquote cite { font-style: normal; color: var(--ink); font-weight: 600; display: block; text-align: right; margin-top: 8px; }
body.inner.refresh .article-header blockquote cite::before { content: "" !important; }

body.inner.refresh .main-content { padding: 0 8px; }
body.inner.refresh .main-content h2 {
	border-left: 4px solid var(--sage) !important;
	padding-left: 14px !important;
	margin: 40px 0 24px 0;
	font-size: 1.6rem !important;
	color: var(--ink) !important;
	text-shadow: none !important;
	text-align: left !important;
}
body.inner.refresh .main-content h3 {
	margin: 0 0 4px 0 !important;
	color: var(--ink) !important;
	text-shadow: none !important;
	text-align: left !important;
	border-left: 0 !important;
	padding-left: 0 !important;
}
body.inner.refresh .main-content p { color: var(--text); line-height: 1.7; }

/* Team member card */
.team-member {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 28px;
	align-items: start;
	background: var(--bg-elev);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 24px;
	margin: 0 0 20px 0;
	box-shadow: var(--shadow-sm);
}
.team-member__photo {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: var(--bg-cream);
	border: 1px solid var(--border);
}
.team-member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.team-member__photo--top img { object-position: center top; }
.team-member__role { margin: 0 0 12px 0 !important; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage-deep); }
.team-member__bio p:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
	.team-member { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
	.team-member__photo { aspect-ratio: 4 / 3; max-width: 280px; }
}

/* Office gallery (our-office page) */
.office-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: 220px;
	gap: 16px;
	margin: 0 0 32px 0;
}
.office-gallery__item {
	margin: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--bg-cream);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-sm);
}
.office-gallery__item--wide { grid-column: 1 / -1; grid-row: span 1; }
.office-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.office-gallery__item:hover img { transform: scale(1.03); }

@media (max-width: 700px) {
	.office-gallery { grid-template-columns: 1fr; grid-auto-rows: 180px; }
	.office-gallery__item--wide { grid-column: 1; }
}

/* Service sections (dentistry/our-services) */
body.inner.refresh .jump-list {
	list-style: none !important;
	padding: 18px !important;
	margin: 0 0 32px 0 !important;
	background: var(--bg-elev);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	box-shadow: var(--shadow-sm);
}
body.inner.refresh .jump-list li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
body.inner.refresh .jump-list li::before { content: none !important; }
body.inner.refresh .jump-list a {
	display: inline-block;
	padding: 6px 14px;
	background: var(--sage-soft);
	color: var(--sage-deep) !important;
	border-radius: 999px;
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	border: 1px solid transparent;
	transition: all .2s ease;
}
body.inner.refresh .jump-list a:hover { background: var(--sage); color: white !important; }

.service-block {
	scroll-margin-top: 100px;
	padding: 8px 0 12px 0;
	margin: 0 0 28px 0;
}
.service-block + .service-block { border-top: 1px solid var(--border); padding-top: 32px; }

.patient-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin: 16px 0 8px 0;
}
.patient-grid figure {
	margin: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--bg-cream);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-sm);
}
.patient-grid img { width: 100%; height: auto; display: block; }
.patient-grid figcaption { padding: 10px 14px; font-size: 0.88rem; color: var(--text-muted); background: var(--bg-elev); }

.testimonial-video {
	margin: 16px 0 28px 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: #000;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-md);
}
.testimonial-video video { width: 100%; height: auto; display: block; }
.testimonial-video__caption {
	padding: 10px 14px;
	font-size: 0.88rem;
	color: var(--text-muted);
	background: var(--bg-elev);
	text-align: center;
}

.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 8px 0;
}

.video-frame {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	margin: 16px 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--bg-cream);
	box-shadow: var(--shadow-sm);
}
.video-frame iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 700px) {
	.patient-grid { grid-template-columns: 1fr; }
}

/* Hide noisy decoration when refreshing */
body.home.refresh #prevslide,
body.home.refresh #nextslide,
body.home.refresh #controls-wrapper,
body.home.refresh #supersized,
body.home.refresh #slide-list,
body.home.refresh .bg-video { display: none !important; }

/* Mobile */
@media (max-width: 900px) {
	.r-hero { grid-template-columns: 1fr; gap: 32px; padding: 56px 24px 40px 24px; }
	.r-hero__photo { aspect-ratio: 4 / 3; }
	.r-section { grid-template-columns: 1fr; gap: 32px; padding: 56px 24px; }
	.r-section--reverse .r-section__media { order: 0; }
	.r-why__grid { grid-template-columns: 1fr; }
	.r-visit__inner { grid-template-columns: 1fr; }
	.r-visit__map { min-height: 280px; }
	.r-trust__inner { gap: 14px 24px; font-size: 14px; }

	/* layout.css at ≤1152px sets html[lang="es-MX"] body padding-top:0 which beats our
	   body:padding-top:64px on specificity. On EN the header becomes position:relative
	   (layout.css ≤960px) but body keeps its 64px padding → empty gap above the nav.
	   Force body padding-top 0 for ANY language at mobile widths so nav sits flush. */
	html body { padding-top: 0 !important; scroll-padding-top: 0; }

	/* Florence (homepage --top portrait) — show full image, no edge cropping of on-photo text */
	.r-section__media--portrait.r-section__media--top {
		aspect-ratio: auto;
		background: var(--bg-cream);
		max-width: 520px;
		margin-left: auto;
		margin-right: auto;
	}
	.r-section__media--portrait.r-section__media--top img {
		width: 100%;
		height: auto;
		object-fit: contain;
	}
}

@media (max-width: 700px) {
	.header { height: 64px !important; }
	.header .title img { max-height: 40px !important; }
	.navigation-list li { line-height: 64px !important; }
	.navigation-list li a { padding: 0 8px !important; font-size: 14px; }

	/* Visit Our Office card — center everything on mobile */
	.r-visit__card { text-align: center; }
	.r-visit__card h2 { text-align: center !important; }
	.r-visit__addr { text-align: center; }
	.r-visit__card .btn-primary,
	.r-visit__card a.btn-primary { display: inline-flex; }
	.r-visit__hours { margin-left: auto; margin-right: auto; max-width: 260px; }
	.r-visit__hours th, .r-visit__hours td { text-align: center; }

	/* Footer info — center logo, socials, address/hours on mobile */
	#info .badge { text-align: center; }
	#info .badge figure { justify-content: center; flex-wrap: wrap; }
	#info .badge p { text-align: center; }
	.social-links { justify-content: center; }
	.r-footer-cap { align-items: center; }
}
