/*
Theme Name: SIMAB
Theme URI: https://simab.ca
Description: Thème SIMAB — Solutions Informatique M.A.B. Thème enfant de Twenty Twenty-Five avec l'identité visuelle SIMAB.
Author: SIMAB
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simab
*/

/* =========================================================
   SIMAB design layer
   Tokens mirror theme.json — keep the two in sync.
   ========================================================= */
:root {
	--sb-navy: #0A1B2E;
	--sb-navy-2: #0F2740;
	--sb-blue: #1B4FD8;
	--sb-blue-dark: #143CA6;
	--sb-sky: #EAF1FF;
	--sb-surface: #F7F9FC;
	--sb-sand: #F6F3EC;
	--sb-ink: #14263B;
	--sb-muted: #55657A;
	--sb-line: #E3E9F2;
	--sb-success: #12996B;
	--sb-radius: 20px;
	--sb-radius-lg: 28px;
	--sb-shadow-sm: 0 1px 2px rgba(10, 27, 46, .06), 0 4px 12px rgba(10, 27, 46, .05);
	--sb-shadow-md: 0 2px 4px rgba(10, 27, 46, .05), 0 12px 32px rgba(10, 27, 46, .10);
	--sb-shadow-lg: 0 4px 8px rgba(10, 27, 46, .06), 0 24px 64px rgba(10, 27, 46, .16);
	--sb-ease: cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

/* Accessible focus ring everywhere */
a:focus-visible, button:focus-visible, .wp-element-button:focus-visible, input:focus-visible {
	outline: 3px solid var(--sb-blue);
	outline-offset: 2px;
	border-radius: 6px;
}

/* =========================================================
   Header
   ========================================================= */
/* Sticky must live on the template-part <header> wrapper: the inner group
   alone has no scroll room inside its own wrapper. */
header.wp-block-template-part:has(> .sb-header),
.wp-site-blocks > header:has(.sb-header) {
	position: sticky;
	top: 0;
	z-index: 100;
}
.sb-header {
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid var(--sb-line);
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.sb-header-inner {
	min-height: 76px;
	gap: 24px;
}

.sb-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--sb-ink);
}
.sb-brand svg { width: 40px; height: 40px; flex: none; }
.sb-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.sb-brand-text strong {
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: .08em;
}
.sb-brand-text em {
	font-style: normal;
	font-size: .68rem;
	font-weight: 500;
	letter-spacing: .02em;
	color: var(--sb-muted);
}

.sb-header .wp-block-navigation a {
	font-weight: 600;
	font-size: .95rem;
	color: var(--sb-ink);
	padding: 6px 2px;
	position: relative;
}
.sb-header .wp-block-navigation a::after {
	content: "";
	position: absolute;
	left: 0; right: 100%; bottom: 0;
	height: 2px;
	background: var(--sb-blue);
	transition: right .25s var(--sb-ease);
}
.sb-header .wp-block-navigation a:hover::after,
.sb-header .wp-block-navigation .current-menu-item > a::after { right: 0; }
.sb-header .wp-block-navigation a:hover { color: var(--sb-blue); }

.sb-header-cta .wp-block-button__link {
	padding: 10px 22px;
	font-size: .92rem;
	box-shadow: 0 6px 16px rgba(27, 79, 216, .28);
}
.sb-header-actions { gap: 20px; }
.sb-header-tel {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: .93rem;
	font-variant-numeric: tabular-nums;
	color: var(--sb-ink);
	text-decoration: none;
	white-space: nowrap;
}
.sb-header-tel svg { width: 17px; height: 17px; color: var(--sb-blue); }
.sb-header-tel:hover { color: var(--sb-blue); }
.sb-lang-switch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	padding: 6px 10px;
	border: 1.5px solid var(--sb-line);
	border-radius: 999px;
	font-weight: 800;
	font-size: .78rem;
	letter-spacing: .08em;
	color: var(--sb-muted);
	text-decoration: none;
	transition: color .2s var(--sb-ease), border-color .2s var(--sb-ease);
}
.sb-lang-switch:hover { color: var(--sb-blue); border-color: var(--sb-blue); }
@media (max-width: 1080px) {
	.sb-header-tel { display: none; }
}
@media (max-width: 860px) {
	.sb-header-cta { display: none; }
	.sb-brand-text em { display: none; }
}

/* Mobile navigation overlay */
.wp-block-navigation__responsive-container.has-modal-open {
	background: var(--sb-navy) !important;
}
.wp-block-navigation__responsive-container.has-modal-open a { color: #fff; font-size: 1.35rem; }
.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open { color: var(--sb-ink); }
.wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-close { color: #fff; }

/* =========================================================
   Buttons
   ========================================================= */
.wp-block-button__link {
	transition: transform .2s var(--sb-ease), box-shadow .2s var(--sb-ease), background-color .2s var(--sb-ease), color .2s var(--sb-ease);
}
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button__link:active { transform: translateY(0); }

/* Ghost on dark backgrounds */
.sb-btn-ghost .wp-block-button__link {
	background: rgba(255, 255, 255, .08);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .35);
	box-shadow: none;
}
.sb-btn-ghost .wp-block-button__link:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); color: #fff; }

/* Light (white) button on dark backgrounds */
.sb-btn-light .wp-block-button__link {
	background: #fff;
	color: var(--sb-navy);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.sb-btn-light .wp-block-button__link:hover { background: var(--sb-sky); color: var(--sb-navy); }

/* Outline on light backgrounds */
.sb-btn-outline .wp-block-button__link {
	background: transparent;
	color: var(--sb-blue);
	border: 1.5px solid var(--sb-blue);
}
.sb-btn-outline .wp-block-button__link:hover { background: var(--sb-blue); color: #fff; }

/* =========================================================
   Shared section primitives
   ========================================================= */
.sb-eyebrow {
	font-family: "Fira Code", ui-monospace, monospace;
	font-size: .78rem;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--sb-blue);
}
.sb-on-dark .sb-eyebrow { color: #8FB3FF; }

.sb-section-title { max-width: 30ch; }
.sb-lede { color: var(--sb-muted); font-size: 1.15rem; max-width: 62ch; }
.sb-on-dark .sb-lede { color: rgba(255, 255, 255, .78); }

.sb-card {
	background: #fff;
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-radius);
	box-shadow: var(--sb-shadow-sm);
	transition: transform .25s var(--sb-ease), box-shadow .25s var(--sb-ease), border-color .25s var(--sb-ease);
}
.sb-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--sb-shadow-md);
	border-color: #CBD8EE;
}

.sb-icon-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px; height: 52px;
	border-radius: 14px;
	background: var(--sb-sky);
	color: var(--sb-blue);
	margin-bottom: 4px;
}
.sb-icon-chip svg { width: 26px; height: 26px; }

.sb-num {
	font-family: "Fira Code", ui-monospace, monospace;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .12em;
	color: var(--sb-muted);
}

/* Checkmark lists */
ul.sb-checks { list-style: none; padding-left: 0; margin-left: 0; }
ul.sb-checks li {
	position: relative;
	padding-left: 30px;
	margin-bottom: .55em;
	color: var(--sb-ink);
	font-size: .97rem;
	line-height: 1.5;
}
ul.sb-checks li::before {
	content: "";
	position: absolute;
	left: 0; top: 2px;
	width: 19px; height: 19px;
	border-radius: 50%;
	background: var(--sb-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B4FD8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* =========================================================
   Hero
   ========================================================= */
.sb-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(1100px 520px at 78% -10%, rgba(27, 79, 216, .55), transparent 62%),
		radial-gradient(900px 480px at 12% 112%, rgba(20, 60, 166, .5), transparent 60%),
		linear-gradient(180deg, var(--sb-navy) 0%, var(--sb-navy-2) 100%);
	color: #fff;
}
.sb-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 30%, transparent 75%);
	pointer-events: none;
}
.sb-hero > * { position: relative; }
.sb-hero h1 {
	color: #fff;
	font-size: clamp(2.4rem, 1.2rem + 4.2vw, 4.1rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.06;
	max-width: 21ch;
	margin-left: auto;
	margin-right: auto;
}
.sb-hero h1 .sb-hl {
	background: linear-gradient(92deg, #7EA8FF, #4DD7E8);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.sb-hero p { color: rgba(255, 255, 255, .82); }
.sb-hero .sb-lede { font-size: 1.18rem; }

.sb-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .22);
	background: rgba(255, 255, 255, .07);
	font-family: "Fira Code", ui-monospace, monospace;
	font-size: .74rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #B8CDFF;
}
.sb-hero-badge .dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #3DDC97;
	box-shadow: 0 0 0 4px rgba(61, 220, 151, .18);
}

.sb-hero .wp-block-button__link { padding: 14px 30px; font-size: 1.02rem; }

/* Trust bullets under the CTAs */
.sb-hero-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 28px;
	padding: 0;
	margin: 0;
	list-style: none;
	font-size: .9rem;
	color: rgba(255, 255, 255, .7);
}
.sb-hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.sb-hero-trust svg { width: 16px; height: 16px; color: #4DD7E8; flex: none; }

/* Stat strip */
.sb-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--sb-radius);
	overflow: hidden;
	max-width: 860px;
	margin: 0 auto;
}
.sb-stats > div {
	background: rgba(10, 27, 46, .55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	padding: 22px 18px;
	text-align: center;
}
.sb-stats strong {
	display: block;
	font-size: 1.7rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}
.sb-stats span { font-size: .85rem; color: rgba(255, 255, 255, .65); }
@media (max-width: 640px) {
	.sb-stats { grid-template-columns: 1fr; }
}

/* =========================================================
   Process / services cards
   ========================================================= */
.sb-process .wp-block-column.sb-card { padding: 30px 26px 26px; }
.sb-process h3 { font-size: 1.22rem; margin-top: 10px; }
.sb-process p { color: var(--sb-muted); font-size: .96rem; }
.sb-process .wp-block-button__link {
	background: transparent;
	color: var(--sb-blue);
	padding: 4px 0;
	border-radius: 4px;
	font-size: .93rem;
	box-shadow: none;
}
.sb-process .wp-block-button__link::after { content: " →"; transition: margin-left .2s var(--sb-ease); }
.sb-process .wp-block-button__link:hover { transform: none; color: var(--sb-blue-dark); }
.sb-process .wp-block-button__link:hover::after { margin-left: 4px; }

/* =========================================================
   About split
   ========================================================= */
.sb-about { background: var(--sb-surface); }
.sb-about img {
	border-radius: var(--sb-radius-lg);
	box-shadow: var(--sb-shadow-lg);
}
.sb-about figure { position: relative; }

/* =========================================================
   Testimonials
   ========================================================= */
.sb-testimonials { background: var(--sb-sand); }
.sb-quote { padding: 34px 32px 28px; position: relative; }
.sb-quote::before {
	content: "“";
	position: absolute;
	top: 2px; left: 22px;
	font-size: 5.2rem;
	line-height: 1;
	font-weight: 800;
	color: var(--sb-sky);
	pointer-events: none;
}
.sb-quote p { position: relative; color: var(--sb-ink); font-size: 1.02rem; line-height: 1.7; }
.sb-quote-author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
	font-weight: 700;
	font-size: .95rem !important;
	color: var(--sb-ink);
}
.sb-quote-author .sb-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	flex: none;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--sb-blue), #4DD7E8);
	color: #fff;
	font-weight: 800;
	font-size: .95rem;
	letter-spacing: .02em;
}
.sb-quote-author small { display: block; font-weight: 500; color: var(--sb-muted); }
.sb-quote-stars { color: #F5A623; letter-spacing: 2px; font-size: .95rem; }

/* =========================================================
   Pricing
   ========================================================= */
.sb-plans-grid { align-items: stretch; }
.sb-plan { padding: 34px 30px 30px; height: 100%; display: flex; flex-direction: column; }
.sb-plan h3 { font-size: 1.18rem; }
.sb-plan-kicker { font-size: .85rem; color: var(--sb-muted); margin-top: -6px; }
.sb-price { margin: 10px 0 2px; line-height: 1; }
.sb-price strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--sb-ink); }
.sb-price span { font-size: .92rem; color: var(--sb-muted); font-weight: 500; }
.sb-price-note { font-size: .8rem; color: var(--sb-muted); margin-bottom: 8px; }
.sb-plan hr {
	border: none;
	border-top: 1px solid var(--sb-line);
	margin: 16px 0;
}
.sb-plan ul.sb-checks { flex: 1; margin-bottom: 20px; }
.sb-plan ul.sb-checks li { font-size: .93rem; }
.sb-plan .wp-block-buttons { margin-top: auto; }
.sb-plan .wp-block-button, .sb-plan .wp-block-button__link { width: 100%; text-align: center; }

.sb-plan-featured {
	background: linear-gradient(180deg, var(--sb-navy) 0%, var(--sb-navy-2) 100%);
	border-color: var(--sb-navy);
	box-shadow: var(--sb-shadow-lg);
	position: relative;
}
.sb-plan-featured:hover { border-color: var(--sb-blue); }
.sb-plan-featured h3, .sb-plan-featured .sb-price strong { color: #fff; }
.sb-plan-featured .sb-plan-kicker, .sb-plan-featured .sb-price span, .sb-plan-featured .sb-price-note { color: rgba(255, 255, 255, .65); }
.sb-plan-featured hr { border-top-color: rgba(255, 255, 255, .15); }
.sb-plan-featured ul.sb-checks li { color: rgba(255, 255, 255, .88); }
.sb-plan-featured ul.sb-checks li::before {
	background-color: rgba(255, 255, 255, .12);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234DD7E8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.sb-plan-flag {
	position: absolute;
	top: -14px; left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(92deg, var(--sb-blue), #4DD7E8);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: 999px;
	white-space: nowrap;
	box-shadow: 0 6px 18px rgba(27, 79, 216, .4);
}
@media (max-width: 781px) {
	.sb-plan-featured { transform: none; }
}

/* =========================================================
   CTA / newsletter band
   ========================================================= */
.sb-band {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(800px 400px at 85% 120%, rgba(77, 215, 232, .28), transparent 60%),
		linear-gradient(120deg, var(--sb-blue-dark), var(--sb-blue));
	border-radius: var(--sb-radius-lg);
	color: #fff;
	box-shadow: var(--sb-shadow-lg);
}
.sb-band h2 { color: #fff; letter-spacing: -0.02em; }
.sb-band p { color: rgba(255, 255, 255, .85); }

/* =========================================================
   Page heroes (internal pages)
   ========================================================= */
.sb-page-hero {
	background:
		radial-gradient(900px 420px at 82% -20%, rgba(27, 79, 216, .5), transparent 62%),
		linear-gradient(180deg, var(--sb-navy) 0%, var(--sb-navy-2) 100%);
	color: #fff;
}
.sb-page-hero h1 {
	color: #fff;
	font-size: clamp(2.1rem, 1.2rem + 3vw, 3.2rem);
	font-weight: 800;
	letter-spacing: -0.025em;
}
.sb-page-hero p { color: rgba(255, 255, 255, .8); }

/* Service detail sections */
.sb-service { scroll-margin-top: 100px; }
.sb-service-alt { background: var(--sb-surface); }
.sb-service img { border-radius: var(--sb-radius-lg); box-shadow: var(--sb-shadow-md); }

/* Values cards (À propos) */
.sb-value { padding: 30px 26px; text-align: left; }
.sb-value h3 { font-size: 1.1rem; }
.sb-value p { color: var(--sb-muted); font-size: .95rem; }

/* Contact cards */
.sb-contact-card { padding: 32px 30px; }
.sb-contact-card h3 { font-size: 1.05rem; }
.sb-contact-card p { color: var(--sb-muted); font-size: .96rem; }
.sb-contact-card a { font-weight: 700; word-break: break-word; }

/* =========================================================
   Footer
   ========================================================= */
.sb-footer {
	background: linear-gradient(180deg, var(--sb-navy) 0%, #071322 100%);
	color: rgba(255, 255, 255, .75);
}
.sb-footer h2, .sb-footer h3 {
	color: #fff;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.sb-footer a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.sb-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sb-footer p { font-size: .93rem; }
.sb-footer ul { list-style: none; padding-left: 0; margin-left: 0; }
.sb-footer ul li { margin-bottom: .6em; font-size: .93rem; }
.sb-footer .sb-brand { color: #fff; margin-bottom: 10px; }
.sb-footer .sb-brand-text em { color: rgba(255, 255, 255, .55); }
.sb-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: .82rem;
	color: rgba(255, 255, 255, .5);
}
.sb-footer-bottom a { color: rgba(255, 255, 255, .6); }

/* =========================================================
   WooCommerce polish
   ========================================================= */
.woocommerce a.button, .woocommerce button.button, .wc-block-components-button {
	background-color: var(--sb-blue) !important;
	color: #fff !important;
	border-radius: 999px !important;
	font-weight: 600 !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .wc-block-components-button:hover {
	background-color: var(--sb-blue-dark) !important;
}
.woocommerce ul.products li.product {
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-radius);
	padding: 18px;
	box-shadow: var(--sb-shadow-sm);
	transition: box-shadow .25s var(--sb-ease), transform .25s var(--sb-ease);
}
.woocommerce ul.products li.product:hover { box-shadow: var(--sb-shadow-md); transform: translateY(-3px); }

/* =========================================================
   Expertise grid
   ========================================================= */
.sb-expertise-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	margin-top: 48px;
}
@media (max-width: 1080px) { .sb-expertise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sb-expertise-grid { grid-template-columns: 1fr; } }
.sb-exp {
	background: #fff;
	border: 1px solid var(--sb-line);
	border-radius: var(--sb-radius);
	box-shadow: var(--sb-shadow-sm);
	padding: 26px 24px 22px;
	transition: transform .25s var(--sb-ease), box-shadow .25s var(--sb-ease), border-color .25s var(--sb-ease);
}
.sb-exp:hover { transform: translateY(-4px); box-shadow: var(--sb-shadow-md); border-color: #CBD8EE; }
.sb-exp h3 { font-size: 1.02rem; margin: 14px 0 8px; font-weight: 700; letter-spacing: -0.01em; }
.sb-exp p { margin: 0; color: var(--sb-muted); font-size: .89rem; line-height: 1.55; }

a.sb-exp { display: block; text-decoration: none; color: inherit; }
a.sb-exp:hover h3 { color: var(--sb-blue); }
.sb-exp-more {
	display: inline-block;
	margin-top: 12px;
	color: var(--sb-blue);
	font-weight: 700;
	font-size: .85rem;
}

/* Dark hero variant of the expertise/stats grid on the dev page */
.sb-page-hero .sb-stats { margin-top: 34px; }

/* =========================================================
   Contact form
   ========================================================= */
.sb-form-card { max-width: 760px; margin-left: auto; margin-right: auto; }
.sb-form { margin-top: 10px; }
.sb-form p { margin: 0 0 16px; }
.sb-form label {
	display: block;
	font-weight: 700;
	font-size: .9rem;
	margin-bottom: 6px;
	color: var(--sb-ink);
}
.sb-form .req { color: var(--sb-blue); }
.sb-form input[type="text"],
.sb-form input[type="email"],
.sb-form input[type="tel"],
.sb-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--sb-line);
	border-radius: 12px;
	background: #fff;
	color: var(--sb-ink);
	font: inherit;
	font-size: .97rem;
	transition: border-color .2s var(--sb-ease), box-shadow .2s var(--sb-ease);
}
.sb-form input:focus, .sb-form textarea:focus {
	outline: none;
	border-color: var(--sb-blue);
	box-shadow: 0 0 0 4px rgba(27, 79, 216, .14);
}
.sb-form textarea { resize: vertical; min-height: 140px; }
.sb-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 18px;
}
@media (max-width: 640px) { .sb-form-grid { grid-template-columns: 1fr; } }
.sb-form-submit { text-align: center; margin-top: 6px; }
.sb-form-submit .wp-element-button {
	border: none;
	cursor: pointer;
	background: var(--sb-blue);
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
	padding: 14px 36px;
	border-radius: 999px;
	box-shadow: 0 6px 16px rgba(27, 79, 216, .28);
	transition: transform .2s var(--sb-ease), background-color .2s var(--sb-ease);
}
.sb-form-submit .wp-element-button:hover { background: var(--sb-blue-dark); transform: translateY(-2px); }
.sb-form-note { text-align: center; font-size: .8rem; color: var(--sb-muted); margin-bottom: 0 !important; }
.sb-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px;
	overflow: hidden;
}
.sb-form-alert {
	background: #FDF0F0;
	border: 1.5px solid #E8B4B4;
	color: #8C2F2F;
	border-radius: 12px;
	padding: 14px 18px;
	font-size: .93rem;
	font-weight: 600;
	margin-bottom: 18px;
}
.sb-form-alert a { color: inherit; font-weight: 700; }

/* Phone link chip */
.sb-tel {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.sb-hero .sb-tel a, .sb-page-hero .sb-tel a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.sb-hero .sb-tel a:hover, .sb-page-hero .sb-tel a:hover { border-bottom-color: #fff; }

/* Guarantee strip */
.sb-guarantees {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px 40px;
	list-style: none;
	padding: 22px 28px;
	margin: 44px auto 0;
	max-width: 980px;
	background: var(--sb-sky);
	border: 1px solid #D5E3FF;
	border-radius: 999px;
	font-size: .92rem;
	font-weight: 600;
	color: var(--sb-ink);
}
.sb-guarantees li { display: inline-flex; align-items: center; gap: 9px; }
.sb-guarantees svg { width: 18px; height: 18px; color: var(--sb-blue); flex: none; }
@media (max-width: 860px) { .sb-guarantees { border-radius: var(--sb-radius); } }

/* Plan SLA badge */
.sb-plan-sla {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	align-self: flex-start;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--sb-sky);
	color: var(--sb-blue-dark);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .02em;
	margin-bottom: 6px;
}
.sb-plan-sla svg { width: 13px; height: 13px; }
.sb-plan-featured .sb-plan-sla { background: rgba(77, 215, 232, .14); color: #4DD7E8; }

/* FAQ accordion */
.sb-faq { max-width: 780px; margin: 44px auto 0; }
.sb-faq details {
	background: #fff;
	border: 1px solid var(--sb-line);
	border-radius: 16px;
	margin-bottom: 12px;
	box-shadow: var(--sb-shadow-sm);
	overflow: hidden;
	transition: border-color .2s var(--sb-ease);
}
.sb-faq details[open] { border-color: #CBD8EE; }
.sb-faq summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	font-weight: 700;
	font-size: .98rem;
	color: var(--sb-ink);
}
.sb-faq summary::-webkit-details-marker { display: none; }
.sb-faq summary::after {
	content: "+";
	flex: none;
	width: 28px; height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--sb-sky);
	color: var(--sb-blue);
	font-weight: 700;
	font-size: 1.1rem;
	transition: transform .25s var(--sb-ease);
}
.sb-faq details[open] summary::after { content: "–"; transform: rotate(180deg); }
.sb-faq details > p { padding: 0 22px 20px; margin: 0; color: var(--sb-muted); font-size: .95rem; line-height: 1.65; }

/* Scroll-reveal (activated by reveal.js; no-JS = fully visible) */
.js-reveal .sb-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .6s var(--sb-ease), transform .6s var(--sb-ease);
}
.js-reveal .sb-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js-reveal .sb-reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Misc
   ========================================================= */
.wp-block-image img { max-width: 100%; height: auto; }
.wp-site-blocks > .sb-hero, .wp-site-blocks > .sb-page-hero { margin-top: 0; }
