/*
Theme Name: FTL Med Cards
Theme URI: https://junsanchez.com
Description: Child theme of Hello Elementor for the FTL Med Cards website (Fort Lauderdale, Florida). Adds the FTL admin area (site settings, maintenance pages, menus), the FAQ, qualifying condition, process step and review content types, branded form emails and login screen. Designed and built by Jun Sanchez, JS Web Design Services.
Author: Jun Sanchez – JS Web Design Services
Author URI: https://junsanchez.com
Template: hello-elementor
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor-child
*/

/* ==========================================================================
   Brand tokens (approved homepage v2: the logo's own colors)
   Headings: Montserrat ExtraBold / Black Italic. Body: Figtree.
   Page layouts are built in Elementor; this file holds the tokens, the
   browser surfaces and the markup printed by the theme's shortcodes.

   Elementor global classes (Site Settings > Global classes; edit once, every element follows):
     layout   jsws-container, jsws-stack-lg, jsws-hide-mobile
     header   jsws-header, jsws-header-inner, jsws-header-logo, jsws-header-menu (nav widget CSS class)
     buttons  jsws-btn-sun, jsws-btn-sun-text, jsws-btn-icon
     footer   jsws-footer, jsws-footer-grid, jsws-footer-brand, jsws-logo-plate, jsws-footer-logo,
              jsws-footer-col, jsws-footer-heading, jsws-footer-link, jsws-footer-text,
              jsws-footer-fineprint, jsws-footer-bottom, jsws-inline-links, jsws-contact-row, jsws-contact-icon
   Local (per-element) styles are kept for one-off placement only: a footer column's grid-area, the
   header button's tablet order, the disclaimer's line length.
   ========================================================================== */

:root {
	--ftl-navy: #052459;
	--ftl-navy-deep: #031A40;
	--ftl-green: #0C7905;
	--ftl-lime: #3CB003;
	--ftl-orange: #FF7A00;
	--ftl-yellow: #FFCC00;
	--ftl-sky: #0AAFF1;
	--ftl-ink: #0B1A33;
	--ftl-muted: #4A5568;
	--ftl-line: #DCE3EE;
	--ftl-mist: #F4F7FB;
	--ftl-green-tint: #EAF6E4;
	--ftl-sky-tint: #E2F5FD;
	--ftl-sun-tint: #FFF4E0;
	--ftl-sun: linear-gradient(180deg, var(--ftl-yellow) 0%, var(--ftl-orange) 100%);
	--ftl-font-display: "Montserrat", "Figtree", system-ui, sans-serif;
	--ftl-font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ftl-radius: 16px;
	--ftl-radius-sm: 10px;
	--ftl-shadow: 0 18px 40px -24px rgba(5, 36, 89, 0.35);
	--ftl-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Browser surfaces ---------- */

::selection { background: var(--ftl-yellow); color: var(--ftl-navy); }
html { scrollbar-color: var(--ftl-navy) var(--ftl-mist); accent-color: var(--ftl-green); }
body { caret-color: var(--ftl-orange); }
a { text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
:focus-visible { outline: 3px solid var(--ftl-orange); outline-offset: 3px; border-radius: 4px; }
.ftl-num, .ftl-fee { font-variant-numeric: tabular-nums lining-nums; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Atomic paragraph and heading links take their colour from their own global class (e.g. jsws-footer-link),
   never from the kit's site-wide link colours, which would otherwise paint navy over navy on hover. */
.elementor :is(.e-paragraph-link-base, .e-heading-link-base):is(*, :link, :visited, :hover, :focus, :active) { color: inherit; }

/* ---------- [ftl_faqs] accordion ---------- */

.ftl-faqs { display: grid; gap: 12px; }
.ftl-faqs__group + .ftl-faqs__group { margin-top: 40px; }
.ftl-faqs__group-title { margin: 0 0 16px; font-family: var(--ftl-font-display); font-style: italic; font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; color: var(--ftl-navy); }
.ftl-faq { border: 1px solid var(--ftl-line); border-radius: var(--ftl-radius); background: #fff; transition: border-color 0.2s var(--ftl-ease), box-shadow 0.2s var(--ftl-ease); }
.ftl-faq[open] { border-color: var(--ftl-sky); box-shadow: var(--ftl-shadow); }
.ftl-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-family: var(--ftl-font-body); font-weight: 700; font-size: 1.0625rem; line-height: 1.4; color: var(--ftl-navy); }
.ftl-faq__q::-webkit-details-marker { display: none; }
.ftl-faq__q::after { content: ""; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--ftl-sun-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23052459' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.25s var(--ftl-ease), background-color 0.2s; }
.ftl-faq[open] .ftl-faq__q::after { transform: rotate(45deg); background-color: var(--ftl-yellow); }
.ftl-faq__a { padding: 0 24px 22px; font-family: var(--ftl-font-body); font-size: 1rem; line-height: 1.65; color: var(--ftl-muted); max-width: 72ch; }
.ftl-faq__a > :first-child { margin-top: 0; }
.ftl-faq__a > :last-child { margin-bottom: 0; }
.ftl-faq__a a { color: var(--ftl-green); font-weight: 600; }

/* ---------- [ftl_conditions] ---------- */

.ftl-conditions { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ftl-condition { padding: 18px 20px; border-radius: var(--ftl-radius-sm); background: var(--ftl-mist); }
.ftl-condition__name { display: block; font-family: var(--ftl-font-body); font-weight: 700; font-size: 1.0625rem; color: var(--ftl-navy); }
.ftl-condition__text { display: block; margin-top: 6px; font-size: 0.9375rem; line-height: 1.55; color: var(--ftl-muted); }
.ftl-conditions--list { grid-template-columns: 1fr; gap: 0; }
.ftl-conditions--list .ftl-condition { background: none; border-radius: 0; padding: 14px 0; border-top: 1px solid var(--ftl-line); }

/* ---------- [ftl_steps] ---------- */

.ftl-steps { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: ftl-step; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ftl-step { position: relative; padding: 28px 24px 24px; border-radius: var(--ftl-radius); background: #fff; border: 1px solid var(--ftl-line); counter-increment: ftl-step; }
.ftl-step::before { content: counter(ftl-step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; background: var(--ftl-sun); font-family: var(--ftl-font-display); font-style: italic; font-weight: 900; font-size: 1.25rem; color: var(--ftl-navy); }
.ftl-step.is-highlight { background: var(--ftl-green); border-color: var(--ftl-green); color: #fff; }
.ftl-step.is-highlight .ftl-step__title, .ftl-step.is-highlight .ftl-step__text { color: #fff; }
.ftl-step__title { margin: 0 0 8px; font-family: var(--ftl-font-display); font-style: italic; font-weight: 800; font-size: 1.25rem; line-height: 1.2; color: var(--ftl-navy); }
.ftl-step__text { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ftl-muted); }

/* ---------- [ftl_reviews] ---------- */

.ftl-reviews { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.ftl-review { margin: 0; padding: 28px; border-radius: var(--ftl-radius); background: #fff; border: 1px solid var(--ftl-line); }
.ftl-review__stars { display: flex; gap: 2px; color: var(--ftl-orange); }
.ftl-review__quote { margin: 12px 0 16px; font-size: 1.0625rem; line-height: 1.6; color: var(--ftl-ink); }
.ftl-review__by { font-weight: 700; color: var(--ftl-navy); font-style: normal; }
.ftl-review__source { color: var(--ftl-muted); font-size: 0.875rem; }

/* ---------- Thank-you page summary (inc/form-emails.php) ---------- */

.jsws-thanks-summary:not(.is-filled) { display: none !important; }
.ftl-thanks-summary__title { margin: 0 0 12px; font-family: var(--ftl-font-display); font-style: italic; font-weight: 800; font-size: 20px; line-height: 26px; color: var(--ftl-navy); }
.ftl-thanks-summary__list { display: grid; gap: 0; margin: 0; }
.ftl-thanks-summary__list div { display: flex; gap: 16px; justify-content: space-between; padding: 12px 0; border-top: 1px solid #DDE5EC; font-family: var(--ftl-font-body); font-size: 16px; line-height: 22px; }
.ftl-thanks-summary__list dt { font-weight: 500; color: #4A5B78; }
.ftl-thanks-summary__list dd { margin: 0; font-weight: 700; color: var(--ftl-navy); text-align: right; }

/* ---------- Forms: custom dropdown (assets/js/ftl-forms.js "enhanceSelect") ----------
   Replaces the browser's option list on every form select. The trigger copies the select's Elementor
   classes, so its box is the field's own. The chosen option is sun-tint with navy SemiBold text. */
.ftl-select { position: relative; width: 100%; }
.ftl-select > select { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; margin: 0; opacity: 0; pointer-events: none; }
form .ftl-select .ftl-select__trigger,
form .ftl-select .ftl-select__trigger:is(:hover, :focus, :active) {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
	text-align: left; text-transform: none; letter-spacing: normal; cursor: pointer;
	background-color: #fff; color: var(--ftl-ink); /* Hello Elementor paints buttons pink on hover; keep the field look */
}
form .ftl-select .ftl-select__trigger.is-placeholder { font-weight: 400; color: var(--ftl-muted); }
form .ftl-select.is-open .ftl-select__trigger, form .ftl-select.is-focus .ftl-select__trigger { border-color: var(--ftl-sky) !important; box-shadow: 0 0 0 4px rgba(10, 175, 241, 0.18); outline: none; }
form .ftl-select.is-invalid .ftl-select__trigger { border-color: #C62828 !important; }
.ftl-select__value { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ftl-select__chevron { flex: 0 0 20px; width: 20px; height: 20px; color: var(--ftl-navy); transition: transform .2s var(--ftl-ease); }
.ftl-select.is-open .ftl-select__chevron { transform: rotate(180deg); }
.ftl-select__list {
	position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
	max-height: 380px; overflow-y: auto; overscroll-behavior: contain;
	margin: 0; padding: 6px; list-style: none;
	background: #fff; border: 1px solid var(--ftl-line); border-radius: 12px;
	box-shadow: 0 16px 40px -12px rgba(5, 36, 89, .28);
	opacity: 0; transform: translateY(-4px);
	transition: opacity .15s var(--ftl-ease), transform .15s var(--ftl-ease);
}
.ftl-select.is-up .ftl-select__list { top: auto; bottom: calc(100% + 6px); transform: translateY(4px); }
.ftl-select__list[hidden] { display: none; }
.ftl-select__list.is-visible { opacity: 1; transform: none; }
.ftl-select__list.is-closing { transition-duration: .1s; }
.ftl-select__option { margin: 0; padding: 12px 14px; border-radius: 8px; cursor: pointer; font-family: var(--ftl-font-body); font-size: 17px; line-height: 24px; color: var(--ftl-ink); transition: background-color .12s ease, color .12s ease; }
.ftl-select__option + .ftl-select__option { margin-top: 2px; }
.ftl-select__option.is-active { background-color: var(--ftl-mist); }
.ftl-select__option[aria-selected="true"] { background-color: var(--ftl-sun-tint); color: var(--ftl-navy); font-weight: 600; }
.ftl-select__option[aria-selected="true"].is-active { background-color: #FFE9C2; }
@media (max-width: 767px) { .ftl-select__list { max-height: 280px; } .ftl-select__option { padding: 13px 14px; } }

/* ---------- reCAPTCHA (inc/recaptcha.php + assets/js/ftl-recaptcha.js) ----------
   Google's floating v3 badge is hidden; the notice Google asks for in its place sits under each form. */
.grecaptcha-badge { visibility: hidden !important; }
.ftl-recaptcha-note { flex: 1 1 100%; width: 100%; margin: 0; font-family: var(--ftl-font-body); font-size: 13px; line-height: 18px; color: var(--ftl-muted); }
.ftl-recaptcha-note a { color: inherit; text-decoration: underline; }
.ftl-recaptcha-note a:hover { color: var(--ftl-green); }
.ftl-recaptcha-check { flex: 1 1 100%; width: 100%; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 12px; background: var(--ftl-mist); }
.ftl-recaptcha-check__prompt { margin: 0; font-family: var(--ftl-font-body); font-size: 15px; line-height: 22px; color: var(--ftl-ink); }
.ftl-recaptcha-check__widget { min-height: 78px; max-width: 100%; overflow: hidden; }
@media (max-width: 360px) { .ftl-recaptcha-check__widget > div { transform: scale(.92); transform-origin: 0 0; } }
form.ftl-recaptcha-pending[data-atomic-form-submitting] button[type="submit"] { cursor: default; }
form.ftl-recaptcha-pending[data-atomic-form-submitting] button[type="submit"]::before { content: "Waiting for confirmation"; }

/* ==========================================================================
   Header (Elementor Theme Builder "FTL Header"; nav = Elementor Pro nav-menu)
   Layout, type and colour live in Elementor global classes (jsws-*, see the note at the top).
   This file only styles what classes cannot reach: the V3 nav-menu widget's inner markup, the
   logo's link wrapper and the small-laptop squeeze between Elementor's tablet and desktop.
   ========================================================================== */

.elementor-location-header { position: sticky; top: 0; z-index: 60; background: #fff; transition: box-shadow .25s var(--ftl-ease); }
body.admin-bar .elementor-location-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .elementor-location-header { top: 0; } }
.elementor-location-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(5, 36, 89, 0.35); }

.jsws-header-menu { flex: 0 1 auto; width: auto; }
/* The logo is the flex item through its link: it keeps its size and pushes the nav and button right. */
.jsws-header-inner > .e-image-link-base { flex: 0 0 auto; margin-inline-end: auto; line-height: 0; }
.jsws-header-logo { margin: 0; }
.jsws-header-menu .elementor-nav-menu--main .elementor-item { font-style: normal !important; }
.jsws-header-menu .elementor-nav-menu--main .elementor-nav-menu { flex-wrap: nowrap; gap: 6px; }
.jsws-header-menu .elementor-nav-menu--main .elementor-nav-menu a.elementor-item:is(*, :hover, :focus, :active, .highlighted, .elementor-item-active) {
	padding: 10px 14px; font-family: var(--ftl-font-body); font-size: 16px; font-weight: 500; line-height: 24px; color: var(--ftl-navy);
}
/* Hover and current page: green text, current page SemiBold, no underline (inner-page designs). */
.jsws-header-menu .elementor-nav-menu--main .elementor-item::before,
.jsws-header-menu .elementor-nav-menu--main .elementor-item::after { display: none !important; }
.jsws-header-menu .elementor-nav-menu--main .elementor-nav-menu a.elementor-item:is(:hover, :focus-visible, .elementor-item-active, .highlighted) { color: var(--ftl-green) !important; }
.jsws-header-menu .elementor-nav-menu--main .elementor-nav-menu a.elementor-item.elementor-item-active { font-weight: 600 !important; }
.jsws-header-menu .elementor-nav-menu--main .elementor-nav-menu a.elementor-item { transition: color .15s ease; }
.jsws-header-menu .elementor-nav-menu--dropdown.elementor-nav-menu__container { display: none !important; } /* replaced by the drawer */
/* Small laptops (1025–1279px): tighter nav and button so everything fits on one line. */
@media (min-width: 1025px) and (max-width: 1279px) {
	.jsws-header-inner { padding-inline: 40px !important; gap: 16px !important; }
	.jsws-header-logo, .jsws-footer-logo { width: 132px !important; } /* the footer logo never outgrows the header one */
	.jsws-header-menu .elementor-nav-menu--main .elementor-nav-menu { gap: 0; }
	.jsws-header-menu .elementor-nav-menu--main .elementor-nav-menu a.elementor-item:is(*, :hover, :focus, :active, .highlighted, .elementor-item-active) { padding: 10px 8px; font-size: 15px; }
	.jsws-header-inner > .jsws-btn-sun { padding: 12px 18px !important; }
	.jsws-header-inner .jsws-btn-sun-text { font-size: 15px !important; }
	.jsws-header-inner .jsws-btn-icon { display: none; }
}

/* Menu button: a 48px mist circle with three navy bars, the last one sun-orange and shorter. */
@media (max-width: 1024px) {
	.jsws-header-menu { flex: 0 0 auto !important; width: auto !important; order: 3; }
	.jsws-header-menu .elementor-menu-toggle {
		position: relative; width: 48px; height: 48px; padding: 0; margin: 0; border: 0; border-radius: 50%;
		background-color: var(--ftl-mist) !important; cursor: pointer; transition: background-color .2s var(--ftl-ease);
	}
	.jsws-header-menu .elementor-menu-toggle > * { display: none !important; }
	.jsws-header-menu .elementor-menu-toggle::before,
	.jsws-header-menu .elementor-menu-toggle::after { content: ""; position: absolute; left: 14px; height: 2px; border-radius: 2px; }
	.jsws-header-menu .elementor-menu-toggle::before { top: 17px; width: 20px; background: var(--ftl-navy); box-shadow: 0 6px 0 var(--ftl-navy); }
	.jsws-header-menu .elementor-menu-toggle::after { top: 29px; width: 12px; background: var(--ftl-orange); transition: width .3s var(--ftl-ease); }
	.jsws-header-menu .elementor-menu-toggle:hover { background-color: #E8EEF6 !important; }
	.jsws-header-menu .elementor-menu-toggle:hover::after { width: 20px; }
}

/* Header account icon (logged-in visitors only; inc/mega-menu.php ftl_account_link). Sits between the menu and
   the Book button; on tablets and phones, before the menu button. */
.elementor-widget.jsws-header-menu:has(.ftl-account) { display: flex !important; flex-direction: row !important; flex-wrap: nowrap; align-items: center; gap: 12px; }
.jsws-header-menu:has(.ftl-account) > .ftl-mega { flex: 0 1 auto; width: auto; }
.jsws-header-menu .ftl-mega { order: 1; }
.jsws-header-menu .ftl-account { order: 2; }
.jsws-header-menu .elementor-menu-toggle { order: 3; }
a.ftl-account, a.ftl-account:visited {
	position: relative; flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--ftl-mist); color: var(--ftl-navy); text-decoration: none; transition: background-color .2s var(--ftl-ease), color .2s var(--ftl-ease);
}
.ftl-account svg { width: 24px; height: 24px; }
a.ftl-account:is(:hover, :focus-visible) { background: #E8F5DF; color: var(--ftl-green); }
.ftl-account__tip {
	position: absolute; top: calc(100% + 10px); left: 50%; z-index: 5; padding: 6px 10px; border-radius: 8px; background: var(--ftl-navy); color: #fff;
	font-family: var(--ftl-font-body); font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; pointer-events: none;
	opacity: 0; transform: translate(-50%, -4px); transition: opacity .2s ease, transform .25s var(--ftl-ease);
}
.ftl-account__tip::before { content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 1px; }
.ftl-account:is(:hover, :focus-visible) .ftl-account__tip { opacity: 1; transform: translate(-50%, 0); }
/* The text label ("Patient login" / "My account") shows beside the icon where there is room (1280px and up):
   a plain link set like the menu items (no fill, no border), a thin divider before it, the icon in green; the
   Book button stays the only filled button. Narrower screens keep the round icon and its tooltip. */
.ftl-account__label { display: none; }
@media (min-width: 1280px) {
	a.ftl-account, a.ftl-account:visited {
		flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; width: auto; height: auto; padding: 10px 4px 10px 20px;
		border-radius: 0; background: none; border-left: 1px solid var(--ftl-line);
		font-family: var(--ftl-font-body); font-size: 16px; font-weight: 500; line-height: 24px; white-space: nowrap; color: var(--ftl-navy);
	}
	.ftl-account svg { width: 22px; height: 22px; color: var(--ftl-green); transition: transform .3s var(--ftl-ease); }
	a.ftl-account:is(:hover, :focus-visible) { background: none; color: var(--ftl-green); }
	a.ftl-account:hover svg { transform: scale(1.08); }
	.ftl-account__label { display: inline; }
	.ftl-account__tip { display: none; }
}
@media (max-width: 1024px) {
	a.ftl-account { flex-basis: 48px; width: 48px; height: 48px; }
	.ftl-account__tip { display: none; }
}
@media (prefers-reduced-motion: reduce) { a.ftl-account, .ftl-account__tip { transition: none; } }

/* ---------- Mega menu, desktop (inc/mega-menu.php, assets/js/ftl-mega.js; Figma "Web – Mega menu") ---------- */
.ftl-mega { position: relative; --ftl-mega-top: 112px; }
.ftl-mega__list { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ftl-mega__top { margin: 0; }
.ftl-mega .ftl-mega__toplink, .ftl-mega .ftl-mega__trigger,
.ftl-mega .ftl-mega__trigger:is(:hover, :focus, :active) {
	display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 10px 14px; border: 0; border-radius: 999px; background: transparent; box-shadow: none;
	font-family: var(--ftl-font-body); font-size: 16px; font-weight: 500; font-style: normal; line-height: 24px; letter-spacing: 0; text-transform: none;
	color: var(--ftl-navy); text-decoration: none; cursor: pointer; transition: color .15s ease;
}
.ftl-mega .ftl-mega__toplink:is(:hover, :focus-visible), .ftl-mega .ftl-mega__trigger:is(:hover, :focus-visible, [aria-expanded="true"]) { color: var(--ftl-green); }
.ftl-mega .ftl-mega__toplink.is-current, .ftl-mega .ftl-mega__trigger.is-current { color: var(--ftl-green); font-weight: 600; }
.ftl-mega__trigger svg { width: 14px; height: 14px; transition: transform .35s var(--ftl-ease); }
.ftl-mega__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

/* The orange bar under the open group; it slides between groups. */
.ftl-mega__bar {
	position: absolute; left: 0; bottom: -4px; width: 28px; height: 3px; border-radius: 3px; pointer-events: none;
	background: linear-gradient(90deg, var(--ftl-orange), var(--ftl-yellow)); opacity: 0;
	transition: transform .45s var(--ftl-ease), opacity .2s ease;
}
.ftl-mega.is-open .ftl-mega__bar { opacity: 1; }

/* The white sheet behind the panels: unrolls downward, then morphs height between groups. */
.ftl-mega__backdrop {
	position: fixed; left: 0; right: 0; top: var(--ftl-mega-top); z-index: 1; height: 0; pointer-events: none;
	background: #fff; border-top: 1px solid var(--ftl-line); border-radius: 0 0 32px 32px; box-shadow: 0 24px 48px -12px rgba(3, 21, 54, .22);
	clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ftl-ease), height .45s var(--ftl-ease);
}
.ftl-mega.is-open .ftl-mega__backdrop { clip-path: inset(0 -80px -80px -80px); }
.ftl-mega__scrim {
	position: fixed; left: 0; right: 0; bottom: 0; top: var(--ftl-mega-top); z-index: 0;
	background: rgba(3, 21, 54, .45); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s;
}
.ftl-mega.is-open .ftl-mega__scrim { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.ftl-mega.is-instant .ftl-mega__bar, .ftl-mega.is-instant .ftl-mega__backdrop { transition: none; }

.ftl-mega__panel {
	position: fixed; left: 0; right: 0; top: var(--ftl-mega-top); z-index: 2;
	visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .18s ease, visibility 0s linear .18s;
}
.ftl-mega__panel.is-active { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .25s ease; }
.ftl-mega__inner { display: flex; flex-direction: column; gap: 24px; max-width: 1440px; margin: 0 auto; padding: 36px 80px; }
.ftl-mega__body { display: grid; grid-template-columns: minmax(0, 1fr) 456px; gap: 40px; align-items: stretch; }
.ftl-mega__body--solo { grid-template-columns: minmax(0, 1fr); }
.ftl-mega__panel.is-active [style*="--i"] { animation: ftl-mega-in .55s var(--ftl-ease) both; animation-delay: calc(var(--i) * 60ms + 90ms); }
@keyframes ftl-mega-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.ftl-mega__eyebrow { margin: 0 0 14px; font-family: var(--ftl-font-body); font-size: 13px; font-weight: 700; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--ftl-green); }
.ftl-mega__items { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ftl-mega__item { margin: 0; }
a.ftl-mega__link, a.ftl-mega__link:visited {
	display: flex; align-items: center; gap: 18px; padding: 16px 20px 16px 16px; border-radius: 20px; color: var(--ftl-navy); text-decoration: none;
	transition: background-color .25s var(--ftl-ease);
}
a.ftl-mega__link:is(:hover, :focus-visible) { background: #F3F7F2; color: var(--ftl-navy); }
.ftl-mega__chip { flex: 0 0 48px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #E8F5DF; color: var(--ftl-green); transition: background-color .25s var(--ftl-ease), color .25s var(--ftl-ease); }
.ftl-mega__chip svg { width: 24px; height: 24px; }
.ftl-mega__link:is(:hover, :focus-visible) .ftl-mega__chip, .ftl-mega__link.is-current .ftl-mega__chip { background: var(--ftl-lime); color: #fff; }
.ftl-mega__text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ftl-mega__title { font-family: var(--ftl-font-display); font-size: 19px; font-style: italic; font-weight: 700; line-height: 1.25; color: var(--ftl-navy); }
.ftl-mega__desc { font-family: var(--ftl-font-body); font-size: 15px; line-height: 1.4; color: #4A5B78; }
.ftl-mega__arrow { flex: 0 0 20px; display: grid; color: var(--ftl-green); opacity: 0; transform: translateX(-8px); transition: opacity .25s var(--ftl-ease), transform .35s var(--ftl-ease); }
.ftl-mega__arrow svg { width: 20px; height: 20px; }
.ftl-mega__link:is(:hover, :focus-visible) .ftl-mega__arrow { opacity: 1; transform: none; }

/* Feature: new patient visit (navy sunrise). */
.ftl-mega__feature--book {
	position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: 36px; border-radius: 28px;
	background: linear-gradient(135deg, #031536 0%, var(--ftl-navy) 100%); isolation: isolate;
}
.ftl-mega__sun, .ftl-mega__rings { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; }
.ftl-mega__sun { top: -90px; right: -54px; width: 260px; height: 260px; background: linear-gradient(180deg, var(--ftl-yellow) 0%, var(--ftl-orange) 100%); }
.ftl-mega__rings { top: -170px; right: -134px; width: 420px; height: 420px; border: 1.5px solid rgba(255, 204, 0, .14); }
.ftl-mega__rings::before { content: ""; position: absolute; inset: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 204, 0, .28); }
.ftl-mega__panel.is-active .ftl-mega__sun { animation: ftl-mega-sun 1s var(--ftl-ease) both .2s; }
.ftl-mega__panel.is-active .ftl-mega__rings { animation: ftl-mega-rings 1.2s var(--ftl-ease) both .25s; }
@keyframes ftl-mega-sun { from { opacity: 0; transform: translateY(48px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes ftl-mega-rings { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
.ftl-mega__feature-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ftl-mega__kicker { margin: 0; font-family: var(--ftl-font-body); font-size: 13px; font-weight: 700; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--ftl-yellow); }
.ftl-mega__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0; }
.ftl-mega__amount { font-family: var(--ftl-font-display); font-size: 56px; font-style: italic; font-weight: 900; line-height: 1; color: #fff; }
.ftl-mega__where { font-family: var(--ftl-font-body); font-size: 16px; font-weight: 600; color: #C9D6EE; }
.ftl-mega__note { margin: 0; max-width: 384px; font-family: var(--ftl-font-body); font-size: 15px; line-height: 1.5; color: #C9D6EE; }
a.ftl-mega__cta, a.ftl-mega__cta:visited {
	display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; background: linear-gradient(90deg, var(--ftl-orange) 0%, #FFA300 100%);
	font-family: var(--ftl-font-body); font-size: 16px; font-weight: 700; line-height: 19px; color: var(--ftl-navy); text-decoration: none;
	box-shadow: 0 12px 24px -14px rgba(255, 122, 0, .9); transition: filter .2s, translate .15s;
}
.ftl-mega__cta svg, .ftl-mega__more svg, .ftl-mega__strip-link svg { width: 18px; height: 18px; transition: translate .25s var(--ftl-ease); }
a.ftl-mega__cta:hover { color: var(--ftl-navy); filter: brightness(1.05); }
.ftl-mega__cta:hover svg, .ftl-mega__more:hover svg, .ftl-mega__strip:hover .ftl-mega__strip-link svg { translate: 3px 0; }
.ftl-mega__cta:active { translate: 0 1px; }
a.ftl-mega__more, a.ftl-mega__more:visited { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ftl-font-body); font-size: 15px; font-weight: 600; color: #fff; text-decoration: none; }
a.ftl-mega__more:hover { color: var(--ftl-yellow); }
.ftl-mega__feature--book :focus-visible { outline-color: var(--ftl-yellow); }

/* Feature: visit us (sky). */
.ftl-mega__feature--visit { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 32px 36px; border-radius: 28px; background: #E1F4FD; }
.ftl-mega__feature--visit .ftl-mega__kicker { color: #0A7FC0; }
.ftl-mega__feature-title { margin: 0; font-family: var(--ftl-font-display); font-size: 26px; font-style: italic; font-weight: 800; line-height: 1.2; color: var(--ftl-navy); }
.ftl-mega__contact, a.ftl-mega__contact, a.ftl-mega__contact:visited { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-family: var(--ftl-font-body); font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--ftl-navy); text-decoration: none; }
.ftl-mega__contact--phone { font-weight: 700 !important; }
a.ftl-mega__contact:hover { color: var(--ftl-green); }
.ftl-mega__contact svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; color: #0A7FC0; }
a.ftl-mega__directions, a.ftl-mega__directions:visited {
	display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 1.5px solid var(--ftl-navy); border-radius: 999px; background: #fff;
	font-family: var(--ftl-font-body); font-size: 15px; font-weight: 700; line-height: 18px; color: var(--ftl-navy); text-decoration: none; transition: background-color .2s, color .2s;
}
.ftl-mega__directions svg { width: 16px; height: 16px; }
a.ftl-mega__directions:hover { background: var(--ftl-navy); color: #fff; }

/* Strip under the panel. */
a.ftl-mega__strip, a.ftl-mega__strip:visited {
	display: flex; align-items: center; gap: 14px; padding: 16px 24px 16px 20px; border-radius: 18px; background: #F3F7F2;
	font-family: var(--ftl-font-body); font-size: 16px; line-height: 1.4; color: var(--ftl-navy); text-decoration: none; transition: background-color .25s var(--ftl-ease);
}
.ftl-mega__strip > svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--ftl-green); }
.ftl-mega__strip-text { flex: 1 1 auto; font-weight: 500; }
.ftl-mega__strip-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ftl-green); white-space: nowrap; }
a.ftl-mega__strip:hover { background: #E8F0E6; }
.ftl-mega__panel--book a.ftl-mega__strip { background: #E1F4FD; }
.ftl-mega__panel--book a.ftl-mega__strip:hover { background: #D2EEFB; }
.ftl-mega__panel--book .ftl-mega__strip > svg, .ftl-mega__panel--book .ftl-mega__strip-link { color: #0A7FC0; }

/* Small laptops (1025–1279px). */
@media (min-width: 1025px) and (max-width: 1279px) {
	.ftl-mega__list { gap: 0; }
	.ftl-mega .ftl-mega__toplink, .ftl-mega .ftl-mega__trigger, .ftl-mega .ftl-mega__trigger:is(:hover, :focus, :active) { padding: 10px 8px; font-size: 15px; }
	.ftl-mega__inner { padding: 28px 40px; }
	.ftl-mega__body { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; }
	.ftl-mega__feature--book { min-height: 340px; padding: 30px; }
	.ftl-mega__amount { font-size: 48px; }
}
@media (max-width: 1024px) { .ftl-mega { display: none !important; } }
html.ftl-mega-open .ftl-bookbar { display: none; }

@media (prefers-reduced-motion: reduce) {
	.ftl-mega__bar, .ftl-mega__backdrop, .ftl-mega__trigger svg, .ftl-mega__arrow { transition: none; }
	.ftl-mega__panel.is-active [style*="--i"], .ftl-mega__panel.is-active .ftl-mega__sun, .ftl-mega__panel.is-active .ftl-mega__rings { animation: none; }
}

/* ---------- Mobile navigation drawer (inc/mobile-nav.php) ---------- */
.ftl-drawer {
	position: fixed; inset: 0; z-index: 100000; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
	background: #fff; opacity: 0; transition: opacity .32s var(--ftl-ease);
}
.ftl-drawer[hidden] { display: none; }
.ftl-drawer.is-open { opacity: 1; }
.ftl-drawer.is-closing { opacity: 0; transition: opacity .18s ease-in; }
html.ftl-drawer-open { overflow: hidden; scrollbar-gutter: stable; }
.ftl-drawer__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; padding: 8px 20px; border-bottom: 1px solid var(--ftl-line); }
@media (min-width: 768px) { .ftl-drawer__bar { min-height: 100px; padding: 8px 40px; } .ftl-drawer__body { padding-left: 40px !important; padding-right: 40px !important; } }
.ftl-drawer__logo { display: block; line-height: 0; }
.ftl-drawer__logo-img { display: block; width: 120px; height: auto; }
.ftl-drawer__close { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--ftl-mist); color: var(--ftl-navy); cursor: pointer; transition: background-color .2s, transform .35s var(--ftl-ease); }
.ftl-drawer__close svg { width: 22px; height: 22px; transform: rotate(45deg); } /* the design's plus icon, turned into a close mark */
.ftl-drawer.is-open .ftl-drawer__close { transform: rotate(90deg); }
/* Hello's reset paints every focused button #c36 with white text; the drawer focuses this button when it
   opens, so plain :focus keeps the mist circle and navy mark. */
.ftl-drawer__close:focus { background: var(--ftl-mist); color: var(--ftl-navy); }
.ftl-drawer__close:hover, .ftl-drawer__close:focus-visible { background: #E8EEF6; color: var(--ftl-navy); }
.ftl-drawer__body { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 12px 20px 28px; }
.ftl-drawer__list { list-style: none; margin: 0; padding: 0; }
.ftl-drawer__item { border-bottom: 1px solid var(--ftl-line); }
.ftl-drawer__row, .ftl-drawer__row:visited { color: var(--ftl-navy) !important; }
.ftl-drawer__row:hover, .ftl-drawer__row:focus-visible, .ftl-drawer__row.is-current { color: var(--ftl-green) !important; }
.ftl-drawer__row { display: flex; align-items: center; min-height: 56px; font-family: var(--ftl-font-display); font-style: italic; font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--ftl-navy); text-decoration: none; }
.ftl-drawer__row:hover, .ftl-drawer__row:focus-visible { color: var(--ftl-green); }
.ftl-drawer__row.is-current { color: var(--ftl-green); }
.ftl-drawer__row.is-current::after { content: ""; width: 8px; height: 8px; margin-left: 12px; border-radius: 50%; background: var(--ftl-orange); }
.ftl-drawer__footer { display: flex; flex-direction: column; gap: 14px; }
a.ftl-drawer__cta, a.ftl-bookbar__btn, a.ftl-drawer__cta:visited, a.ftl-bookbar__btn:visited {
	color: var(--ftl-navy) !important;
}
.ftl-drawer__cta, .ftl-bookbar__btn {
	display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 24px; border-radius: 999px;
	background: linear-gradient(90deg, var(--ftl-orange) 0%, #FFA300 100%); color: var(--ftl-navy); font-family: var(--ftl-font-body); font-weight: 700; font-size: 18px; line-height: 1.2; text-decoration: none;
	box-shadow: 0 12px 24px -14px rgba(255, 122, 0, .9); transition: filter .2s, translate .15s;
}
.ftl-drawer__cta svg, .ftl-bookbar__btn svg { width: 18px; height: 18px; transition: translate .2s var(--ftl-ease); }
.ftl-drawer__cta:hover, .ftl-bookbar__btn:hover { color: var(--ftl-navy); filter: brightness(1.05); }
.ftl-drawer__cta:hover svg, .ftl-bookbar__btn:hover svg { translate: 3px 0; }
.ftl-drawer__cta:active, .ftl-bookbar__btn:active { translate: 0 1px; }
.ftl-drawer__contact, .ftl-drawer__contact:visited { color: var(--ftl-ink) !important; }
.ftl-drawer__contact:hover { color: var(--ftl-green) !important; }
.ftl-drawer__contact { display: flex; align-items: flex-start; gap: 10px; font-family: var(--ftl-font-body); font-size: 16px; line-height: 24px; color: var(--ftl-ink); text-decoration: none; }
.ftl-drawer__contact svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; color: var(--ftl-sky); }
.ftl-drawer__contact:hover { color: var(--ftl-green); }
.ftl-drawer.is-open .ftl-drawer__item, .ftl-drawer.is-open .ftl-drawer__footer { animation: ftl-rise .5s var(--ftl-ease) both; animation-delay: calc(var(--i, 0) * 40ms + 60ms); }
@keyframes ftl-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Drawer groups (mega menu groups on phones and tablets): accordion rows. */
.ftl-drawer .ftl-drawer__toggle, .ftl-drawer .ftl-drawer__toggle:is(:hover, :focus, :active) {
	width: 100%; justify-content: space-between; gap: 16px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: left; cursor: pointer;
}
.ftl-drawer__group.is-expanded > .ftl-drawer__toggle { color: var(--ftl-green) !important; }
.ftl-drawer__pm { position: relative; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--ftl-mist); transition: background-color .3s var(--ftl-ease); }
.ftl-drawer__pm::before, .ftl-drawer__pm::after { content: ""; position: absolute; left: 10px; top: 16px; width: 14px; height: 2px; border-radius: 2px; background: var(--ftl-navy); transition: transform .35s var(--ftl-ease), background-color .3s; }
.ftl-drawer__pm::after { transform: rotate(90deg); }
.ftl-drawer__group.is-expanded .ftl-drawer__pm { background: #E8F5DF; }
.ftl-drawer__group.is-expanded .ftl-drawer__pm::before, .ftl-drawer__group.is-expanded .ftl-drawer__pm::after { background: var(--ftl-green); }
.ftl-drawer__group.is-expanded .ftl-drawer__pm::after { transform: rotate(0deg); }
.ftl-drawer__sub { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s var(--ftl-ease), visibility 0s linear .4s; }
.ftl-drawer__group.is-expanded > .ftl-drawer__sub { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s var(--ftl-ease); }
.ftl-drawer__sub-inner { min-height: 0; overflow: hidden; }
.ftl-drawer__sublist { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0 0 14px; list-style: none; }
.ftl-drawer__subitem { margin: 0; }
.ftl-drawer__group.is-expanded .ftl-drawer__subitem { animation: ftl-rise .45s var(--ftl-ease) both; animation-delay: calc(var(--j, 0) * 40ms + 60ms); }
a.ftl-drawer__subrow, a.ftl-drawer__subrow:visited { display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 0; font-family: var(--ftl-font-body); font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--ftl-navy); text-decoration: none; }
a.ftl-drawer__subrow:is(:hover, :focus-visible), a.ftl-drawer__subrow.is-current { color: var(--ftl-green); }
.ftl-drawer__chip { flex: 0 0 38px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #E8F5DF; color: var(--ftl-green); transition: background-color .2s, color .2s; }
.ftl-drawer__chip svg { width: 20px; height: 20px; }
.ftl-drawer__subrow:is(:hover, :focus-visible) .ftl-drawer__chip, .ftl-drawer__subrow.is-current .ftl-drawer__chip { background: var(--ftl-lime); color: #fff; }
.ftl-drawer__subtitle { flex: 1 1 auto; }
.ftl-drawer__subrow > svg { flex: 0 0 18px; width: 18px; height: 18px; color: #8796AD; transition: translate .2s var(--ftl-ease); }
.ftl-drawer__subrow:hover > svg { translate: 3px 0; color: var(--ftl-green); }
a.ftl-drawer__note, a.ftl-drawer__note:visited { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 12px 14px; border-radius: 14px; background: #E1F4FD; font-family: var(--ftl-font-body); font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ftl-navy); text-decoration: none; }
.ftl-drawer__note span { flex: 1 1 auto; }
.ftl-drawer__note svg { flex: 0 0 20px; width: 20px; height: 20px; color: #0A7FC0; }
a.ftl-drawer__note:hover { background: #D2EEFB; }
@media (prefers-reduced-motion: reduce) {
	.ftl-drawer__sub, .ftl-drawer__pm, .ftl-drawer__pm::before, .ftl-drawer__pm::after { transition: none; }
	.ftl-drawer__group.is-expanded .ftl-drawer__subitem { animation: none; }
}

/* ---------- Sticky Book bar on phones (inc/mobile-nav.php) ---------- */
.ftl-bookbar { display: none; }
@media (max-width: 767px) {
	.ftl-bookbar {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -12px 30px -20px rgba(5, 36, 89, .45);
	}
	.ftl-bookbar__note { margin: 8px 0 0; text-align: center; font-family: var(--ftl-font-body); font-size: 13px; line-height: 18px; color: var(--ftl-muted); }
	body.ftl-has-bookbar { padding-bottom: 112px; }
	html.ftl-drawer-open .ftl-bookbar { display: none; }
}

/* ==========================================================================
   Footer (Elementor Theme Builder "FTL Footer")
   ========================================================================== */

/* Link hover colours live in the jsws-footer-link and jsws-footer-fineprint classes (sun yellow). */
.elementor-location-footer :focus-visible { outline-color: var(--ftl-yellow); }
/* Official resources open in a new tab: the design's arrow-up-right icon after the link. */
.jsws-footer-col a[target="_blank"]:not(.jsws-contact-row *)::after {
	content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 8px; vertical-align: -2px; background: var(--ftl-sky);
	-webkit-mask: url("assets/icons/phosphor/arrow-up-right.svg") center / contain no-repeat;
	        mask: url("assets/icons/phosphor/arrow-up-right.svg") center / contain no-repeat;
}
/* A contact row whose setting is still empty (email, hours) is hidden until the clinic fills it in. */
.jsws-contact-row:has(> p:empty) { display: none; }

/* ==========================================================================
   Motion start states (assets/js/jsws-motion.js, inc/motion.php)
   Only under html.jsws-motion, which an inline head script sets when motion is allowed: with no
   JavaScript, a blocked CDN or reduced motion, nothing is ever hidden. Opacity only: GSAP adds the
   movement and clears everything when it finishes (.is-revealed).
   ========================================================================== */
html.jsws-motion :is(.jsws-reveal, .jsws-reveal-left, .jsws-reveal-right, .jsws-intro, .jsws-pop, .jsws-price-card):not(.is-revealed),
html.jsws-motion .jsws-reveal-stagger:not(.is-revealed) > *,
html.jsws-motion :is([data-motion="hero-art"], [data-motion="page-hero-art"], [data-motion="journey"], [data-motion="route-list"], [data-motion="who-art"], [data-motion="photo-card"], [data-motion="pills"], [data-motion="paths"], [data-motion="curve-hero-art"], [data-motion="postcard-hero-art"], [data-motion="receipt-hero-art"], [data-motion="disc-steps"], [data-motion="stack-hero-art"], [data-motion="portrait"], [data-motion="chat-hero-art"], [data-motion="faq-group"], [data-motion="cards-hero-art"], [data-motion="book-hero-art"]):not(.is-revealed) { opacity: 0; }

/* Elementor's atomic containers ship with `transition: … transform .4s`. On an element GSAP moves, that
   transition chases every frame GSAP writes and then keeps going after GSAP lets go, which shows as a
   late lurch. Transform belongs to GSAP on these elements, so it leaves the transition list here
   (background, border and box-shadow transitions stay). */
:is(.jsws-reveal, .jsws-reveal-left, .jsws-reveal-right, .jsws-intro, .jsws-pop, .jsws-price-card, .jsws-grow),
.jsws-reveal-stagger > * { transition-property: background, border, box-shadow; }

/* The fee inside a comparison cell is green (hook class jsws-fee-green on the paragraph). */
.jsws-fee-green .ftl-fee, .jsws-fee-green span { color: var(--ftl-green); }

/* SplitText line masks: the padding keeps italic descenders inside the mask, the matching negative
   margin keeps the headline exactly as tall as it is unsplit, so nothing below moves when the split
   is reverted at the end of the intro. */
.jsws-line { padding-bottom: .06em; }
:has(> .jsws-line) { margin-bottom: -.06em; }

@media (prefers-reduced-motion: reduce) {
	.ftl-faq, .ftl-faq__q::after, .ftl-select__list, .ftl-select__chevron, .ftl-drawer, .ftl-drawer__close, .elementor-location-header { transition: none; }
	.ftl-drawer.is-open .ftl-drawer__item, .ftl-drawer.is-open .ftl-drawer__footer { animation: none; }
}
