/* ==========================================================================
   Fit Fascia — theme styles (Bootstrap 5 + Gutenberg)
   ========================================================================== */

:root {
	--ff-navy: #0E2A6E;
	--ff-navy-dark: #0A1F52;
	--ff-navy-soft: #1E3C86;
	--ff-teal: #05957D;
	--ff-teal-dark: #047a67;
	--ff-teal-bright: #5FD0B8;
	--ff-teal-light: #E6F4F1;
	--ff-mint: #F2F8F7;
	--ff-ink: #1B2433;
	--ff-body: #556070;
	--ff-muted: #8A95A6;
	--ff-line: #E3E9EE;
	--ff-rose: #B5577A;
	--ff-radius: 24px;
	--ff-radius-lg: 32px;
	--ff-shadow: 0 18px 48px rgba(14, 42, 110, 0.10);
	--ff-shadow-sm: 0 8px 24px rgba(14, 42, 110, 0.08);
	--ff-font-head: 'Poppins', system-ui, -apple-system, sans-serif;
	--ff-font-body: 'Inter', system-ui, -apple-system, sans-serif;
	--ff-section: clamp(4.5rem, 9vw, 7.5rem);
	--bs-body-font-family: var(--ff-font-body);
	--bs-body-color: var(--ff-body);
	--bs-link-color: var(--ff-teal);
	--bs-link-hover-color: var(--ff-teal-dark);
	--bs-border-color: var(--ff-line);
}

/* Base ------------------------------------------------------------------ */
body {
	font-family: var(--ff-font-body);
	color: var(--ff-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	background: #fff;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--ff-font-head);
	font-weight: 600;
	color: var(--ff-navy);
	line-height: 1.15;
	letter-spacing: -0.02em;
}
h2, .wp-block-heading:where(h2) { font-size: clamp(1.9rem, 3.4vw, 2.85rem); }
h3, .wp-block-heading:where(h3) { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -0.01em; }
a { color: var(--ff-teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ff-teal-dark); }
img { max-width: 100%; height: auto; }
.ff-main { overflow-x: clip; }
.ff-skip { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }
::selection { background: var(--ff-teal-light); color: var(--ff-navy); }

.has-teal-color { color: var(--ff-teal) !important; }
.has-teal-bright-color { color: var(--ff-teal-bright) !important; }
mark.has-inline-color { background: transparent; padding: 0; }

/* Utility --------------------------------------------------------------- */
.ff-center { text-align: center; }
.ff-center .ff-lead, .ff-center .wp-block-buttons { margin-left: auto; margin-right: auto; justify-content: center; }
.ff-center-buttons { justify-content: center; margin-top: 3rem !important; }
.ff-lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.65; color: var(--ff-body); max-width: 640px; }
.ff-small { font-size: 1rem; color: var(--ff-body); }
.ff-empty { padding: 1rem 1.25rem; border: 1px dashed var(--ff-line); border-radius: 14px; background: var(--ff-mint); font-size: 1rem; }

/* Eyebrow label */
.is-style-ff-eyebrow, .ff-eyebrow {
	display: inline-flex; align-items: center; gap: .75rem;
	font-family: var(--ff-font-body); font-size: 1rem; font-weight: 600;
	letter-spacing: .14em; text-transform: uppercase; color: var(--ff-teal);
	margin-bottom: .9rem !important;
}
.is-style-ff-eyebrow::before, .ff-eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; flex: none; }
.ff-center .is-style-ff-eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.ff-eyebrow-plain::before { display: none; }

/* Check items */
.ff-checks { display: grid; gap: .8rem; margin-top: 1.5rem !important; }
.ff-checks > * { margin: 0 !important; }
.is-style-ff-check, .ff-checklist li {
	position: relative; padding-left: 2.1rem; color: var(--ff-ink); font-weight: 500; font-size: 1rem; margin: 0;
}
.is-style-ff-check::before, .ff-checklist li::before {
	content: ""; position: absolute; left: 0; top: .1em; width: 1.45rem; height: 1.45rem; border-radius: 50%;
	background: var(--ff-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' 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 / 62% no-repeat;
}
.ff-checks-inline { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; }
.ff-checks-inline .is-style-ff-check { font-size: 1rem; }
.ff-checks-inline .is-style-ff-check::before { background-color: var(--ff-teal-light); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305957D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.ff-checks-2, .ff-checklist-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ff-checklist { display: grid; gap: .75rem; margin: 0; }
.ff-checklist-2 { display: grid; gap: .75rem 1.5rem; }
@media (max-width: 575.98px) { .ff-checks-2, .ff-checklist-2 { grid-template-columns: 1fr; } }

/* Buttons --------------------------------------------------------------- */
.ff-btn, .wp-block-button__link, .wpcf7-submit {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	font-family: var(--ff-font-head); font-weight: 500; font-size: 1rem; line-height: 1.2;
	padding: .95rem 2rem; border-radius: 999px; border: 1.5px solid transparent;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
	text-decoration: none; cursor: pointer;
}
.ff-btn:hover, .wp-block-button__link:hover { transform: translateY(-1px); }
.ff-btn-primary, .wp-block-button:not([class*="is-style-"]) .wp-block-button__link, .wpcf7-submit {
	background: var(--ff-teal); color: #fff; border-color: var(--ff-teal);
}
.ff-btn-primary:hover, .wp-block-button:not([class*="is-style-"]) .wp-block-button__link:hover, .wpcf7-submit:hover {
	background: var(--ff-teal-dark); border-color: var(--ff-teal-dark); color: #fff; box-shadow: 0 10px 24px rgba(5, 149, 125, .25);
}
.ff-btn-outline, .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent; color: var(--ff-navy); border-color: var(--ff-navy);
}
.ff-btn-outline:hover, .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ff-navy); color: #fff; }
.ff-btn-navy, .is-style-ff-navy .wp-block-button__link { background: var(--ff-navy); color: #fff; border-color: var(--ff-navy); }
.ff-btn-navy:hover, .is-style-ff-navy .wp-block-button__link:hover { background: var(--ff-navy-dark); color: #fff; }
.ff-btn-light, .is-style-ff-light .wp-block-button__link { background: #fff; color: var(--ff-teal); border-color: #fff; font-weight: 600; }
.ff-btn-light:hover, .is-style-ff-light .wp-block-button__link:hover { background: var(--ff-mint); color: var(--ff-teal-dark); }
.is-style-ff-outline-light .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.is-style-ff-outline-light .wp-block-button__link:hover { background: #fff; color: var(--ff-navy); }
.is-style-ff-link .wp-block-button__link, .ff-link {
	background: none; border: 0; padding: 0; color: var(--ff-teal); font-family: var(--ff-font-head); font-weight: 600; font-size: 1rem;
	display: inline-flex; align-items: center; gap: .4rem; border-radius: 0;
}
.is-style-ff-link .wp-block-button__link::after { content: "→"; transition: transform .2s; }
.is-style-ff-link .wp-block-button__link:hover::after, .ff-link:hover .ff-icon { transform: translateX(4px); }
.ff-link .ff-icon { transition: transform .2s; }
.ff-link-navy { color: var(--ff-navy); }
.btn-sm.ff-btn { padding: .7rem 1.4rem; font-size: 1rem; }
.wp-block-buttons { gap: 1rem; margin-top: 2rem !important; }

/* Top bar + header ------------------------------------------------------ */
.ff-topbar { background: var(--ff-navy-dark); color: #C9D3EA; font-size: 1rem; padding: .6rem 0; }
.ff-topbar a { color: #C9D3EA; }
.ff-topbar a:hover { color: #fff; }
.ff-topbar li, .ff-topbar-social { display: inline-flex; align-items: center; gap: .45rem; }
.ff-topbar .ff-icon { color: #8FD3C6; }
.ff-header { background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--ff-line); transition: box-shadow .25s; }
.ff-header.is-scrolled { box-shadow: 0 6px 24px rgba(14, 42, 110, .07); }
.ff-header .navbar { padding: .9rem 0; }
.ff-logo img { height: 52px; width: auto; display: block; }
.ff-header .nav-link { font-size: 1rem; color: var(--ff-ink); padding: .5rem .9rem !important; position: relative; }
.ff-header .nav-link:hover, .ff-header .nav-link.active { color: var(--ff-navy); }
.ff-header .nav-link.active { font-weight: 500; }
.ff-header .nav-link.active::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .1rem; height: 2px; border-radius: 2px; background: var(--ff-teal); }
.ff-header .dropdown-menu { border: 1px solid var(--ff-line); border-radius: 16px; box-shadow: var(--ff-shadow-sm); padding: .5rem; }
.ff-header .dropdown-item { border-radius: 10px; padding: .55rem .9rem; font-size: 1rem; }
.ff-header .dropdown-item.active, .ff-header .dropdown-item:active { background: var(--ff-teal-light); color: var(--ff-navy); }
.ff-header-cta { padding: .8rem 1.6rem; }
.navbar-toggler { border: 0; color: var(--ff-navy); padding: .35rem; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
	.ff-logo img { height: 44px; }
	.ff-header .navbar-collapse { padding: 1rem 0 .5rem; }
	.ff-header .nav-link { padding: .7rem 0 !important; border-bottom: 1px solid var(--ff-line); }
	.ff-header .nav-link.active::after { display: none; }
	.ff-header-cta { margin-top: 1rem; width: 100%; }
}

/* Sections -------------------------------------------------------------- */
.ff-page-builder > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.ff-section { padding: var(--ff-section) 0; position: relative; }
.ff-section-tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.ff-section > .container > *:first-child { margin-top: 0; }
.ff-bg-mint { background: var(--ff-mint); }
.ff-ribbons::before {
	content: ""; position: absolute; inset: 0 auto auto 0; width: 50%; height: 340px; pointer-events: none;
	background: url(../img/ribbons-light.svg) left top / cover no-repeat; transform: scaleX(-1); opacity: .9;
}
.ff-section-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); position: relative; }
.ff-section-head h2 { margin-bottom: .75rem; }
.ff-section-head.ff-center .ff-lead { margin-top: .5rem; }
.ff-head-split { margin-bottom: 3rem !important; }
.ff-head-split .ff-lead { margin: 0; }

/* Navy band */
.ff-band-navy { background: var(--ff-navy) url(../img/ribbons-dark.svg) right center / cover no-repeat; color: #C9D3EA; overflow: hidden; }
.ff-band-navy::after {
	content: ""; position: absolute; right: 4%; top: 8%; bottom: 8%; width: 32%;
	background: url(../img/logo-mark-white.png) center / contain no-repeat; opacity: .1; pointer-events: none;
}
.ff-band-navy > .container { position: relative; z-index: 1; }
.ff-band-navy h2, .ff-band-navy h3 { color: #fff; }
.ff-band-navy .ff-lead, .ff-band-navy p { color: #C9D3EA; }
.ff-band-navy .is-style-ff-eyebrow { color: #8FD3C6; }
.ff-band-navy .is-style-ff-check { color: #fff; }
.ff-mission { text-align: center; }
.ff-mission::after { left: 50%; transform: translateX(-50%); width: 120px; top: calc(var(--ff-section) - 1rem); bottom: auto; height: 92px; opacity: .85; }
.ff-mission .ff-mission-title { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 900px; margin: 6rem auto 0; line-height: 1.3; }

/* Glass cards */
.is-style-ff-glass {
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 1.75rem; height: 100%;
}
.is-style-ff-glass .ff-num { color: var(--ff-teal-bright); font-family: var(--ff-font-head); font-weight: 600; font-size: 1rem; margin: 0 0 .6rem; }
.is-style-ff-glass h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.is-style-ff-glass p { font-size: 1rem; margin: 0; }
.ff-glass-cols { margin-top: 3rem !important; }
.ff-glass-cols > .wp-block-column > * { height: 100%; }

/* Icon block ------------------------------------------------------------ */
.ff-icon-block { display: flex; margin: 0 0 1.25rem; }
.ff-icon-block.is-align-center { justify-content: center; }
.ff-icon-wrap { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 18px; color: var(--ff-teal); background: var(--ff-teal-light); flex: none; }
.ff-icon-block.is-sm .ff-icon-wrap { width: 44px; height: 44px; border-radius: 13px; }
.ff-icon-block.is-lg .ff-icon-wrap { width: 76px; height: 76px; border-radius: 22px; }
.ff-icon-block.is-solid .ff-icon-wrap { background: var(--ff-teal); color: #fff; }
.ff-icon-block.is-dark .ff-icon-wrap { background: var(--ff-navy-soft); color: #8FD3C6; }
.ff-icon-block.is-white .ff-icon-wrap { background: #fff; color: var(--ff-teal); box-shadow: var(--ff-shadow-sm); }
.ff-icon-block.is-circle .ff-icon-wrap { border-radius: 50%; background: #fff; border: 1.5px solid var(--ff-teal); }
.ff-icon-block.is-plain .ff-icon-wrap { background: none; width: auto; height: auto; }

/* Feature cards */
.ff-feature h3 { margin: 0 0 .5rem; }
.ff-feature p { margin: 0; font-size: 1rem; }
.is-style-ff-card { background: #fff; border: 1px solid var(--ff-line); border-radius: var(--ff-radius); padding: 2rem; height: 100%; transition: box-shadow .25s, transform .25s; }
.is-style-ff-card:hover { box-shadow: var(--ff-shadow); transform: translateY(-3px); }
.ff-bg-mint .is-style-ff-card { border-color: transparent; }
.ff-cards-4 > .wp-block-column > *, .wp-block-columns > .wp-block-column > .is-style-ff-card { height: 100%; }

/* Hero ------------------------------------------------------------------ */
.ff-hero {
	background: linear-gradient(135deg, #F4FAF9 0%, #EEF2FA 100%);
	padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 7vw, 6rem);
	position: relative; overflow: hidden;
}
.ff-hero::before { content: ""; position: absolute; inset: 0; background: url(../img/ribbons-light.svg) right top / cover no-repeat; pointer-events: none; }
.ff-hero > .container { position: relative; }
.ff-hero-cols { gap: clamp(2rem, 5vw, 5rem) !important; margin: 0 !important; }
.ff-display { font-size: clamp(2.6rem, 5.4vw, 4.3rem) !important; line-height: 1.07 !important; letter-spacing: -0.03em; margin: 0 0 1.5rem !important; }
.ff-hero .ff-lead { margin-bottom: 0; }
.ff-hero .ff-checks-inline { margin-top: 2.25rem !important; }
.ff-hero-media { position: relative; max-width: 500px; margin-left: auto; }
.ff-hero-media::before { content: ""; position: absolute; inset: -18px -22px 22px 22px; border: 1.5px solid var(--ff-teal); opacity: .45; border-radius: 999px 999px 28px 28px; }
.is-style-ff-arch, .is-style-ff-arch img { border-radius: 999px 999px 28px 28px; }
.is-style-ff-arch { margin: 0; overflow: hidden; position: relative; }
.is-style-ff-arch img { width: 100%; aspect-ratio: 5 / 6.2; object-fit: cover; object-position: 50% 62%; display: block; }
.is-style-ff-rounded, .is-style-ff-rounded img { border-radius: 28px; }
.is-style-ff-rounded { margin: 0; overflow: hidden; }
.is-style-ff-rounded img { width: 100%; display: block; object-fit: cover; }
.ff-float-card { background: #fff; border-radius: 20px; box-shadow: var(--ff-shadow); padding: 1.1rem 1.35rem; }
.ff-float-card p { margin: 0 !important; }
.ff-float-review { position: absolute; left: -4.5rem; bottom: 3.5rem; max-width: 290px; z-index: 2; }
.ff-stars-text { color: #F5B428; letter-spacing: .15em; font-size: 1rem; margin-bottom: .35rem !important; }
.ff-float-quote { color: var(--ff-ink); font-weight: 500; font-size: 1rem; line-height: 1.45; margin-bottom: .4rem !important; }
.ff-float-pill { position: absolute; right: -1.5rem; top: 3rem; z-index: 2; display: flex; align-items: center; gap: .8rem; background: var(--ff-navy); color: #fff; border-radius: 18px; padding: .65rem 1.2rem .65rem .65rem; box-shadow: var(--ff-shadow); }
.ff-float-pill > * { margin: 0 !important; }
.ff-float-pill p { color: #B8C4E4; font-size: 1rem; line-height: 1.4; }
.ff-float-pill strong { color: #fff; font-family: var(--ff-font-head); font-size: 1rem; }
.ff-float-pill .ff-icon-block { margin: 0; }
@media (max-width: 991.98px) {
	.ff-hero-media { margin: 2rem auto 0; }
	.ff-float-review { left: -.5rem; bottom: 1.5rem; }
	.ff-float-pill { right: -.5rem; }
}
@media (max-width: 575.98px) {
	.ff-float-review { position: relative; left: auto; bottom: auto; margin: -3rem 1rem 0 !important; }
	.ff-hero-media::before { display: none; }
}

/* Methods strip */
.ff-strip { padding: 2.75rem 0; border-bottom: 1px solid var(--ff-line); background: #fff; }
.ff-strip-cols { margin: 0 !important; }
.ff-strip-item { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; }
.ff-strip-item .ff-icon-block { grid-row: span 2; margin: 0; }
.ff-strip-item h3 { font-size: 1.05rem; margin: 0 !important; }
.ff-strip-item p { font-size: 1rem; margin: 0 !important; }

/* Split / about */
.ff-split { gap: clamp(2rem, 6vw, 5.5rem) !important; margin: 0 !important; }
.ff-about-media, .ff-story-media { position: relative; }
.ff-about-media .is-style-ff-rounded img { aspect-ratio: 5 / 6; object-position: 50% 25%; }
.ff-about-badge { position: absolute; right: -1.5rem; bottom: -2rem; background: var(--ff-teal) url(../img/logo-mark-white.png) 1.4rem 1.2rem / auto 54px no-repeat; color: #D5F0EA; border-radius: 24px; padding: 5.2rem 1.6rem 1.4rem; box-shadow: var(--ff-shadow); }
.ff-about-badge p { margin: 0 !important; color: #D5F0EA; font-size: 1rem; }
.ff-about-badge strong { color: #fff; font-family: var(--ff-font-head); font-size: 1.1rem; }
.ff-float-location { position: absolute; left: -2rem; bottom: 2rem; display: flex; align-items: center; gap: .9rem; }
.ff-float-location .ff-icon-block { margin: 0; }
.ff-story-media .is-style-ff-rounded img { aspect-ratio: 7 / 8; object-position: 50% 60%; }
.ff-pullquote { border-left: 4px solid var(--ff-teal); padding: .4rem 0 .4rem 1.5rem; margin-top: 2rem !important; font-family: var(--ff-font-head); font-weight: 500; font-size: 1.3rem; line-height: 1.45; color: var(--ff-navy); }
@media (max-width: 781px) {
	.ff-about-badge { right: .75rem; bottom: -1.25rem; }
	.ff-float-location { left: .75rem; bottom: .75rem; }
	.ff-split > .wp-block-column:first-child { margin-bottom: 1.5rem; }
}

/* Process steps */
.ff-steps { gap: 1.5rem !important; }
.ff-step { position: relative; }
.ff-step .ff-icon-block { margin-bottom: 1.5rem; }
.ff-step-num { position: absolute; right: 0; top: -.6rem; margin: 0 !important; font-family: var(--ff-font-head); font-weight: 700; font-size: 3.6rem; line-height: 1; color: var(--ff-teal-light); }
.ff-step h3 { margin: 0 0 .5rem; }
.ff-step p:not(.ff-step-num) { margin: 0; font-size: 1rem; }
@media (min-width: 782px) {
	.ff-steps .wp-block-column:not(:last-child) .ff-step .ff-icon-block::after { content: ""; position: absolute; left: 96px; right: -1rem; top: 38px; border-top: 1.5px dashed var(--ff-teal); opacity: .5; }
}

/* Treatments grid -------------------------------------------------------- */
.ff-tcard { position: relative; background: #fff; border: 1px solid var(--ff-line); border-radius: var(--ff-radius); padding: 2rem; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; overflow: hidden; }
.ff-tcard:hover { box-shadow: var(--ff-shadow); transform: translateY(-4px); }
.ff-tcard-title { font-size: 1.35rem; margin: .25rem 0 .75rem; }
.ff-tcard-title a { color: inherit; }
.ff-tcard p { font-size: 1rem; flex: 1; }
.ff-tcard .ff-link { margin-top: .5rem; }
.ff-tcard.is-featured { background: linear-gradient(135deg, var(--ff-navy), #173A8C); border-color: transparent; }
.ff-tcard.is-featured::after { content: ""; position: absolute; right: -40px; top: 10px; width: 220px; height: 300px; background: url(../img/logo-mark-white.png) center / contain no-repeat; opacity: .08; pointer-events: none; }
.ff-tcard.is-featured h3 { color: #fff; }
.ff-tcard.is-featured p { color: #C9D3EA; }
.ff-tcard.is-featured .ff-link { color: #8FD3C6; }

/* Treatment rows */
.ff-trow + .ff-trow { margin-top: clamp(3.5rem, 7vw, 6rem); }
.ff-trow-media { display: block; position: relative; border-radius: 28px; overflow: hidden; background: var(--ff-teal-light); }
.ff-trow-media img { width: 100%; aspect-ratio: 16 / 12; object-fit: cover; transition: transform .5s; }
.ff-trow-media:hover img { transform: scale(1.03); }
.ff-trow-pill { position: absolute; left: 1.5rem; bottom: 1.5rem; background: #fff; color: var(--ff-teal); border-radius: 999px; padding: .6rem 1.2rem; font-weight: 600; font-size: 1rem; box-shadow: var(--ff-shadow-sm); }
.ff-trow-media.is-navy .ff-trow-pill { color: var(--ff-navy); }
.ff-trow-media.is-rose .ff-trow-pill { color: var(--ff-rose); }
.ff-trow-title { font-size: clamp(1.75rem, 2.6vw, 2.3rem); margin: 0 0 1rem; }
.ff-trow-title a { color: inherit; }
.ff-trow-text { font-size: 1.05rem; }
.ff-trow-sub { font-family: var(--ff-font-head); font-weight: 600; color: var(--ff-ink); font-size: 1rem; margin: 1.5rem 0 1rem; }

/* Compact list */
.ff-tcompact { margin: 0; }
.ff-tcompact a { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--ff-line); color: var(--ff-ink); font-weight: 500; font-size: 1rem; }
.ff-tcompact li:last-child a { border-bottom: 0; }
.ff-tcompact a:hover { color: var(--ff-teal); }
.ff-tcompact-icon { display: inline-flex; width: 36px; height: 36px; border-radius: 10px; background: var(--ff-teal-light); color: var(--ff-teal); align-items: center; justify-content: center; flex: none; }

/* Conditions */
.ff-conditions h3 { margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--ff-line); }
.ff-dotlist > p { position: relative; padding-left: 1.2rem; margin: 0 0 .75rem !important; color: var(--ff-ink); }
.ff-dotlist > p::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--ff-teal); }

/* FAQ */
.ff-faq-cols { gap: clamp(2rem, 6vw, 5rem) !important; }
.ff-faq { border: 1px solid var(--ff-line); border-radius: 20px; padding: 1.4rem 1.75rem; margin: 0 0 .9rem !important; background: #fff; transition: background .2s; }
.ff-faq[open] { background: var(--ff-mint); border-color: transparent; }
.ff-faq summary { font-family: var(--ff-font-head); font-weight: 600; color: var(--ff-navy); font-size: 1.08rem; list-style: none; cursor: pointer; position: relative; padding-right: 3rem; }
.ff-faq summary::-webkit-details-marker { display: none; }
.ff-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--ff-teal-light); color: var(--ff-teal); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 400; }
.ff-faq[open] summary::after { content: "–"; background: var(--ff-teal); color: #fff; }
.ff-faq p { margin: 1rem 0 0 !important; font-size: 1rem; }

/* Doctors --------------------------------------------------------------- */
.ff-dcard { background: #fff; border-radius: 28px; border: 1px solid var(--ff-line); padding: 1rem; display: flex; flex-direction: column; }
.ff-dcard-media { position: relative; border-radius: 20px; overflow: hidden; display: block; }
.ff-dcard-media img { width: 100%; aspect-ratio: 16 / 12; object-fit: cover; object-position: 50% 25%; transition: transform .5s; }
.ff-dcard-media:hover img { transform: scale(1.03); }
.ff-dcard-pill, .ff-pill { position: absolute; left: 1.1rem; bottom: 1.1rem; background: #fff; color: var(--ff-teal); border-radius: 999px; padding: .45rem 1rem; font-size: 1rem; font-weight: 600; }
.ff-pill { top: auto; bottom: 1.1rem; }
.ff-pill-static { position: static; display: inline-block; background: var(--ff-teal-light); margin-bottom: 1rem; }
.ff-dcard-body { padding: 1.5rem 1rem .75rem; display: flex; flex-direction: column; flex: 1; }
.ff-dcard-body h3 { font-size: 1.6rem; margin-bottom: .75rem; }
.ff-dcard-body h3 a { color: inherit; }
.ff-dcard-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--ff-line); }
.ff-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 1.25rem; }
.ff-chips li { background: var(--ff-teal-light); color: var(--ff-teal); font-size: 1rem; font-weight: 500; padding: .45rem .95rem; border-radius: 999px; }

.ff-dprofile + .ff-dprofile { margin-top: clamp(4rem, 8vw, 7rem); }
.ff-dprofile-media { position: relative; }
.ff-dprofile-media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1.5px solid var(--ff-teal); border-radius: 28px; opacity: .45; }
.ff-dprofile-media.is-flipped::before { inset: 24px 24px -24px -24px; }
.ff-dprofile-media img { position: relative; border-radius: 28px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.ff-dprofile-badge { position: absolute; left: 1.5rem; bottom: 1.5rem; display: flex; align-items: center; gap: .8rem; }
.ff-dprofile-badge .ff-icon-block { margin: 0; }
.ff-dprofile-badge small { display: block; color: var(--ff-body); font-size: 1rem; }
.ff-dprofile-badge strong { font-family: var(--ff-font-head); color: var(--ff-navy); font-size: 1rem; }
.ff-dprofile-name { font-size: clamp(2.2rem, 3.8vw, 3rem); margin-bottom: 1.25rem; }
.ff-dprofile-name a { color: inherit; }
.ff-quote-card { background: var(--ff-mint); border-radius: 20px; padding: 1.5rem 1.75rem 1.5rem 4.25rem; position: relative; margin: 1.5rem 0 0; }
.ff-quote-card > .ff-icon { position: absolute; left: 1.4rem; top: 1.5rem; color: var(--ff-teal); }
.ff-quote-card blockquote { margin: 0; }
.ff-quote-card blockquote p { color: var(--ff-ink); font-weight: 500; margin: 0 0 .5rem; }
.ff-quote-card figcaption { font-size: 1rem; color: var(--ff-body); }

.ff-dmini { margin: 1.75rem 0 .5rem; }
.ff-dmini-item { display: inline-flex; align-items: center; gap: .85rem; padding: .55rem 1.4rem .55rem .55rem; border: 1px solid var(--ff-line); border-radius: 999px; background: #fff; color: var(--ff-ink); }
.ff-dmini-item:hover { border-color: var(--ff-teal); }
.ff-dmini-item strong { display: block; font-family: var(--ff-font-head); color: var(--ff-navy); font-size: 1rem; }
.ff-dmini-item small { display: block; color: var(--ff-body); font-size: 1rem; }
.ff-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }

/* Testimonials ----------------------------------------------------------- */
.ff-review { background: #fff; border: 1px solid var(--ff-line); border-radius: var(--ff-radius); padding: 2rem; margin: 0; height: 100%; display: flex; flex-direction: column; }
.ff-review-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.ff-review-quote { color: var(--ff-teal); }
.ff-stars { display: inline-flex; gap: 2px; color: #F5B428; }
.ff-stars .is-off { color: var(--ff-line); }
.ff-review blockquote { margin: 0 0 1.5rem; flex: 1; }
.ff-review blockquote p { color: var(--ff-ink); font-size: 1rem; line-height: 1.7; margin: 0; }
.ff-review figcaption { display: flex; align-items: center; gap: .9rem; padding-top: 1.25rem; border-top: 1px solid var(--ff-line); }
.ff-review-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ff-teal-light); color: var(--ff-teal); display: inline-flex; align-items: center; justify-content: center; font-family: var(--ff-font-head); font-weight: 600; flex: none; }
.ff-review strong { display: block; font-family: var(--ff-font-head); color: var(--ff-navy); font-size: 1rem; }
.ff-review small { display: block; color: var(--ff-body); font-size: 1rem; }
.ff-review.is-featured { background: var(--ff-teal); border-color: var(--ff-teal); }
.ff-review.is-featured blockquote p, .ff-review.is-featured strong, .ff-review.is-featured .ff-review-quote { color: #fff; }
.ff-review.is-featured small { color: #D5F0EA; }
.ff-review.is-featured figcaption { border-color: rgba(255,255,255,.25); }
.ff-review.is-featured .ff-review-avatar { background: rgba(255,255,255,.2); color: #fff; }
.ff-review.is-featured .ff-stars { color: #FFD66B; }

.ff-testimonials .wp-block-buttons { margin-top: 2.5rem !important; }

.ff-twall { column-count: 3; column-gap: 1.5rem; }
.ff-twall .ff-review { break-inside: avoid; margin-bottom: 1.5rem; height: auto; }
@media (max-width: 991.98px) { .ff-twall { column-count: 2; } }
@media (max-width: 575.98px) { .ff-twall { column-count: 1; } }

/* Journal cards ---------------------------------------------------------- */
.ff-pcard { display: flex; flex-direction: column; }
.ff-pcard-media { position: relative; display: block; border-radius: var(--ff-radius); overflow: hidden; background: var(--ff-mint); }
.ff-pcard-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s; }
.ff-pcard-media:hover img { transform: scale(1.04); }
.ff-pcard-meta { font-size: 1rem; font-weight: 500; color: var(--ff-body); margin: 1.25rem 0 .5rem; }
.ff-pcard-meta span { color: #A8B3C2; margin: 0 .35rem; }
.ff-pcard-title { font-size: 1.3rem; line-height: 1.3; margin-bottom: .6rem; }
.ff-pcard-title a { color: var(--ff-navy); }
.ff-pcard-title a:hover { color: var(--ff-teal); }
.ff-pcard-excerpt { font-size: 1rem; flex: 1; }

/* Journal page */
.ff-filters { margin-bottom: 3rem; }
.ff-filter { border: 1px solid var(--ff-line); border-radius: 999px; padding: .55rem 1.2rem; color: var(--ff-ink); font-size: 1rem; font-weight: 500; background: #fff; }
.ff-filter:hover { border-color: var(--ff-teal); color: var(--ff-teal); }
.ff-filter.is-active { background: var(--ff-navy); border-color: var(--ff-navy); color: #fff; }
.ff-search { position: relative; min-width: 240px; }
.ff-search .ff-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ff-muted); }
.ff-search .form-control { border-radius: 999px; padding: .65rem 1rem .65rem 2.6rem; border-color: var(--ff-line); font-size: 1rem; }
.ff-featured { margin-bottom: 4.5rem; }
.ff-featured-media { display: block; border-radius: 28px; overflow: hidden; }
.ff-featured-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ff-featured-meta { font-size: 1rem; font-weight: 500; }
.ff-badge { display: inline-block; background: var(--ff-teal); color: #fff; border-radius: 999px; padding: .3rem .85rem; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; margin-right: .5rem; }
.ff-featured-title { font-size: clamp(1.75rem, 2.8vw, 2.4rem); margin: .75rem 0 1rem; }
.ff-featured-title a { color: inherit; }
.ff-list-title { font-size: 1.75rem; margin-bottom: 2rem; }
.ff-pagination { margin-top: 3.5rem; }
.ff-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ff-line); color: var(--ff-ink); font-weight: 500; }
.ff-pagination .page-numbers.current { background: var(--ff-navy); border-color: var(--ff-navy); color: #fff; }
.ff-pagination a.page-numbers:hover { border-color: var(--ff-teal); color: var(--ff-teal); }
.ff-newsletter { background: var(--ff-navy) url(../img/ribbons-dark.svg) right center / cover no-repeat; border-radius: var(--ff-radius-lg); padding: clamp(2rem, 5vw, 4rem); color: #C9D3EA; }
.ff-newsletter h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.ff-newsletter .is-style-ff-eyebrow { color: #8FD3C6; }

/* Article */
.ff-article-head { max-width: 820px; }
.ff-article-title { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: 1rem; }
.ff-article-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: 1rem; margin-top: 1.5rem; }
.ff-article-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.ff-article-meta .ff-icon { color: var(--ff-teal); }
.ff-article-image { max-width: 1000px; margin: 0 auto 3.5rem; border-radius: 28px; overflow: hidden; }
.ff-article-image img { width: 100%; }
.ff-prose { max-width: 760px; font-size: 1.1rem; line-height: 1.8; }
.ff-prose > * + * { margin-top: 1.25rem; }
.ff-prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 2.75rem; margin-bottom: .75rem; }
.ff-prose h3 { margin-top: 2rem; }
.ff-prose p { margin-bottom: 0; }
.ff-prose .ff-checks { margin-top: 1.25rem !important; }
.ff-callout { background: var(--ff-mint); border-left: 4px solid var(--ff-teal); border-radius: 0 20px 20px 0; padding: 1.75rem 2rem; margin-top: 3rem !important; }
.ff-callout p { margin: 0 0 .5rem !important; }
.ff-callout strong { color: var(--ff-navy); font-family: var(--ff-font-head); font-size: 1.15rem; }
.ff-callout .wp-block-buttons { margin-top: 1.25rem !important; }
.ff-tags a { display: inline-block; background: var(--ff-mint); border-radius: 999px; padding: .3rem .9rem; font-size: 1rem; margin: 0 .3rem .3rem 0; }

/* Page hero ------------------------------------------------------------- */
.ff-page-hero {
	position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 6vw, 5rem);
	background: linear-gradient(135deg, #F4FAF9 0%, #EEF2FA 100%);
}
.ff-page-hero::before { content: ""; position: absolute; inset: 0; background: url(../img/ribbons-light.svg) right center / cover no-repeat; pointer-events: none; }
.ff-page-hero::after { content: ""; position: absolute; right: 7%; top: 10%; bottom: 10%; width: 22%; background: url(../img/logo-mark.png) center / contain no-repeat; opacity: .2; pointer-events: none; }
.ff-page-hero > .container { position: relative; z-index: 1; }
.ff-treatment-hero::after, .ff-doctor-hero::after, .ff-article-hero::after { display: none; }
.ff-breadcrumb { font-size: 1rem; color: var(--ff-body); margin-bottom: 2rem !important; }
.ff-breadcrumb a { color: var(--ff-body); }
.ff-breadcrumb a:hover { color: var(--ff-teal); }
.ff-page-title { font-size: clamp(2.3rem, 4.6vw, 3.6rem) !important; letter-spacing: -0.025em; margin: 0 0 1.25rem !important; }
.ff-page-hero .ff-lead { margin-bottom: 0; }
.ff-tagline { font-family: var(--ff-font-head); font-weight: 500; color: var(--ff-teal); font-size: 1.2rem; margin: -0.5rem 0 1rem; }
.ff-treatment-media { position: relative; border-radius: 28px; overflow: hidden; }
.ff-treatment-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ff-treatment-icon { position: absolute; left: 1.5rem; top: 1.5rem; color: var(--ff-teal); display: inline-flex; padding: 1rem; }
.ff-treatment-hero.is-navy .ff-treatment-icon { color: var(--ff-navy); }
.ff-treatment-hero.is-rose .ff-treatment-icon, .ff-treatment-hero.is-rose .ff-tagline { color: var(--ff-rose); }

/* Treatment content */
.ff-treatment-content > h2:first-child { margin-top: 0; }
.ff-expect { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.ff-expect-step { background: var(--ff-mint); border-radius: 20px; padding: 1.5rem; position: relative; margin: 0 !important; }
.ff-expect-step > * { margin: 0 !important; }
.ff-expect-step .ff-step-num { position: static; font-size: 1.9rem; color: var(--ff-teal); opacity: .5; margin-bottom: .5rem !important; }
.ff-expect-step h3 { font-size: 1.1rem; margin-bottom: .4rem !important; }
.ff-expect-step p:last-child { font-size: 1rem; line-height: 1.6; }
.ff-treatment-content .ff-faq { margin-top: .9rem !important; }

/* Sidebar */
.ff-sidebar { position: sticky; top: 120px; display: grid; gap: 1.5rem; }
.ff-side-book { background: var(--ff-teal) url(../img/ribbons-white.svg) center / cover no-repeat; color: #E3F5F1; border-radius: var(--ff-radius); padding: 2rem; }
.ff-side-book > .ff-icon { color: #fff; margin-bottom: 1rem; }
.ff-side-book h2 { color: #fff; font-size: 1.5rem; }
.ff-side-book p { font-size: 1rem; }
.ff-side-wa { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1rem; color: #fff; font-weight: 500; font-size: 1rem; }
.ff-side-wa:hover { color: #fff; text-decoration: underline; }
.ff-side-card { background: #fff; border: 1px solid var(--ff-line); border-radius: var(--ff-radius); padding: 1.75rem; }
.ff-side-label { font-size: 1rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ff-teal); margin-bottom: 1rem; }
.ff-side-card .ff-dmini-item { border: 0; padding: 0; }
@media (max-width: 991.98px) { .ff-sidebar { position: static; } }

/* CTA band -------------------------------------------------------------- */
.ff-cta-wrap { padding: 0 0 var(--ff-section); }
.ff-bg-mint + .ff-cta-wrap, .ff-band-navy + .ff-cta-wrap, .ff-page-hero + .ff-cta-wrap, .ff-testimonials + .ff-cta-wrap { padding-top: var(--ff-section); }
.ff-cta { background: var(--ff-teal) url(../img/ribbons-white.svg) left center / cover no-repeat; border-radius: var(--ff-radius-lg); padding: clamp(2rem, 5vw, 4rem); color: #E3F5F1; }
.ff-cta-cols { gap: clamp(2rem, 5vw, 4rem) !important; margin: 0 !important; }
.ff-cta h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.ff-cta p { color: #E3F5F1; }
.ff-cta .is-style-ff-eyebrow { color: #D5F0EA; }
.ff-cta .is-style-ff-eyebrow::before { display: none; }

/* Contact --------------------------------------------------------------- */
.ff-contact-card { background: #fff; border-radius: var(--ff-radius); padding: 1rem; color: var(--ff-ink); box-shadow: var(--ff-shadow-sm); }
.ff-contact-cols .ff-contact-card { border: 1px solid var(--ff-line); box-shadow: none; }
.ff-map { border-radius: 18px; overflow: hidden; background: #EAF1F0; }
.ff-map iframe { border: 0; }
.ff-contact-card ul, .ff-contact-list ul { margin: 0; padding: 1.25rem 1rem .5rem; display: grid; gap: 1.1rem; }
.ff-contact-card li, .ff-contact-list li { display: flex; gap: 1rem; align-items: flex-start; font-size: 1rem; line-height: 1.5; font-weight: 500; color: var(--ff-ink); }
.ff-contact-card li > span:last-child, .ff-contact-card li > a { padding-top: .6rem; }
.ff-contact-card .ff-icon-block, .ff-contact-list .ff-icon-block { margin: 0; }
.ff-contact-card a:not(.ff-link) { color: var(--ff-ink); }
.ff-contact-card a:not(.ff-link):hover { color: var(--ff-teal); }
.ff-contact-card .ff-link { font-size: 1rem; margin-top: .4rem; }
.ff-hours-card { background: var(--ff-navy) url(../img/ribbons-dark.svg) right center / cover no-repeat; color: #C9D3EA; border-radius: var(--ff-radius); padding: 2rem; margin-bottom: 1.5rem; }
.ff-hours-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 1.25rem; }
.ff-hours { margin: 0; }
.ff-hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1rem; }
.ff-hours strong { color: #fff; font-weight: 600; text-align: right; }
.ff-hours-note { display: flex; align-items: center; gap: .9rem; background: rgba(255,255,255,.08); border-radius: 16px; padding: 1rem 1.1rem; margin: 1.5rem 0 0; font-size: 1rem; color: #E3E9F6; }
.ff-hours-note .ff-icon { color: #8FD3C6; flex: none; }
.ff-method { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ff-line); border-radius: var(--ff-radius); padding: 1.75rem; color: var(--ff-ink); transition: box-shadow .25s, transform .25s; }
.ff-method:hover { box-shadow: var(--ff-shadow); transform: translateY(-3px); color: var(--ff-ink); }
.ff-method small { color: var(--ff-body); font-size: 1rem; margin-top: .25rem; }
.ff-method strong { font-family: var(--ff-font-head); font-weight: 600; color: var(--ff-navy); font-size: 1.1rem; word-break: break-word; }
.ff-method strong.is-long { font-size: 1rem; overflow-wrap: anywhere; }
.ff-method-note { font-size: 1rem; color: var(--ff-body); margin-top: .25rem; }
.ff-contact-cols { gap: clamp(1.5rem, 4vw, 3rem) !important; }
.ff-booking-card { background: #fff; border: 1px solid var(--ff-line); border-radius: 28px; padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--ff-shadow); scroll-margin-top: 130px; }
.ff-booking-title { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: .5rem; }
.ff-booking-sub { margin-bottom: 2rem; }

/* Contact Form 7 */
.ff-cf7 .form-label { font-weight: 600; font-size: 1rem; color: var(--ff-ink); margin-bottom: .45rem; }
.ff-cf7 .wpcf7-form-control-wrap { display: block; }
.ff-cf7 .form-control, .ff-cf7 .form-select {
	border-radius: 14px; border: 1px solid var(--ff-line); background-color: #F7F9FB; padding: .85rem 1.1rem; font-size: 1rem; color: var(--ff-ink); width: 100%;
}
.ff-cf7 .form-control:focus, .ff-cf7 .form-select:focus { border-color: var(--ff-teal); box-shadow: 0 0 0 4px rgba(5, 149, 125, .12); background-color: #fff; }
.ff-cf7 .form-control::placeholder { color: #9AA4B2; }
.ff-cf7 .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.ff-cf7 .wpcf7-list-item { margin: 0; }
.ff-cf7 .wpcf7-list-item label { display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; color: var(--ff-ink); }
.ff-cf7 input[type="radio"] { accent-color: var(--ff-teal); width: 1.15rem; height: 1.15rem; }
.ff-cf7 .wpcf7-submit { width: 100%; font-size: 1.05rem; padding: 1.05rem 2rem; }
.ff-cf7 .wpcf7-spinner { display: block; margin: .75rem auto 0; }
.ff-form-note { text-align: center; font-size: 1rem; margin: .25rem 0 0; }
.ff-cf7 .wpcf7-not-valid-tip { font-size: 1rem; margin-top: .35rem; color: #C2410C; }
.ff-cf7 .wpcf7-not-valid { border-color: #F2A57E !important; }
.ff-cf7 .wpcf7-response-output { border-radius: 14px; margin: 1.25rem 0 0 !important; padding: .9rem 1.1rem !important; font-size: 1rem; }
.ff-cf7.sent .wpcf7-response-output, .wpcf7 form.sent .wpcf7-response-output { border-color: var(--ff-teal) !important; background: var(--ff-teal-light); color: var(--ff-navy); }
.ff-newsletter-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.ff-newsletter-row > .wpcf7-form-control-wrap { flex: 1 1 240px; }
.ff-newsletter-row .form-control { border-radius: 999px; background: #fff; border: 0; padding: 1rem 1.4rem; height: 100%; }
.ff-newsletter-row .wpcf7-submit { width: auto; }
.ff-newsletter .wpcf7-response-output { color: #fff; }

/* Footer ---------------------------------------------------------------- */
.ff-footer { background: var(--ff-navy-dark); color: #AEB9D6; padding: clamp(4rem, 7vw, 5.5rem) 0 0; font-size: 1rem; }
.ff-footer a { color: #AEB9D6; }
.ff-footer a:hover { color: #fff; }
.ff-footer-logo img { height: 52px; width: auto; }
.ff-footer-about { margin: 1.5rem 0; max-width: 340px; line-height: 1.7; }
.ff-social { display: flex; gap: .6rem; }
.ff-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #2E4478; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: all .2s; }
.ff-social a:hover { background: var(--ff-teal); border-color: var(--ff-teal); }
.ff-footer-title { font-size: 1rem; color: #fff; margin-bottom: 1.25rem; letter-spacing: 0; }
.ff-footer-links { margin: 0; display: grid; gap: .7rem; }
.ff-footer-contact { display: grid; gap: 1rem; margin: 0; }
.ff-footer-contact li { display: flex; gap: .75rem; line-height: 1.55; }
.ff-footer-contact .ff-icon { color: #8FD3C6; flex: none; margin-top: .15rem; }
.ff-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid #23386F; margin-top: 3.5rem; padding: 1.5rem 0; font-size: 1rem; color: #8C98BB; }
.ff-footer-bottom p { margin: 0; }
.ff-legal { display: flex; gap: 1.5rem; margin: 0; }

.ff-whatsapp-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1030; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(0,0,0,.2); transition: transform .2s; }
.ff-whatsapp-float:hover { color: #fff; transform: scale(1.06); }

/* WordPress core tweaks ---------------------------------------------------- */
.wp-block-columns { margin-bottom: 0; }
.wp-block-image { margin-bottom: 0; }
.wp-block-group.container { margin-left: auto !important; margin-right: auto !important; }
.ff-section .wp-block-columns + .wp-block-columns { margin-top: 0; }
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.wp-block-image figcaption { font-size: 1rem; color: var(--ff-body); text-align: center; }
@media (max-width: 781px) {
	.wp-block-columns { gap: 1.5rem; }
	.ff-head-split { margin-bottom: 2rem !important; }
}

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

/* Small-screen refinements */
@media (max-width: 575.98px) {
	.ff-float-pill { display: none; }
	.ff-dcard-actions { flex-wrap: wrap; }
	.ff-dcard-actions .btn { width: 100%; }
	.ff-cta { padding: 1.75rem 1.25rem; }
	.ff-contact-card li { overflow-wrap: anywhere; }
	.ff-booking-card { padding: 1.5rem 1.1rem; }
	.ff-tcard, .is-style-ff-card, .ff-review { padding: 1.6rem; }
}
.ff-dcard-actions .btn, .ff-dcard-actions .ff-link { white-space: nowrap; }
.admin-bar .ff-header.sticky-top { top: 32px; }
@media (max-width: 782px) { .admin-bar .ff-header.sticky-top { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ff-header.sticky-top { top: 0; } }

/* ==========================================================================
   v1.1 additions
   ========================================================================== */

/* Global 16px minimum (covers Bootstrap & WordPress helpers too) */
html { font-size: 16px; }
small, .small, .form-text, .btn-sm, .dropdown-item, .form-label, figcaption, .wp-block-image figcaption,
.wp-element-caption, .wpcf7-not-valid-tip, .wpcf7-response-output, .page-numbers, .nav-link, label, input, select, textarea, button { font-size: max(1rem, 1em); }

/* Doctor photos: anchor to the top so heads are never cut */
.ff-dcard-media img, .ff-dprofile-media img { object-position: 50% 0 !important; }
.ff-dcard-media img { aspect-ratio: 4 / 3.4; }
.ff-avatar { object-position: 50% 12%; }

/* Swiper testimonials ------------------------------------------------------ */
.ff-swiper { position: relative; }
.ff-swiper .swiper { overflow: hidden; padding-bottom: .25rem; }
.ff-swiper .swiper-slide { height: auto; }
.ff-swiper .swiper-slide > .ff-review { height: 100%; }
.ff-slider-nav { display: flex; justify-content: flex-end; gap: .75rem; margin: -5.75rem 0 2.5rem; position: relative; z-index: 2; pointer-events: none; }
.ff-slider-btn { pointer-events: auto; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--ff-navy); background: #fff; color: var(--ff-navy); display: inline-flex; align-items: center; justify-content: center; transition: all .2s; }
.ff-slider-btn.is-dark, .ff-slider-btn:hover { background: var(--ff-navy); color: #fff; }
.ff-slider-btn.swiper-button-disabled { opacity: .35; cursor: default; }
.ff-slider-btn.swiper-button-lock { display: none; }
.ff-swiper .swiper-pagination { position: static; margin-top: 2rem; }
.ff-swiper .swiper-pagination-bullet { width: 10px; height: 10px; background: var(--ff-line); opacity: 1; transition: width .3s, background .3s; }
.ff-swiper .swiper-pagination-bullet-active { width: 32px; border-radius: 6px; background: var(--ff-navy); }
/* Fallback before Swiper loads (and inside the block editor) */
.ff-swiper .swiper:not(.swiper-initialized) .swiper-wrapper { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3rem) / 3); gap: 1.5rem; }
@media (max-width: 991.98px) { .ff-swiper .swiper:not(.swiper-initialized) .swiper-wrapper { grid-auto-columns: calc((100% - 1.5rem) / 2); } }
@media (max-width: 767.98px) {
	.ff-swiper .swiper:not(.swiper-initialized) .swiper-wrapper { grid-auto-columns: 92%; }
	.ff-slider-nav { margin: 0 0 1.5rem; justify-content: flex-start; }
}

/* Booking CTA: info under buttons, tall map on the right ------------------- */
.ff-cta-cols { align-items: stretch !important; }
.ff-cta-cols > .wp-block-column:last-child { display: flex; flex-direction: column; }
.ff-map-tall { position: relative; flex: 1; min-height: 420px; height: 100%; border-radius: 24px; overflow: hidden; background: #EAF1F0; box-shadow: 0 24px 48px rgba(0, 0, 0, .18); border: 6px solid #fff; }
.ff-map-tall iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ff-map-open { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; background: #fff; color: var(--ff-navy); font-family: var(--ff-font-head); font-weight: 600; border-radius: 999px; padding: .65rem 1.2rem; box-shadow: var(--ff-shadow-sm); }
.ff-map-open:hover { color: var(--ff-teal); }
.ff-cta .ff-contact-list { margin-top: 2.5rem !important; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .25); }
.ff-cta .ff-contact-list ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; margin: 0; padding: 0; }
.ff-cta .ff-contact-list li { color: #fff; font-weight: 500; display: flex; gap: .9rem; align-items: flex-start; line-height: 1.5; }
.ff-cta .ff-contact-list li:first-child { grid-column: 1 / -1; }
.ff-cta .ff-contact-list li > span:last-child, .ff-cta .ff-contact-list li > a { padding-top: .55rem; }
.ff-cta .ff-contact-list a { color: #fff; }
.ff-cta .ff-contact-list a:hover { color: #D5F0EA; }
.ff-cta .ff-contact-list .ff-link { color: #D5F0EA; margin-top: .35rem; }
.ff-cta .ff-contact-list .ff-icon-wrap { background: rgba(255, 255, 255, .16); color: #fff; }
.ff-contact-list ul { list-style: none; }
@media (max-width: 781px) {
	.ff-map-tall { min-height: 320px; margin-top: 1rem; }
	.ff-cta .ff-contact-list ul { grid-template-columns: 1fr; }
}

/* Dropdown menus ----------------------------------------------------------- */
.ff-header .ff-has-sub { display: flex; align-items: center; flex-wrap: wrap; position: relative; }
.ff-sub-toggle { border: 0; background: none; color: var(--ff-ink); padding: .35rem; margin-left: -.55rem; display: inline-flex; border-radius: 8px; line-height: 1; }
.ff-sub-toggle:hover, .ff-sub-toggle[aria-expanded="true"] { color: var(--ff-teal); }
.ff-sub-toggle svg { transition: transform .2s; }
.ff-header .dropdown-menu { min-width: 260px; margin-top: 0; }
.ff-header .dropdown-item { white-space: normal; color: var(--ff-ink); }
.ff-header .dropdown-item:hover { background: var(--ff-mint); color: var(--ff-teal); }
@media (min-width: 992px) {
	.ff-header .ff-has-sub > .dropdown-menu { position: absolute; top: 100%; left: 0; display: block; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; }
	.ff-header .ff-has-sub > .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
	.ff-header .ff-has-sub:hover > .dropdown-menu, .ff-header .ff-has-sub:focus-within > .dropdown-menu, .ff-header .ff-has-sub > .dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(6px); }
	.ff-header .ff-has-sub:hover .ff-sub-toggle svg { transform: rotate(180deg); }
}
@media (max-width: 991.98px) {
	.ff-header .ff-has-sub > .nav-link { flex: 1; }
	.ff-sub-toggle { margin: 0; padding: .7rem .8rem; border-bottom: 1px solid var(--ff-line); border-radius: 0; }
	.ff-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	.ff-header .ff-has-sub > .dropdown-menu { position: static; width: 100%; border: 0; box-shadow: none; padding: .25rem 0 .75rem 1rem; background: transparent; }
	.ff-header .navbar-collapse { max-height: calc(100vh - 90px); overflow-y: auto; }
}

/* WhatsApp brand icon (Bootstrap Icons) */
.ff-bi { line-height: 1; display: inline-flex; }
.ff-whatsapp-float { width: 62px; height: 62px; animation: ff-pulse 2.6s infinite; }
@keyframes ff-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45), 0 12px 28px rgba(0,0,0,.2); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 12px 28px rgba(0,0,0,.2); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 12px 28px rgba(0,0,0,.2); } }
.ff-method .ff-icon-block.is-solid .ff-icon-wrap { background: #25D366; }

/* Cookie notice ------------------------------------------------------------ */
.ff-cookie { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 1040; max-width: 460px; background: #fff; border: 1px solid var(--ff-line); border-radius: 20px; box-shadow: var(--ff-shadow); padding: 1.25rem 1.4rem; display: flex; align-items: center; gap: 1.25rem; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s; }
.ff-cookie.is-visible { opacity: 1; transform: none; }
.ff-cookie p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--ff-ink); }
.ff-cookie a { font-weight: 600; }
.ff-cookie .ff-btn { padding: .7rem 1.4rem; flex: none; }
@media (max-width: 575.98px) { .ff-cookie { left: .75rem; right: 5.25rem; bottom: .75rem; flex-direction: column; align-items: flex-start; gap: .75rem; } }

/* Legal pages + sitemap ------------------------------------------------------ */
.ff-legal-updated { color: var(--ff-body); background: var(--ff-mint); display: inline-block; padding: .4rem 1rem; border-radius: 999px; }
.ff-legal-content h2 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }
.ff-legal-content .ff-dotlist > p { color: var(--ff-body); }
.ff-legal-content .ff-dotlist > p strong { color: var(--ff-ink); }
.ff-sitemap-col { background: #fff; border: 1px solid var(--ff-line); border-radius: var(--ff-radius); padding: 1.75rem; height: 100%; }
.ff-sitemap-col h2 { font-size: 1.25rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.ff-sitemap-col h2 .ff-icon { color: var(--ff-teal); }
.ff-sitemap-col ul { margin: 0; display: grid; gap: .6rem; }
.ff-sitemap-col a { color: var(--ff-ink); }
.ff-sitemap-col a:hover { color: var(--ff-teal); }
.ff-sitemap-xml { margin-top: 2rem; }
.ff-footer-bottom { align-items: center; }
.ff-legal { flex-wrap: wrap; gap: .5rem 1.5rem; }

/* Animation helpers: keep layout stable while GSAP runs */
.ff-anim .ff-float-card, .ff-anim .ff-float-pill { will-change: transform; }
@media (max-width: 991.98px) {
	.ff-header .ff-has-sub { border-bottom: 1px solid var(--ff-line); }
	.ff-header .ff-has-sub > .nav-link { border-bottom: 0; }
	.ff-sub-toggle { border-bottom: 0; align-self: stretch; }
}
.ff-cta .ff-contact-list ul { grid-auto-flow: row dense; }
.ff-cta .ff-contact-list li:nth-child(3) { grid-column: 1 / -1; }
.ff-cta .ff-contact-list .ff-link { display: none; }
