/*
 * Juard Care website styles.
 * Built on the Juard Care design system tokens.
 */

/* ============================================================ Tokens */
:root {
	--surface-100: #FBF7F1;
	--surface-200: #F3ECE0;
	--surface-brand: #DCECE8;
	--accent-tint: #FBE4DC;
	--ink: #16302F;
	--ink-muted: #506966;
	--brand: #0E6B66;
	--on-brand: #FFFFFF;
	--brand-strong: #084542;
	--brand-soft: #9CCFC7;
	--accent: #DD5B39;
	--on-accent: #2B1109;
	--sunlight: #F5C15C;
	--border: #DDD3C3;
	--border-strong: #6F8481;
	--focus-ring: #0A4744;
	--success: #1F6B3A;
	--danger: #B3261E;
	--danger-tint: #F8DAD7;
	--success-tint: #DDF0E3;

	--space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
	--space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
	--radius-sm: 8px; --radius-md: 16px; --radius-lg: 28px; --radius-pill: 999px;
	--shadow-soft: 0 1px 2px rgba(22, 48, 47, 0.06), 0 4px 12px rgba(22, 48, 47, 0.08);
	--shadow-lift: 0 2px 4px rgba(22, 48, 47, 0.06), 0 12px 28px rgba(22, 48, 47, 0.14);

	/* SF Pro is Apple's system font. It cannot be embedded on a website (Apple's licence), so we ask for the system font:
	   -apple-system / BlinkMacSystemFont resolve to SF Pro (Text and Display, chosen by size) on iPhone, iPad and Mac.
	   Other devices fall back to their own system UI font (Segoe UI on Windows, Roboto on Android). */
	--font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
	--font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;

	--card-bg: var(--surface-100);
	--container: 1180px;
	--gutter: 24px;
	--header-h: 76px;
}

/* ============================================================ Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--surface-100); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--ink); letter-spacing: -0.015em; text-wrap: balance; }
h1, h2 { font-weight: 700; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.3rem, 1.2rem + 4.2vw, 3.9rem); line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
h4 { font-size: 1.1rem; }
address { font-style: normal; }
blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-6) 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 4px; }
.style-dark :focus-visible, .style-cta :focus-visible, #footer :focus-visible, #topbar :focus-visible, .on-dark :focus-visible, .wa-head :focus-visible, .box-cta :focus-visible { outline-color: var(--sunlight); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--brand-strong); color: var(--on-brand); padding: 12px 20px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600; text-decoration: none; transition: top 0.2s ease-out; }
.skip-link:focus { top: 0; color: var(--on-brand); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }

.is-preload *, .is-preload *::before, .is-preload *::after { transition: none !important; animation: none !important; }

/* ============================================================ Layout */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: calc(820px + var(--gutter) * 2); }
.centered { text-align: center; }
.wrapper { position: relative; padding: 96px 0; }
.wrapper.tight { padding: 40px 0; }
.style1 { background: var(--surface-100); --card-bg: var(--surface-200); }
.style2 { background: var(--surface-200); --card-bg: var(--surface-100); }
.style3 { background: var(--surface-brand); --card-bg: var(--surface-100); }
.style-dark { background: var(--brand-strong); color: #DCECE8; --card-bg: rgba(255, 255, 255, 0.08); }
.style-dark h1, .style-dark h2, .style-dark h3 { color: var(--on-brand); }
.style-dark a:not(.button) { color: #fff; }
.style-dark .lead { color: #fff; }

.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-6) var(--space-6); }
.row.gtr-50 { gap: var(--space-4); }
.row.gtr-100 { gap: var(--space-6) 48px; }
.row.gtr-150 { gap: var(--space-6) 72px; }
.row.aln-center { align-items: center; }
.col-3 { grid-column: span 3; } .col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; } .col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; } .col-12 { grid-column: span 12; }

.title { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 var(--space-3); font-size: 15px; line-height: 1.3; font-weight: 600; color: var(--brand-strong); }
.title::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; }
.style-dark .title, .on-dark .title, .style-cta .title { color: #DCECE8; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink); }
.small { font-size: 0.9rem; color: var(--ink-muted); }

.section-head { max-width: 700px; margin: 0 auto var(--space-7); text-align: center; }
.section-head p:last-child { margin-bottom: 0; font-size: 1.1rem; color: var(--ink-muted); }
.section-head .title { justify-content: center; }
.style3 .section-head p:last-child { color: var(--ink); }
.style-dark .section-head p:last-child { color: #DCECE8; }

/* ============================================================ Buttons */
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-4); list-style: none; margin: var(--space-5) 0 0; padding: 0; }
.actions.special { justify-content: center; margin-top: var(--space-7); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border: 2px solid transparent; border-radius: var(--radius-pill); font-family: var(--font-sans); font-size: 16px; line-height: 1.2; font-weight: 600; letter-spacing: 0.01em; text-align: center; text-decoration: none; cursor: pointer; transition: background-color 0.2s ease-out, border-color 0.2s ease-out, box-shadow 0.2s ease-out, transform 0.2s ease-out, color 0.2s ease-out; }
.button .icon { width: 1.2em; height: 1.2em; }
.button.large { min-height: 56px; padding: 0 32px; font-size: 17px; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button.style1 { background: var(--brand); color: var(--on-brand); }
.button.style1:hover { background: var(--brand-strong); color: var(--on-brand); }
.button.style2 { background: var(--accent); color: var(--on-accent); }
.button.style2:hover { box-shadow: var(--shadow-lift); color: var(--on-accent); }
.button.style3 { background: transparent; color: var(--brand); border-color: var(--brand); }
.button.style3:hover { background: var(--brand); color: var(--on-brand); }
.button.style-light { background: var(--surface-100); color: var(--brand-strong); }
.button.style-light:hover { background: #fff; color: var(--brand-strong); box-shadow: var(--shadow-lift); }
.button.style-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.button.style-outline-light:hover { background: #fff; color: var(--brand-strong); }
.button[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.card-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--brand); }
.card-link .icon { transition: transform 0.2s ease-out; }
.card-link:hover .icon { transform: translateX(4px); }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand); text-align: left; }

/* ============================================================ Top bar and header */
#topbar { background: var(--brand-strong); color: #fff; font-size: 14px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 44px; }
.topbar-contact { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; padding: 6px 0; font-weight: 500; }
.topbar-contact a:hover { text-decoration: underline; color: #fff; }
.topbar-contact .icon { width: 1.1em; height: 1.1em; }

#header { position: sticky; top: 0; z-index: 100; padding: 0; background: rgba(251, 247, 241, 0.94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); transition: box-shadow 0.25s ease-out; }
#header.is-stuck { box-shadow: 0 6px 24px rgba(22, 48, 47, 0.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: var(--header-h); }
#logo { flex: none; line-height: 0; }
#logo a { display: inline-block; border-radius: 8px; }
#logo img { height: 40px; width: auto; }

#nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
#nav li { position: relative; }
#nav a { text-decoration: none; }
#nav > ul > li > a:not(.button) { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; min-height: 44px; padding: 0 13px; border-radius: var(--radius-pill); color: var(--ink); font-weight: 600; font-size: 16px; transition: background-color 0.2s ease-out, color 0.2s ease-out; }
#nav > ul > li > a:not(.button):hover { background: var(--surface-brand); color: var(--brand-strong); }
#nav > ul > li.current > a:not(.button) { color: var(--brand-strong); background: var(--surface-brand); }
#nav .nav-cta { margin-left: var(--space-3); }
#nav .nav-cta .button { min-height: 46px; padding: 0 20px; white-space: nowrap; }
.has-sub > a { padding-right: 6px !important; }
.sub-toggle { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: -4px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); }
.sub-toggle .icon { width: 18px; height: 18px; transition: transform 0.2s ease-out; }
.has-sub.is-open .sub-toggle .icon, .has-sub:hover .sub-toggle .icon { transform: rotate(180deg); }
.sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; list-style: none; padding: 8px; background: var(--surface-100); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0.2s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; }
.sub a:hover { background: var(--surface-brand); color: var(--brand-strong); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 2px solid var(--border-strong); border-radius: var(--radius-md); background: transparent; color: var(--ink); place-items: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

/* ============================================================ Hero slider */
.hero { position: relative; overflow: hidden; background: var(--surface-100); }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: flex; align-items: center; padding: 72px 0 176px; opacity: 0; visibility: hidden; transition: opacity 0.7s ease-out, visibility 0.7s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide.s1 { background: var(--surface-100); }
.slide.s2 { background: var(--surface-brand); }
.slide.s3 { background: var(--brand-strong); color: #DCECE8; }
.slide.s4 { background: var(--accent-tint); }
.slide.on-dark h1, .slide.on-dark h2 { color: var(--on-brand); }
.slide.on-dark .lead { color: #fff; }
.slide-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: var(--space-7); }
.slide-copy { max-width: 620px; }
.slide-copy h1, .slide-copy h2 { font-size: clamp(2.2rem, 1rem + 4vw, 3.8rem); line-height: 1.06; margin-bottom: 0.4em; }
.slide-copy em { font-style: normal; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.09em; text-underline-offset: 0.12em; }
.slide-copy .lead { font-size: 1.25rem; max-width: 34em; }
.slide-art { display: flex; justify-content: center; }
.slide-art img { width: 100%; max-width: 520px; }
.slide.is-active .slide-copy > * { animation: rise 0.7s ease-out both; }
.slide.is-active .slide-copy > *:nth-child(2) { animation-delay: 0.06s; }
.slide.is-active .slide-copy > *:nth-child(3) { animation-delay: 0.12s; }
.slide.is-active .slide-copy > *:nth-child(4) { animation-delay: 0.18s; }
.slide.is-active .slide-art img { animation: settle 0.9s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(0.94) translateY(10px); } to { opacity: 1; transform: none; } }

.slider-ui { position: absolute; left: 50%; bottom: 112px; z-index: 5; display: flex; align-items: center; gap: var(--space-3); padding: 8px 12px; transform: translateX(-50%); background: rgba(251, 247, 241, 0.94); border: 1px solid var(--border); border-radius: var(--radius-pill); box-shadow: var(--shadow-soft); }
.slider-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--brand-strong); transition: background-color 0.2s ease-out; }
.slider-btn:hover { background: var(--surface-brand); }
.slider-btn .icon { width: 20px; height: 20px; }
.slider-pause .i-play { display: none; }
.is-paused .slider-pause .i-pause { display: none; }
.is-paused .slider-pause .i-play { display: inline; }
.slider-dots { display: flex; gap: 4px; list-style: none; }
.slider-dots button { position: relative; width: 28px; height: 40px; border: 0; background: transparent; padding: 0; }
.slider-dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 999px; background: var(--border-strong); transform: translate(-50%, -50%); transition: width 0.3s ease-out, background-color 0.3s ease-out; }
.slider-dots button.is-active::before { width: 26px; background: var(--brand); }

/* ============================================================ Quick actions */
.quick { position: relative; z-index: 6; margin-top: -84px; padding: 0 0 8px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); list-style: none; }
.quick-card { display: flex; align-items: center; gap: var(--space-4); height: 100%; padding: 22px 24px; background: var(--surface-100); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); color: var(--ink); text-decoration: none; transition: transform 0.25s ease-out, box-shadow 0.25s ease-out; }
.quick-card:hover { transform: translateY(-4px); color: var(--ink); }
.quick-card > span:nth-child(2) { display: grid; flex: 1; line-height: 1.3; }
.quick-card strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.quick-card > span:nth-child(2) span { color: var(--ink-muted); font-size: 0.95rem; }
.quick-card .go { color: var(--brand); transition: transform 0.2s ease-out; }
.quick-card:hover .go { transform: translateX(5px); }

/* ============================================================ Shared components */
.arch-icon { position: relative; display: inline-grid; place-items: center; flex: none; width: 56px; height: 64px; margin-bottom: 4px; background: var(--brand-soft); color: var(--brand-strong); border-radius: 0 0 28px 28px; }
.arch-icon .icon { width: 30px; height: 30px; margin-top: -6px; }
.arch-icon::after { content: ""; position: absolute; right: -6px; bottom: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.arch-icon.big { width: 120px; height: 136px; border-radius: 0 0 60px 60px; }
.arch-icon.big .icon { width: 52px; height: 52px; margin-top: -14px; }
.arch-icon.big::after { width: 30px; height: 30px; right: -10px; bottom: 14px; }
.quick-card .arch-icon, .contact-list .arch-icon { width: 48px; height: 54px; border-radius: 0 0 24px 24px; margin: 0; }
.quick-card .arch-icon .icon, .contact-list .arch-icon .icon { width: 22px; height: 22px; }
.quick-card .arch-icon::after, .contact-list .arch-icon::after { width: 11px; height: 11px; right: -5px; bottom: 5px; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: var(--space-5) var(--space-5) 28px; background: var(--card-bg); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); transition: transform 0.25s ease-out, box-shadow 0.25s ease-out; }
.card h2, .card h3 { margin: 12px 0 6px; }
.card h2 { font-size: 1.3rem; }
.card p { margin: 0 0 12px; color: var(--ink); }
.card .card-link { margin-top: auto; padding-top: 4px; }
.service-card:hover, .post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.service-card:hover .arch-icon::after { animation: bob 0.6s ease-out; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-8px); } 70% { transform: translateY(2px); } }

.post-card { padding: 0; overflow: hidden; }
.post-thumb { display: block; width: 100%; background: var(--brand-soft); overflow: hidden; }
.post-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.5s ease-out; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: var(--space-5) var(--space-5) 28px; }
.post-card-body h3 { margin: 4px 0 8px; font-size: 1.3rem; }
.post-card-body h3 a { color: var(--ink); text-decoration: none; }
.post-card-body h3 a:hover { color: var(--brand); text-decoration: underline; }
.post-card-body p { color: var(--ink-muted); font-size: 1rem; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0 0 6px !important; font-size: 14px; color: var(--ink-muted); }
.chip { display: inline-block; padding: 2px 12px; background: var(--surface-brand); color: var(--brand-strong); border-radius: var(--radius-pill); font-weight: 600; font-size: 13px; }

.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); list-style: none; }
.tile { padding: var(--space-5); background: var(--card-bg); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.tile h3 { margin: 10px 0 6px; font-size: 1.15rem; }
.tile p { margin: 0; font-size: 0.98rem; color: var(--ink-muted); }
.tile:nth-child(even) { transform: translateY(20px); }

.fact-list { display: grid; gap: var(--space-4); list-style: none; }
.fact-list li { display: grid; gap: 2px; padding: var(--space-5) var(--space-6); background: var(--card-bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.fact-list strong { font-family: var(--font-display); font-size: clamp(1.5rem, 1rem + 1.5vw, 2rem); line-height: 1.15; color: var(--brand-strong); font-weight: 600; }
.fact-list span { color: var(--ink-muted); }

.standards-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); list-style: none; }
.standards-list li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(255, 255, 255, 0.08); border-radius: var(--radius-md); color: #fff; font-weight: 500; }
.standards-list .icon { color: var(--sunlight); }
.standards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); list-style: none; counter-reset: std; }
.standards-grid li { counter-increment: std; display: flex; gap: 12px; align-items: baseline; padding: 12px 16px; background: var(--card-bg); border-radius: var(--radius-md); font-weight: 500; line-height: 1.35; }
.standards-grid li::before { content: counter(std); flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 14px; font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); list-style: none; }
.steps > li { padding: var(--space-6) var(--space-5); background: var(--card-bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.steps h3 { margin: 12px 0 6px; }
.steps p { margin: 0; color: var(--ink-muted); }
.step-num { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.steps.compact { grid-template-columns: 1fr; gap: var(--space-4); margin-top: var(--space-5); }
.steps.compact > li { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); }
.steps.compact h3 { margin: 0 0 2px; font-size: 1.1rem; }

.check-list { display: grid; gap: 12px; list-style: none; margin: var(--space-4) 0 0; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-list .icon { flex: none; width: 26px; height: 26px; padding: 4px; margin-top: 1px; background: var(--brand); color: var(--on-brand); border-radius: 50%; stroke-width: 3; }
.check-list.big li { padding: var(--space-4) var(--space-5); background: var(--card-bg); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); font-size: 1.1rem; }

.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.centered .chip-cloud, .style3 .chip-cloud { justify-content: center; }
.chip-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 2px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface-100); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out, transform 0.2s ease-out; }
.chip-link:hover { border-color: var(--brand); background: var(--surface-brand); color: var(--brand-strong); transform: translateY(-2px); }
.chip-link.is-active { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.chip-link .icon { width: 1.3em; height: 1.3em; color: var(--brand); }

.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5) var(--space-7); padding: var(--space-7); background: var(--surface-brand); border-radius: var(--radius-lg); }
.callout h2 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.1rem); margin-bottom: 0.3em; }
.callout p { margin: 0; max-width: 40em; }
.callout .actions { margin: 0; }

.pull-quote { margin: var(--space-6) 0; padding: var(--space-6) var(--space-6); background: var(--surface-brand); border-radius: var(--radius-lg); font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); line-height: 1.3; font-weight: 600; color: var(--brand-strong); }
.pull-quote p { margin: 0; text-wrap: balance; }
.pull-quote footer { margin-top: 10px; font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--ink-muted); }
.mark-panel { display: grid; place-items: center; min-height: 240px; margin-bottom: var(--space-5); background: var(--surface-brand); border-radius: var(--radius-lg); }
.mark-panel img { width: 132px; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.service-art { position: relative; display: grid; place-items: center; min-height: 320px; border-radius: var(--radius-lg); overflow: hidden; }
.service-art::before, .service-art::after { content: ""; position: absolute; }
.service-art.art-1 { background: var(--surface-brand); }
.service-art.art-1::before { right: -30px; top: -30px; width: 160px; height: 160px; border-radius: 50%; background: var(--sunlight); }
.service-art.art-1::after { left: 32px; bottom: -40px; width: 120px; height: 160px; border-radius: 60px 60px 0 0; background: var(--brand-soft); }
.service-art.art-2 { background: var(--accent-tint); }
.service-art.art-2::before { left: -40px; top: 40px; width: 140px; height: 140px; border-radius: 50%; background: var(--brand-soft); }
.service-art.art-2::after { right: 30px; bottom: -30px; width: 130px; height: 170px; border-radius: 65px 65px 0 0; background: var(--sunlight); }
.service-art.art-3 { background: var(--brand-soft); }
.service-art.art-3::before { right: 24px; top: -50px; width: 120px; height: 190px; border-radius: 0 0 60px 60px; background: var(--brand-strong); }
.service-art.art-3::after { left: 24px; bottom: 24px; width: 90px; height: 90px; border-radius: 50%; background: var(--accent); }
.service-art.art-4 { background: var(--brand); }
.service-art.art-4::before { left: -20px; bottom: -20px; width: 180px; height: 180px; border-radius: 0 100% 0 0; background: var(--sunlight); }
.service-art.art-4::after { right: 28px; top: 28px; width: 80px; height: 80px; border-radius: 50%; background: var(--accent-tint); }
.service-art .arch-icon { position: relative; z-index: 2; background: var(--surface-100); }
.service-art .arch-icon::after { background: var(--accent); }
.style-dark .service-art { min-height: 260px; }

.address-card { display: grid; gap: 14px; margin: var(--space-5) 0 0; }
.address-card > span, .map-address > span, .footer-contact li, .contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.address-card .icon { margin-top: 3px; color: var(--brand); }
.map-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); background: var(--surface-brand); aspect-ratio: 4 / 3; }
.map-frame.tall { aspect-ratio: auto; height: 400px; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-address { margin: var(--space-4) 0 0; }
.map-address .icon { margin-top: 3px; color: var(--brand); }

/* ============================================================ Page hero */
.page-hero { position: relative; overflow: hidden; padding: 72px 0 80px; background: var(--surface-brand); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 15em; font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.6rem); }
.page-hero .lead { max-width: 38em; margin: 0; color: var(--ink); }
.post-hero h1 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.2rem); max-width: 20em; }
.crumbs { margin-bottom: var(--space-5); font-size: 15px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--ink-muted); }
.crumbs a { color: var(--brand-strong); }
.hero-shape { position: absolute; z-index: 1; pointer-events: none; }
.hs-1 { right: 6%; top: -30px; width: 190px; height: 300px; border-radius: 0 0 95px 95px; background: var(--brand-soft); }
.hs-2 { right: calc(6% + 100px); bottom: 34px; width: 92px; height: 92px; border-radius: 50%; background: var(--accent); }
.hs-3 { right: calc(6% + 230px); top: 32px; width: 56px; height: 56px; border-radius: 50%; background: var(--sunlight); }

/* ============================================================ CTA band */
.style-cta { background: var(--brand); color: #fff; padding: 80px 0; overflow: hidden; }
.style-cta::before { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 320px; border-radius: 0 0 130px 130px; background: rgba(255, 255, 255, 0.08); }
.cta-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: var(--space-6) var(--space-7); }
.style-cta h2 { color: #fff; }
.style-cta p { color: #fff; }
.cta-copy p:last-child { margin: 0; font-size: 1.15rem; }
.cta-actions { flex-direction: column; align-items: stretch; margin: 0; }
.cta-actions .button { width: 100%; }

/* ============================================================ Forms */
.form { display: grid; gap: var(--space-5); }
.form-card { padding: var(--space-6); background: var(--surface-200); border-radius: var(--radius-lg); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 0; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-4); }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field.span-2 { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; line-height: 1.3; }
.req { color: var(--danger); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field input[type="search"], .field select, .field textarea, .search-form input { width: 100%; min-height: 50px; padding: 10px 14px; border: 2px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-100); color: var(--ink); font-size: 16px; line-height: 1.4; transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316302F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, .search-form input:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-color: var(--brand); }
.field input::placeholder, .field textarea::placeholder, .search-form input::placeholder { color: var(--ink-muted); opacity: 1; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.error { margin: 0; color: var(--danger); font-size: 14px; font-weight: 600; line-height: 1.35; }
.hint { margin: 0; font-size: 14px; color: var(--ink-muted); }
.field.check { grid-template-columns: 24px 1fr; align-items: start; gap: 12px; }
.field.check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--brand); }
.field.check label { font-weight: 400; font-size: 15px; }
.field.check .error { grid-column: 1 / -1; }
.field.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 16px; }
.form-status:empty { display: none; }
.form-status.is-success, .form-status.is-error { padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); }
.form-status.is-success { background: var(--success-tint); color: var(--ink); }
.form-status.is-error { background: var(--danger-tint); color: var(--ink); }
.form-status a { font-weight: 600; }
.form .button { justify-self: start; }

.info-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); list-style: none; }
.info-cards .card { height: 100%; }
.info-cards .card p { margin: 0 0 4px; font-size: 1.05rem; }
.info-cards .card p.small { font-size: 0.95rem; }
.info-cards a { font-weight: 600; }
.side-panel { padding: var(--space-6); background: var(--surface-brand); border-radius: var(--radius-lg); }
.side-panel h2 { font-size: 1.6rem; }
.side-panel h3 { margin-top: var(--space-6); font-size: 1.2rem; }
.side-panel p { margin: 0; }
.contact-list { display: grid; gap: var(--space-4); list-style: none; margin-top: var(--space-5); }
.contact-list li { align-items: center; }
.contact-list li > span:last-child { display: grid; line-height: 1.35; }

.download-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--space-4) var(--space-5); padding: var(--space-6); background: var(--card-bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.download-card h3 { margin: 0 0 2px; }
.download-card p { margin: 0; color: var(--ink-muted); }
.download-card .button { grid-column: 1 / -1; }
.file-icon { position: relative; display: grid; place-items: center; width: 64px; height: 76px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); }
.file-icon .icon { width: 30px; height: 30px; margin-top: -10px; }
.file-icon b { position: absolute; bottom: 8px; font-size: 12px; letter-spacing: 0.04em; }
.fine-print { margin: var(--space-4) 0 0; font-size: 15px; color: var(--ink-muted); }

/* ============================================================ Blog */
.blog-tools { display: grid; gap: var(--space-3); margin-bottom: var(--space-5); }
.blog-count { margin: 0; font-size: 15px; color: var(--ink-muted); }
.no-results { padding: var(--space-6); background: var(--surface-100); border-radius: var(--radius-md); text-align: center; }
#sidebar { display: grid; gap: var(--space-5); position: sticky; top: calc(var(--header-h) + 24px); }
.box { padding: var(--space-5); background: var(--surface-100); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.style1 .box { background: var(--surface-200); }
.box h2 { margin-bottom: 14px; font-size: 1.25rem; }
.box-cta { background: var(--brand-strong) !important; color: #fff; display: grid; gap: 10px; }
.box-cta h2, .box-cta p { color: #fff; margin: 0; }
.box-cta p { color: #DCECE8; margin-bottom: 6px; }
.search-form { position: relative; }
.search-form input { padding-right: 46px; }
.search-form .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-muted); pointer-events: none; }
.side-list { display: grid; gap: 6px; list-style: none; }
.side-list button { display: flex; justify-content: space-between; width: 100%; min-height: 40px; align-items: center; font-weight: 600; }
.side-list button span { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--surface-brand); color: var(--brand-strong); font-size: 13px; }
.side-list button:hover { color: var(--brand-strong); }
.side-posts { display: grid; gap: var(--space-4); list-style: none; }
.side-posts a { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; color: var(--ink); text-decoration: none; }
.side-posts img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); background: var(--brand-soft); }
.side-posts strong { display: block; font-size: 15px; line-height: 1.3; font-weight: 600; }
.side-posts small { color: var(--ink-muted); font-size: 13px; }
.side-posts a:hover strong { color: var(--brand); text-decoration: underline; }
.post-body { max-width: 720px; }
.post-body h2 { margin-top: 1.6em; font-size: 1.7rem; }
.post-body p, .post-body li { font-size: 1.1rem; line-height: 1.7; }
.post-body ul, .post-body ol { margin: 0 0 1.2em 1.3em; padding: 0; }
.post-body li { margin-bottom: 0.5em; }
.post-cover { width: 100%; margin-bottom: var(--space-6); border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; background: var(--brand-soft); }
.post-end { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border); font-size: 15px !important; color: var(--ink-muted); }

/* ============================================================ Footer */
#footer { background: var(--brand-strong); color: #DCECE8; padding: 80px 0 0; font-size: 16px; }
#footer h2 { margin-bottom: 16px; color: #fff; font-size: 1.15rem; }
#footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1fr 1.3fr; gap: var(--space-7); }
.footer-brand img { width: auto; height: 42px; margin-bottom: var(--space-4); }
.footer-slogan { margin-bottom: 8px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: #fff; }
.footer-links { display: grid; gap: 4px; list-style: none; }
.footer-links a { display: inline-block; padding: 5px 0; text-decoration: none; opacity: 0.92; transition: opacity 0.2s ease-out, transform 0.2s ease-out; }
.footer-links a:hover { opacity: 1; text-decoration: underline; transform: translateX(3px); }
.footer-contact { display: grid; gap: 14px; list-style: none; }
.footer-contact .icon { margin-top: 4px; color: var(--sunlight); }
#copyright { margin-top: 64px; padding: 24px 0 32px; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 14px; }
#copyright ul { display: flex; flex-wrap: wrap; gap: 6px 28px; list-style: none; }

/* ============================================================ Social icons (animated) */
.social-icons { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: var(--space-5) 0 0; }
.social-icons li { animation: pop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) both; animation-delay: calc(var(--i, 0) * 90ms + 150ms); }
.social-icon { position: relative; display: grid; place-items: center; width: 46px; height: 46px; overflow: hidden; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; text-decoration: none; transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1), background-color 0.25s ease-out, color 0.25s ease-out, box-shadow 0.25s ease-out; }
.social-icon .icon { position: relative; z-index: 2; width: 22px; height: 22px; transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1); }
.social-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; opacity: 0; }
.social-icon:hover, .social-icon:focus-visible { transform: translateY(-6px) scale(1.08); background: var(--surface-100); color: var(--brand-strong); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25); }
.social-icon:hover .icon, .social-icon:focus-visible .icon { transform: rotate(360deg) scale(1.1); }
.social-icon:hover .social-ring, .social-icon:focus-visible .social-ring { animation: ring 0.9s ease-out infinite; }
.social-icon.social-whatsapp:hover, .social-icon.social-whatsapp:focus-visible { background: var(--accent); color: var(--on-accent); }
.social-icons.small { gap: 6px; margin: 0; }
.social-icons.small li { animation-duration: 0.5s; }
.social-icons.small .social-icon { width: 32px; height: 32px; background: transparent; }
.social-icons.small .social-icon .icon { width: 17px; height: 17px; }
.social-icons.large { justify-content: center; gap: 18px; }
.social-icons.large .social-icon { width: 64px; height: 64px; background: var(--brand); color: var(--on-brand); animation: none; }
.social-icons.large .social-icon .icon { width: 28px; height: 28px; }
.social-icons.large li { animation: pop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) both, bounce-idle 4.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 90ms + 150ms), calc(var(--i, 0) * 400ms + 1.5s); }
.social-icons.large .social-icon:hover, .social-icons.large .social-icon:focus-visible { background: var(--brand-strong); color: #fff; }
.social-icons.large .social-icon.social-whatsapp:hover { background: var(--accent); color: var(--on-accent); }
#footer .social-icons .social-icon:hover { background: var(--surface-100); color: var(--brand-strong); }
@keyframes pop { 0% { opacity: 0; transform: scale(0.4) translateY(12px); } 100% { opacity: 1; transform: none; } }
@keyframes ring { 0% { transform: scale(0.8); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes bounce-idle { 0%, 88%, 100% { transform: translateY(0); } 92% { transform: translateY(-8px); } 96% { transform: translateY(0); } 98% { transform: translateY(-3px); } }

/* ============================================================ WhatsApp live chat */
.wa-widget { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa-fab { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 22px 0 18px; border: 0; border-radius: var(--radius-pill); background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: 16px; box-shadow: 0 8px 24px rgba(8, 69, 66, 0.4); transition: transform 0.25s ease-out, background-color 0.2s ease-out; }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--brand); animation: wa-pulse 2.6s ease-out infinite; pointer-events: none; }
.wa-fab:hover { transform: translateY(-3px); background: var(--brand-strong); }
.wa-fab .icon { width: 28px; height: 28px; }
.wa-badge { position: absolute; top: -6px; right: -4px; display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; }
.wa-panel { width: 340px; max-width: calc(100vw - 40px); overflow: hidden; background: var(--surface-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift), 0 0 0 1px var(--border); transform-origin: bottom right; animation: panel-in 0.28s cubic-bezier(0.3, 1.3, 0.5, 1) both; }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 20px; background: var(--brand-strong); color: #fff; }
.wa-head img { flex: none; width: 34px; height: auto; }
.wa-head div { display: grid; flex: 1; line-height: 1.25; }
.wa-head span { font-size: 14px; color: #DCECE8; }
.wa-close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #fff; }
.wa-close:hover { background: rgba(255, 255, 255, 0.15); }
.wa-body { display: grid; gap: 14px; padding: 18px 18px 20px; background: var(--surface-200); }
.wa-bubble { position: relative; margin: 0; padding: 12px 16px; background: var(--surface-100); border-radius: 4px 18px 18px 18px; box-shadow: var(--shadow-soft); font-size: 15px; line-height: 1.5; }
.wa-form { display: grid; gap: 10px; }
.wa-form textarea { width: 100%; padding: 10px 12px; border: 2px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-100); font-size: 15px; resize: none; }
.wa-form .button { width: 100%; padding-inline: 12px; }
.wa-note { margin: 0; font-size: 13px; line-height: 1.4; color: var(--ink-muted); }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(1.35, 1.6); opacity: 0; } }
@keyframes panel-in { from { opacity: 0; transform: scale(0.9) translateY(12px); } to { opacity: 1; transform: none; } }
.wa-widget.is-open .wa-fab::before { animation: none; }

.not-found { padding: 120px 0; }
.not-found img { margin: 0 auto var(--space-5); }
.not-found .lead { max-width: 30em; margin-inline: auto; }

/* ============================================================ Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.js .reveal.is-in { opacity: 1; transform: none; transition-delay: var(--d, 0ms); }
.js .tile.reveal:nth-child(even).is-in { transform: translateY(20px); }
.js .service-card.reveal.is-in:hover, .js .post-card.reveal.is-in:hover { transform: translateY(-6px); transition-delay: 0ms; }

/* ============================================================ Responsive */
@media (max-width: 1200px) {
	.footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
	.footer-grid > section:last-child { grid-column: 1 / -1; }
	.info-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
	:root { --header-h: 68px; --gutter: 20px; }
	.wrapper { padding: 72px 0; }
	.col-12-medium { grid-column: 1 / -1; }
	.imp-medium { order: -1; }
	.row.gtr-150, .row.gtr-100 { gap: var(--space-6); }

	.nav-toggle { display: inline-grid; }
	#nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 12px var(--gutter) 24px; background: var(--surface-100); border-bottom: 1px solid var(--border); box-shadow: 0 16px 32px rgba(22, 48, 47, 0.14); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0.2s; }
	.nav-open #nav { opacity: 1; visibility: visible; transform: none; }
	#nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
	#nav > ul > li > a:not(.button) { display: flex; min-height: 52px; padding: 0 16px; border-radius: var(--radius-md); font-size: 18px; }
	.has-sub { display: grid; grid-template-columns: 1fr 52px; align-items: center; }
	.has-sub > a { padding-right: 16px !important; }
	.sub-toggle { width: 48px; height: 48px; margin: 0; border-radius: var(--radius-md); }
	.sub { position: static; grid-column: 1 / -1; display: none; min-width: 0; margin: 0 0 6px 16px; padding: 4px 0 4px 8px; background: transparent; border: 0; border-left: 2px solid var(--border); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.sub::before { display: none; }
	.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
	.has-sub.is-open > .sub { display: block; }
	.sub a { min-height: 44px; display: flex; align-items: center; }
	#nav .nav-cta { margin: 12px 0 0; }
	#nav .nav-cta .button { width: 100%; min-height: 54px; }

	.slide { padding: 56px 0 184px; }
	.slide-inner { grid-template-columns: 1fr; }
	.slide-art { display: none; }
	.slider-ui { bottom: 104px; }
	.quick-grid { grid-template-columns: 1fr; gap: var(--space-3); }
	.quick { margin-top: -72px; }

	.card-grid, .card-grid.three, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: 1fr; }
	.card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cta-inner { grid-template-columns: 1fr; }
	.cta-actions { flex-direction: row; flex-wrap: wrap; }
	.cta-actions .button { width: auto; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
	.footer-grid > section:first-child { grid-column: 1 / -1; }
	.page-hero { padding: 56px 0 64px; }
	.hs-1 { right: 2%; width: 130px; height: 210px; border-radius: 0 0 65px 65px; }
	.hs-2 { right: calc(2% + 70px); width: 64px; height: 64px; bottom: 20px; }
	.hs-3 { display: none; }
	#sidebar { position: static; }
	.tile:nth-child(even), .js .tile.reveal:nth-child(even).is-in { transform: none; }
	.callout { padding: var(--space-6); }
}

@media (max-width: 736px) {
	body { font-size: 16.5px; }
	.wrapper { padding: 56px 0; }
	.wrapper.tight { padding: 28px 0; }
	.col-12-small { grid-column: 1 / -1; }
	.col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: 1 / -1; }
	.hide-small { display: none !important; }
	.topbar-inner { justify-content: center; }
	#logo img { height: 38px; }
	.slide { padding: 40px 0 178px; }
	.slide-copy .lead { font-size: 1.1rem; }
	.slider-ui { bottom: 96px; gap: 4px; padding: 6px 8px; }
	.slider-dots button { width: 22px; }
	.actions { flex-direction: column; align-items: stretch; }
	.actions .button { width: 100%; }
	.actions.special { align-items: stretch; }
	.card-grid, .card-grid.two, .card-grid.three, .card-grid.four, .info-cards, .tile-grid, .standards-list, .standards-grid, .form-grid { grid-template-columns: 1fr; }
	.field.span-2 { grid-column: auto; }
	.footer-grid { grid-template-columns: 1fr; }
	.form-card, .side-panel, .callout { padding: var(--space-5); }
	.form .button { justify-self: stretch; width: 100%; }
	.download-card { grid-template-columns: 1fr; text-align: left; }
	.hs-1 { width: 90px; height: 150px; border-radius: 0 0 45px 45px; top: -20px; }
	.hs-2 { display: none; }
	.map-frame.tall { height: 320px; }
	.wa-widget { right: 14px; bottom: 14px; }
	.wa-fab { min-height: 58px; padding: 0 16px; }
	.wa-fab-label { display: none; }
	.cta-actions { flex-direction: column; }
	.cta-actions .button { width: 100%; }
	.style-cta { padding: 56px 0; }
	#copyright { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
	.js .reveal { opacity: 1; transform: none; }
	.wa-fab::before { display: none; }
}

@media print {
	#topbar, #header, .wa-widget, .slider-ui, #cta { display: none !important; }
	.slide { opacity: 1 !important; visibility: visible !important; }
}


/* ============================================================ Photography (arched frames) */
.photo-arch { position: relative; isolation: isolate; width: 100%; max-width: 480px; margin: 0 auto; }
.photo-arch picture { display: block; }
.photo-arch img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--brand-soft); border-radius: 50% 50% 28px 28px / 40% 40% 28px 28px; box-shadow: var(--shadow-lift); }
.photo-arch::before { content: ""; position: absolute; z-index: -1; inset: 18px -18px -18px 18px; border: 3px solid var(--brand-soft); border-radius: 50% 50% 34px 34px / 40% 40% 34px 34px; }
.photo-arch::after { content: ""; position: absolute; right: -12px; bottom: 56px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--surface-100); }
.photo-arch .photo-badge { position: absolute; left: -14px; bottom: 34px; width: 64px; height: 72px; margin: 0; background: var(--surface-100); border-radius: 0 0 32px 32px; box-shadow: var(--shadow-soft); }
.photo-arch .photo-badge .icon { width: 28px; height: 28px; }
.photo-arch .photo-badge::after { display: none; }
.photo-arch.wide { max-width: 520px; margin-bottom: var(--space-5); }
.photo-arch.wide img { aspect-ratio: 5 / 4; border-radius: var(--radius-lg); }
.photo-arch.wide::before { border-radius: var(--radius-lg); }
.photo-arch.wide::after { bottom: 24px; }
.photo-arch.hero-photo { max-width: 400px; }
.photo-side { margin-top: var(--space-6); padding: 0 18px 18px 0; }
.photo-side .photo-arch { max-width: 360px; margin-left: 0; }
.slide-art { padding: 0 18px 18px 0; }
.style-dark .photo-arch::before { border-color: rgba(255, 255, 255, 0.28); }
.style-dark .photo-arch::after { box-shadow: 0 0 0 5px var(--brand-strong); }
.slide.s3 .photo-arch::after { box-shadow: 0 0 0 5px var(--brand-strong); }
.slide.s4 .photo-arch::after { box-shadow: 0 0 0 5px var(--accent-tint); }
.slide.s2 .photo-arch::after { box-shadow: 0 0 0 5px var(--surface-brand); }
.credit-list { padding-left: 1.2em; }
.credit-list li { margin-bottom: 0.4em; }
@media (max-width: 980px) {
	.photo-arch, .photo-arch.hero-photo { max-width: 420px; }
	.service-row .photo-arch { margin-top: var(--space-4); }
}
@media (prefers-reduced-motion: no-preference) {
	.photo-arch img { transition: transform 0.6s ease-out; }
}
