/* ==========================================================================
   Cayman Ecommerce — main stylesheet
   Palette: navy (trust) · teal (Caribbean, action) · sand (warmth) · coral (CTA)
   ========================================================================== */

:root {
	--c-navy: #0B1F3A;
	--c-navy-2: #12305A;
	--c-teal: #0E8C8C;
	--c-lagoon: #2EC4B6;
	--c-sand: #F7F1E6;
	--c-coral: #F27059;
	--c-ink: #13233A;
	--c-text: #3C4A5C;
	--c-muted: #6B7A8C;
	--c-line: #E3E8EF;
	--c-bg: #FFFFFF;
	--c-soft: #F5F8FB;
	--c-ok: #1F9D6B;
	--c-warn: #D99A1E;
	--c-err: #D64545;

	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

	--radius: 14px;
	--radius-sm: 8px;
	--shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 1px 3px rgba(11, 31, 58, .08);
	--shadow: 0 10px 30px -12px rgba(11, 31, 58, .22);
	--shadow-lg: 0 30px 60px -20px rgba(11, 31, 58, .35);
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 8vw, 104px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--c-text);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--c-teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-navy); }
h1, h2, h3, h4, h5, h6, .h3 {
	font-family: var(--f-head);
	color: var(--c-ink);
	line-height: 1.2;
	margin: 0 0 .5em;
	letter-spacing: -.015em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3, .h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--c-lagoon); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--c-lagoon); color: #fff; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000;
	top: 8px; left: 8px; padding: 12px 18px; background: #fff; color: var(--c-navy); box-shadow: var(--shadow);
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.container--wide { max-width: 1400px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font: 600 1rem/1 var(--f-body);
	padding: .9em 1.4em; border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { font-size: .9rem; padding: .65em 1.1em; }
.btn--lg { font-size: 1.05rem; padding: 1.05em 1.7em; }
.btn--primary { background: var(--c-teal); color: #fff; box-shadow: 0 8px 20px -10px var(--c-teal); }
.btn--primary:hover { background: var(--c-navy); color: #fff; }
.btn--coral { background: var(--c-coral); color: #fff; box-shadow: 0 10px 24px -10px var(--c-coral); }
.btn--coral:hover { background: #e2563f; color: #fff; }
.btn--ghost { background: transparent; color: var(--c-navy); border-color: var(--c-line); }
.btn--ghost:hover { border-color: var(--c-teal); color: var(--c-teal); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

.eyebrow {
	display: inline-block; font: 700 .78rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
	color: var(--c-teal); margin-bottom: 1rem;
}
.eyebrow--light { color: var(--c-lagoon); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--c-navy); color: rgba(255,255,255,.78); font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__item, .topbar__links a { display: inline-flex; align-items: center; gap: .4em; white-space: nowrap; }
.topbar__links { display: flex; gap: 1.5rem; }

.site-header { background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--c-line); z-index: 50; }
.has-sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1.5rem; }

.wordmark { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--c-navy); }
.wordmark__mark {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
	background: linear-gradient(135deg, var(--c-teal), var(--c-lagoon)); color: #fff;
	font: 800 1.25rem/1 var(--f-head);
}
.wordmark__text { font: 800 1.2rem/1 var(--f-head); letter-spacing: -.02em; }
.wordmark--light { color: #fff; }
.custom-logo { max-height: 48px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.primary-nav .menu { display: flex; list-style: none; margin: 0; padding: 0; gap: .25rem; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu a {
	display: block; padding: .6rem .85rem; border-radius: var(--radius-sm);
	color: var(--c-ink); font-weight: 500; text-decoration: none; font-size: .97rem;
}
.primary-nav .menu a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--c-teal); background: var(--c-soft); }
.primary-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.primary-nav .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; padding: .5rem; margin: 0; list-style: none;
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease);
}
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu,
.primary-nav .menu-item-has-children.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav__actions { display: flex; gap: .6rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--c-navy); padding: .4rem; cursor: pointer; }
.nav-toggle__close { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); overflow: hidden; background: var(--c-navy); }
.hero__bg {
	position: absolute; inset: 0; z-index: 0;
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(46,196,182,.35), transparent 60%),
		radial-gradient(800px 400px at -10% 110%, rgba(14,140,140,.45), transparent 60%),
		linear-gradient(160deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
}
.hero__bg::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 80px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 240 80 480 0 720 30 S 1200 70 1440 30 V80 H0Z' fill='%23ffffff'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { color: #fff; font-size: clamp(2.3rem, 5vw, 3.75rem); margin-bottom: .45em; }
.hero__text { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.75rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: 0; color: rgba(255,255,255,.75); font-size: .92rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: .45em; }
.hero__trust .icon { color: var(--c-lagoon); }
.hero__img { border-radius: 20px; box-shadow: var(--shadow-lg); }

.mock { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); color: var(--c-ink); overflow: hidden; transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); }
.mock__bar { display: flex; gap: 6px; padding: 12px 14px; background: var(--c-soft); border-bottom: 1px solid var(--c-line); }
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d3dae3; }
.mock__body { padding: 20px; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__kpis div { background: var(--c-soft); border-radius: 10px; padding: 10px 12px; }
.mock__kpis small { display: block; color: var(--c-muted); font-size: .72rem; }
.mock__kpis strong { font: 800 1.35rem/1.2 var(--f-head); color: var(--c-navy); }
.mock__chart { width: 100%; height: 90px; color: var(--c-teal); margin: 14px 0; }
.mock__rows div { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--c-line); font-size: .88rem; }
.mock__caption { margin: 0; padding: 8px 20px 12px; font-size: .72rem; color: var(--c-muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--ok { background: var(--c-ok); } .dot--warn { background: var(--c-warn); }

.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 3rem 0 0; }
.stats__item { display: flex; flex-direction: column-reverse; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.25rem; }
.stats dt { color: rgba(255,255,255,.7); font-size: .9rem; }
.stats dd { margin: 0; font: 800 2rem/1.1 var(--f-head); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) / 2) 0 0; }
.section--flush-top { padding-top: 0; }
.section-subhead { font-size: 1.5rem; margin-bottom: 1.5rem; }
.section--sand { background: var(--c-sand); }
.section--navy { background: var(--c-navy); color: rgba(255,255,255,.82); }
.section--navy h2, .section--navy h3, .section--navy strong { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-head p:last-child { color: var(--c-muted); font-size: 1.08rem; }
.section-head--left { margin-left: 0; text-align: left; }

/* Service cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.service-card {
	position: relative; display: flex; flex-direction: column; padding: 1.75rem;
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:focus-within { box-shadow: var(--shadow); }
.service-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(14,140,140,.1); color: var(--c-teal); margin-bottom: 1.1rem; }
.service-card__title { margin-bottom: .4rem; }
.service-card__title a { color: inherit; text-decoration: none; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card p { color: var(--c-muted); font-size: .97rem; }
.service-card__foot { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--c-line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .35rem .75rem; }
.service-card__foot .price, .service-card__foot .link-arrow { white-space: nowrap; }
.service-card__foot .link-arrow { position: relative; z-index: 1; font-size: .92rem; }
.price { font-weight: 700; color: var(--c-navy); font-size: .95rem; }

.checklist { list-style: none; padding: 0; margin: 0 0 1rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; }
.checklist .icon { color: var(--c-teal); flex: none; margin-top: .25em; }
.checklist--compact li { font-size: .92rem; padding: .2rem 0; }
.checklist--muted li { color: var(--c-muted); }
.numbered { padding-left: 1.25rem; margin: 0 0 1.5rem; }
.numbered li { padding: .35rem 0 .35rem .25rem; }
.numbered li::marker { color: var(--c-teal); font-weight: 700; }
.plain-list { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.plain-list li + li { margin-top: .25rem; }

/* Benefits */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.benefit-grid--3 { grid-template-columns: repeat(3, 1fr); }
.benefit { background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.benefit__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-coral); color: #fff; margin-bottom: 1rem; }
.benefit p { color: var(--c-muted); margin: 0; }
.section:not(.section--sand) .benefit { background: var(--c-soft); box-shadow: none; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 24px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--c-teal), var(--c-lagoon)); opacity: .3; }
.steps__item { position: relative; text-align: center; }
.steps__num { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 1rem; border-radius: 50%; background: #fff; border: 2px solid var(--c-teal); color: var(--c-teal); font: 800 1.1rem/1 var(--f-head); position: relative; }
.steps__item h3 { font-size: 1.05rem; }
.steps__item p { font-size: .93rem; color: var(--c-muted); }

/* Split / portal promo */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feature-list li { display: flex; gap: .9rem; padding: 1.2rem; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.feature-list__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: rgba(46,196,182,.15); color: var(--c-lagoon); }
.feature-list strong { display: block; margin-bottom: .2rem; }
.feature-list span { font-size: .92rem; color: rgba(255,255,255,.7); }

/* FAQ */
.faq__item { background: #fff; border-radius: var(--radius); margin-bottom: .75rem; box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.15rem 3rem 1.15rem 1.4rem; font-weight: 600; color: var(--c-ink); position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--c-teal); transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__answer { padding: 0 1.4rem 1.2rem; color: var(--c-muted); }

/* CTA */
.cta {
	display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
	padding: clamp(32px, 5vw, 56px); border-radius: 24px; color: rgba(255,255,255,.85);
	background: radial-gradient(600px 300px at 100% 0, rgba(46,196,182,.4), transparent 60%), linear-gradient(135deg, var(--c-navy), var(--c-navy-2));
	box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; max-width: 40em; }
.cta > div:first-child { flex: 1 1 420px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Page hero */
.page-hero { background: linear-gradient(160deg, var(--c-navy), var(--c-navy-2)); color: rgba(255,255,255,.82); padding: clamp(48px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 90% 0, rgba(46,196,182,.3), transparent 60%); }
.page-hero .container { position: relative; }
.page-hero__title { color: #fff; margin-bottom: .3em; }
.page-hero__subtitle { font-size: 1.15rem; max-width: 46em; }
.page-hero__split { display: grid; grid-template-columns: 1.4fr .8fr; gap: 3rem; align-items: center; }
.breadcrumbs { font-size: .85rem; margin-bottom: 1.25rem; color: rgba(255,255,255,.65); }
.breadcrumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs .sep { margin: 0 .35em; }

.fact-card { background: #fff; color: var(--c-text); border-radius: 20px; padding: 1.75rem; box-shadow: var(--shadow-lg); }
.fact-card__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: rgba(14,140,140,.1); color: var(--c-teal); margin-bottom: 1rem; }
.fact-card dl { margin: 0; }
.fact-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--c-line); }
.fact-card dt { color: var(--c-muted); }
.fact-card dd { margin: 0; font-weight: 700; color: var(--c-navy); text-align: right; }
.fact-card__note { font-size: .82rem; color: var(--c-muted); margin: 1rem 0 0; }

/* Panels / two-col */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.panel { background: #fff; border: 1px solid var(--c-line); border-radius: 20px; padding: clamp(24px, 3vw, 40px); }
.panel--accent { border: 2px solid var(--c-teal); box-shadow: var(--shadow); }
.panel__title { font-size: 1.5rem; }
.panel__subtitle { font-size: 1.05rem; margin-top: 1.5rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { display: flex; gap: .75rem; align-items: center; padding: .55rem 0; }
.contact-list .icon { color: var(--c-teal); }

/* Table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1rem 1.2rem; border-bottom: 1px solid var(--c-line); }
.compare thead th { background: var(--c-navy); color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.compare tbody th a { color: var(--c-ink); font-weight: 700; text-decoration: none; }

/* Blog */
.layout-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.post-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card__media img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card__body { padding: 1.4rem; }
.post-card__title { font-size: 1.2rem; }
.post-card__title a { color: inherit; text-decoration: none; }
.entry-meta { font-size: .85rem; color: var(--c-muted); margin-bottom: .5rem; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote { border-left: 4px solid var(--c-teal); margin-left: 0; padding: .25rem 0 .25rem 1.25rem; color: var(--c-ink); font-size: 1.1rem; }
.entry-hero img { border-radius: var(--radius); }
.sidebar .widget { background: var(--c-soft); border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.25rem; }
.widget-title { font-size: 1.05rem; }
.widget ul { padding-left: 1.1rem; }
.pagination, .nav-links { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 2rem; }
.page-numbers { padding: .5rem .9rem; border-radius: var(--radius-sm); border: 1px solid var(--c-line); text-decoration: none; }
.page-numbers.current { background: var(--c-teal); color: #fff; border-color: var(--c-teal); }
.empty-state { text-align: center; padding: 3rem 1rem; }

/* Forms */
.input, input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="number"], input[type="search"], input[type="date"], select, textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--c-ink);
	padding: .8rem 1rem; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-teal); box-shadow: 0 0 0 4px rgba(14,140,140,.15); }
label { font-weight: 600; color: var(--c-ink); font-size: .93rem; }
.search-form { display: flex; gap: .5rem; }

/* Footer */
.site-footer { background: #081629; color: rgba(255,255,255,.7); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-top: 72px; padding-bottom: 48px; }
.site-footer__brand p { margin-top: 1rem; max-width: 30em; }
.site-footer__title { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; }
.site-footer__list { list-style: none; padding: 0; margin: 0; }
.site-footer__list li { padding: .3rem 0; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--c-lagoon); }
.site-footer__contact li { display: flex; gap: .55rem; align-items: center; }
.site-footer__contact .icon, .site-footer__pay .icon { color: var(--c-lagoon); flex: none; }
.site-footer__pay { display: flex; gap: .5rem; align-items: center; margin-top: 1rem; font-size: .88rem; }
.social-links { display: flex; gap: 1rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.site-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.2rem; padding-bottom: 1.2rem; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
.legal-menu { display: flex; gap: 1.2rem; list-style: none; margin: 0; padding: 0; }

/* Portal shell (styles for the app itself come from the plugin) */
.portal-shell { background: var(--c-soft); padding: 2rem 0 4rem; min-height: 70vh; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* WordPress core */
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--c-muted); }
.sticky .post-card__title::before { content: "★ "; color: var(--c-coral); }
.bypostauthor { display: block; }
.wp-block-button__link { border-radius: 999px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.benefit-grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(3, 1fr); }
	.steps::before { display: none; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	/* Mobile navigation drawer.
	 * The header's backdrop-filter made it the containing block for the fixed drawer,
	 * so the drawer was clipped to the header's height (only "Services" showed) and its
	 * off-screen position widened the page (the sideways shift). Remove the filter on
	 * mobile so the drawer is positioned against the viewport. */
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; position: relative; }
	.has-sticky-header .site-header { position: sticky; }
	.nav-open .site-header { z-index: 1000; }
	.nav-toggle { display: inline-flex; position: relative; z-index: 1002; border-radius: 10px; }
	.nav-toggle:focus-visible { outline: 3px solid var(--c-lagoon); }
	.primary-nav {
		position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 1001;
		width: min(360px, 86vw); height: 100vh; height: 100dvh;
		display: flex; flex-direction: column; align-items: stretch; gap: 1.25rem;
		padding: 84px 1.25rem calc(2rem + env(safe-area-inset-bottom));
		background: #fff; box-shadow: var(--shadow-lg);
		overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
		transform: translateX(100%); visibility: hidden;
		transition: transform .3s var(--ease), visibility 0s linear .3s;
	}
	.nav-open .primary-nav { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
	.admin-bar .primary-nav { padding-top: 130px; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(11,31,58,.5); z-index: 999; }
	/* Lock the page behind the open drawer. body uses overflow-x: clip (not hidden) on mobile so
	 * locking the root doesn't turn body into a scroll container, which would push the sticky
	 * header (and the close button) off-screen and jump the page to the top on close. */
	@supports (overflow: clip) { body { overflow-x: clip; } }
	html.nav-locked { overflow: hidden; }
	.primary-nav .menu { display: flex; flex-direction: column; gap: 0; }
	.primary-nav .menu > li { border-bottom: 1px solid var(--c-line); }
	.primary-nav .menu a { padding: .9rem .5rem; font-size: 1.05rem; border-radius: 0; }
	.primary-nav .menu a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { background: transparent; }
	.primary-nav .menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; }
	.primary-nav .menu-item-has-children > a::after { transition: transform .2s; }
	.primary-nav .menu-item-has-children.is-open > a::after { transform: translateY(2px) rotate(-135deg); }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 .5rem .75rem; margin: 0; display: none; min-width: 0; background: transparent; }
	.primary-nav .sub-menu a { padding: .55rem .5rem; font-size: .97rem; color: var(--c-text); }
	.primary-nav .is-open > .sub-menu { display: block; }
	.primary-nav__actions { flex-direction: column; gap: .6rem; }
	.primary-nav__actions .btn { width: 100%; padding: .85em 1.1em; font-size: 1rem; }
	.hero__grid, .split, .page-hero__split, .two-col, .layout-sidebar { grid-template-columns: 1fr; }
	.hero__visual { max-width: 520px; }
	.mock { transform: none; }
	.topbar__item { display: none; }
	.topbar__inner { justify-content: center; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.benefit-grid, .benefit-grid--3, .feature-list, .steps, .stats { grid-template-columns: 1fr; }
	.steps__item { text-align: left; display: grid; grid-template-columns: 48px 1fr; column-gap: 1rem; }
	.steps__num { margin: 0; grid-row: span 2; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__bottom-inner { flex-direction: column; text-align: center; }
	.topbar__links { gap: 1rem; font-size: .8rem; }
	.hero__actions .btn, .cta__actions .btn { width: 100%; }
	.admin-bar.has-sticky-header .site-header { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

@media print {
	.topbar, .site-header, .site-footer, .cta, #cecp-chat { display: none !important; }
	body { color: #000; }
}

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 3rem; align-items: start; max-width: 1100px; }
.legal-toc { position: sticky; top: 100px; padding: 1.25rem; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-soft); font-size: .92rem; }
.legal-toc__title { font-weight: 700; color: var(--c-ink); margin-bottom: .5rem; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; }
.legal-toc a { color: var(--c-text); text-decoration: none; }
.legal-toc a:hover { color: var(--c-teal); text-decoration: underline; }
.legal-toc__actions { margin: 1rem 0 0; }
.legal-content h2 { font-size: 1.4rem; scroll-margin-top: 110px; }
.legal-content table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.legal-content th, .legal-content td { text-align: left; vertical-align: top; padding: .65rem .8rem; border: 1px solid var(--c-line); }
.legal-content thead th { background: var(--c-navy); color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.legal-content .wp-block-table { overflow-x: auto; margin: 1rem 0 1.5rem; }
.legal-content code { font-size: .85em; background: var(--c-soft); padding: .1em .35em; border-radius: 4px; }
.legal-notice { padding: 1rem 1.2rem; border-left: 4px solid var(--c-coral); background: #FFF4F1; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--c-ink); }
.legal-contact { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--c-line); color: var(--c-muted); }
@media (max-width: 960px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; } }
@media print { .legal-toc, .page-hero .breadcrumbs, .legal-contact { display: none; } .legal-layout { display: block; } }
/* "All services" link is only useful in the mobile drawer. */
.primary-nav .menu-item--overview { display: none; }
@media (max-width: 960px) { .primary-nav .menu-item--overview { display: block; } .primary-nav .menu-item--overview a { font-weight: 600; color: var(--c-teal); } }
