/* Regional Express — site styles */
:root {
	--rex-navy: var(--wp--preset--color--navy);
	--rex-accent: var(--wp--preset--color--accent);
	--rex-line: var(--wp--preset--color--line);
	--rex-soft: var(--wp--preset--color--soft);
	--rex-muted: var(--wp--preset--color--muted);
	--rex-radius: 14px;
	--rex-shadow: 0 1px 2px rgba(16,35,64,.06), 0 8px 24px rgba(16,35,64,.06);
	--i-warehouse: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 21V9l9-5 9 5v12'/><path d='M7 21v-8h10v8'/><path d='M7 17h10'/></svg>");
	--i-box: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M21 8l-9-5-9 5 9 5 9-5z'/><path d='M3 8v8l9 5 9-5V8'/><path d='M12 13v8'/></svg>");
	--i-truck: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M1 5h13v11H1z'/><path d='M14 9h4l4 4v3h-8'/><circle cx='5.5' cy='18.5' r='2'/><circle cx='17.5' cy='18.5' r='2'/></svg>");
	--i-return: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M9 14L4 9l5-5'/><path d='M4 9h11a5 5 0 0 1 0 10h-3'/></svg>");
	--i-amazon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/><circle cx='7.5' cy='7.5' r='1.5'/></svg>");
	--i-gift: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M20 12v9H4v-9'/><path d='M2 7h20v5H2z'/><path d='M12 21V7'/><path d='M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7zM12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z'/></svg>");
	--i-ship: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M2 20c1.5 1 3 1 4.5 0s3-1 4.5 0 3 1 4.5 0 3-1 4.5 0'/><path d='M4 17l-1-5h18l-2 5'/><path d='M6 12V7h8v5'/><path d='M14 9h3v3'/></svg>");
	--i-shield: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6l8-3z'/><path d='M8.5 12l2.5 2.5 4.5-5'/></svg>");
	--i-globe: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M3 12h18'/><path d='M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/></svg>");
	--i-doc: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M14 3H6v18h12V7l-4-4z'/><path d='M14 3v4h4'/><path d='M9 13h6M9 17h6M9 9h2'/></svg>");
	--i-sync: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M20 11a8 8 0 0 0-14.5-4.5L4 8'/><path d='M4 3v5h5'/><path d='M4 13a8 8 0 0 0 14.5 4.5L20 16'/><path d='M20 21v-5h-5'/></svg>");
	--i-pin: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/><circle cx='12' cy='9.5' r='2.5'/></svg>");
	--i-check: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>");
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-block-post-content > .alignfull { margin-block-start: 0; margin-block-end: 0; }
:where(.wp-block-post-content) > .alignfull + .alignfull { margin-block-start: 0; }
[id] { scroll-margin-top: 90px; }

/* ---------- Header ---------- */
.rex-topbar p { margin: 0; opacity: .85; }
.rex-topbar a { color: inherit; text-decoration: none; }
.rex-topbar a:hover { color: var(--wp--preset--color--accent-light); }
@media (max-width: 1100px) { .rex-topbar .wp-block-group > p:first-child { display: none; } }
.rex-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .rex-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rex-site-header { top: 0; position: relative; } }
.rex-header { border-bottom: 1px solid var(--rex-line); box-shadow: 0 2px 12px rgba(16,35,64,.04); }
.rex-brand { gap: .6rem; }
.rex-logo-mark { display: inline-flex; line-height: 0; }
.rex-brand .wp-block-site-title a { text-decoration: none; }
.rex-header .wp-block-navigation a { text-decoration: none; color: var(--rex-navy); }
.rex-header .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--rex-accent); }
.rex-header .rex-nav-cta > a {
	background: var(--rex-accent); color: #fff !important; padding: .6rem 1.1rem; border-radius: 8px; font-weight: 700;
}
.rex-header .rex-nav-cta > a:hover { background: var(--rex-navy); color: #fff !important; }
.wp-block-navigation__responsive-container.is-menu-open .rex-nav-cta > a { margin-top: .5rem; }

/* ---------- Shared ---------- */
.rex-eyebrow {
	font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rex-accent); margin-bottom: .25rem;
}
.rex-lede { font-size: var(--wp--preset--font-size--large); line-height: 1.6; color: var(--rex-muted); }
.rex-muted { color: var(--rex-muted); }
.rex-section { padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); }
.rex-bg-soft { background: var(--rex-soft); }
.rex-section-head { margin-bottom: var(--wp--preset--spacing--50); text-align: center; }
.rex-section-head h2 { margin-top: .25rem; }

.rex-grid { display: grid; gap: 1.25rem; }
.rex-grid > * { margin: 0 !important; }
.rex-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rex-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rex-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .rex-grid-3, .rex-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rex-grid-2, .rex-grid-3, .rex-grid-4 { grid-template-columns: 1fr; } }

.rex-card {
	background: #fff; border: 1px solid var(--rex-line); border-radius: var(--rex-radius); padding: 1.75rem; box-shadow: var(--rex-shadow);
	transition: transform .2s ease, box-shadow .2s ease;
}
.rex-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(16,35,64,.06), 0 16px 36px rgba(16,35,64,.1); }
.rex-card > * { margin-block: 0; }
.rex-card > * + * { margin-block-start: .75rem; }
.rex-card h3 { font-size: 1.2rem; }
.rex-card p { color: var(--rex-muted); }

.rex-icon {
	width: 52px; height: 52px; border-radius: 12px; background: #F7E4DE; position: relative; margin: 0 0 1rem !important; flex: none;
}
.rex-icon::after {
	content: ""; position: absolute; inset: 13px; background: var(--rex-accent);
	-webkit-mask: var(--rex-i) center / contain no-repeat; mask: var(--rex-i) center / contain no-repeat;
}
.rex-i-warehouse { --rex-i: var(--i-warehouse); }
.rex-i-box { --rex-i: var(--i-box); }
.rex-i-truck { --rex-i: var(--i-truck); }
.rex-i-return { --rex-i: var(--i-return); }
.rex-i-amazon { --rex-i: var(--i-amazon); }
.rex-i-gift { --rex-i: var(--i-gift); }

.rex-ticks { list-style: none; padding-left: 0; }
.rex-ticks li { position: relative; padding-left: 2rem; margin: .55rem 0; }
.rex-ticks li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--rex-accent);
	-webkit-mask: none; 
}
.rex-ticks li::after {
	content: ""; position: absolute; left: .25rem; top: calc(.2em + .25rem); width: .8rem; height: .8rem; background: #fff;
	-webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat;
}
.rex-ticks-inline { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.75rem; }
.rex-ticks-inline li { margin: 0; font-weight: 600; font-size: .95rem; }
.rex-ticks-card { background: #fff; border: 1px solid var(--rex-line); border-radius: var(--rex-radius); padding: 1.5rem 1.75rem; box-shadow: var(--rex-shadow); }
.rex-bg-soft .rex-ticks-card { background: #fff; }

/* Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link { border: 2px solid currentColor; background: transparent; color: var(--rex-navy); padding: calc(.85rem - 2px) calc(1.5rem - 2px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--rex-navy); color: #fff; border-color: var(--rex-navy); }
.rex-hero .rex-btn-light > .wp-block-button__link, .rex-cta .rex-btn-light > .wp-block-button__link { color: #fff; }
.rex-hero .rex-btn-light > .wp-block-button__link:hover, .rex-cta .rex-btn-light > .wp-block-button__link:hover { background: #fff; color: var(--rex-navy); border-color: #fff; }

/* ---------- Home hero ---------- */
.rex-hero {
	background:
		radial-gradient(900px 500px at 85% 10%, rgba(138,32,3,.35), transparent 60%),
		radial-gradient(700px 400px at 0% 100%, rgba(255,255,255,.06), transparent 60%),
		linear-gradient(160deg, #102340 0%, #1B3560 100%);
	color: #fff; padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); position: relative; overflow: hidden;
}
.rex-hero::before {
	content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
	background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 48px 48px;
	-webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.rex-hero > * { position: relative; }
.rex-hero h1 { color: #fff; margin-top: .5rem; }
.rex-hero .rex-eyebrow { color: var(--wp--preset--color--accent-light); }
.rex-hero .rex-ticks li::before { background: var(--wp--preset--color--accent-light); }
.rex-hero .rex-ticks li::after { background: var(--rex-navy); }
.rex-hero .rex-lede { color: rgba(255,255,255,.82); max-width: 36em; }
.rex-hl { color: var(--wp--preset--color--accent-light); }
.rex-hero .rex-ticks li { color: rgba(255,255,255,.9); }
.rex-hero-cols { gap: var(--wp--preset--spacing--60); }

.rex-order-card {
	background: #fff; color: var(--wp--preset--color--ink); border-radius: 18px; padding: 1.75rem; box-shadow: 0 30px 60px rgba(0,0,0,.3);
	max-width: 400px; margin-inline: auto; transform: rotate(1.5deg);
}
.rex-order-card > * { margin: 0; }
.rex-order-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--rex-line); color: var(--rex-navy); }
.rex-order-head span { font-size: .75rem; font-weight: 700; background: #E8F3EC; color: #1E7A46; padding: .2rem .6rem; border-radius: 99px; }
.rex-timeline { list-style: none; padding: .75rem 0 0 !important; margin: 0; }
.rex-timeline li { position: relative; padding: .65rem 0 .65rem 2.1rem; color: var(--rex-muted); font-size: .95rem; display: flex; justify-content: space-between; gap: 1rem; }
.rex-timeline li strong { color: var(--rex-navy); font-weight: 600; }
.rex-timeline li::before { content: ""; position: absolute; left: .3rem; top: 50%; width: .9rem; height: .9rem; margin-top: -.45rem; border-radius: 50%; border: 2px solid var(--rex-line); background: #fff; box-sizing: border-box; }
.rex-timeline li:not(:last-child)::after { content: ""; position: absolute; left: calc(.75rem - 1px); top: calc(50% + .45rem); height: calc(100% - .9rem); width: 2px; background: var(--rex-line); }
.rex-timeline li.is-done::before { background: #1E7A46; border-color: #1E7A46; }
.rex-timeline li.is-done::after { background: #1E7A46; }
.rex-timeline li.is-now::before { background: var(--rex-accent); border-color: var(--rex-accent); box-shadow: 0 0 0 5px rgba(138,32,3,.18); }
.rex-order-foot { margin-top: 1rem !important; padding: .75rem 1rem; background: var(--rex-soft); border-radius: 10px; font-size: .85rem; color: var(--rex-muted); }
@media (max-width: 781px) { .rex-order-card { transform: none; } }

/* Platforms strip */
.rex-platforms { padding-top: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--rex-line); }
.rex-platforms-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--rex-muted); font-weight: 600; margin: 0 0 1rem; }
.rex-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.75rem; }
.rex-pills li { font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; color: #8A95A6; }

/* Steps */
.rex-steps { counter-reset: step; }
.rex-step { counter-increment: step; position: relative; padding: 1.75rem; background: #fff; border-radius: var(--rex-radius); border: 1px solid var(--rex-line); }
.rex-step::before {
	content: counter(step, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
	border-radius: 50%; background: var(--rex-navy); color: #fff; font-weight: 800; font-size: .95rem; margin-bottom: 1rem;
}
.rex-step > * { margin-block: 0; }
.rex-step > * + * { margin-block-start: .5rem; }
.rex-step p { color: var(--rex-muted); }

/* Feature tiles */
.rex-feature { padding: 1.25rem 1.25rem 1.25rem 1.5rem; border-left: 3px solid var(--rex-accent); background: var(--rex-soft); border-radius: 0 10px 10px 0; }
.rex-feature > * { margin-block: 0; }
.rex-feature > * + * { margin-block-start: .4rem; }
.rex-feature h3 { font-size: 1.05rem; }
.rex-feature p { color: var(--rex-muted); font-size: .95rem; }
.rex-split { gap: var(--wp--preset--spacing--60); }

/* ---------- Inner page hero ---------- */
.rex-page-hero {
	background: linear-gradient(180deg, var(--rex-soft), #fff); padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--60);
	border-bottom: 1px solid var(--rex-line);
}
.rex-page-hero h1 { margin-top: .25rem; }
.rex-page-hero .rex-lede { margin-inline: auto; }

/* Services */
.rex-service .wp-block-column > h2 { margin-top: 0; }

/* How it works timeline */
.rex-timeline-steps { counter-reset: tstep; max-width: 820px; margin-inline: auto; }
.rex-tstep { counter-increment: tstep; position: relative; padding: 0 0 2.25rem 4.5rem; margin: 0 !important; }
.rex-tstep::before {
	content: counter(tstep); position: absolute; left: 0; top: 0; width: 3rem; height: 3rem; border-radius: 50%;
	background: var(--rex-accent); color: #fff; font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
}
.rex-tstep:not(:last-child)::after { content: ""; position: absolute; left: calc(1.5rem - 1px); top: 3.25rem; bottom: .25rem; width: 2px; background: var(--rex-line); }
.rex-tstep > * { margin-block: 0; }
.rex-tstep h3 { padding-top: .6rem; font-size: 1.3rem; }
.rex-tstep p { color: var(--rex-muted); margin-top: .5rem; }

/* Pricing */
.rex-price { display: flex; flex-direction: column; }
.rex-price-tier { font-size: .8rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--rex-accent) !important; }
.rex-price h3 { font-size: 1.4rem; }
.rex-price .rex-ticks { margin-top: 1.25rem !important; padding-top: 1.25rem; border-top: 1px solid var(--rex-line); }
.rex-price .rex-ticks li { color: var(--wp--preset--color--ink); }
.rex-price.is-featured { border: 2px solid var(--rex-accent); position: relative; }
.rex-price.is-featured::before {
	content: "Most popular"; position: absolute; top: -0.8rem; right: 1.5rem; background: var(--rex-accent); color: #fff;
	font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .3rem .7rem; border-radius: 99px;
}
.rex-table table { border-collapse: separate; border-spacing: 0; width: 100%; background: #fff; border: 1px solid var(--rex-line); border-radius: var(--rex-radius); overflow: hidden; }
.rex-table th, .rex-table td { border: 0; border-bottom: 1px solid var(--rex-line); padding: .9rem 1.25rem; text-align: left; }
.rex-table thead th { background: var(--rex-navy); color: #fff; font-weight: 700; }
.rex-table tbody tr:last-child td { border-bottom: 0; }
.rex-table td:first-child { font-weight: 700; color: var(--rex-navy); width: 30%; }
.rex-table thead { border: 0; }

/* FAQ */
.rex-faq { border-bottom: 1px solid var(--rex-line); padding: 1.1rem 0; margin-top: 0 !important; margin-bottom: 0 !important; }
.rex-faq summary { font-weight: 700; color: var(--rex-navy); font-size: 1.1rem; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.rex-faq summary::-webkit-details-marker { display: none; }
.rex-faq summary::after { content: "+"; position: absolute; right: 0; top: -.15rem; font-size: 1.6rem; font-weight: 400; color: var(--rex-accent); transition: transform .2s; }
.rex-faq[open] summary::after { transform: rotate(45deg); }
.rex-faq p { color: var(--rex-muted); margin: .75rem 0 0; }

/* CTA */
.rex-cta { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--70); }
.rex-cta-inner {
	background: radial-gradient(600px 300px at 100% 0%, rgba(138,32,3,.45), transparent 60%), linear-gradient(160deg, #102340, #1B3560);
	color: #fff; border-radius: 22px; padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50) !important; max-width: 1200px !important;
}
.rex-cta-inner h2 { color: #fff; margin-top: 0; }
.rex-cta-inner p { color: rgba(255,255,255,.82); font-size: 1.1rem; }

/* Contact & form */
.rex-contact-cols { gap: var(--wp--preset--spacing--50); }
.rex-contact-card { position: sticky; top: 110px; }
.rex-contact-card:hover { transform: none; }
.rex-contact-card a { color: var(--rex-navy); font-weight: 600; }
.rex-form-wrap { background: #fff; border: 1px solid var(--rex-line); border-radius: var(--rex-radius); padding: clamp(1.25rem, 4vw, 2.25rem); box-shadow: var(--rex-shadow); }
.rex-form p { margin: 0 0 1.1rem; }
.rex-form label { display: block; font-weight: 600; font-size: .92rem; color: var(--rex-navy); margin-bottom: .35rem; }
.rex-form input[type=text], .rex-form input[type=email], .rex-form input[type=tel], .rex-form input[type=url], .rex-form select, .rex-form textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1px solid #CBD4E1; border-radius: 8px; background: #fff; color: var(--wp--preset--color--ink);
}
.rex-form input:focus, .rex-form select:focus, .rex-form textarea:focus { outline: none; border-color: var(--rex-accent); box-shadow: 0 0 0 3px rgba(138,32,3,.3); }
.rex-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 640px) { .rex-form-row { grid-template-columns: 1fr; } }
.rex-checks { border: 0; padding: 0; margin: 0 0 1.1rem; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .4rem 1rem; }
.rex-checks legend { font-weight: 600; font-size: .92rem; color: var(--rex-navy); margin-bottom: .5rem; padding: 0; }
.rex-checks label, .rex-consent label { font-weight: 400; display: flex; gap: .55rem; align-items: flex-start; color: var(--wp--preset--color--ink); }
.rex-checks input, .rex-consent input { margin-top: .3rem; accent-color: var(--rex-accent); width: 1rem; height: 1rem; flex: none; }
@media (max-width: 480px) { .rex-checks { grid-template-columns: 1fr; } }
.rex-form .req { color: #C0392B; }
.rex-form button { cursor: pointer; border: 0; font: inherit; font-weight: 700; padding: .95rem 1.75rem; border-radius: 8px; background: var(--rex-accent); color: #fff; font-size: 1.05rem; }
.rex-form button:hover { background: var(--rex-navy); color: #fff; }
.rex-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rex-alert { padding: 1rem 1.25rem; border-radius: 10px; margin-bottom: 1.25rem; }
.rex-alert-ok { background: #E8F3EC; color: #145A32; border: 1px solid #B7DEC5; }
.rex-alert-err { background: #FDECEA; color: #8E2A1E; border: 1px solid #F5C2BB; }

/* ---------- Footer ---------- */
.rex-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.rex-footer a:hover { color: var(--wp--preset--color--accent-light); }
.rex-footer p { color: rgba(255,255,255,.72); }
.rex-footer h4 { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem !important; }
.rex-footer-list { list-style: none; padding: 0; }
.rex-footer-list li { margin: .45rem 0; }
.rex-footer .wp-block-separator { border: 0; height: 1px; margin-block: var(--wp--preset--spacing--50) 1rem; opacity: 1; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Brand logo ---------- */
.rex-logo { display: inline-flex; line-height: 0; }
.rex-logo img { height: 46px; width: auto; }
@media (max-width: 600px) { .rex-logo img { height: 36px; } }
.rex-logo-footer img { height: 44px; margin-bottom: .5rem; }
.rex-social a { display: inline-block; margin-right: 1rem; font-weight: 600; color: #fff !important; }
.rex-legal { font-size: .78rem; line-height: 1.55; opacity: .6; margin-top: 1rem; max-width: 70em; }
.rex-person { padding-bottom: .9rem; border-bottom: 1px solid var(--rex-line); }
.rex-person strong { color: var(--rex-navy); font-size: 1.05rem; }
@media (min-width: 782px) {
	.rex-footer .wp-block-columns > .wp-block-column:first-child { flex-basis: 30% !important; }
	.rex-footer .wp-block-columns > .wp-block-column:last-child { flex-basis: 28% !important; flex-grow: 0 !important; }
}

.rex-i-ship { --rex-i: var(--i-ship); }
.rex-i-shield { --rex-i: var(--i-shield); }
.rex-i-globe { --rex-i: var(--i-globe); }
.rex-i-doc { --rex-i: var(--i-doc); }

/* ---------- Port & group ---------- */
.rex-port .rex-card { padding: 1.5rem; }
.rex-port .rex-card h3 { font-size: 1.1rem; }
.rex-stats { background: var(--rex-navy); color: #fff; padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.rex-stats-label { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--accent-light); margin: 0 0 2rem; }
.rex-stat { margin: 0; text-align: center; color: rgba(255,255,255,.75); font-size: .95rem; padding: 0 .5rem; }
.rex-stat strong { display: block; color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-bottom: .35rem; }
@media (min-width: 1001px) { .rex-stats .rex-grid-4 > * + * { border-left: 1px solid rgba(255,255,255,.15); } }
.rex-sister { font-size: .92rem; }
.rex-sister a { color: #fff !important; font-weight: 600; text-decoration: underline !important; text-underline-offset: 3px; }
.rex-group-card { border-top: 4px solid var(--rex-accent); }
.rex-group-card:hover { transform: none; }
.rex-group-card .rex-eyebrow { margin: 0; }
.rex-pills-sectors li { font-size: 1rem; font-weight: 600; color: var(--rex-navy); background: var(--rex-soft); border: 1px solid var(--rex-line); padding: .55rem 1.1rem; border-radius: 99px; }
.rex-pills-sectors { gap: .75rem; }
.rex-accred { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; counter-reset: acc; }
.rex-accred li { counter-increment: acc; background: #fff; border: 1px solid var(--rex-line); border-radius: 12px; padding: 1rem 1.25rem 1rem 4rem; position: relative; color: var(--rex-muted); }
.rex-accred li::before { content: counter(acc, decimal-leading-zero); position: absolute; left: 1.25rem; top: 1rem; font-weight: 800; color: var(--rex-accent); }
.rex-accred strong { display: block; color: var(--rex-navy); }

.rex-accred-head { font-size: .85rem !important; text-transform: uppercase; letter-spacing: .1em; color: var(--rex-muted) !important; margin-top: 2rem !important; margin-bottom: .75rem !important; }
.rex-accred-own li { border-color: var(--rex-accent); border-width: 1px 1px 1px 4px; }
.rex-accred-own { counter-reset: none; }
.rex-accred-own li::before { content: "✓"; }

.rex-i-sync { --rex-i: var(--i-sync); }
.rex-i-pin { --rex-i: var(--i-pin); }

/* ---------- Connected fulfilment ---------- */
.rex-integrate { background: linear-gradient(180deg, #fff 0%, var(--rex-soft) 100%); border-bottom: 1px solid var(--rex-line); }
.rex-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; margin-top: 0 !important; margin-bottom: 1rem !important; position: relative; }
.rex-flow-node { position: relative; background: #fff; border: 1px solid var(--rex-line); border-radius: var(--rex-radius); padding: 1.25rem 1.25rem; text-align: center; box-shadow: var(--rex-shadow); margin: 0 !important; }
.rex-flow-node > * { margin: 0; }
.rex-flow-node p { color: var(--rex-muted); font-size: .92rem; line-height: 1.45; }
.rex-flow-node .rex-flow-title { color: var(--rex-navy); font-weight: 800; font-size: 1.02rem; margin-bottom: .35rem; }
.rex-flow-node.is-hub { background: var(--rex-navy); border-color: var(--rex-navy); }
.rex-flow-node.is-hub p { color: rgba(255,255,255,.78); }
.rex-flow-node.is-hub .rex-flow-title { color: #fff; }
.rex-flow-node:not(:last-child)::after {
	content: ""; position: absolute; top: 50%; right: -2.5rem; width: 2.5rem; height: 12px; margin-top: -6px;
	background: linear-gradient(var(--rex-accent), var(--rex-accent)) left center / calc(100% - 9px) 2px no-repeat,
		conic-gradient(from -135deg at 100% 50%, var(--rex-accent) 90deg, transparent 0) right center / 10px 12px no-repeat;
}
.rex-flow-back { text-align: center; color: var(--rex-muted); font-size: .92rem; margin-top: 0 !important; margin-bottom: var(--wp--preset--spacing--50) !important; }
.rex-flow-back::before { content: "⇠ "; color: var(--rex-accent); font-weight: 700; }
@media (max-width: 900px) {
	.rex-flow { grid-template-columns: 1fr; gap: 1.75rem; max-width: 420px !important; }
	.rex-flow-node:not(:last-child)::after { top: auto; bottom: -1.75rem; right: 50%; width: 12px; height: 1.75rem; margin: 0 -6px 0 0;
		background: linear-gradient(var(--rex-accent), var(--rex-accent)) center top / 2px calc(100% - 9px) no-repeat,
			conic-gradient(from 135deg at 50% 100%, var(--rex-accent) 90deg, transparent 0) center bottom / 12px 10px no-repeat; }
}
.rex-int-cards { margin-bottom: var(--wp--preset--spacing--50) !important; }
.rex-int-label { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rex-muted); margin-top: 0 !important; margin-bottom: 1rem !important; }
.rex-pills-int { justify-content: center; }
.rex-pills-int li { background: #fff; }
.rex-int-more { text-align: center; color: var(--rex-muted); margin-top: 1.25rem !important; }
.rex-note { background: #fff; border-left: 4px solid var(--rex-accent); padding: 1rem 1.25rem; border-radius: 0 10px 10px 0; margin-top: 1.5rem !important; }
.rex-table-int td:first-child { width: 26%; }
.rex-table-compare td:first-child { font-weight: 400; color: var(--rex-muted); width: 50%; }
.rex-table-compare td:last-child { color: var(--rex-navy); font-weight: 600; }
.rex-table-compare td:first-child::before { content: "✕  "; color: #B03A2E; font-weight: 700; }
.rex-table-compare td:last-child::before { content: "✓  "; color: #1E7A46; font-weight: 700; }
.rex-int-detail .rex-card:hover { transform: none; }
.rex-int-detail .rex-ticks li { color: var(--rex-muted); }
.rex-int-detail .rex-ticks strong { color: var(--rex-navy); }
@media (max-width: 1100px) { .rex-header .wp-block-navigation { gap: 1.1rem !important; } }

/* ---------- Storage pricing ---------- */
.rex-storage-card { display: flex; flex-direction: column; }
.rex-storage-card h3 { font-size: 1.15rem; }
.rex-storage-unit { font-size: .85rem !important; font-weight: 700; color: var(--rex-navy) !important; margin-top: auto !important; padding-top: 1rem; border-top: 1px solid var(--rex-line); }
.rex-storage-price { font-size: 1.2rem !important; font-weight: 800; color: var(--rex-accent) !important; margin-top: .25rem !important; }
.rex-table-storage { margin-top: var(--wp--preset--spacing--50) !important; }
.rex-table-storage td:last-child { font-weight: 700; color: var(--rex-accent); white-space: nowrap; }
.rex-table-storage td:first-child { width: 22%; }
@media (max-width: 700px) { .rex-table-storage { overflow-x: auto; } .rex-table-storage table { min-width: 560px; } }
.rex-storage-notes { justify-content: center; margin-top: 1.75rem !important; }

.rex-challenge { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; margin-top: var(--wp--preset--spacing--50) !important;
	background: linear-gradient(135deg, #102340, #1B3560); color: #fff; border-radius: var(--rex-radius); padding: 1.75rem 2rem; }
.rex-challenge-text { flex: 1 1 420px; }
.rex-challenge-text > * { margin: 0; }
.rex-challenge-text > * + * { margin-top: .4rem; }
.rex-challenge h3 { color: #fff; font-size: 1.4rem; }
.rex-challenge p { color: rgba(255,255,255,.82); }
.rex-challenge .rex-eyebrow { color: var(--wp--preset--color--accent-light); }
.rex-challenge .wp-block-button__link:hover { background: #fff; color: var(--rex-navy); }
