/* ==========================================================================
   Techwala — main stylesheet
   ========================================================================== */

:root {
	--navy-900: #071330;
	--navy-800: #0b1b3f;
	--navy-700: #13285a;
	--navy-500: #3a4f80;
	--ink: #111a2e;
	--ink-soft: #4a5672;
	--paper: #f5f7fb;
	--paper-2: #eaeef6;
	--white: #ffffff;
	--line: #dde3ee;
	/* Brand colours from the Techwala logo */
	--accent: #f58345;      /* logo orange: icons, bars, borders, text on navy */
	--accent-600: #c2551a;  /* deeper orange: buttons and orange text on white (AA contrast) */
	--accent-700: #a64815;
	--accent-soft: #fef1e9;
	--green: #a6ce39;       /* logo green: accents on navy */
	--green-600: #5f7d16;   /* green text on white */
	--green-soft: #f2f8e3;
	--sky: #8fb4ff;
	--ok: #1a7f4b;
	--err: #b42318;

	--font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 1px 2px rgba(7, 19, 48, .06), 0 8px 28px rgba(7, 19, 48, .08);
	--shadow-lg: 0 24px 60px rgba(7, 19, 48, .18);
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; }
.topbar, .site-main, .site-footer { overflow-x: clip; }
img { height: auto; display: block; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-600); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.02em; color: var(--navy-800); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--accent-600); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 800px; }

.tw-icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	font: 600 16px/1 var(--font-body); letter-spacing: .01em;
	padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn .tw-icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent-600); color: #fff; box-shadow: 0 8px 22px rgba(194, 85, 26, .3); }
.btn--primary:hover { background: var(--accent-700); color: #fff; }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { color: var(--accent-600); }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn--outline { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn--outline:hover { border-color: var(--navy-800); color: var(--navy-800); }
.btn--whatsapp { background: #25d366; color: #073b1e; }
.btn--whatsapp:hover { background: #1ebe5b; color: #073b1e; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--navy-800); }
.text-link .tw-icon { transition: transform .18s; color: var(--accent); }
.text-link:hover .tw-icon { transform: translateX(4px); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font: 600 13px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
	color: var(--accent-600); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--accent); }
.eyebrow a { color: inherit; text-decoration: none; }

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head--split { max-width: none; display: grid; gap: 16px 48px; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1fr 1.3fr; align-items: end; } }
.section-head--split p { color: var(--ink-soft); margin: 0; }
.section-title { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; }
.section-title--sm { font-size: clamp(26px, 3vw, 34px); margin-bottom: 28px; }
.lead { font-size: 19px; color: var(--ink-soft); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #c7d2ea; font-size: 14px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__tag { margin: 0; letter-spacing: .02em; }
.topbar__contact { display: flex; gap: 22px; }
.topbar__contact a { color: #e6ecf8; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar__contact a:hover { color: #fff; }
.topbar__contact .tw-icon { width: 15px; height: 15px; color: var(--accent); }
@media (max-width: 899px) { .topbar__tag, .socials--top { display: none; } .topbar__inner { justify-content: center; } }
@media (max-width: 479px) { .topbar__contact a:last-child { display: none; } }

.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #c7d2ea; transition: background .18s, color .18s; }
.socials a:hover { background: var(--accent-600); color: #fff; }
.socials .tw-icon { width: 16px; height: 16px; }
.socials--footer a { width: 40px; height: 40px; background: rgba(255,255,255,.07); }
.socials--footer .tw-icon { width: 18px; height: 18px; }
@media (max-width: 419px) { .topbar .socials--top { display: none; } .topbar__inner { justify-content: center; } }

/* ---------- Header / nav ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: #fff; /* solid on purpose: backdrop-filter would trap the fixed mobile menu inside the header */
	border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(7,19,48,.06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }

/* Logo: same artwork everywhere, sized to the header. */
.custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.custom-logo-link img, .custom-logo-link picture { display: block; }
.site-header .custom-logo-link img { height: 64px; width: auto; transition: height .2s; }
.site-header.is-scrolled .custom-logo-link img { height: 54px; }
@media (max-width: 599px) { .site-header .custom-logo-link img, .site-header.is-scrolled .custom-logo-link img { height: 50px; } }
.footer-logo { display: inline-flex; background: #fff; border-radius: 16px; padding: 12px 16px; }
.footer-logo .custom-logo-link img { height: 76px; width: auto; }

.site-nav .menu { list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { text-decoration: none; }
.caret { width: 14px; height: 14px; margin-left: 4px; transition: transform .2s; }

@media (min-width: 1024px) {
	.nav-toggle { display: none; }
	.site-nav { display: flex; align-items: center; gap: 22px; }
	.site-nav .menu { display: flex; align-items: center; gap: 2px; }
	.site-nav .menu > li { position: relative; }
	.site-nav .menu > li > a {
		display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 999px;
		font: 600 14px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--navy-800);
	}
	.site-nav .menu > li > a:hover,
	.site-nav .menu > li:focus-within > a,
	.site-nav .menu > .current-menu-item > a,
	.site-nav .menu > .current-menu-ancestor > a { background: var(--paper-2); color: var(--navy-800); }
	.site-nav .menu > .current-menu-item > a, .site-nav .menu > .current-menu-ancestor > a { color: var(--accent-600); }
	.site-nav .sub-menu {
		position: absolute; top: calc(100% + 10px); left: 0; min-width: 270px;
		list-style: none; margin: 0; padding: 10px; background: #fff;
		border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
		opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
	}
	.site-nav .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
	.site-nav .menu > li:hover > .sub-menu,
	.site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.site-nav .menu > li:hover .caret { transform: rotate(180deg); }
	.site-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: 9px; color: var(--ink); font-weight: 500; font-size: 15px; }
	.site-nav .sub-menu a:hover, .site-nav .sub-menu .current-menu-item > a { background: var(--accent-soft); color: var(--accent-600); }
	.sub-toggle { display: none; }
}

@media (max-width: 1023px) {
	.nav-toggle {
		display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
		border: 1px solid var(--line); background: #fff; color: var(--navy-800); cursor: pointer;
	}
	.nav-toggle .tw-icon { width: 24px; height: 24px; }
	.nav-toggle__close, .nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.site-nav {
		display: none; position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, 84px); z-index: 99;
		background: #fff; padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
		overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line);
	}
	.nav-open .site-nav { display: block; animation: tw-nav-in .2s ease-out; }
	.nav-open { overflow: hidden; }
	@keyframes tw-nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
	.site-nav .menu > li { border-bottom: 1px solid var(--line); position: relative; }
	.site-nav .menu > li > a {
		display: flex; align-items: center; padding: 18px 0;
		font: 700 18px/1 var(--font-head); letter-spacing: .02em; text-transform: uppercase; color: var(--navy-800);
	}
	.site-nav .menu > li > a .caret { display: none; }
	.sub-toggle {
		position: absolute; right: 0; top: 8px; width: 40px; height: 40px; border: 0; border-radius: 10px;
		background: var(--paper); color: var(--navy-800); display: grid; place-items: center; cursor: pointer;
	}
	.sub-toggle .tw-icon { transition: transform .2s; }
	.sub-toggle[aria-expanded="true"] .tw-icon { transform: rotate(180deg); }
	.site-nav .sub-menu { list-style: none; margin: 0; padding: 0 0 12px; }
	.site-nav.js-subnav .sub-menu { display: none; }
	.site-nav.js-subnav .sub-open > .sub-menu { display: block; }
	.site-nav:not(.js-subnav) .sub-toggle { display: none; }
	.site-nav .sub-menu a { display: block; padding: 11px 14px; color: var(--ink-soft); border-left: 2px solid var(--line); }
	.site-nav .sub-menu a:hover, .site-nav .sub-menu .current-menu-item > a { color: var(--accent-600); border-color: var(--accent); }
	.site-nav__cta { margin-top: 24px; width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-800); color: #dbe4f6; padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 112px); }
.hero__bg {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(600px 400px at 85% 15%, rgba(245,131,69,.28), transparent 70%),
		radial-gradient(700px 500px at 10% 110%, rgba(143,180,255,.22), transparent 70%),
		linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 56px 56px;
	mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.hero { padding-bottom: clamp(120px, 12vw, 150px); }
.hero > .container { position: relative; }

/* Slides share one grid cell and cross-fade. */
.hero__slides { display: grid; }
.hero-slide {
	grid-area: 1 / 1; display: grid; gap: 32px; align-items: center;
	opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
@media (min-width: 1000px) { .hero-slide { grid-template-columns: 1.05fr .95fr; gap: 48px; } }
.hero-slide__copy { min-width: 0; }
.hero-slide__copy > * { transform: translateY(14px); opacity: 0; transition: transform .6s ease, opacity .6s ease; }
.hero-slide.is-active .hero-slide__copy > * { transform: none; opacity: 1; }
.hero-slide.is-active .hero-slide__copy > :nth-child(2) { transition-delay: .08s; }
.hero-slide.is-active .hero-slide__copy > :nth-child(3) { transition-delay: .16s; }
.hero-slide.is-active .hero-slide__copy > :nth-child(4) { transition-delay: .24s; }
.hero-slide__media { margin: 0; justify-self: center; width: 100%; max-width: 600px; }
.hero-slide__media img { width: 100%; height: auto; transform: scale(.96) translateY(10px); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hero-slide.is-active .hero-slide__media img { transform: none; animation: tw-float 7s ease-in-out 1.2s infinite; }
@keyframes tw-float { 50% { transform: translateY(-10px); } }
@media (max-width: 999px) { .hero-slide__media { max-width: 460px; order: -1; } }
@media (max-width: 599px) { .hero-slide__media { max-width: 340px; } }

.hero__title { color: #fff; font-size: clamp(36px, 5.2vw, 64px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 20px; text-wrap: balance; }
.hero__text { font-size: clamp(17px, 1.6vw, 20px); max-width: 600px; color: #c3cfe8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.slider-controls { display: flex; align-items: center; gap: 10px; }
.slider-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s; }
.slider-btn:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.slider-btn[data-prev] .tw-icon { transform: rotate(180deg); }
.slider-btn .tw-icon { width: 18px; height: 18px; }
.slider-btn--pause .icon-play, .is-paused .slider-btn--pause .icon-pause { display: none; }
.is-paused .slider-btn--pause .icon-play { display: block; }
.slider-dots { display: flex; gap: 6px; padding-inline: 6px; }
.slider-dot { width: 44px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.slider-dot span { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.22); overflow: hidden; position: relative; }
.slider-dot span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.slider-dot.is-active span::after { transform: scaleX(1); }
[data-autoplay="1"]:not(.is-paused) .slider-dot.is-active span::after { animation: tw-progress 7s linear forwards; }
@keyframes tw-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Free audit card overlapping the bottom of the hero. */
.audit-band { position: relative; z-index: 2; margin-top: calc(-1 * clamp(80px, 9vw, 104px)); }
.audit-band__card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border-top: 0; padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; position: relative; overflow: hidden; }
.audit-band__card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--accent) 0 60%, var(--green) 60%); }
.audit-band__head .form-card__kicker { margin-bottom: 4px; }
.audit-band__title { font-size: clamp(21px, 2.2vw, 26px); margin: 0; }
.audit-band .field-grid { margin-bottom: 14px; }
@media (min-width: 760px) { .audit-band .field-grid { grid-template-columns: repeat(2, 1fr); } .audit-band .field--full { grid-column: auto; } }
@media (min-width: 1100px) {
	.audit-band__card { grid-template-columns: 250px 1fr; align-items: center; gap: 32px; }
	.audit-band .lead-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; }
	.audit-band .lead-form .form-notice { grid-column: 1 / -1; margin: 0; }
	.audit-band .field-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; margin: 0; gap: 12px; }
	.audit-band .btn--block { width: auto; height: 50px; }
}
.audit-band + .clients { padding-top: 48px; }
@media (prefers-reduced-motion: reduce) { .hero-slide__copy > *, .hero-slide__media img { transform: none !important; opacity: 1; } }

.hero__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 16px 40px; }
@media (max-width: 599px) {
	.hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
	.slider-controls { width: 100%; justify-content: center; gap: 6px; }
	.slider-btn { width: 40px; height: 40px; }
	.slider-dot { width: 30px; }
	.slider-dots { padding-inline: 2px; gap: 4px; }
}
.hero__stats strong { display: flex; align-items: center; gap: 6px; font: 800 clamp(28px, 3.4vw, 38px)/1 var(--font-head); color: #fff; }
.hero__stats strong .tw-icon { width: 22px; height: 22px; color: #ffb020; }
.hero__stats span { display: block; font-size: 14px; color: #9fb0d3; margin-top: 8px; line-height: 1.35; }

/* ---------- Forms ---------- */
.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-lg); }
.hero .form-card { border-top: 5px solid var(--accent); }
.form-card__kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green-600); margin-bottom: 8px; }
.form-card__title { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 20px; }
.form-card--side { box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card--side .form-card__title { font-size: 21px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 479px) { .field { grid-column: 1 / -1; } }
.field label { font-size: 14px; font-weight: 600; color: var(--navy-800); }
.lead-form input, .lead-form select, .lead-form textarea, .search-form input, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; font: 400 16px/1.4 var(--font-body); color: var(--ink);
	padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--paper);
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus, .search-form input:focus, .comment-form input:focus, .comment-form textarea:focus {
	outline: none; border-color: var(--navy-700); background: #fff; box-shadow: 0 0 0 4px rgba(19,40,90,.1);
}
.lead-form textarea { resize: vertical; min-height: 120px; }
.form-notice { padding: 12px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.form-notice--ok { background: #e7f6ee; color: var(--ok); }
.form-notice--err { background: #fdecea; color: var(--err); }

.search-form { display: flex; gap: 8px; max-width: 460px; }
.search-form .btn { padding-inline: 16px; border-radius: 11px; }

/* ---------- Clients marquee ---------- */
.clients { padding: 36px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.clients__label { text-align: center; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 20px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; animation: tw-marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
	font: 700 17px/1 var(--font-head); color: var(--navy-500); white-space: nowrap;
	padding: 14px 22px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
/* Clients: uploaded logos (Site Content → Clients) */
.marquee__track li.has-logo { padding: 8px 20px; display: flex; align-items: center; }
.marquee__track .client-logo { height: 40px; width: auto; max-width: 160px; object-fit: contain; }
.marquee__track a { color: inherit; text-decoration: none; display: flex; align-items: center; }
.stars .star-off { opacity: .25; }
.person__photo { width: 60px; height: 60px; flex: none; border-radius: 18px; object-fit: cover; }
@keyframes tw-marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- Intro ---------- */
.intro__grid { display: grid; gap: 32px 72px; }
@media (min-width: 960px) { .intro__grid { grid-template-columns: .9fr 1.1fr; } .intro__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.intro__body { font-size: 18px; color: var(--ink-soft); }
.intro__body strong { color: var(--navy-800); }

/* ---------- Services ---------- */
.services { background: var(--paper); }
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.service-card {
	position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 32px 30px 28px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card__num { position: absolute; top: 26px; right: 28px; font: 700 14px/1 var(--font-head); color: #b8c2d6; letter-spacing: .05em; }
.service-card__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--navy-800); color: #fff; margin-bottom: 26px; transition: background .2s; }
.service-card:hover .service-card__icon { background: var(--accent-600); }
.service-card__icon .tw-icon { width: 28px; height: 28px; }
.service-card__title { font-size: 24px; margin-bottom: 12px; }
.service-card__title a { color: inherit; text-decoration: none; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card p { color: var(--ink-soft); font-size: 16px; flex: 1; }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-600); font-size: 15px; }
.service-card__more .tw-icon { width: 16px; height: 16px; transition: transform .2s; }
.service-card:hover .service-card__more .tw-icon { transform: translateX(4px); }

/* ---------- Why ---------- */
.why { background: var(--navy-800); color: #c3cfe8; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -220px; border-radius: 50%; border: 90px solid rgba(166,206,57,.10); }
.why__grid { position: relative; display: grid; gap: 48px; }
@media (min-width: 1000px) { .why__grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } .why__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.why .section-title { color: #fff; }
.why__head p { font-size: 18px; margin-bottom: 30px; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .why__list { grid-template-columns: 1fr 1fr; } }
.why-item { background: var(--navy-800); padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; transition: background .2s; }
.why-item:hover { background: var(--navy-700); }
.why-item__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: rgba(166,206,57,.14); color: var(--green); }
.why-item h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.why-item p { margin: 0; font-size: 15.5px; }

/* ---------- Reviews ---------- */
.reviews__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.reviews__head .section-title { margin: 0; }
.rating-badge { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.rating-badge__score { font: 800 44px/1 var(--font-head); color: var(--navy-800); }
.rating-badge__meta { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-soft); }
.stars { display: inline-flex; gap: 2px; color: #f5a623; }
.stars .tw-icon { width: 18px; height: 18px; }
.stars--sm .tw-icon { width: 14px; height: 14px; }

.review-scroller {
	display: grid; grid-auto-flow: column; grid-auto-columns: min(88%, 380px); gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 20px; margin: 0 -4px;
	scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.review-card { scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; gap: 18px; background: var(--paper); border-radius: var(--radius-lg); padding: 30px 28px; }
.review-card__quote { width: 34px; height: 34px; color: var(--accent); }
.review-card blockquote { margin: 0; flex: 1; font-size: 16.5px; color: var(--ink); }
.review-card blockquote p { margin: 0; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.review-card figcaption strong { display: block; color: var(--navy-800); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy-800); color: #fff; font: 700 17px/1 var(--font-head); flex: none; }
.scroller-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.scroller-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy-800); display: grid; place-items: center; cursor: pointer; transition: background .15s, color .15s; }
.scroller-btn:hover { background: var(--navy-800); color: #fff; }
.scroller-btn[data-scroll="-1"] .tw-icon { transform: rotate(180deg); }

/* ---------- Blog ---------- */
.blog-teaser { background: var(--paper); }
.post-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-card__media { display: block; aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--navy-500); background: linear-gradient(135deg, var(--paper-2), #dfe6f3); }
.post-card__placeholder .tw-icon { width: 44px; height: 44px; }
.post-card__body { padding: 22px 24px 26px; }
.post-card__meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }
.post-card__title { font-size: 21px; margin-bottom: 10px; }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--accent-600); }
.post-card__excerpt { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
.chip { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-600); font-size: 13px; font-weight: 600; text-decoration: none; }
.chip--link:hover { background: var(--accent-600); color: #fff; }
.chip-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--navy-800); font-weight: 600; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.empty-state { text-align: center; padding: 40px 0; }
.empty-state .search-form, .empty-state .chip-list { margin-inline: auto; justify-content: center; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy-800); color: #c3cfe8; padding-block: clamp(56px, 7vw, 96px); }
.page-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(500px 300px at 90% 0%, rgba(245,131,69,.25), transparent 70%),
		linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 48px 48px;
}
.page-hero__inner { position: relative; }
.page-hero__copy { min-width: 0; }
.page-hero__media { display: none; margin: 0; }
@media (min-width: 900px) {
	.page-hero--media { padding-block: clamp(40px, 5vw, 64px); }
	.page-hero--media .page-hero__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
	.page-hero--media .page-hero__media { display: block; order: 2; max-width: 420px; justify-self: end; }
	.page-hero--media .page-hero__media img { width: 100%; height: auto; }
}
.page-hero__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--accent-600); color: #fff; margin-bottom: 24px; box-shadow: 0 12px 30px rgba(194,85,26,.35); }
.page-hero__icon .tw-icon { width: 30px; height: 30px; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero__title { color: #fff; font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; max-width: 900px; }
.page-hero__sub { font-size: clamp(17px, 1.6vw, 20px); max-width: 680px; margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; margin: 0; }
.post-meta span, .post-meta time { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .tw-icon { width: 16px; height: 16px; }

/* ---------- Content ---------- */
.entry-content { font-size: 18px; color: #2b3550; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { font-size: clamp(26px, 2.8vw, 34px); margin-top: 1.6em; }
.entry-content h3 { font-size: clamp(21px, 2.2vw, 25px); margin-top: 1.4em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 0; list-style: none; margin: 0 0 1.4em; display: grid; gap: 10px; }
.entry-content ul li, .entry-content ol li { position: relative; padding-left: 36px; }
.entry-content ul li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 14px; height: 14px; border-radius: 4px; background: var(--accent); transform: rotate(45deg) scale(.7); }
.entry-content ol { counter-reset: tw; }
.entry-content ol li { counter-increment: tw; }
.entry-content ol li::before { content: counter(tw); position: absolute; left: 0; top: .1em; width: 26px; height: 26px; border-radius: 8px; background: var(--navy-800); color: #fff; font: 700 13px/26px var(--font-head); text-align: center; }
.entry-content blockquote { margin: 1.6em 0; padding: 20px 26px; border-left: 4px solid var(--accent); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; font-size: 19px; }
.entry-content img { border-radius: var(--radius); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
@media (min-width: 1100px) { .entry-content .alignwide { margin-inline: calc(-1 * min(8vw, 120px)); max-width: none; } }
.entry-thumb { margin: 0 0 32px; }
.entry-thumb img { border-radius: var(--radius-lg); width: 100%; }

.layout-sidebar { display: grid; gap: 48px; }
@media (min-width: 1000px) { .layout-sidebar { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; } .sidebar { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.entry-content--service h2 { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.entry-content--service h2:first-child { border: 0; padding: 0; }
.sidebar { display: grid; gap: 24px; }
.side-services { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.side-services__title { font-size: 18px; margin-bottom: 12px; }
.side-services ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.side-services a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15.5px; }
.side-services a .tw-icon { color: var(--navy-500); }
.side-services a:hover, .side-services a[aria-current] { background: var(--accent-soft); color: var(--accent-600); }
.side-services a[aria-current] .tw-icon, .side-services a:hover .tw-icon { color: var(--accent-600); }

.entry-footer { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tags a { padding: 6px 12px; border-radius: 999px; background: var(--paper-2); color: var(--navy-700); font-size: 14px; text-decoration: none; }
.post-navigation .nav-links { display: grid; gap: 16px; }
@media (min-width: 640px) { .post-navigation .nav-links { grid-template-columns: 1fr 1fr; } .post-navigation .nav-next { text-align: right; } }
.post-navigation a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.post-navigation a:hover { border-color: var(--navy-800); }
.nav-label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-600); font-weight: 600; }
.nav-title { font: 700 17px/1.3 var(--font-head); color: var(--navy-800); }

.comments { margin-top: 56px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-list .avatar { border-radius: 50%; width: 44px; height: 44px; display: inline-block; vertical-align: middle; margin-right: 10px; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }

/* ---------- About ---------- */
.about-intro { display: grid; gap: 40px 72px; }
@media (min-width: 960px) { .about-intro { grid-template-columns: 1.2fr .8fr; } }
.vm-cards { display: grid; gap: 18px; align-content: start; }
.vm-card { padding: 30px; border-radius: var(--radius-lg); background: var(--paper); }
.vm-card--accent { background: var(--navy-800); }
.vm-card__text { font: 700 clamp(22px, 2.4vw, 28px)/1.2 var(--font-head); color: var(--navy-800); margin: 0; letter-spacing: -.02em; }
.vm-card--accent .vm-card__text { color: #fff; }
.values { background: var(--paper); }
.values__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); counter-reset: v; }
.value-card { counter-increment: v; background: #fff; border-radius: var(--radius-lg); padding: 30px 28px; border: 1px solid var(--line); }
.value-card::before { content: "0" counter(v); display: block; font: 800 15px/1 var(--font-head); color: var(--accent); margin-bottom: 22px; }
.value-card h3 { font-size: 22px; }
.value-card p { color: var(--ink-soft); margin: 0; font-size: 16px; }
.people__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.person { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.person__avatar { display: grid; place-items: center; width: 60px; height: 60px; flex: none; border-radius: 18px; background: var(--navy-800); color: #fff; font: 800 20px/1 var(--font-head); box-shadow: inset 0 -4px 0 var(--accent); }
.person > div { flex: 1; }
.person__name { font-size: 19px; margin: 0 0 4px; }
.person__role { margin: 0; color: var(--ink-soft); font-size: 15px; }
.person__in { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); color: #0a66c2; }
.person__in:hover { background: #0a66c2; color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.contact-cards { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; gap: 14px; }
@media (min-width: 560px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--paper); }
.contact-card__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--navy-800); color: #fff; }
.contact-card h2 { font-size: 16px; margin-bottom: 4px; }
.contact-card p, .contact-card a { margin: 0; font-size: 15.5px; color: var(--ink-soft); text-decoration: none; }
.contact-card a:hover { color: var(--accent-600); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent-600); color: #fff; padding-block: clamp(48px, 6vw, 72px); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255,255,255,.12); }
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band__title { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 8px; max-width: 680px; }
.cta-band p { margin: 0; color: #fff; font-size: 18px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--light:hover { color: var(--accent-600); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aab8d6; font-size: 15.5px; }
.site-footer a { color: #dbe4f6; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer__grid { display: grid; gap: 40px; padding-block: 72px 56px; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.3fr 1.3fr .9fr .8fr; } }
.site-footer__brand p { margin: 18px 0 28px; max-width: 340px; }
.footer-title { font: 700 14px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact .tw-icon { color: var(--accent); margin-top: 3px; width: 18px; height: 18px; }
.footer-contact strong { color: #fff; font-weight: 600; }
.site-footer__map iframe { display: block; width: 100%; height: 260px; border: 0; filter: grayscale(.6) contrast(1.05); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px; }
.site-footer__bottom p { margin: 0; }

/* ---------- WhatsApp ---------- */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
	display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(37,211,102,.45);
	transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float .tw-icon { width: 30px; height: 30px; }

/* ---------- WordPress core classes ---------- */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption.wp-element-caption { font-size: 14px; color: var(--ink-soft); text-align: center; margin-top: 8px; }
.sticky .post-card__title::before { content: "★ "; color: var(--accent); }
.bypostauthor { }
.gallery-caption { }
