/* ==========================================================================
   Specs Designer – main styles
   ========================================================================== */

:root {
	--sd-primary: #0f3d3e;
	--sd-accent: #d4a017;
	--sd-dark: #111827;
	--sd-light: #f6f4ef;
	--sd-muted: #6b7280;
	--sd-border: #e7e3da;
	--sd-white: #fff;
	--sd-success: #15803d;
	--sd-danger: #b91c1c;
	--sd-radius: 14px;
	--sd-radius-sm: 10px;
	--sd-radius-lg: 24px;
	--sd-shadow: 0 10px 30px -12px rgba(17, 24, 39, .18);
	--sd-shadow-lg: 0 30px 60px -20px rgba(17, 24, 39, .28);
	--sd-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--sd-font-head: "Playfair Display", Georgia, serif;
	--sd-container: 1280px;
	--sd-header-h: 78px;
	--sd-ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--sd-font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--sd-dark);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.sd-panel-open, body.sd-lens-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sd-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sd-accent); }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; margin: 0 0 .6em; color: var(--sd-dark); font-weight: 700; }
h1, h2 { font-family: var(--sd-font-head); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 100000; background: #fff; padding: 10px 16px; top: 8px; left: 8px; }
:focus-visible { outline: 2px solid var(--sd-accent); outline-offset: 2px; }

.sd-icon { flex-shrink: 0; vertical-align: middle; }
.sd-container { width: 100%; max-width: var(--sd-container); margin: 0 auto; padding: 0 24px; }
.sd-section { padding: 88px 0; }
.sd-section-sm { padding: 48px 0; }
.sd-bg-light { background: var(--sd-light); }
.sd-center { text-align: center; justify-content: center; }
.sd-muted { color: var(--sd-muted); font-size: 14px; }
.sd-hp { position: absolute; left: -9999px; }

/* ---------- Buttons ---------- */
.sd-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: .01em;
	transition: transform .2s var(--sd-ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
	cursor: pointer; text-decoration: none; white-space: nowrap;
}
.sd-btn:hover { transform: translateY(-2px); }
.sd-btn:disabled, .sd-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.sd-btn-primary,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	background: var(--sd-primary); color: #fff; box-shadow: 0 10px 20px -10px var(--sd-primary);
}
.sd-btn-primary:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: var(--sd-dark); color: #fff;
}
.sd-btn-accent { background: var(--sd-accent); color: var(--sd-dark); }
.sd-btn-accent:hover { background: #fff; color: var(--sd-dark); }
.sd-btn-outline { background: transparent; border-color: var(--sd-primary); color: var(--sd-primary); }
.sd-btn-outline:hover { background: var(--sd-primary); color: #fff; }
.sd-btn-ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); color: #fff; }
.sd-btn-ghost:hover { background: #fff; color: var(--sd-dark); }
.sd-btn-sm { padding: 9px 18px; font-size: 13px; }
.sd-btn-lg { padding: 16px 32px; font-size: 16px; }
.sd-btn-block { width: 100%; }
.sd-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.sd-link { background: none; border: 0; padding: 0; color: var(--sd-primary); font-weight: 700; text-decoration: underline; }
.sd-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.sd-link-arrow:hover .sd-icon { transform: translateX(4px); }
.sd-link-arrow .sd-icon { transition: transform .2s; }

.sd-icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--sd-dark);
	transition: background .2s, color .2s;
}
.sd-icon-btn:hover { background: var(--sd-light); color: var(--sd-primary); }
.sd-badge {
	position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 9px; background: var(--sd-accent); color: var(--sd-dark);
	font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; font-style: normal;
}
.sd-badge.is-empty, .sd-cart-count[data-count="0"] { display: none; }

.sd-eyebrow {
	display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
	color: var(--sd-accent); margin-bottom: 10px;
}
.sd-eyebrow-light { color: var(--sd-accent); }
.sd-card { background: #fff; border: 1px solid var(--sd-border); border-radius: var(--sd-radius); padding: 28px; box-shadow: var(--sd-shadow); }

/* ---------- Top bar ---------- */
.sd-topbar { background: var(--sd-primary); color: #fff; font-size: 13px; }
.sd-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.sd-topbar-text { margin: 0; display: flex; align-items: center; gap: 8px; }
.sd-topbar-text .sd-icon { color: var(--sd-accent); }
.sd-topbar-links { display: flex; gap: 20px; }
.sd-topbar-links a { color: #fff; display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
.sd-topbar-links a:hover { color: var(--sd-accent); opacity: 1; }

/* ---------- Header ---------- */
.sd-header {
	position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.admin-bar .sd-header { top: 32px; }
.sd-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .3); border-color: var(--sd-border); }
.sd-header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--sd-header-h); }
.sd-logo img, .sd-logo .custom-logo { max-height: 56px; width: auto; }
.sd-logo-text { display: flex; align-items: center; gap: 10px; color: var(--sd-dark); }
.sd-logo-text strong { display: block; font-family: var(--sd-font-head); font-size: 22px; line-height: 1.1; }
.sd-logo-text small { display: block; font-size: 11px; color: var(--sd-muted); letter-spacing: .08em; text-transform: uppercase; }
.sd-logo-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--sd-primary); color: var(--sd-accent); display: grid; place-items: center; }
.sd-menu-toggle { display: none; }

.sd-nav { flex: 1; display: flex; justify-content: center; }
.sd-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.sd-menu > li { position: relative; }
.sd-menu > li > a {
	display: block; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--sd-dark);
}
.sd-menu > li > a:hover, .sd-menu > li.current-menu-item > a, .sd-menu > li.current-menu-ancestor > a { background: var(--sd-light); color: var(--sd-primary); }
.sd-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.sd-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 8px 0 0; padding: 10px;
	background: #fff; border: 1px solid var(--sd-border); border-radius: var(--sd-radius); box-shadow: var(--sd-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--sd-ease); z-index: 20;
}
.sd-nav .sub-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.sd-nav li:hover > .sub-menu, .sd-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sd-nav .sub-menu a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 14px; color: var(--sd-dark); font-weight: 500; }
.sd-nav .sub-menu a:hover { background: var(--sd-light); color: var(--sd-primary); }
.sd-nav .sub-menu .sub-menu { top: 0; left: 100%; margin: 0 0 0 8px; }

.sd-header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.sd-header-actions .sd-btn { margin-left: 10px; }

/* ---------- Off-canvas ---------- */
.sd-overlay {
	position: fixed; inset: 0; background: rgba(17, 24, 39, .5); z-index: 990; opacity: 0; visibility: hidden; transition: opacity .3s;
	backdrop-filter: blur(2px);
}
body.sd-panel-open .sd-overlay { opacity: 1; visibility: visible; }
.sd-offcanvas {
	position: fixed; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff; z-index: 1000;
	display: flex; flex-direction: column; transition: transform .35s var(--sd-ease); box-shadow: var(--sd-shadow-lg);
}
.sd-offcanvas-left { left: 0; transform: translateX(-105%); }
.sd-offcanvas-right { right: 0; transform: translateX(105%); }
.sd-offcanvas.is-open { transform: none; }
.sd-offcanvas-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--sd-border); }
.sd-offcanvas-head h3 { margin: 0; font-size: 18px; display: flex; gap: 10px; align-items: center; font-family: var(--sd-font); }
.sd-mobile-nav { flex: 1; overflow-y: auto; padding: 12px 20px; }
.sd-mobile-nav .sd-menu { flex-direction: column; gap: 0; }
.sd-mobile-nav .sd-menu li { position: relative; border-bottom: 1px solid var(--sd-border); }
.sd-mobile-nav .sd-menu a { display: block; padding: 14px 4px; font-weight: 600; color: var(--sd-dark); border-radius: 0; background: none; }
.sd-mobile-nav .sub-menu { display: none; list-style: none; padding: 0 0 8px 14px; margin: 0; }
.sd-mobile-nav .sub-menu li { border: 0; }
.sd-mobile-nav .sub-menu a { padding: 8px 4px; font-weight: 500; color: var(--sd-muted); }
.sd-mobile-nav li.is-open > .sub-menu { display: block; }
.sd-sub-toggle { position: absolute; right: 0; top: 8px; width: 36px; height: 36px; border: 0; border-radius: 8px; background: var(--sd-light); font-size: 18px; }
.sd-offcanvas-foot { padding: 20px; display: grid; gap: 10px; border-top: 1px solid var(--sd-border); }

/* ---------- Search overlay ---------- */
.sd-search-overlay {
	position: fixed; inset: 0 0 auto 0; z-index: 1001; background: #fff; padding: 60px 0 40px; box-shadow: var(--sd-shadow-lg);
	transform: translateY(-110%); transition: transform .35s var(--sd-ease);
}
.sd-search-overlay.is-open { transform: none; }
.sd-search-close { position: absolute; right: 24px; top: 14px; }
.sd-search-form { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--sd-dark); padding-bottom: 10px; }
.sd-search-form input[type=search] { flex: 1; min-width: 0; width: 100%; border: 0; font-size: clamp(20px, 3vw, 30px); font-family: var(--sd-font-head); outline: none; background: none; padding: 8px 0; }
.sd-search-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--sd-muted); }
.sd-search-tags a { padding: 6px 14px; border-radius: 999px; background: var(--sd-light); color: var(--sd-dark); font-weight: 600; }

/* ---------- Hero ---------- */
.sd-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% 20%, color-mix(in srgb, var(--sd-accent) 18%, transparent), transparent 60%), linear-gradient(180deg, var(--sd-light), #fff); padding: 72px 0 90px; }
.sd-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.sd-hero-title { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.05; margin-bottom: 20px; }
.sd-hero-sub { font-size: 18px; color: var(--sd-muted); max-width: 540px; margin-bottom: 30px; }
.sd-hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; font-weight: 600; }
.sd-hero-points li { display: flex; align-items: center; gap: 6px; }
.sd-hero-points .sd-icon { color: var(--sd-success); }
.sd-hero-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.sd-hero-visual img { position: relative; z-index: 2; max-height: 540px; width: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .18)); animation: sd-float 6s ease-in-out infinite; }
.sd-hero-blob { position: absolute; width: 88%; aspect-ratio: 1; border-radius: 42% 58% 61% 39% / 45% 39% 61% 55%; background: linear-gradient(135deg, var(--sd-primary), color-mix(in srgb, var(--sd-primary) 60%, var(--sd-accent))); animation: sd-blob 12s ease-in-out infinite; }
.sd-hero-placeholder { position: relative; z-index: 2; color: #fff; opacity: .95; }
.sd-hero-badge { position: absolute; z-index: 3; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--sd-shadow-lg); display: flex; gap: 10px; align-items: center; font-size: 13px; line-height: 1.3; }
.sd-hero-badge strong { font-size: 18px; color: var(--sd-primary); }
.sd-hero-badge-1 { top: 12%; left: -2%; flex-direction: column; align-items: flex-start; gap: 0; animation: sd-float 5s ease-in-out infinite; }
.sd-hero-badge-2 { bottom: 10%; right: 0; animation: sd-float 7s ease-in-out infinite reverse; }
.sd-hero-badge-2 .sd-icon { color: var(--sd-accent); }
@keyframes sd-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes sd-blob { 0%, 100% { border-radius: 42% 58% 61% 39% / 45% 39% 61% 55%; } 50% { border-radius: 58% 42% 38% 62% / 55% 61% 39% 45%; } }

/* ---------- Sections ---------- */
.sd-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.sd-section-head.sd-center { justify-content: center; }
.sd-section-title { font-size: clamp(28px, 3.4vw, 44px); margin: 0; }

.sd-cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.sd-cat-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; color: var(--sd-dark); }
.sd-cat-img { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--sd-light); display: grid; place-items: center; overflow: hidden; margin-bottom: 10px; color: var(--sd-primary); border: 3px solid transparent; transition: border-color .3s, transform .3s var(--sd-ease); }
.sd-cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--sd-ease); }
.sd-cat-card:hover .sd-cat-img { border-color: var(--sd-accent); transform: translateY(-4px); }
.sd-cat-card:hover .sd-cat-img img { transform: scale(1.08); }
.sd-cat-name { font-weight: 700; }
.sd-cat-count { font-size: 13px; color: var(--sd-muted); }

.sd-promo-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.sd-promo { position: relative; min-height: 300px; border-radius: var(--sd-radius-lg); overflow: hidden; display: flex; align-items: flex-end; padding: 28px; color: #fff; background: var(--sd-primary); isolation: isolate; }
.sd-promo-2 { background: #1f2937; }
.sd-promo-3 { background: color-mix(in srgb, var(--sd-accent) 85%, #000); }
.sd-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--sd-ease); }
.sd-promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .65)); }
.sd-promo:hover img { transform: scale(1.06); }
.sd-promo:hover { color: #fff; }
.sd-promo-copy { display: grid; gap: 4px; }
.sd-promo-copy small { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.sd-promo-copy strong { font-family: var(--sd-font-head); font-size: 30px; line-height: 1.1; }
.sd-promo-copy em { font-style: normal; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; color: var(--sd-accent); }

.sd-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.sd-step { position: relative; background: #fff; border: 1px solid var(--sd-border); border-radius: var(--sd-radius-lg); padding: 32px 24px; text-align: center; transition: transform .3s var(--sd-ease), box-shadow .3s; }
.sd-step:hover { transform: translateY(-6px); box-shadow: var(--sd-shadow-lg); }
.sd-step-num { position: absolute; top: 16px; right: 20px; font-family: var(--sd-font-head); font-size: 40px; color: var(--sd-light); font-weight: 700; line-height: 1; }
.sd-step-icon { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: var(--sd-primary); color: var(--sd-accent); margin-bottom: 18px; }
.sd-step h3 { font-size: 18px; font-family: var(--sd-font); }
.sd-step p { color: var(--sd-muted); font-size: 14px; margin: 0; }

.sd-stats { background: var(--sd-primary); color: #fff; padding: 56px 0; }
.sd-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.sd-stat strong { display: block; font-weight: 700; font-family: var(--sd-font-head); font-size: clamp(34px, 4vw, 52px); color: var(--sd-accent); line-height: 1.1; }
.sd-stat > span { opacity: .85; font-size: 14px; letter-spacing: .04em; }

.sd-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sd-testimonial { margin: 0; background: #fff; border: 1px solid var(--sd-border); border-radius: var(--sd-radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--sd-shadow); }
.sd-testimonial blockquote { margin: 0; font-size: 16px; flex: 1; }
.sd-testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.sd-testimonial figcaption strong { display: block; }
.sd-testimonial figcaption small { color: var(--sd-muted); }
.sd-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--sd-primary); color: var(--sd-accent); display: grid; place-items: center; font-weight: 800; font-size: 18px; }

.sd-stars { position: relative; display: inline-block; width: 90px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e5e7eb' d='m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E") repeat-x 0 0 / 18px 16px; }
.sd-stars-fill { position: absolute; inset: 0 auto 0 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f5b301' d='m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E") repeat-x 0 0 / 18px 16px; }

.sd-cta-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 56px; border-radius: var(--sd-radius-lg); color: #fff; background: radial-gradient(600px 300px at 90% 0%, color-mix(in srgb, var(--sd-accent) 35%, transparent), transparent 70%), var(--sd-primary); }
.sd-cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 40px); }
.sd-cta-band p { opacity: .85; margin: 0; max-width: 560px; }

.sd-branches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sd-branches-stack { grid-template-columns: 1fr; gap: 16px; }
.sd-branch { padding: 0; overflow: hidden; }
.sd-map { width: 100%; height: 240px; border: 0; display: block; filter: grayscale(.2); }
.sd-branch-body { padding: 24px; }
.sd-branch-body h3 { font-family: var(--sd-font-head); font-size: 24px; }
.sd-branch-body p { display: flex; gap: 10px; align-items: flex-start; color: #374151; margin-bottom: 10px; }
.sd-branch-body .sd-icon { color: var(--sd-accent); margin-top: 3px; }

/* ---------- Page hero ---------- */
.sd-page-hero { background: var(--sd-light); padding: 48px 0 40px; border-bottom: 1px solid var(--sd-border); }
.sd-page-title { font-size: clamp(30px, 4vw, 48px); margin: 0; }
.sd-page-sub { color: var(--sd-muted); margin-top: 8px; max-width: 720px; }
.sd-page-sub p:last-child { margin: 0; }
.sd-breadcrumb { font-size: 13px; color: var(--sd-muted); margin-bottom: 10px; }
.sd-breadcrumb a { color: var(--sd-muted); }
.sd-breadcrumb a:hover { color: var(--sd-primary); }
.sd-bc-sep { margin: 0 8px; opacity: .5; }

/* ---------- Content / blog ---------- */
.sd-entry { max-width: 860px; margin: 0 auto; }
.sd-entry-wide { max-width: none; }
.sd-entry-content > * + * { margin-top: 1.1em; }
.sd-entry-content img { border-radius: var(--sd-radius); }
.sd-entry-content a { text-decoration: underline; }
.sd-blog-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
.sd-blog-layout:has(.sd-blog-sidebar) { grid-template-columns: 1fr 300px; }
.sd-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.sd-post-card { background: #fff; border: 1px solid var(--sd-border); border-radius: var(--sd-radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.sd-post-card:hover { transform: translateY(-4px); box-shadow: var(--sd-shadow-lg); }
.sd-post-thumb { display: block; aspect-ratio: 3/2; background: var(--sd-light); overflow: hidden; }
.sd-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sd-thumb-placeholder { display: grid; place-items: center; height: 100%; color: var(--sd-primary); }
.sd-post-body { padding: 22px; }
.sd-post-title { font-size: 20px; font-family: var(--sd-font); }
.sd-post-title a { color: var(--sd-dark); }
.sd-post-meta { font-size: 13px; color: var(--sd-muted); margin-bottom: 8px; }
.sd-single-thumb { margin: 0 0 30px; }
.sd-single-thumb img { border-radius: var(--sd-radius-lg); width: 100%; }
.sd-single-share { display: flex; gap: 12px; align-items: center; margin: 30px 0; font-weight: 700; }
.sd-widget { margin-bottom: 30px; }
.sd-widget-title { font-size: 18px; font-family: var(--sd-font); }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.nav-links .page-numbers { min-width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--sd-border); color: var(--sd-dark); font-weight: 700; padding: 0 10px; }
.nav-links .page-numbers.current, .nav-links .page-numbers:hover { background: var(--sd-primary); border-color: var(--sd-primary); color: #fff; }
.sd-empty { text-align: center; padding: 60px 20px; display: grid; justify-items: center; gap: 8px; }
.sd-empty > .sd-icon { color: var(--sd-accent); }
.sd-404 h1 { font-size: 120px; margin: 0; color: var(--sd-primary); }
.sd-404-mark { color: var(--sd-accent); display: flex; justify-content: center; }
.sd-comments { margin-top: 50px; }
.sd-comment-list { list-style: none; padding: 0; }

/* ---------- Forms ---------- */
.sd-field { margin-bottom: 18px; }
.sd-field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.sd-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.sd-field input, .sd-field select, .sd-field textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
	width: 100%; padding: 13px 16px; border: 1.5px solid var(--sd-border); border-radius: var(--sd-radius-sm); background: #fff;
	transition: border-color .2s, box-shadow .2s; color: var(--sd-dark);
}
.select2-container--default .select2-selection--single { height: auto; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 1.4; padding: 0; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 10px; right: 8px; }
.sd-field input:focus, .sd-field select:focus, .sd-field textarea:focus,
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus {
	border-color: var(--sd-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sd-primary) 12%, transparent); outline: none;
}
.sd-choice-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.sd-choice input, .sd-slot input { position: absolute; opacity: 0; pointer-events: none; }
.sd-choice span { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 14px 16px; border: 1.5px solid var(--sd-border); border-radius: var(--sd-radius-sm); cursor: pointer; transition: all .2s; }
.sd-choice span .sd-icon { grid-row: span 2; color: var(--sd-accent); margin-top: 2px; }
.sd-choice small { color: var(--sd-muted); font-size: 12px; font-weight: 500; }
.sd-choice input:checked + span { border-color: var(--sd-primary); background: color-mix(in srgb, var(--sd-primary) 6%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sd-primary) 14%, transparent); }
.sd-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.sd-slot span { display: block; text-align: center; padding: 10px 6px; border: 1.5px solid var(--sd-border); border-radius: 10px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .2s; }
.sd-slot input:checked + span { background: var(--sd-primary); border-color: var(--sd-primary); color: #fff; }
.sd-slot.is-full span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.sd-form-msg { margin-top: 14px; font-weight: 600; }
.sd-form-msg.is-error { color: var(--sd-danger); }
.sd-form-msg.is-success { color: var(--sd-success); padding: 16px; background: #ecfdf5; border-radius: var(--sd-radius-sm); }
.sd-form-msg.is-success .sd-btn { margin-top: 10px; }

.sd-appt-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.sd-appt-head { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.sd-appt-head h3 { margin: 0; font-size: 22px; font-family: var(--sd-font-head); }
.sd-appt-head p { margin: 2px 0 0; color: var(--sd-muted); font-size: 14px; }
.sd-appt-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--sd-primary); color: var(--sd-accent); display: grid; place-items: center; flex-shrink: 0; }
.sd-appt-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--sd-header-h) + 20px); }
.sd-check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sd-check-list li { display: flex; gap: 10px; }
.sd-check-list .sd-icon { color: var(--sd-success); margin-top: 3px; }

/* ---------- Footer ---------- */
.sd-features-strip { border-top: 1px solid var(--sd-border); background: #fff; }
.sd-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 34px; padding-bottom: 34px; }
.sd-feature-item { display: flex; gap: 14px; align-items: center; }
.sd-feature-item > .sd-icon { color: var(--sd-primary); background: var(--sd-light); padding: 12px; width: 52px; height: 52px; border-radius: 14px; }
.sd-feature-item strong { display: block; font-size: 15px; }
.sd-feature-item span { font-size: 13px; color: var(--sd-muted); }

.sd-footer { background: #0b1f20; color: rgba(255, 255, 255, .75); font-size: 15px; }
.sd-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.sd-footer h4 { color: #fff; font-family: var(--sd-font); font-size: 16px; margin-bottom: 18px; letter-spacing: .02em; }
.sd-footer a { color: rgba(255, 255, 255, .8); }
.sd-footer a:hover { color: var(--sd-accent); }
.sd-logo-light .sd-logo-text, .sd-logo-light .sd-logo-text strong { color: #fff; }
.sd-logo-light .sd-logo-text small { color: rgba(255, 255, 255, .6); }
.sd-footer-about p { margin: 18px 0; }
.sd-footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sd-footer-branch { margin-bottom: 16px; }
.sd-footer-branch strong { color: #fff; display: block; margin-bottom: 4px; }
.sd-footer-contact p { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 6px; }
.sd-footer-contact .sd-icon { color: var(--sd-accent); margin-top: 4px; }
.sd-social { display: flex; gap: 10px; margin-top: 10px; }
.sd-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); }
.sd-offcanvas .sd-social a { border-color: var(--sd-border); color: var(--sd-dark); }
.sd-social a:hover { background: var(--sd-accent); border-color: var(--sd-accent); color: var(--sd-dark); }
.sd-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.sd-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.sd-footer-bottom p { margin: 0; }
.sd-pay-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-pay-icons span { font-size: 10px; font-weight: 800; letter-spacing: .04em; padding: 4px 8px; border-radius: 6px; background: #fff; color: #1f2937; border: 1px solid var(--sd-border); }

.sd-whatsapp-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 950; width: 58px; height: 58px; border-radius: 50%;
	background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
	transition: transform .2s;
}
.sd-whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.sd-whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: sd-pulse 2s infinite; }
@keyframes sd-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

.sd-bottom-nav { display: none; }

.sd-toast {
	position: fixed; left: 50%; bottom: 90px; z-index: 2000; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
	background: var(--sd-dark); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px;
	transition: all .3s var(--sd-ease); box-shadow: var(--sd-shadow-lg);
}
.sd-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.sd-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--sd-ease), transform .7s var(--sd-ease); }
.sd-reveal.is-visible { opacity: 1; transform: none; }

/* Elementor pages: let Elementor control width */
.sd-elementor-page .sd-main > .elementor { width: 100%; }
.sd-canvas { background: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.sd-nav { display: none; }
	.sd-menu-toggle { display: inline-flex; }
	.sd-header-inner { gap: 8px; }
	.sd-logo { margin-right: auto; }
	.sd-cat-grid { grid-template-columns: repeat(3, 1fr); }
	.sd-hide-md { display: none !important; }
}
@media (max-width: 960px) {
	.sd-section { padding: 64px 0; }
	.sd-hero { padding: 40px 0 60px; }
	.sd-hero-grid, .sd-appt-layout { grid-template-columns: 1fr; }
	.sd-hero-visual { min-height: 320px; order: -1; }
	.sd-hero-visual img { max-height: 340px; }
	.sd-promo-grid { grid-template-columns: 1fr 1fr; }
	.sd-promo-1 { grid-column: span 2; }
	.sd-steps, .sd-stats-grid, .sd-features-grid { grid-template-columns: repeat(2, 1fr); }
	.sd-testimonial-grid { grid-template-columns: 1fr; }
	.sd-cta-band { flex-direction: column; align-items: flex-start; padding: 36px; }
	.sd-footer-grid { grid-template-columns: 1fr 1fr; }
	.sd-blog-layout:has(.sd-blog-sidebar) { grid-template-columns: 1fr; }
	.sd-appt-aside { position: static; }
}
@media (max-width: 782px) {
	.admin-bar .sd-header { top: 0; }
}
@media (max-width: 640px) {
	body { font-size: 15px; padding-bottom: 66px; }
	.sd-container { padding: 0 16px; }
	.sd-topbar-links { display: none; }
	.sd-topbar-inner { justify-content: center; text-align: center; }
	.sd-hide-sm { display: none !important; }
	.sd-logo-text small { display: none; }
	.sd-logo-text strong { font-size: 18px; }
	.sd-logo-mark { width: 38px; height: 38px; }
	.sd-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.sd-cat-name { font-size: 13px; }
	.sd-cat-count { display: none; }
	.sd-promo-grid { grid-template-columns: 1fr; }
	.sd-promo-1 { grid-column: auto; }
	.sd-promo { min-height: 220px; }
	.sd-steps { grid-template-columns: 1fr; }
	.sd-branches { grid-template-columns: 1fr; }
	.sd-field-grid { grid-template-columns: 1fr; }
	.sd-footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.sd-features-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
	.sd-feature-item { flex-direction: column; align-items: flex-start; gap: 8px; }
	.sd-section-head { flex-direction: column; align-items: flex-start; }
	.sd-card { padding: 20px; }
	.sd-hero-badge-1 { left: 0; }
	.sd-whatsapp-float { bottom: 82px; right: 16px; width: 52px; height: 52px; }
	.sd-bottom-nav {
		display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 940;
		background: #fff; border-top: 1px solid var(--sd-border); box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, .3);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.sd-bottom-nav a, .sd-bottom-nav button {
		position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
		padding: 8px 0; font-size: 11px; font-weight: 600; color: var(--sd-dark); background: none; border: 0;
	}
	.sd-bottom-nav .sd-badge { top: 2px; right: calc(50% - 22px); }
	.sd-bottom-cta .sd-icon { background: var(--sd-primary); color: var(--sd-accent); border-radius: 50%; padding: 8px; width: 40px; height: 40px; margin-top: -18px; box-shadow: var(--sd-shadow); }
}
@media (max-width: 640px) { .sd-search-form .sd-btn { padding: 10px 14px; } .sd-search-form > .sd-icon { display: none; } }
