/* ==========================================================
   Abidur Rahman Portfolio — main stylesheet
   ========================================================== */
:root {
	--cream: #fdf1df;
	--cream-2: #f8e6cc;
	--paper: #fffaf2;
	--white: #ffffff;
	--ink: #17241c;
	--ink-2: #3c4a41;
	--muted: #66736a;
	--green: #1f3b2d;
	--green-2: #2c5240;
	--orange: #f2a325;
	--orange-2: #dc8a0c;
	--orange-soft: #fde3b6;
	--wa: #1faa59;
	--wa-2: #178a48;
	--line: rgba(31, 59, 45, .12);
	--shadow-sm: 0 2px 6px rgba(23, 36, 28, .06);
	--shadow: 0 14px 40px -12px rgba(23, 36, 28, .18);
	--shadow-lg: 0 30px 70px -20px rgba(23, 36, 28, .28);
	--radius: 18px;
	--radius-lg: 28px;
	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--ink-2);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; line-height: 1.15; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.section { padding: 110px 0; position: relative; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: .95rem; line-height: 1; cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
	white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(2px); }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--orange); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(220, 138, 12, .8); }
.btn--primary:hover { background: var(--orange-2); color: #fff; }
.btn--dark { background: var(--green); color: #fff; }
.btn--dark:hover { background: var(--green-2); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 170, 89, .8); }
.btn--wa:hover { background: var(--wa-2); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--light:hover { background: #fff; color: var(--green); }

.kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--orange-2); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__head .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.section__head--light h2 { color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--green); color: rgba(255, 255, 255, .85); font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar__info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar__info span, .topbar__info a, .topbar__wa { display: inline-flex; align-items: center; gap: 7px; }
.topbar__info a:hover { color: var(--orange); }
.topbar svg { width: 15px; height: 15px; }
.topbar__wa { color: #fff; font-weight: 600; background: rgba(255, 255, 255, .1); padding: 5px 12px; border-radius: 999px; }
.topbar__wa svg { color: #4ade80; }
.topbar__wa:hover { background: var(--wa); }
.topbar__wa:hover svg { color: #fff; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 250, 242, .82);
	backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled { background: rgba(255, 250, 242, .95); border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(23, 36, 28, .35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
	width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
	background: var(--green); color: var(--cream); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
	position: relative; box-shadow: var(--shadow-sm);
}
.brand__mark::after { content: ""; position: absolute; top: -4px; right: -4px; width: 13px; height: 13px; border-radius: 50%; background: var(--orange); border: 3px solid var(--paper); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); font-weight: 600; }
.brand__text small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text small { color: rgba(255, 255, 255, .6); }
.brand--light .brand__mark { background: var(--orange); color: var(--green); }
.brand--light .brand__mark::after { background: #fff; border-color: var(--green); }

.nav { display: flex; align-items: center; gap: 18px; }
.header__wa { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: .95rem; line-height: 1.15; }
.header__wa-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 8px 18px -8px rgba(31, 170, 89, .8); transition: transform .2s; }
.header__wa-icon svg { width: 22px; height: 22px; }
.header__wa-text small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wa-2); }
.header__wa:hover .header__wa-icon { transform: scale(1.08); }
.header__wa:hover { color: var(--wa-2); }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: background .2s, color .2s; }
.nav__list a:hover, .nav__list a.is-active, .nav__list .current-menu-item > a { background: var(--orange-soft); color: var(--ink); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	background:
		radial-gradient(900px 500px at 85% 10%, rgba(242, 163, 37, .18), transparent 60%),
		radial-gradient(700px 400px at 0% 100%, rgba(31, 59, 45, .07), transparent 60%),
		var(--cream);
	padding: 28px 0 56px;
	position: relative; overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px;
	background: #fff; border: 1px solid var(--line); border-radius: 999px;
	font-size: .85rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(31, 170, 89, .18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(31, 170, 89, .06); } }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); margin-bottom: 14px; }
.hero__role { font-size: 1.05rem; font-weight: 700; color: var(--orange-2); margin-bottom: 18px; max-width: 560px; }
.hero h1 em { font-style: italic; color: var(--green); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: var(--orange); opacity: .55; z-index: -1; border-radius: 4px; }
.hero__lead { font-size: 1.05rem; max-width: 560px; color: var(--ink-2); margin-bottom: 22px; }
.hero__lead strong { color: var(--ink); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero__quick { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .92rem; font-weight: 600; }
.hero__quick a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.hero__quick a:hover { color: var(--orange-2); }
.hero__quick svg { width: 18px; height: 18px; color: var(--orange-2); }

.hero__visual { position: relative; width: min(440px, calc(100vh - 240px)); width: min(440px, calc(100svh - 240px)); min-width: 320px; margin: 0 0 0 auto; align-self: center; }
.hero__photo {
	border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
	overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-lg);
	border: 8px solid #fff; background: var(--cream);
	animation: morph 14s ease-in-out infinite;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes morph {
	50% { border-radius: 56% 44% 52% 48% / 44% 56% 46% 54%; }
}
.float-card {
	position: absolute; display: flex; align-items: center; gap: 12px;
	background: #fff; padding: 12px 16px 12px 12px; border-radius: 16px; box-shadow: var(--shadow);
	animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .92rem; color: var(--ink); line-height: 1.2; }
.float-card small { font-size: .78rem; color: var(--muted); }
.float-card__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-2); }
.float-card__icon svg { width: 22px; height: 22px; }
.float-card--a { top: 8%; left: -12%; }
.float-card--b { bottom: 18%; left: -16%; animation-delay: -2s; }
.float-card--b .float-card__icon { background: #dcefe4; color: var(--green); }
.float-card--c { bottom: 2%; right: -6%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.stats {
	margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr);
	background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 30px 12px;
}
.stat { text-align: center; padding: 0 12px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--green); line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--muted); font-weight: 600; }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.about__side { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px; }
.about__side .about__facts { grid-template-columns: 1fr; margin-bottom: 22px; }
.about__side .about__facts div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
.about__side .about__facts div:last-child { border-bottom: 0 !important; }
.about__side-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.about__side-actions .btn { flex: 1 1 auto; }
.about__media { position: relative; }
.about__frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; z-index: 1; aspect-ratio: 4 / 5; }
.about__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about__media::before { content: ""; position: absolute; inset: 28px -22px -22px 28px; border-radius: var(--radius-lg); background: var(--orange); opacity: .9; }
.about__badge {
	position: absolute; z-index: 2; left: -20px; bottom: 36px; display: flex; align-items: center; gap: 12px;
	background: var(--green); color: #fff; padding: 14px 20px; border-radius: 16px; box-shadow: var(--shadow);
}
.about__badge svg { width: 26px; height: 26px; color: var(--orange); }
.about__badge strong { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .65); font-weight: 600; }
.about__content p { font-size: 1.04rem; }
.checklist { list-style: none; padding: 0; margin: 26px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.checklist svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--green); color: #fff; }
.about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 30px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.about__facts div { padding: 14px 18px; border-bottom: 1px solid var(--line); min-width: 0; }
.about__facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.about__facts div:nth-last-child(-n+2) { border-bottom: 0; }
.about__facts dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.about__facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; font-size: .95rem; }
.about__facts a:hover { color: var(--orange-2); }

/* ---------- Services ---------- */
.services { background: var(--cream); }
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.service-card {
	background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm);
	border: 1px solid rgba(31, 59, 45, .06); display: flex; flex-direction: column;
	transition: transform .3s ease, box-shadow .3s ease; position: relative; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--orange); transition: width .4s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { width: 100%; }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.service-card__icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: var(--green); color: var(--orange); transition: transform .3s; }
.service-card:hover .service-card__icon { transform: rotate(-6deg) scale(1.05); }
.service-card__icon svg { width: 30px; height: 30px; }
.service-card__num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--cream-2); line-height: 1; }
.service-card h3 { font-size: 1.35rem; }
.service-card > p { color: var(--muted); }
.tags { list-style: none; margin: 6px 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.service-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green); }
.service-card__link svg { width: 18px; height: 18px; transition: transform .2s; }
.service-card__link:hover { color: var(--orange-2); }
.service-card__link:hover svg { transform: translateX(4px); }

/* ---------- Portfolio ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--orange); }
.filter.is-active { background: var(--green); color: #fff; border-color: var(--green); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.project.is-hidden { display: none; }
.project__art { height: 150px; display: grid; place-items: center; position: relative; overflow: hidden; }
.project__art svg { width: 56px; height: 56px; position: relative; z-index: 1; transition: transform .4s; }
.project:hover .project__art svg { transform: scale(1.12) rotate(-4deg); }
.project__art::before, .project__art::after { content: ""; position: absolute; border-radius: 50%; }
.project__art::before { width: 180px; height: 180px; right: -50px; top: -70px; background: rgba(255, 255, 255, .14); }
.project__art::after { width: 110px; height: 110px; left: -30px; bottom: -50px; background: rgba(255, 255, 255, .1); }
.project__art--wordpress { background: linear-gradient(135deg, #1f3b2d, #2f6049); color: var(--orange); }
.project__art--data { background: linear-gradient(135deg, #f2a325, #e07f0a); color: #fff; }
.project__art--design { background: linear-gradient(135deg, #e9746a, #c94f63); color: #fff; }
.project__art--office { background: linear-gradient(135deg, #2f5d8a, #234a70); color: #fff; }
.project__body { padding: 22px 24px 26px; }
.project__cat { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-2); }
.project h3 { margin: 6px 0 8px; font-size: 1.12rem; }
.project p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Process ---------- */
.process { background: var(--green); color: rgba(255, 255, 255, .78); overflow: hidden; }
.process::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -200px; background: radial-gradient(circle, rgba(242, 163, 37, .25), transparent 70%); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step { padding: 32px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, transform .3s; }
.step:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.step__n { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--orange); color: var(--green); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 18px; }
.step h3 { color: #fff; }
.step p { margin: 0; font-size: .95rem; }

/* ---------- Why ---------- */
.why__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.why__intro p { color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow .3s, transform .3s; }
.why__item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.why__item > span { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-2); margin-bottom: 16px; }
.why__item > span svg { width: 24px; height: 24px; }
.why__item p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.contact__cards { display: grid; gap: 16px; }
.contact-card {
	display: flex; align-items: center; gap: 18px; padding: 22px; background: #fff; border-radius: var(--radius);
	border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; min-width: 0;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange); }
.contact-card > span:last-child { min-width: 0; }
.contact-card__icon { width: 54px; height: 54px; border-radius: 16px; flex-shrink: 0; display: grid; place-items: center; background: var(--green); color: var(--orange); }
.contact-card__icon svg { width: 26px; height: 26px; }
.contact-card small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { display: block; color: var(--ink); font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-card em { font-style: normal; font-size: .85rem; color: var(--orange-2); font-weight: 600; }
.contact-card--wa { background: var(--wa); border-color: var(--wa); }
.contact-card--wa .contact-card__icon { background: #fff; color: var(--wa); }
.contact-card--wa small, .contact-card--wa em { color: rgba(255, 255, 255, .85); }
.contact-card--wa strong { color: #fff; }
a.contact-card--wa:hover { border-color: var(--wa-2); background: var(--wa-2); }

.contact-form { background: #fff; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-form h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
	width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line);
	background: var(--paper); transition: border-color .2s, box-shadow .2s, background .2s; font-size: .97rem;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(242, 163, 37, .18); }
/* Budget: preset chips + custom amount */
.budget { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.budget legend { font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: 9px; padding: 0; }
.budget__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; font-size: .9rem; transition: all .2s; }
.chip:hover span { border-color: var(--orange); }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.budget__custom { display: block; }
.budget__custom-label { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.budget__input { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); overflow: hidden; transition: border-color .2s, box-shadow .2s, background .2s; }
.budget__input:focus-within { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(242, 163, 37, .18); }
.budget__prefix, .budget__suffix { display: grid; place-items: center; padding: 0 14px; font-weight: 700; color: var(--green); background: var(--orange-soft); }
.budget__suffix { font-size: .8rem; letter-spacing: .06em; color: var(--muted); background: transparent; }
.budget__input input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 13px 12px; font-size: .97rem; outline: none; -moz-appearance: textfield; }
.budget__input input::-webkit-outer-spin-button, .budget__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field[hidden] { display: none; }
.form-note { text-align: center; margin: 16px 0 0; font-size: .9rem; color: var(--muted); }
.form-note a { color: var(--wa-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 12px; font-weight: 600; margin-bottom: 20px; }
.notice--ok { background: #dcf3e5; color: #135e34; border: 1px solid #a7dcbb; }
.notice--err { background: #fde4e1; color: #8f2318; border: 1px solid #f3b4ab; }

/* ---------- Footer ---------- */
.site-footer { background: #13241b; color: rgba(255, 255, 255, .68); font-size: .95rem; }
.footer__cta { background: var(--green); position: relative; overflow: hidden; }
.footer__cta::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: var(--orange); opacity: .14; right: -80px; top: -150px; }
.footer__cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 52px; padding-bottom: 52px; position: relative; z-index: 1; }
.footer__cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 6px; }
.footer__cta p { margin: 0; color: rgba(255, 255, 255, .75); }
.footer__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: 44px; padding-top: 70px; padding-bottom: 56px; }
.footer__about p { margin: 20px 0 22px; max-width: 340px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--orange); border-radius: 2px; }
.footer__links, .footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__links a { transition: color .2s, padding .2s; }
.footer__links a:hover { color: var(--orange); padding-left: 4px; }
.footer__contact li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.footer__contact a, .footer__contact span { overflow-wrap: anywhere; }
.footer__contact svg { width: 18px; height: 18px; color: var(--orange); margin-top: 4px; }
.footer__contact a:hover { color: var(--orange); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s, transform .2s; }
.footer__social a:hover { background: var(--orange); color: var(--green); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.footer__bottom p { margin: 0; }

/* ---------- Floating buttons ---------- */
.wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: 10px;
	background: var(--wa); color: #fff; height: 58px; padding: 0 18px 0 16px; border-radius: 999px;
	box-shadow: 0 14px 30px -8px rgba(31, 170, 89, .6); font-weight: 700; transition: transform .2s, background .2s;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.05); background: var(--wa-2); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.35); opacity: 0; } }
.to-top {
	position: fixed; right: 30px; bottom: 94px; z-index: 89; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
}
.to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange); color: var(--green); }

/* ---------- Generic pages ---------- */
.page-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 30px; }
.entry--card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 22px; }
.entry__meta { color: var(--muted); font-size: .9rem; }
.entry__content a { color: var(--orange-2); text-decoration: underline; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.header__wa-text { display: none; }
	.nav__list a { padding: 8px 11px; }
}

@media (max-width: 1080px) {
	.float-card--a { left: -4%; }
	.float-card--b { left: -6%; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.projects { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
	.section { padding: 80px 0; }
	.nav-toggle { display: block; }
	.nav {
		position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: min(320px, 85vw);
		flex-direction: column; align-items: stretch; gap: 20px; padding: 96px 24px 32px;
		background: var(--paper); box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .3);
		transform: translateX(105%); transition: transform .3s ease; z-index: 99;
	}
	.nav-open .nav { transform: none; }
	.nav__list { flex-direction: column; gap: 4px; }
	.nav__list a { padding: 13px 16px; border-radius: 12px; font-size: 1.05rem; }
	.header__wa-text { display: block; }
	.header__wa { padding: 6px 4px; }
	.nav-toggle { z-index: 100; }
	.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(19, 36, 27, .45); z-index: 98; }
	/* backdrop-filter would make the fixed menu position relative to the header */
	.site-header, .site-header.is-scrolled { z-index: 100; backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }

	.hero__inner, .about__inner, .why__inner, .contact__inner { grid-template-columns: 1fr; }
	.hero__inner { gap: 48px; }
	.hero__visual { margin: 0 auto; width: 100%; max-width: 420px; min-width: 0; }
	.about__inner { gap: 60px; }
	.about__inner { gap: 36px; }
	.services__grid { grid-template-columns: 1fr; }
	.footer__cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.container { padding: 0 16px; }
	.topbar__info span { display: none; }
	.topbar__info a { font-size: 0; gap: 0; }
	.topbar__info a svg { width: 18px; height: 18px; }
	.topbar__inner { justify-content: space-between; }
	.brand__text small { display: none; }
	.hero { padding-top: 44px; }
	.hero__actions .btn { flex: 1 1 auto; }
	.float-card { padding: 8px 12px 8px 8px; }
	.float-card__icon { width: 32px; height: 32px; }
	.float-card small { display: none; }
	.float-card--a { left: -2%; top: 4%; }
	.float-card--b { left: -2%; bottom: 20%; }
	.float-card--c { right: -2%; }
	.stats { grid-template-columns: 1fr 1fr; padding: 8px; }
	.stat { padding: 18px 8px; }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.about__media::before { inset: 18px -10px -12px 18px; }
	.about__badge { left: 0; }
	.checklist, .about__facts { grid-template-columns: 1fr; }
	.about__facts div:nth-child(odd) { border-right: 0; }
	.about__facts div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
	.service-card { padding: 26px; }
	.projects, .steps, .why__grid { grid-template-columns: 1fr; }
	.form-row { grid-template-columns: 1fr; gap: 0; }
	.contact-form { padding: 26px 20px; }
	.footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.wa-float { width: 58px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
	.wa-float__label { display: none; }
	.to-top { right: 23px; bottom: 86px; }
}
