/*
Theme Name: Expava
Theme URI: https://expava.co
Author: Expava Group Limited
Author URI: https://expava.co
Description: Custom theme for Expava: domains, hosting, branding, websites, AI and media buying. Rebuilt from the Expava Lovable project.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: expava
*/

/* ---------- Brand tokens (change colours here) ---------- */
:root {
	--navy: #191265;
	--navy-deep: #0d0a3d;
	--cyan: #00aeef;
	--cyan-light: #5fd0f7;
	--bg: #fbfcfe;
	--fg: #14162b;
	--card: #ffffff;
	--muted-bg: #f3f5fa;
	--muted: #5d6478;
	--border: #e3e7ef;
	--accent-bg: #e3f5fd;
	--ok: #12805c;
	--ok-bg: #e7f6ef;
	--error: #b3261e;
	--error-bg: #fdecea;
	--radius: 14px;
	--shadow-md: 0 8px 24px -8px rgba(20, 22, 43, 0.12);
	--shadow-lg: 0 24px 48px -16px rgba(20, 22, 43, 0.18);
	--shadow-glow: 0 0 0 1px rgba(0, 174, 239, 0.2), 0 20px 60px -20px rgba(0, 174, 239, 0.5);
	--gradient: linear-gradient(135deg, #00aeef, #5fd0f7);
	--font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
	--font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.5em; color: inherit; }
h1 { font-size: clamp(2.1rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3, .h3 { font-size: 1.2rem; }
h2.h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 96px; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 14px; background: #fff; color: var(--navy); border-radius: 8px; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.18em; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--cyan); }
.muted { color: var(--muted); }
.center { text-align: center; }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fineprint { margin-top: 24px; font-size: 0.85rem; color: var(--muted); }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
.container.narrow { max-width: 820px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.section { padding: 64px 0; }
.section--muted { background: var(--muted-bg); }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-head { max-width: 680px; margin: 0 0 40px; }
.section-head.center { margin-inline: auto; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; }
.section-head--row h2 { margin: 0; }

.eyebrow { margin: 0 0 12px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.eyebrow--pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--cyan-light); font-size: 0.72rem; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 10px; font: 600 0.95rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s; }
.btn--primary { background: var(--cyan); color: #06223a; }
.btn--primary:hover { background: #18bcf7; color: #06223a; box-shadow: var(--shadow-md); }
.btn--outline { background: var(--card); border-color: var(--border); color: var(--fg); }
.btn--outline:hover { border-color: var(--cyan); color: var(--navy); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn--sm { min-height: 38px; padding: 8px 14px; font-size: 0.875rem; }
.btn--lg { min-height: 50px; padding: 13px 24px; font-size: 1rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.92rem; text-decoration: none; color: var(--navy); }
.link-arrow:hover { color: var(--cyan); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 252, 254, 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
@media (min-width: 1024px) { .site-header__bar { min-height: 88px; } }
.logo { display: inline-flex; flex: none; }
.logo img { width: auto; height: 34px; }
@media (min-width: 768px) { .logo img { height: 44px; } }
.site-footer .logo img { height: 48px; }

.nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav > a, .nav__toggle { display: inline-flex; align-items: center; gap: 4px; padding: 9px 12px; border: 0; border-radius: 8px; background: none; font: 500 0.92rem var(--font-body); color: var(--muted); text-decoration: none; cursor: pointer; }
.nav > a:hover, .nav__toggle:hover, .nav > a[aria-current="page"] { background: var(--accent-bg); color: var(--fg); }
.nav__group { position: relative; }
.nav__menu { position: absolute; top: calc(100% + 6px); left: 0; display: none; min-width: 210px; padding: 6px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); }
.nav__group.is-open .nav__menu, .nav__group:focus-within .nav__menu { display: block; }
.nav__menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 0.92rem; color: var(--fg); text-decoration: none; }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: var(--accent-bg); }

.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__account { display: none; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 8px; font-weight: 500; font-size: 0.92rem; color: var(--fg); text-decoration: none; }
.site-header__account:hover { background: var(--accent-bg); color: var(--fg); }
@media (min-width: 768px) { .site-header__account { display: inline-flex; } }
.site-header__cta { display: none; }
@media (min-width: 768px) { .site-header__cta { display: inline-flex; } }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: none; color: var(--fg); cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle__close, .menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline-flex; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu { border-top: 1px solid var(--border); background: var(--bg); padding: 16px 0 20px; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu .container > a:not(.btn) { display: block; padding: 11px 10px; border-radius: 8px; font-weight: 500; color: var(--fg); text-decoration: none; }
.mobile-menu__label { margin: 8px 10px 2px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mobile-menu__sub { margin: 0 0 6px 12px; padding-left: 10px; border-left: 1px solid var(--border); }
.mobile-menu__sub a { display: block; padding: 9px 10px; font-size: 0.95rem; color: var(--muted); text-decoration: none; }
.mobile-menu .btn { margin-top: 10px; }

/* ---------- Hero and page header ---------- */
.hero, .page-header { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse 80% 70% at 75% 0%, rgba(0, 174, 239, 0.28), transparent 60%), radial-gradient(ellipse 60% 60% at 0% 100%, rgba(0, 174, 239, 0.14), transparent 60%), linear-gradient(180deg, var(--navy-deep), var(--navy)); }
.hero { padding: 64px 0 72px; }
@media (min-width: 1024px) { .hero { padding: 96px 0 104px; } }
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; } }
.hero h1 { margin-top: 20px; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, 0.82); max-width: 36em; }
.hero__hint { margin: 12px 0 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.62); }
.hero__hint .mono { color: rgba(255, 255, 255, 0.85); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }
.hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust .icon { color: var(--cyan); }
.hero__visual img { width: 100%; border-radius: 18px; }

.hero-panel { max-width: 480px; margin-inline: auto; padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, 0.97); color: var(--fg); box-shadow: var(--shadow-glow); }
.hero-panel__bar { display: flex; gap: 6px; margin-bottom: 14px; }
.hero-panel__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.hero-panel__url { display: flex; align-items: center; gap: 8px; padding: 11px 14px; margin-bottom: 14px; border-radius: 999px; background: var(--muted-bg); font-size: 0.88rem; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hero-panel__url .icon { color: var(--ok); }
.hero-panel__row { display: grid; grid-template-columns: 36px auto 1fr 20px; align-items: center; gap: 10px; padding: 10px 6px; border-top: 1px solid var(--border); font-size: 0.86rem; }
.hero-panel__row span { color: var(--muted); }
.hero-panel__icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-bg); }
.hero-panel__icon .icon { color: var(--navy); }
.hero-panel__tick { color: var(--cyan); }

.page-header { padding: 64px 0; }
@media (min-width: 768px) { .page-header { padding: 88px 0; } }
.page-header h1 { margin-top: 18px; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.page-header .lead { margin-inline: auto; }
.page-header__extra { max-width: 620px; margin: 28px auto 0; }

/* ---------- Domain search ---------- */
.domain-search { display: flex; align-items: center; gap: 8px; max-width: 560px; margin-top: 28px; padding: 8px 8px 8px 16px; border-radius: 14px; background: #fff; color: var(--muted); box-shadow: var(--shadow-lg); }
.page-header__extra .domain-search { margin: 0 auto; }
.domain-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; font: 500 1rem var(--font-body); color: var(--fg); }
.domain-search input:focus { outline: none; }
.domain-search:focus-within { box-shadow: 0 0 0 3px var(--cyan), var(--shadow-lg); }
.domain-search--compact { margin: 0 0 10px; box-shadow: none; border: 1px solid var(--border); }
@media (max-width: 420px) { .domain-search .btn { padding-inline: 12px; font-size: 0.85rem; } }

/* ---------- Layout helpers ---------- */
.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--single { grid-template-columns: 1fr; } }
.split__visual img { width: 100%; border-radius: 18px; box-shadow: var(--shadow-lg); }

.card { display: block; padding: 26px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--fg); }
.card h3 { margin-top: 14px; }
.card > h3:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card--link { text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.card--link:hover { border-color: var(--cyan); box-shadow: var(--shadow-md); color: var(--fg); transform: translateY(-2px); }

.points { display: grid; gap: 22px; margin-top: 28px; }
@media (min-width: 640px) { .points--2 { grid-template-columns: 1fr 1fr; } }
.point { display: flex; gap: 14px; }
.point h3 { margin: 0 0 2px; font-size: 1.02rem; }
.point p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.point__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; background: var(--accent-bg); color: var(--navy); }
.point__icon .icon { width: 20px; height: 20px; }

/* ---------- Journey ---------- */
.journey { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
@media (min-width: 640px) { .journey { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .journey { grid-template-columns: repeat(6, 1fr); } }
.journey__step a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 20px 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--fg); text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s; }
.journey__step a:hover { border-color: var(--cyan); box-shadow: var(--shadow-md); }
.journey__step.is-active a { border-color: var(--cyan); box-shadow: var(--shadow-glow); }
.journey__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 11px; background: var(--accent-bg); color: var(--navy); }
.journey__num { font: 600 0.72rem ui-monospace, Menlo, Consolas, monospace; color: var(--cyan); }
.journey__step strong { font-family: var(--font-display); font-size: 1.05rem; }
.journey__step a > span:last-child { font-size: 0.82rem; color: var(--muted); }

/* ---------- Plans ---------- */
.plan { display: flex; flex-direction: column; }
.plan h3 { font-size: 1.45rem; }
.plan__text { color: var(--muted); font-size: 0.92rem; }
.plan__price { margin: 6px 0 2px; }
.plan__amount { font: 600 2.3rem/1.1 var(--font-display); letter-spacing: -0.02em; }
.plan__per { margin-left: 4px; font-size: 0.88rem; color: var(--muted); }
.plan__quote { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--accent-bg); color: var(--navy); font-size: 0.85rem; font-weight: 600; }
.plan__vat { font-size: 0.82rem; color: var(--muted); }
.ticks { display: grid; gap: 10px; margin: 16px 0 24px; font-size: 0.92rem; }
.ticks li { display: flex; align-items: flex-start; gap: 9px; }
.ticks .icon { margin-top: 3px; color: var(--cyan); }
.plan .btn { margin-top: auto; }

.stack-card { padding: 30px; background: var(--card); border: 1px solid rgba(0, 174, 239, 0.35); border-radius: 20px; box-shadow: var(--shadow-glow); }
.stack-card h3 { margin: 0; font-size: 0.8rem; font-family: var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.stack-card__price { margin: 6px 0 0; font: 600 2.6rem/1.1 var(--font-display); }
.stack-card__price span { margin-left: 6px; font: 400 0.9rem var(--font-body); color: var(--muted); }
.stack-card .ticks { grid-template-columns: 1fr 1fr; }

/* ---------- Price table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.price-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.95rem; }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.price-table thead th { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--muted-bg); }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody th { font-family: var(--font-display); font-size: 1.02rem; }
.price-table td:last-child { text-align: right; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { margin: 0; }
.field label { display: block; margin-bottom: 6px; font-size: 0.88rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #c9cfdb; border-radius: 10px; background: #fff; font: 400 1rem var(--font-body); color: var(--fg); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.25); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form__note { flex: 1; min-width: 220px; font-size: 0.85rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: 0 0 18px; padding: 16px 20px; border-radius: 12px; font-size: 0.98rem; }
.notice--ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #b9e3d0; }
.notice--error { background: var(--error-bg); color: var(--error); border: 1px solid #f5c2bd; }

.contact { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact { grid-template-columns: 1.6fr 1fr; } }
.contact__line { display: flex; gap: 12px; margin: 0 0 14px; font-size: 0.95rem; }
.contact__line .icon { margin-top: 3px; color: var(--cyan); }

/* ---------- CTA band ---------- */
.cta-band { padding: 56px 28px; border-radius: 28px; text-align: center; color: #fff; background: radial-gradient(circle at 50% 0%, rgba(0, 174, 239, 0.4), transparent 60%), var(--navy); }
@media (min-width: 768px) { .cta-band { padding: 80px 64px; } }
.cta-band p { max-width: 34em; margin: 0 auto; color: rgba(255, 255, 255, 0.82); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- Blog and prose ---------- */
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 1.6em; font-size: 1.7rem; }
.prose h3 { margin-top: 1.4em; font-size: 1.3rem; }
.prose ul, .prose ol { margin: 0 0 1em 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--cyan); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; }
.prose__cover { width: 100%; border-radius: 16px; margin-bottom: 28px; }
.alignwide { margin-inline: -40px; max-width: calc(100% + 80px); }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: 0.85rem; color: var(--muted); }
.pagination { margin-top: 40px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 6px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; color: var(--fg); }
.pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 32px; background: var(--navy-deep); color: rgba(255, 255, 255, 0.82); }
.site-footer__grid { display: grid; gap: 40px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer__brand p { max-width: 24em; margin-top: 16px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.site-footer h2 { margin: 0 0 16px; font: 600 0.8rem var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.site-footer li { margin-bottom: 10px; }
.site-footer a { font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--cyan-light); }
.site-footer address { font-size: 0.92rem; line-height: 1.7; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer__legal li { margin: 0; }
.site-footer__legal a { font-size: 0.8rem; }

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