/*
Theme Name:   Appear Tech
Theme URI:    https://appeartech.com.bd/
Author:       Appear Tech
Author URI:   https://appeartech.com.bd/
Description:  Conversion-focused agency theme for Appear Tech — navy & gold, lead-form hero, results carousel, tabbed services, comparison and process sections, roadmap calculator. Vanilla JS, no jQuery, no build step.
Version:      2.0.0
Requires at least: 6.3
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:  appeartech
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--navy-950: #020F1D;
	--navy-900: #041A2F;
	--navy-800: #08263F;
	--navy-700: #0D3556;
	--navy-line: #1B3550;
	--on-navy: #B4C2D0;
	--gold: #FFB81C;
	--gold-hover: #FFC94D;
	--gold-deep: #E39A0B;
	--ink: #0E1B28;
	--text: #2A3947;
	--muted: #5B6B7B;
	--ground: #F4F6F8;
	--white: #FFFFFF;
	--line: #E3E8ED;
	--line-strong: #CAD3DC;
	--blue: #1D6FB8;
	--blue-soft: #EAF2FA;
	--ok: #17955C;
	--bad: #B8453E;
	--radius: 14px;
	--radius-lg: 20px;
	--shadow: 0 1px 2px rgba(4, 26, 47, .06), 0 10px 30px -14px rgba(4, 26, 47, .22);
	--shadow-lg: 0 30px 70px -24px rgba(2, 15, 29, .55);
	--max: 1200px;
	--header-h: 72px;
	--font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--white); color: var(--text);
	font-family: var(--font); font-size: 16px; line-height: 1.6;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 24px; } }

.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: -9999px; top: 12px; z-index: 1000; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: var(--ink); font-weight: 700; }
.skip-link:focus { left: 16px; }

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

.js-reveal [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   3. Buttons, links, stars
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 0 24px; border-radius: 10px; border: 2px solid transparent;
	font-size: 16px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 22px -10px rgba(255, 184, 28, .8); }
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn-outline-light { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-outline { color: var(--ink); border-color: var(--line-strong); background: var(--white); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn.is-pulsing { animation: ctaPulse .8s ease; }
@keyframes ctaPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 184, 28, .8); } 100% { box-shadow: 0 0 0 14px rgba(255, 184, 28, 0); } }

.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; }
.text-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(3px); }

.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; }

.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.icon-chip { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.icon-chip svg { width: 20px; height: 20px; }

/* ==========================================================================
   4. Sections
   ========================================================================== */
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 100px 0; } }
.section-ground { background: var(--ground); }
.section-navy { background: var(--navy-900); color: var(--on-navy); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .eyebrow { color: var(--gold); }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { margin-top: 10px; font-size: clamp(28px, 4.2vw, 44px); letter-spacing: -.03em; }
.section-lead { margin-top: 14px; font-size: 18px; color: var(--muted); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head-row .section-head { margin-bottom: 0; }
.section-foot { margin-top: 28px; }

/* ==========================================================================
   5. Top bar + header + mega menu
   ========================================================================== */
.topbar { background: var(--navy-950); color: var(--on-navy); font-size: 14px; text-align: center; }
.topbar p { padding: 9px 0; }
.topbar a { color: var(--gold); font-weight: 700; margin-left: 6px; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 60; background: var(--navy-900); border-bottom: 1px solid var(--navy-line); transition: box-shadow .3s ease; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; flex: none; border-radius: 10px; background: var(--gold); color: var(--navy-900); font-size: 19px; font-weight: 900; }
.custom-logo { max-height: 40px; width: auto; }

.nav-toggle {
	margin-left: auto; width: 46px; height: 46px; display: grid; place-content: center; gap: 5px;
	border: 1px solid var(--navy-line); border-radius: 10px; background: transparent; cursor: pointer;
}
.nav-toggle .bar { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .25s ease, opacity .25s ease; }
.nav-open .nav-toggle .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle .bar:nth-child(3) { opacity: 0; }
.nav-open .nav-toggle .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
.nav-open { overflow: hidden; }

.header-actions { display: none; }

/* Mobile menu */
.primary-nav {
	display: none; position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, var(--header-h));
	overflow-y: auto; padding: 12px 16px 32px; background: var(--navy-900); border-top: 1px solid var(--navy-line);
}
.nav-open .primary-nav { display: block; }
.nav-list > li { border-bottom: 1px solid var(--navy-line); }
.nav-link, .nav-trigger {
	display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 6px;
	padding: 16px 4px; background: none; border: 0; cursor: pointer; text-align: left;
	color: var(--white); font-size: 17px; font-weight: 700;
}
.nav-trigger svg { width: 18px; height: 18px; transition: transform .2s ease; }
.has-dropdown.is-open .nav-trigger svg { transform: rotate(180deg); }
.dropdown { display: none; padding: 0 0 12px; }
.has-dropdown.is-open .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 12px; border-radius: 10px; }
.dropdown a strong { display: block; color: var(--white); font-size: 15px; font-weight: 700; }
.dropdown a small { display: block; color: var(--on-navy); font-size: 13px; }
.dropdown a:hover { background: var(--navy-800); }
.nav-mobile-actions { display: grid; gap: 10px; margin-top: 20px; }

@media (min-width: 1080px) {
	.nav-toggle, .nav-mobile-actions { display: none; }
	.primary-nav { display: block; position: static; padding: 0; margin-left: 24px; background: none; border: 0; overflow: visible; }
	.nav-list { display: flex; align-items: center; gap: 2px; }
	.nav-list > li { position: relative; border: 0; }
	.nav-link, .nav-trigger { width: auto; padding: 10px 14px; font-size: 15px; font-weight: 600; color: var(--on-navy); border-radius: 8px; transition: color .2s; }
	.nav-link:hover, .nav-trigger:hover, .has-dropdown.is-open .nav-trigger { color: var(--white); }
	.nav-trigger svg { width: 16px; height: 16px; }

	.dropdown {
		position: absolute; top: calc(100% + 10px); left: -8px; z-index: 10; min-width: 320px; padding: 10px;
		background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
	}
	.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
	.dropdown-wide { min-width: 600px; }
	.dropdown-wide ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
	.has-dropdown:hover .dropdown { display: block; }
	.has-dropdown:hover .nav-trigger svg { transform: rotate(180deg); }
	.dropdown a strong { color: var(--ink); }
	.dropdown a small { color: var(--muted); }
	.dropdown a:hover { background: var(--ground); }

	.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
}
.header-phone { display: none; align-items: center; gap: 8px; color: var(--white); font-weight: 700; font-size: 15px; }
.header-phone svg { width: 18px; height: 18px; color: var(--gold); }
@media (min-width: 1240px) { .header-phone { display: inline-flex; } }

/* ==========================================================================
   6. Hero + proposal form
   ========================================================================== */
.hero {
	position: relative; overflow: hidden; padding: 48px 0 64px; color: var(--on-navy);
	background:
		radial-gradient(700px 420px at 85% 10%, rgba(29, 111, 184, .35), transparent 70%),
		radial-gradient(520px 360px at 0% 100%, rgba(255, 184, 28, .12), transparent 70%),
		var(--navy-900);
}
@media (min-width: 1024px) { .hero { padding: 72px 0 88px; } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }

.rating-row { display: flex; flex-wrap: wrap; gap: 8px; }
.rating-chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px;
	background: rgba(255, 255, 255, .06); border: 1px solid var(--navy-line); font-size: 13px; color: var(--on-navy);
}
.rating-chip strong { color: var(--white); font-size: 15px; }
.rating-chip > svg { width: 16px; height: 16px; color: var(--gold); }

.hero h1 { margin-top: 22px; color: var(--white); font-size: clamp(34px, 5.4vw, 60px); font-weight: 900; letter-spacing: -.035em; line-height: 1.05; }
.hero h1 .highlight { color: var(--gold); }
.hero-sub { margin-top: 18px; max-width: 600px; font-size: clamp(17px, 2vw, 19px); }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
@media (min-width: 520px) { .hero-actions { flex-direction: row; flex-wrap: wrap; } }
.hero-actions.center { justify-content: center; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; max-width: 560px; }
.hero-stats div { display: flex; flex-direction: column-reverse; padding-left: 14px; border-left: 3px solid var(--gold); }
.hero-stats dd { color: var(--white); font-size: clamp(22px, 3vw, 30px); font-weight: 900; line-height: 1.1; }
.hero-stats dt { font-size: 13px; line-height: 1.35; margin-top: 4px; }

.proposal-card { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg); scroll-margin-top: calc(var(--header-h) + 16px); }
@media (min-width: 560px) { .proposal-card { padding: 32px; } }
.proposal-card h2 { font-size: 26px; }
.proposal-card > p { margin-top: 6px; color: var(--muted); }
.proposal-form { display: grid; gap: 14px; margin-top: 20px; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; font-weight: 700; }
.field label span { color: var(--bad); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--line-strong);
	background: var(--white); color: var(--ink); font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 111, 184, .15); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }
.form-alert { margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.form-alert-success { background: #E6F6EE; color: #0E6B41; border: 1px solid #B6E3CB; }
.form-alert-error { background: #FCEDEC; color: #8F2C26; border: 1px solid #F1C4C0; }

/* ==========================================================================
   7. Credentials strip + platforms
   ========================================================================== */
.cred-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.cred-strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; padding: 22px 0; }
.cred-strip li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; font-weight: 700; }
.cred-strip svg { width: 20px; height: 20px; color: var(--ok); }

.platforms { padding: 48px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.platforms-title { text-align: center; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.platforms ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; margin-top: 22px; }
.platforms li { font-size: clamp(17px, 2vw, 21px); font-weight: 800; letter-spacing: -.02em; color: #8C9AA8; }

/* ==========================================================================
   8. Results carousel
   ========================================================================== */
.carousel-controls { display: flex; gap: 10px; }
.carousel-btn {
	width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
	background: var(--white); border: 1.5px solid var(--line-strong); color: var(--ink); transition: border-color .2s, opacity .2s;
}
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn:hover { border-color: var(--ink); }
.carousel-btn:disabled { opacity: .35; cursor: default; }

.carousel-track {
	display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 8px;
	scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .carousel-track { grid-auto-columns: calc(50% - 8px); } }
@media (min-width: 1024px) { .carousel-track { grid-auto-columns: calc(33.333% - 11px); } }

.case-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.case-metric { color: var(--navy-900); font-size: 54px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.case-metric span { font-size: 18px; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.case-meta { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.case-card h3 { font-size: 19px; line-height: 1.3; }
.case-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.case-stats div { display: flex; flex-direction: column; }
.case-stats dd { color: var(--ok); font-size: 22px; font-weight: 900; }
.case-stats dt { font-size: 13px; color: var(--muted); }

.admin-placeholder { display: grid; gap: 6px; padding: 28px; border-radius: var(--radius-lg); border: 2px dashed var(--line-strong); background: var(--white); color: var(--muted); }
.admin-placeholder strong { color: var(--ink); }
.admin-placeholder a { color: var(--blue); font-weight: 700; }

/* ==========================================================================
   9. Services tabs
   ========================================================================== */
.tabs { display: grid; gap: 20px; }
@media (min-width: 960px) { .tabs { grid-template-columns: 320px 1fr; gap: 32px; align-items: start; } }

.tab-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-inline: -16px; padding-inline: 16px; }
.tab-list::-webkit-scrollbar { display: none; }
.tab {
	flex: none; text-align: left; cursor: pointer; padding: 12px 16px; border-radius: 999px;
	background: var(--ground); border: 1.5px solid var(--line); color: var(--ink); transition: background-color .2s, border-color .2s, color .2s;
}
.tab strong { display: block; font-size: 15px; font-weight: 700; white-space: nowrap; }
.tab small { display: none; }
.tab[aria-selected="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }

@media (min-width: 960px) {
	.tab-list { flex-direction: column; gap: 6px; overflow: visible; margin: 0; padding: 0; }
	.tab { padding: 16px 18px 16px 20px; border-radius: var(--radius); background: transparent; border-color: transparent; position: relative; }
	.tab strong { font-size: 17px; white-space: normal; }
	.tab small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
	.tab:hover { background: var(--ground); }
	.tab[aria-selected="true"] { background: var(--white); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow); }
	.tab[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--gold); }
}

.tab-panel { display: grid; gap: 24px; padding: 24px; border-radius: var(--radius-lg); background: var(--ground); border: 1px solid var(--line); }
.tab-panel[hidden] { display: none; }
@media (min-width: 768px) { .tab-panel { grid-template-columns: 1.35fr 1fr; padding: 36px; gap: 32px; } }
.panel-body h3 { font-size: clamp(24px, 3vw, 30px); }
.panel-body > p { margin-top: 12px; font-size: 17px; color: var(--muted); }
.check-list { display: grid; gap: 12px; margin-top: 22px; }
.check-list li { display: flex; gap: 12px; color: var(--ink); font-weight: 600; }
.check-list svg { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; background: var(--ok); color: var(--white); stroke-width: 3; }

.price-card { display: flex; flex-direction: column; gap: 6px; align-self: start; padding: 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.price-label { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.price { color: var(--navy-900); font-size: 40px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.price-note { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.price-card .text-link { justify-content: center; margin-top: 8px; }

/* ==========================================================================
   10. Why switch (navy)
   ========================================================================== */
.reasons { display: grid; gap: 16px; }
@media (min-width: 640px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reasons { grid-template-columns: repeat(3, 1fr); } }
.reason { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-lg); background: var(--navy-800); border: 1px solid var(--navy-line); }
.reason-num { color: var(--gold); font-size: 14px; font-weight: 900; letter-spacing: .06em; }
.reason h3 { font-size: 20px; line-height: 1.25; }
.reason p { font-size: 15px; }
.reason-cta { background: linear-gradient(160deg, var(--navy-700), var(--navy-800)); border-color: rgba(255, 184, 28, .45); justify-content: center; }
.reason-cta .btn { align-self: flex-start; margin-top: 8px; }

/* ==========================================================================
   11. Comparison
   ========================================================================== */
.compare { display: grid; gap: 16px; max-width: 1000px; margin-inline: auto; }
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1fr; gap: 24px; } }
.compare-col { padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.compare-col h3 { font-size: 20px; margin-bottom: 8px; }
.compare-col li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.compare-col li:last-child { border-bottom: 0; }
.compare-col svg { width: 22px; height: 22px; flex: none; color: #A3AFBB; margin-top: 1px; }
.compare-ours { background: var(--navy-900); border-color: var(--navy-900); box-shadow: var(--shadow-lg); }
.compare-ours h3 { color: var(--white); }
.compare-ours li { color: var(--white); font-weight: 600; border-color: var(--navy-line); }
.compare-ours svg { color: var(--gold); }

/* ==========================================================================
   12. Process steps + calculator
   ========================================================================== */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
.step-num { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-900); color: var(--gold); font-weight: 900; margin-bottom: 6px; }
.step h3 { font-size: 18px; }
.step p { font-size: 15px; color: var(--muted); }

.calc-wrap { margin-top: 64px; }
.calc-heading { font-size: clamp(22px, 3vw, 28px); margin-bottom: 20px; }
.calc { display: grid; gap: 16px; }
@media (min-width: 960px) { .calc { grid-template-columns: 1fr 1.25fr; align-items: start; gap: 20px; } }
.calc-panel { padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 768px) { .calc-panel { padding: 28px; } }
.calc-panel h4 { margin-bottom: 16px; font-size: 17px; }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.options { display: grid; gap: 10px; }
@media (min-width: 560px) and (max-width: 959px) { .options { grid-template-columns: repeat(2, 1fr); } }
.option { display: block; position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-body { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 16px; border-radius: 12px; border: 1.5px solid var(--line); transition: border-color .2s, background-color .2s; }
.option:hover .option-body { border-color: var(--line-strong); }
.option input:checked + .option-body { border-color: var(--navy-700); background: var(--blue-soft); }
.option input:focus-visible + .option-body { outline: 3px solid var(--blue); outline-offset: 2px; }
.option-check { flex: none; width: 22px; height: 22px; margin-top: 1px; display: grid; place-items: center; border-radius: 6px; border: 2px solid var(--line-strong); background: var(--white); }
.option-check::after { content: ""; width: 10px; height: 5px; border-left: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.option input:checked + .option-body .option-check { background: var(--navy-900); border-color: var(--navy-900); }
.option input:checked + .option-body .option-check::after { opacity: 1; }
.option strong { display: block; color: var(--ink); font-size: 15px; }
.option small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.45; }

.calc-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.calc-kicker { width: 100%; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.calc-total { color: var(--navy-900); font-size: clamp(30px, 5vw, 40px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.calc-sub { font-size: 14px; color: var(--muted); }
.roadmap { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.rm-row { display: grid; gap: 5px; }
.rm-top { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--ink); }
.rm-top strong { font-weight: 700; }
.rm-week { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 14px; }
.rm-desc { font-size: 13px; color: var(--muted); }
.rm-track { position: relative; height: 8px; border-radius: 99px; background: var(--ground); overflow: hidden; }
.rm-bar { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, var(--navy-700), var(--blue)); transition: left .4s ease, width .4s ease; }
.calc-empty { padding: 24px 0; text-align: center; color: var(--muted); }
.ongoing { display: flex; flex-direction: column; gap: 8px; }
.ongoing li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.ongoing li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: var(--gold); }
.calc-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
@media (min-width: 560px) { .calc-cta { flex-direction: row; flex-wrap: wrap; } }
.calc-note { margin-top: 14px; font-size: 12px; color: var(--muted); }

/* ==========================================================================
   13. Reviews + final CTA
   ========================================================================== */
.reviews { display: grid; gap: 16px; }
@media (min-width: 860px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.review blockquote { color: var(--ink); font-size: 16px; }
.review figcaption { display: flex; flex-direction: column; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.review figcaption strong { color: var(--ink); }
.review figcaption span { font-size: 13px; color: var(--muted); }

.final-cta {
	padding: 72px 0; text-align: center; color: var(--on-navy);
	background: radial-gradient(600px 300px at 50% 0%, rgba(29, 111, 184, .35), transparent 70%), var(--navy-900);
}
@media (min-width: 768px) { .final-cta { padding: 96px 0; } }
.final-cta h2 { color: var(--white); font-size: clamp(28px, 4.2vw, 44px); letter-spacing: -.03em; max-width: 760px; margin-inline: auto; }
.final-cta p { margin: 14px auto 0; max-width: 560px; font-size: 18px; }

/* ==========================================================================
   14. Footer
   ========================================================================== */
.site-footer { padding: 64px 0 28px; background: var(--navy-950); color: var(--on-navy); font-size: 15px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-about > p { margin-top: 16px; max-width: 360px; }
.footer-badges { display: grid; gap: 8px; margin-top: 18px; }
.footer-badges li { display: flex; align-items: center; gap: 8px; color: var(--white); font-size: 14px; font-weight: 600; }
.footer-badges svg { width: 18px; height: 18px; color: var(--gold); }
.footer-title { margin-bottom: 14px; color: var(--white); font-size: 15px; font-weight: 800; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-style: normal; }
.footer-links a:hover { color: var(--white); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--navy-line); transition: border-color .2s, color .2s; }
.socials a:hover { color: var(--white); border-color: var(--on-navy); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--navy-line); font-size: 14px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a:hover { color: var(--white); }

/* ==========================================================================
   15. Contact modal
   ========================================================================== */
.modal { width: calc(100% - 32px); max-width: 440px; padding: 0; border: 0; background: transparent; color: var(--text); }
.modal::backdrop { background: rgba(2, 15, 29, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-card { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.modal-card h2 { font-size: 24px; }
.modal-card > p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--muted); cursor: pointer; }
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover { color: var(--ink); }
.contact-list { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; border: 1.5px solid var(--line); transition: border-color .2s; }
.contact-list a:hover { border-color: var(--blue); }
.contact-list small { display: block; color: var(--muted); font-size: 12px; }
.contact-list strong { color: var(--ink); font-size: 15px; word-break: break-word; }

/* ==========================================================================
   16. Inner pages (index.php)
   ========================================================================== */
.page-wrap { padding: 56px 0 88px; }
.page-wrap .entry-title { margin-bottom: 24px; font-size: clamp(30px, 5vw, 46px); letter-spacing: -.03em; }
.entry-content { max-width: 780px; font-size: 17px; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; }
.entry-content a:not(.btn) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; list-style: revert; }
.entry-content img { border-radius: var(--radius); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px; border: 1px solid var(--line); text-align: left; }
.post-list { display: grid; gap: 16px; }
@media (min-width: 768px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
.post-card { padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.post-card h2 { font-size: 21px; }
.post-card h2 a:hover { color: var(--blue); }
.post-card p { margin-top: 8px; color: var(--muted); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); }
.pagination .current { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
