/* ==========================================================================
   Elevation Sections
   Fonts are never set here: everything inherits your theme (BeTheme) fonts.
   Colors come from the theme or from the block editor's Color panel.
   ========================================================================== */

/* ---------- Tokens ---------- */
.elv-section {
	--elv-max: 1200px;
	--elv-pad-x: 20px;
	--elv-pad-y: clamp(64px, 8vw, 112px);
	--elv-gap: clamp(40px, 5vw, 64px);
	--elv-accent: var(--elv-theme-accent, #111111);
	--elv-accent-text: #ffffff;
	--elv-line: color-mix(in srgb, currentColor 18%, transparent);
	--elv-line-strong: color-mix(in srgb, currentColor 45%, transparent);
	--elv-tint: color-mix(in srgb, currentColor 6%, transparent);
	--elv-ph: #d9d9d9;
}

/* ---------- Section shell ---------- */
.elv-section {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: var(--elv-gap);
	margin: 0;
	padding: var(--elv-pad-y) max(var(--elv-pad-x), calc((100% - var(--elv-max)) / 2));
}

.elv-section *,
.elv-section *::before,
.elv-section *::after {
	box-sizing: border-box;
}

/* Full-bleed on the front end, even inside BeTheme's boxed content wrapper. */
.elv-section.alignfull:not(.editor-styles-wrapper .elv-section) {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

body:has(.elv-section.alignfull) {
	overflow-x: clip;
}

/* Consecutive sections sit flush. */
.elv-section + .elv-section {
	margin-top: 0;
}

/* Spacing is owned by the section: reset theme margins on direct children. */
.elv-section > *,
.elv-section .wp-block-group > *,
.elv-section .wp-block-cover__inner-container > * {
	margin: 0;
}

.elv-section :is(h1, h2, h3, h4, h5, h6, p, ul, ol, figure, hr) {
	margin: 0;
}

/* Groups use WordPress's vertical flex ("Stack") layout; keep items from wrapping,
   and let flex/grid children shrink so sliders and tab rows never widen the page. */
.elv-section.wp-block-group,
.elv-section .wp-block-group { flex-wrap: nowrap; }
.elv-section > *,
.elv-section .wp-block-group > * { min-width: 0; }

/* Custom text color on a section or group flows through to headings and text. */
.elv-section.has-text-color :is(h1, h2, h3, h4, h5, h6, p, li, summary, td, th),
.elv-section .has-text-color :is(h1, h2, h3, h4, h5, h6, p, li, summary, td, th),
.elv-section.elv-on-dark :is(h1, h2, h3, h4, h5, h6, p, li, summary, td, th) {
	color: inherit;
}

/* ---------- Type scale (families stay the theme's) ---------- */
.elv-section h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.1; }
.elv-section h2 { font-size: clamp(1.875rem, 3.6vw, 3rem); line-height: 1.15; }
.elv-section h3 { font-size: clamp(1.375rem, 2.2vw, 2rem); line-height: 1.2; }
.elv-section h4 { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.3; }
.elv-section h5 { font-size: 1.0625rem; line-height: 1.35; }

.elv-section .elv-tagline { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.01em; }
.elv-section .elv-lead { font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.6; }
.elv-section .elv-small { font-size: 0.9375rem; line-height: 1.6; }
.elv-section .elv-fineprint { font-size: 0.75rem; opacity: 0.8; }
.elv-section .elv-role { font-size: 0.9375rem; opacity: 0.8; }
.elv-section .elv-center { text-align: center; }
.elv-section .elv-right { text-align: right; }

/* ---------- Stacks (vertical rhythm) ---------- */
.elv-section .elv-stack { --elv-s: 1.25rem; }
.elv-section .elv-stack--tight { --elv-s: 0.625rem; }
.elv-section .elv-stack--xs { --elv-s: 0.25rem; }
.elv-section .elv-stack--loose { --elv-s: 2.5rem; }

.elv-section .elv-stack > * + * { margin-top: var(--elv-s); }
.elv-section .elv-stack > .elv-tagline + * { margin-top: 0.75rem; }
.elv-section .elv-stack > * + .wp-block-buttons { margin-top: max(var(--elv-s), 2rem); }
.elv-section .elv-stack--tight > * + .wp-block-buttons,
.elv-section .elv-stack--xs > * + .wp-block-buttons { margin-top: 0.75rem; }

/* ---------- Headers ---------- */
.elv-section .elv-header { max-width: 760px; }
.elv-section .elv-header--center { align-self: center; text-align: center; margin-inline: auto; }
.elv-section .elv-header--center .wp-block-buttons { justify-content: center; }

.elv-section .elv-header-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.elv-section .elv-header-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px var(--elv-gap);
	align-items: end;
}

/* ---------- Buttons ----------
   Colors use !important so theme button styles (BeTheme etc.) can't override them,
   but every rule is skipped once you pick a color for a button in the editor
   (.has-background / .has-text-color), so your choices always win. */
.elv-section .wp-block-buttons { gap: 12px; }
.elv-section .elv-buttons-center,
.elv-section .elv-center .wp-block-buttons { justify-content: center; }
.elv-section .elv-buttons-full .wp-block-button { width: 100%; }
.elv-section .elv-buttons-full .wp-block-button__link { width: 100%; }

.elv-section .wp-block-button .wp-block-button__link {
	display: inline-block;
	border: 1px solid transparent !important;
	border-radius: 0 !important;
	padding: 0.8em 1.6em !important;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: opacity 0.15s ease;
}
.elv-section .wp-block-button .wp-block-button__link:hover { opacity: 0.85; }

.elv-section .wp-block-button:not(.is-style-outline):not(.is-style-elv-link) .wp-block-button__link:not(.has-background) {
	background-color: var(--elv-accent) !important;
}
.elv-section .wp-block-button:not(.is-style-outline):not(.is-style-elv-link) .wp-block-button__link:not(.has-text-color) {
	color: var(--elv-accent-text) !important;
}

.elv-section .wp-block-button.is-style-outline .wp-block-button__link { border-color: currentColor !important; }
.elv-section .wp-block-button:is(.is-style-outline, .is-style-elv-link) .wp-block-button__link:not(.has-background) { background: transparent !important; }
.elv-section .wp-block-button:is(.is-style-outline, .is-style-elv-link) .wp-block-button__link:not(.has-text-color) { color: inherit !important; }

.elv-section .wp-block-button.is-style-elv-link .wp-block-button__link { padding-inline: 0.25em !important; }
.elv-section .wp-block-button.is-style-elv-link .wp-block-button__link::after {
	content: "";
	display: inline-block;
	width: 0.45em;
	height: 0.45em;
	margin-left: 0.6em;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: translateY(-0.1em) rotate(45deg);
}

/* Solid buttons on dark backgrounds flip to white. */
.elv-section.elv-on-dark .wp-block-button:not(.is-style-outline):not(.is-style-elv-link) .wp-block-button__link:not(.has-background) { background-color: #ffffff !important; }
.elv-section.elv-on-dark .wp-block-button:not(.is-style-outline):not(.is-style-elv-link) .wp-block-button__link:not(.has-text-color) { color: #111111 !important; }

/* ---------- Media ---------- */
.elv-section .elv-media { width: 100%; }
.elv-section .elv-media img,
.elv-section .elv-media video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: var(--elv-ar, auto);
	object-fit: cover;
	background: var(--elv-ph);
}
.elv-section .elv-media--square { --elv-ar: 1 / 1; }
.elv-section .elv-media--portrait { --elv-ar: 4 / 5; }
.elv-section .elv-media--landscape { --elv-ar: 3 / 2; }

.elv-section .elv-media--fill,
.elv-section .elv-media--fill img { height: 100%; }
.elv-section .elv-media--fill img { min-height: 420px; }

.elv-section .elv-video:not(:has(video)) { aspect-ratio: 1 / 1; background: #7a7a7a; }

.elv-section .elv-icon { width: fit-content; }
.elv-section .elv-icon img { display: block; width: 32px; height: 32px; object-fit: contain; }
.elv-section .elv-center .elv-icon { margin-inline: auto; }
.elv-section.elv-on-dark .elv-icon img { filter: invert(1); }

.elv-section .elv-avatar { width: fit-content; flex: none; }
.elv-section .elv-avatar img { display: block; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.elv-section .elv-avatar--lg img { width: 88px; height: 88px; }
.elv-section .elv-center .elv-avatar { margin-inline: auto; }

.elv-section .elv-logo { width: fit-content; }
.elv-section .elv-logo img { display: block; height: 28px; width: auto; }

/* ---------- Lists & rules ---------- */
.elv-section .elv-bullets { padding-left: 1.25em; list-style: disc; }
.elv-section .elv-bullets li + li { margin-top: 0.5em; }

.elv-section .elv-checklist { list-style: none; padding: 0; text-align: left; }
.elv-section .elv-checklist li {
	position: relative;
	padding-left: 28px;
	font-size: 0.9375rem;
	line-height: 1.5;
}
.elv-section .elv-checklist li + li { margin-top: 0.6em; }
.elv-section .elv-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.elv-section .elv-rule {
	width: 100%;
	height: 0;
	border: 0;
	border-top: 1px solid var(--elv-line);
	background: none;
	opacity: 1;
}

/* ---------- Grids & splits ---------- */
.elv-section .elv-grid,
.elv-section.elv-grid {
	display: grid;
	gap: 24px;
}
.elv-section .elv-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.elv-section .elv-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.elv-section .elv-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.elv-section .elv-grid--auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.elv-section.elv-split,
.elv-section .elv-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--elv-gap) clamp(40px, 6vw, 96px);
	align-items: center;
}
.elv-section.elv-split--top,
.elv-section .elv-split--top { align-items: start; }
.elv-section.elv-split--end { align-items: end; }
.elv-section.elv-split--1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }

/* Image bleeds to the section edge. */
.elv-section.elv-split--flush { padding-block: 0; align-items: stretch; }
.elv-section.elv-split--flush:not(.elv-split--media-right) { padding-left: 0; }
.elv-section.elv-split--flush.elv-split--media-right { padding-right: 0; }
.elv-section.elv-split--flush > :not(.elv-media) { padding-block: var(--elv-pad-y); align-self: center; }

.elv-section .elv-sticky { position: sticky; top: 120px; }

/* ---------- Cards ---------- */
.elv-section .elv-card {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding: clamp(20px, 2.5vw, 32px);
	border: 1px solid var(--elv-line-strong);
}
.elv-section .elv-card > * { margin: 0; }
.elv-section .elv-card--flush { padding: 0; gap: 0; overflow: hidden; }
.elv-section .elv-card__body { padding: clamp(20px, 2.5vw, 32px); }
.elv-section .elv-card--flush .elv-card__media { margin-top: auto; }
.elv-section .elv-card--row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.elv-section .elv-card--row .elv-card__media { margin: 0; height: 100%; }
.elv-section .elv-card--row .elv-card__media img { height: 100%; min-height: 220px; }
.elv-section .elv-card--row .elv-card__body { align-self: center; }
.elv-section .elv-media--grow { flex: 1; display: flex; }
.elv-section .elv-media--grow img { height: 100%; min-height: 240px; }

/* ---------- Hero ---------- */
.elv-section.elv-hero-split { min-height: min(88vh, 860px); }
.elv-section.elv-hero-split h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }

.wp-block-cover.elv-section {
	padding: var(--elv-pad-y) max(var(--elv-pad-x), calc((100% - var(--elv-max)) / 2));
	align-items: center;
}
.wp-block-cover.elv-section .wp-block-cover__inner-container {
	width: 100%;
	max-width: none;
	margin: 0;
}
/* Ignore theme max-widths on cover content; our own widths follow. */
.wp-block-cover.elv-section .wp-block-cover__inner-container > * {
	width: auto;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.wp-block-cover.elv-section .wp-block-cover__inner-container > .elv-hero-banner__content { max-width: 640px !important; }
.wp-block-cover.elv-section .wp-block-cover__inner-container > .elv-cta { max-width: 720px !important; margin-inline: auto !important; }
.wp-block-cover.elv-section .wp-block-cover__inner-container > .elv-cta-form { max-width: 560px !important; }
.wp-block-cover.elv-section .wp-block-cover__inner-container :is(h1, h2, h3, h4, h5, h6, p) { max-width: none; }
.elv-section.elv-hero-banner h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }

/* ---------- Timeline ---------- */
.elv-section .elv-timeline__item {
	position: relative;
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 24px;
	padding-bottom: 48px;
}
.elv-section .elv-timeline__item:last-child { padding-bottom: 0; }
.elv-section .elv-timeline__item:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 19.5px;
	top: 48px;
	bottom: 8px;
	width: 1px;
	background: currentColor;
}
.elv-section .elv-timeline__item .elv-icon { margin-inline: auto; }

/* ---------- Feature list ---------- */
.elv-section .elv-feature-list { display: flex; flex-direction: column; gap: 32px; }
.elv-section .elv-feature { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; }
.elv-section .elv-feature .elv-stack > * + .wp-block-buttons { margin-top: 0.25rem; }

/* ---------- Orbit (icons around image) ---------- */
.elv-section .elv-orbit {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
}
.elv-section .elv-orbit__col { display: flex; flex-direction: column; gap: 48px; }

/* ---------- Values banner ---------- */
.elv-section .elv-values {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 64px clamp(40px, 6vw, 96px);
}
.elv-section .elv-values > :last-child { grid-column: 2; grid-row: 2; }

/* ---------- Divided list ---------- */
.elv-section .elv-divided > * { padding-block: 24px; border-bottom: 1px solid var(--elv-line-strong); }
.elv-section .elv-divided > :first-child { padding-top: 0; }

/* ---------- Quote / testimonial ---------- */
.elv-section .elv-stars { font-size: 1.125rem; letter-spacing: 0.15em; line-height: 1; }
.elv-section .elv-quote { font-size: 1rem; line-height: 1.6; }
.elv-section .elv-quote--lg { font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 600; line-height: 1.45; }
.elv-section .elv-attribution { display: flex; flex-direction: row; align-items: center; gap: 20px; }
.elv-section .elv-attribution > * + * { padding-left: 20px; border-left: 1px solid var(--elv-line-strong); }

.elv-section .elv-person { display: flex; flex-direction: row; align-items: center; gap: 12px; }
.elv-section .elv-person p { font-size: 0.875rem; line-height: 1.4; }
.elv-section .elv-testimonial { justify-content: flex-start; }
.elv-section .elv-testimonial .elv-person { margin-top: auto; }

/* ---------- Big numbered steps ---------- */
.elv-section .elv-numbered { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px); }
.elv-section .elv-numbered__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 24px clamp(32px, 5vw, 80px);
	padding-top: 24px;
	border-top: 1px solid var(--elv-line-strong);
	align-items: center;
}
.elv-section .elv-bignum { font-size: clamp(4.5rem, 11vw, 9rem); font-weight: 700; line-height: 0.9; letter-spacing: -0.03em; }

/* ---------- Pricing ---------- */
.elv-section .elv-price { font-size: 1rem; line-height: 1; }
.elv-section .elv-price strong { font-size: clamp(2.25rem, 3.5vw, 3rem); font-weight: 700; letter-spacing: -0.02em; }
.elv-section .elv-price-sm strong { font-size: 1rem; }
.elv-section .elv-price-card .elv-buttons-full,
.elv-section .elv-plan-card .elv-checklist { margin-top: auto; }
.elv-section .elv-plan-card .elv-buttons-full { margin-top: 0; }
.elv-section .elv-plan-card .elv-checklist { margin-top: 0.5rem; }

.elv-billing__switch {
	display: inline-flex;
	align-self: center;
	border: 1px solid var(--elv-line-strong);
	padding: 3px;
	gap: 3px;
}
.elv-section button.elv-billing__btn {
	margin: 0;
	padding: 0.55em 1.2em !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: inherit !important;
	font: inherit;
	font-size: 0.875rem;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: none;
}
.elv-section button.elv-billing__btn[aria-pressed="true"] { background: var(--elv-accent) !important; color: var(--elv-accent-text) !important; }

.elv-js .elv-billing:not(.is-yearly) .elv-price--yearly,
.elv-js .elv-billing.is-yearly .elv-price--monthly { display: none; }

/* Comparison table */
.elv-section .elv-compare__head,
.elv-section .elv-compare__table table { --elv-cols: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }
.elv-section .elv-compare__head { display: grid; grid-template-columns: var(--elv-cols); gap: 16px; align-items: end; }
.elv-section .elv-compare__corner { opacity: 0; }
.elv-section .elv-compare__cat { margin-top: 40px; padding-bottom: 12px; border-bottom: 1px solid var(--elv-line-strong); }
.elv-section .elv-compare__table { margin: 0; overflow-x: auto; }
.elv-section .elv-compare__table table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 0; }
.elv-section .elv-compare__table td {
	padding: 14px 8px;
	border: 0;
	border-bottom: 1px solid var(--elv-line);
	font-size: 0.9375rem;
	text-align: center;
	background: transparent;
}
.elv-section .elv-compare__table td:first-child { width: 40%; text-align: left; }
.elv-section .elv-compare { display: flex; flex-direction: column; }

/* ---------- Tabs ---------- */
.elv-section .elv-tabs__tab {
	cursor: pointer;
	padding: 14px 20px;
	font-weight: 500;
	line-height: 1.3;
	user-select: none;
}
.elv-section .elv-tabs__tab.is-active { font-weight: 700; background: var(--elv-tint); }
.elv-section .elv-tabs__tab:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
.elv-section .elv-tabs__panels { display: flex; flex-direction: column; gap: 24px; }
.elv-js .elv-tabs__panel:not(.is-active) { display: none; }

.elv-section .elv-tabs--top .elv-tabs__nav {
	display: flex;
	flex-direction: row;
	border: 1px solid var(--elv-line-strong);
	overflow-x: auto;
	scrollbar-width: none;
}
.elv-section .elv-tabs--top .elv-tabs__tab { flex: 1 0 auto; text-align: center; white-space: nowrap; }
.elv-section .elv-tabs--top .elv-tabs__tab + .elv-tabs__tab { border-left: 1px solid var(--elv-line-strong); }
.elv-section .elv-tabs--top .elv-tabs__panel {
	padding: clamp(20px, 3vw, 40px);
	border: 1px solid var(--elv-line-strong);
	border-top: 0;
}

.elv-section .elv-tabs--side {
	display: grid;
	grid-template-columns: minmax(200px, 1fr) minmax(0, 2fr);
	border: 1px solid var(--elv-line-strong);
}
.elv-section .elv-tabs--side .elv-tabs__nav { display: flex; flex-direction: column; border-right: 1px solid var(--elv-line-strong); }
.elv-section .elv-tabs--side .elv-tabs__tab { border-bottom: 1px solid var(--elv-line-strong); font-weight: 600; }
.elv-section .elv-tabs--side .elv-tabs__tab:last-child { border-bottom: 0; }
.elv-section .elv-tabs--side .elv-tabs__panel { padding: clamp(24px, 4vw, 48px); align-self: center; }

/* ---------- Horizontal accordion ---------- */
.elv-section .elv-hacc { display: flex; flex-direction: column; border: 1px solid var(--elv-line-strong); }
.elv-section .elv-hacc__item + .elv-hacc__item { border-top: 1px solid var(--elv-line-strong); }
.elv-section .elv-hacc__tab { display: flex; flex-direction: row; gap: 16px; align-items: center; padding: 18px 20px; cursor: pointer; user-select: none; }
.elv-section .elv-hacc__num { font-size: 0.875rem; }
.elv-section .elv-hacc__label { font-weight: 700; font-size: 1.125rem; }
.elv-section .elv-hacc__body { padding: 0 20px 24px; }
.elv-js .elv-hacc__item:not(.is-active) .elv-hacc__body { display: none; }

@media (min-width: 782px) {
	.elv-js .elv-section .elv-hacc { flex-direction: row; min-height: 540px; }
	.elv-js .elv-section .elv-hacc__item { display: flex; flex-direction: row; flex: 0 0 auto; }
	.elv-js .elv-section .elv-hacc__item + .elv-hacc__item { border-top: 0; border-left: 1px solid var(--elv-line-strong); }
	.elv-js .elv-section .elv-hacc__item.is-active { flex: 1 1 auto; }
	.elv-js .elv-section .elv-hacc__tab {
		width: 72px;
		flex-direction: column;
		justify-content: space-between;
		padding: 24px 0;
	}
	.elv-js .elv-section .elv-hacc__label { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
	.elv-js .elv-section .elv-hacc__body { flex: 1; padding: 24px 32px 32px 8px; }
	.elv-js .elv-section .elv-hacc__body .elv-media { max-width: 640px; }
}

/* ---------- Sliders ---------- */
.elv-section .elv-slider { --elv-slide: calc((100% - 48px) / 3.25); min-width: 0; }
.elv-section .elv-slider--cards { --elv-slide: calc((100% - 48px) / 2.6); }
.elv-section .elv-slider--gallery { --elv-slide: calc((100% - 24px) / 2.15); }
.elv-section .elv-slider--single { --elv-slide: 100%; }

.elv-section .elv-slider__track {
	display: flex;
	flex-direction: row;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.elv-section .elv-slider__track::-webkit-scrollbar { display: none; }
.elv-section .elv-slider__track > * { flex: 0 0 var(--elv-slide); scroll-snap-align: start; }
.elv-section .elv-product { display: flex; flex-direction: column; gap: 16px; }

.elv-slider__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.elv-slider__dots { display: flex; gap: 6px; }
.elv-slider__arrows { display: flex; gap: 10px; margin-left: auto; }

.elv-section button.elv-slider__arrow,
.elv-section button.elv-slider__dot {
	margin: 0;
	padding: 0 !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	cursor: pointer;
	color: inherit !important;
	min-width: 0;
	min-height: 0;
	font: inherit;
	line-height: 1;
}
.elv-section button.elv-slider__arrow {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	background: transparent !important;
	border: 1px solid currentColor !important;
}
.elv-section button.elv-slider__arrow:disabled { opacity: 0.35; cursor: default; }
.elv-section button.elv-slider__arrow svg { width: 16px; height: 16px; }
.elv-section button.elv-slider__dot {
	width: 8px;
	height: 8px;
	border: 0 !important;
	background: currentColor !important;
	opacity: 0.25;
}
.elv-section button.elv-slider__dot[aria-current="true"] { opacity: 1; }

/* ---------- Bento layouts ---------- */
.elv-section .elv-bento-goals {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px;
}
.elv-section .elv-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.elv-section .elv-bento__col { display: flex; flex-direction: column; gap: 24px; }
.elv-section .elv-bento__col > .elv-card:last-child { flex: 1; }
.elv-section .elv-bento__col > .elv-card:first-child:not(.elv-card--row) { flex: 1; }

/* ---------- Stats ---------- */
.elv-section .elv-stats { gap: 40px 32px; }
.elv-section .elv-stat { padding-left: 24px; border-left: 1px solid var(--elv-line-strong); }
.elv-section .elv-stats--plain .elv-stat { padding-left: 0; border-left: 0; }
.elv-section .elv-stat__num { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.02em; }
.elv-section .elv-stat__label { margin-top: 12px; font-size: 0.9375rem; font-weight: 500; }
.elv-section .elv-stat-card .elv-stat__num { font-size: clamp(2.5rem, 4.5vw, 3.75rem); }
.elv-section .elv-stat-card .elv-rule { border-top-color: var(--elv-line-strong); }

/* ---------- Team ---------- */
.elv-section .elv-grid--4:has(> .elv-member) { gap: 48px 24px; }
.elv-section .elv-member > * + * { margin-top: 12px; }
.elv-section .elv-member-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.elv-section .elv-hiring { max-width: 560px; }
.elv-section .elv-hiring.elv-center { align-self: center; }

.elv-section .elv-social { gap: 12px; margin: 0; padding: 0; }
.elv-section .elv-center .elv-social { justify-content: center; }
.elv-section .elv-social .wp-social-link { background: transparent; font-size: 18px; }
.elv-section .elv-social:not(.has-icon-color) .wp-social-link { color: currentColor; }
.elv-section .elv-social .wp-social-link a { padding: 0; }

/* ---------- FAQ ---------- */
.elv-section .elv-faq__item { border-bottom: 1px solid var(--elv-line-strong); }
.elv-section .elv-faq__item:first-child { border-top: 1px solid var(--elv-line-strong); }
.elv-section .elv-faq__item summary {
	position: relative;
	padding: 20px 40px 20px 0;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.elv-section .elv-faq__item summary::-webkit-details-marker { display: none; }
.elv-section .elv-faq__item summary::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.2s ease;
}
.elv-section .elv-faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.elv-section .elv-faq__item > p { padding-bottom: 20px; font-size: 0.9375rem; line-height: 1.6; }

.elv-section .elv-faq-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 12px 48px;
	padding-block: 24px;
	border-top: 1px solid var(--elv-line-strong);
}
.elv-section .elv-faq-row:last-child { border-bottom: 1px solid var(--elv-line-strong); }
.elv-section .elv-faq-grid { gap: 48px clamp(32px, 5vw, 64px); }

/* ---------- CTA ---------- */
.elv-section .elv-cta { max-width: 720px; margin-inline: auto; align-self: center; }
.elv-section .elv-cta-form { max-width: 560px; }

/* ---------- Forms (styles any form plugin placed inside .elv-form) ---------- */
.elv-section .elv-form { width: 100%; }
.elv-section .elv-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], input[type="date"], select, textarea) {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0.75em 0.9em;
	border: 1px solid var(--elv-line-strong);
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	box-shadow: none;
}
.elv-section .elv-form textarea { min-height: 140px; }
.elv-section .elv-form label { display: block; margin-bottom: 6px; font-size: 0.875rem; }
.elv-section .elv-form :is(input[type="submit"], button[type="submit"], .wpforms-submit, .gform_button, .ff-btn-submit) {
	width: auto;
	margin: 0;
	padding: 0.85em 1.8em;
	border: 0;
	border-radius: 0;
	background: var(--elv-accent);
	color: var(--elv-accent-text);
	font: inherit;
	font-weight: 500;
	cursor: pointer;
}
.elv-section.elv-on-dark .elv-form :is(input[type="submit"], button[type="submit"], .wpforms-submit, .gform_button, .ff-btn-submit) { background: #ffffff; color: #111111; }
.elv-section .elv-form-placeholder {
	padding: 24px;
	border: 1px dashed var(--elv-line-strong);
	font-size: 0.875rem;
	line-height: 1.5;
	opacity: 0.8;
}

/* ---------- Locations & contact ---------- */
.elv-section .elv-locations { display: flex; flex-direction: column; gap: 8px; }
.elv-section .elv-location {
	padding: 16px 0 16px 24px;
	border-left: 2px solid transparent;
	cursor: pointer;
	transition: border-color 0.2s ease;
}
.elv-section .elv-location.is-active,
.elv-section .elv-locations:not(:has(.is-active)) > .elv-location:first-child { border-left-color: currentColor; }

.elv-section .elv-contact-list { display: flex; flex-direction: column; gap: 12px; }
.elv-section .elv-contact-row { display: flex; flex-direction: row; align-items: center; gap: 12px; }
.elv-section .elv-contact-row .elv-icon img { width: 20px; height: 20px; }
.elv-section .elv-contact-row p { font-size: 0.9375rem; }

/* ==========================================================================
   Block editor: show every tab, slide and panel so all content is editable.
   ========================================================================== */
.editor-styles-wrapper .elv-section .elv-slider__track { flex-wrap: wrap; overflow: visible; }
.editor-styles-wrapper .elv-section .elv-slider__track > * { flex: 0 0 calc((100% - 48px) / 3); }
.editor-styles-wrapper .elv-section .elv-slider--single .elv-slider__track > * { flex-basis: 100%; }
.editor-styles-wrapper .elv-section .elv-price--yearly::before { content: "Yearly: "; font-size: 0.75rem; }
.editor-styles-wrapper .elv-section .wp-block { max-width: none; margin-left: 0; margin-right: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.elv-section .elv-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.elv-section .elv-bento-goals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.elv-section .elv-bento-goals > :first-child { grid-column: 1 / -1; }
	.elv-section .elv-slider { --elv-slide: calc((100% - 24px) / 2.2); }
	.elv-section .elv-slider--cards { --elv-slide: calc((100% - 24px) / 1.8); }
	.elv-section .elv-slider--single { --elv-slide: 100%; }
}

@media (max-width: 900px) {
	.elv-section.elv-split,
	.elv-section .elv-split,
	.elv-section.elv-split--1-2,
	.elv-section .elv-header-split,
	.elv-section .elv-values,
	.elv-section .elv-bento,
	.elv-section .elv-numbered__item,
	.elv-section .elv-tabs--side { grid-template-columns: minmax(0, 1fr); }

	.elv-section .elv-values > :last-child { grid-column: auto; grid-row: auto; }
	.elv-section .elv-values { gap: 24px; }
	.elv-section.elv-hero-split { min-height: 0; }
	.elv-section .elv-sticky { position: static; }

	.elv-section.elv-split--flush { padding: 0 0 var(--elv-pad-y); }
	.elv-section.elv-split--flush.elv-split--media-right { padding: var(--elv-pad-y) 0 0; }
	.elv-section.elv-split--flush > :not(.elv-media) { padding: 0 var(--elv-pad-x); }
	.elv-section.elv-split--flush.elv-split--media-right > :not(.elv-media) { padding-bottom: 0; }
	.elv-section .elv-media--fill,
	.elv-section .elv-media--fill img { height: auto; }
	.elv-section .elv-media--fill img { min-height: 0; aspect-ratio: 4 / 3; }

	.elv-section .elv-orbit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.elv-section .elv-orbit__media { grid-column: 1 / -1; order: -1; max-width: 480px; margin-inline: auto; }

	.elv-section .elv-tabs--side .elv-tabs__nav { display: flex; flex-direction: row; overflow-x: auto; scrollbar-width: none; border-right: 0; border-bottom: 1px solid var(--elv-line-strong); }
	.elv-section .elv-tabs--side .elv-tabs__tab { flex: 0 0 auto; white-space: nowrap; border-bottom: 0; border-right: 1px solid var(--elv-line-strong); }

	.elv-section .elv-faq-row { grid-template-columns: minmax(0, 1fr); }
	.elv-section .elv-bignum { font-size: clamp(3.5rem, 16vw, 5rem); }
}

@media (max-width: 781px) {
	.elv-section .elv-grid--2,
	.elv-section .elv-grid--3,
	.elv-section .elv-grid--4,
	.elv-section .elv-bento-goals { grid-template-columns: minmax(0, 1fr); }

	.elv-section .elv-grid--4:has(> .elv-member),
	.elv-section .elv-stats,
	.elv-section .elv-grid--2:has(> .elv-stat-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.elv-section .elv-card--row { grid-template-columns: minmax(0, 1fr); }
	.elv-section .elv-card--row .elv-card__media img { min-height: 0; aspect-ratio: 3 / 2; }

	.elv-section .elv-slider,
	.elv-section .elv-slider--cards,
	.elv-section .elv-slider--gallery { --elv-slide: 82%; }
	.elv-section .elv-slider--single { --elv-slide: 100%; }

	.elv-section .elv-compare__head { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.elv-section .elv-compare__corner { display: none; }
	.elv-section .elv-compare__head .elv-price strong { font-size: 1.75rem; }
	.elv-section .elv-compare__head .wp-block-button__link { padding-inline: 0.5em !important; font-size: 0.8125rem; }
	.elv-section .elv-compare__table td { font-size: 0.8125rem; padding: 12px 4px; }
	.elv-section .elv-compare__table td:first-child { width: 34%; }

	.elv-section .elv-header-row { flex-direction: column; align-items: flex-start; }
	.elv-section .elv-attribution { flex-wrap: wrap; }
	.elv-section .elv-attribution > * + * { padding-left: 0; border-left: 0; }
}

@media (max-width: 560px) {
	.elv-section .elv-grid--2:has(> .elv-stat-card) { grid-template-columns: minmax(0, 1fr); }
	.elv-section .elv-stats { gap: 32px 20px; }
	.elv-section .elv-stat { padding-left: 16px; }
	.elv-section .elv-member-row { grid-template-columns: minmax(0, 1fr); }
	.elv-section .elv-orbit { grid-template-columns: minmax(0, 1fr); }
	.elv-section .wp-block-buttons:not(.elv-buttons-full) .wp-block-button:not(.is-style-elv-link) { flex: 0 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
	.elv-section .elv-slider__track { scroll-behavior: auto; }
}
