/* =========================================================
   MAXCOOL BATAM — Design System
   Premium Industrial Engineering Corporate
   ========================================================= */

:root {
  --navy: #102B4E;
  --navy-900: #0B1F3A;
  --navy-800: #0E2645;
  --blue: #1763A6;
  --blue-600: #12548E;
  --blue-50: #EAF2FA;
  --orange: #F58220;
  --orange-600: #DE6F10;
  --orange-50: #FEF3E8;
  --white: #FFFFFF;
  --gray-50: #F4F7FA;
  --gray-100: #E9EEF4;
  --gray-200: #D8E0EA;
  --gray-400: #8C9AAD;
  --gray-600: #5B6B7F;
  --text: #1B2838;

  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(16, 43, 78, .06), 0 1px 3px rgba(16, 43, 78, .08);
  --shadow: 0 4px 10px -2px rgba(16, 43, 78, .08), 0 12px 28px -8px rgba(16, 43, 78, .14);
  --shadow-lg: 0 24px 56px -16px rgba(16, 43, 78, .28);

  --container: 1280px;
  --gutter: 20px;
  --header-h: 72px;
  --section: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) { :root { --gutter: 32px; --section: 96px; } }
@media (min-width: 1024px) { :root { --header-h: 80px; --section: 112px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--navy); line-height: 1.18; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.icon { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute; 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: 12px; top: -60px; z-index: 1000; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); color: #C9D5E4; }
.section--navy h2, .section--navy h3 { color: #fff; }
.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: 28px; }
}

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-head--split > div { max-width: 720px; }
.section-head p { font-size: 1.075rem; color: var(--gray-600); margin: 0; }
.section--navy .section-head p { color: #A9B9CD; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: 1.125rem; color: var(--gray-600); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border: 2px solid transparent; border-radius: var(--radius-sm); font-weight: 700; font-size: .975rem; line-height: 1.2; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); text-align: center; }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(245, 130, 32, .7); }
.btn--primary:hover { background: var(--orange-600); color: #fff; transform: translateY(-1px); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-600); color: #fff; }
.btn--outline { border-color: var(--gray-200); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.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, .06); }
.btn--wa { background: #1FA855; color: #fff; }
.btn--wa:hover { background: #178D46; color: #fff; }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-900); color: #B4C3D6; font-size: .84rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__info { display: flex; gap: 24px; }
.topbar__info span, .topbar a { display: inline-flex; align-items: center; gap: 8px; color: #B4C3D6; }
.topbar .icon { width: 15px; height: 15px; color: var(--orange); }
.topbar a:hover { color: #fff; }
@media (max-width: 767px) { .topbar__info { display: none; } .topbar .container { justify-content: center; } }

.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--gray-100); transition: box-shadow .25s var(--ease); }
.header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(16, 43, 78, .25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; flex: none; }
.logo img { height: 48px; width: auto; }
@media (min-width: 1024px) { .logo img { height: 56px; } }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: var(--header-h); padding: 0 12px; font-weight: 600; font-size: .93rem; color: var(--text); background: none; border: 0; cursor: pointer; position: relative; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--orange); transform: scaleX(0); transition: transform .25s var(--ease); border-radius: 3px 3px 0 0; }
.nav__link:hover, .nav__link[aria-current="page"], .nav__item.is-open > .nav__link { color: var(--navy); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-open > .nav__link::after { transform: scaleX(1); }
.nav__link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav__item.is-open .nav__link .icon { transform: rotate(180deg); }
.header__cta { display: none; }
@media (min-width: 1180px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .menu-toggle { display: none !important; }
}
@media (min-width: 1180px) and (max-width: 1279px) { .nav__link { padding: 0 9px; font-size: .9rem; } }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--gray-100); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding-block: 32px; }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 16px; list-style: none; margin: 0; padding: 0; }
.mega__link { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: var(--radius-sm); color: var(--text); transition: background .15s; }
.mega__link:hover { background: var(--gray-50); color: var(--navy); }
.mega__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--blue-50); color: var(--blue); flex: none; }
.mega__icon .icon { width: 20px; height: 20px; }
.mega__link strong { display: block; font-size: .92rem; color: var(--navy); line-height: 1.3; }
.mega__link small { color: var(--gray-600); font-size: .8rem; }
.mega__feature { background: var(--navy); color: #C9D5E4; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.mega__feature strong { color: #fff; font-size: 1.1rem; line-height: 1.3; }
.mega__feature p { font-size: .9rem; margin: 0; }
.mega__feature .btn { margin-top: auto; }

/* Mobile menu */
.menu-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); background: #fff; color: var(--navy); cursor: pointer; }
.menu-toggle .icon { width: 24px; height: 24px; }
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(11, 31, 58, .55); opacity: 0; transition: opacity .25s var(--ease); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--gray-100); }
.drawer__head img { height: 40px; width: auto; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list > li { border-bottom: 1px solid var(--gray-100); }
.drawer__link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; padding: 0; font-weight: 700; color: var(--navy); background: none; border: 0; cursor: pointer; text-align: left; }
.drawer__link .icon { transition: transform .2s; }
.drawer__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.drawer__sub { list-style: none; margin: 0 0 12px; padding: 0; display: none; }
.drawer__sub.is-open { display: block; }
.drawer__sub a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 8px; color: var(--text); font-size: .94rem; border-radius: var(--radius-sm); }
.drawer__sub a:hover { background: var(--gray-50); }
.drawer__sub .icon { color: var(--blue); width: 18px; height: 18px; }
.drawer__foot { padding: 16px 20px 24px; border-top: 1px solid var(--gray-100); display: grid; gap: 10px; }
body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--gray-100) 1px, transparent 1px), linear-gradient(90deg, var(--gray-100) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 75%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 75%); pointer-events: none; }
.hero__inner { position: relative; display: grid; gap: 40px; align-items: center; padding-block: 48px 64px; }
@media (min-width: 1024px) { .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 64px; padding-block: 80px 96px; } }
.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--blue); }
.hero__text { font-size: 1.125rem; color: var(--gray-600); max-width: 560px; margin-bottom: 32px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 32px 0 0; padding: 0; list-style: none; font-size: .92rem; font-weight: 600; color: var(--navy); }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { width: 18px; height: 18px; color: var(--orange); }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__media::before { content: ""; position: absolute; right: -16px; top: -16px; width: 55%; height: 55%; border-radius: var(--radius-lg); background: var(--orange); opacity: .14; z-index: -1; }
.hero__badge { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .96); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); max-width: 360px; }
@media (min-width: 768px) { .hero__badge { left: -24px; bottom: 32px; right: auto; } }
.hero__badge-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; flex: none; }
.hero__badge strong { display: block; color: var(--navy); font-size: 1rem; line-height: 1.25; }
.hero__badge small { color: var(--gray-600); font-size: .84rem; }

/* ---------- Intro ---------- */
.intro { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .intro { grid-template-columns: 1fr 1fr; gap: 72px; } }
.intro__media { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.intro__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.intro__media img:first-child { aspect-ratio: 3 / 4; grid-row: span 2; }
.intro__media img:not(:first-child) { aspect-ratio: 1; }
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
@media (min-width: 640px) { .checklist--2 { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checklist .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue-50); color: var(--blue); flex: none; margin-top: 1px; }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); color: var(--text); height: 100%; }
a.card:hover, .card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--gray-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
a.card:hover .card__media img { transform: scale(1.05); }
.card__num { position: absolute; left: 16px; top: 16px; background: rgba(11, 31, 58, .82); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .08em; padding: 5px 10px; border-radius: 6px; }
.card__icon { position: absolute; right: 16px; bottom: -22px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--orange); color: #fff; box-shadow: 0 8px 18px -6px rgba(245, 130, 32, .6); }
.card__icon .icon { width: 24px; height: 24px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.card__body h3 { margin-bottom: 10px; }
.card__body p { color: var(--gray-600); font-size: .95rem; margin-bottom: 18px; }
.card__meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .88rem; color: var(--gray-600); }
.card__meta .link-arrow { font-size: .92rem; }

.svc-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); color: var(--text); height: 100%; transition: border-color .2s, box-shadow .2s, transform .2s; }
.svc-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--text); }
.svc-card__cat { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.svc-card__cat .icon { width: 16px; height: 16px; }
.svc-card h3 { font-size: 1.05rem; margin: 0; }
.svc-card p { margin: 0; font-size: .9rem; color: var(--gray-600); }
.svc-card .link-arrow { margin-top: auto; font-size: .9rem; padding-top: 6px; }

/* Feature (why choose) */
.feature { padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--gray-100); height: 100%; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.feature:hover { box-shadow: var(--shadow); border-color: transparent; }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-50); color: var(--blue); margin-bottom: 18px; }
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--gray-600); margin: 0; font-size: .95rem; }
.section--navy .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--navy .feature p { color: #A9B9CD; }
.section--navy .feature__icon { background: rgba(245, 130, 32, .14); color: var(--orange); }

/* Industry tiles */
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 31, 58, .05) 20%, rgba(11, 31, 58, .88) 100%); }
.tile:hover img { transform: scale(1.06); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.tile h3 { color: #fff; margin-bottom: 6px; font-size: 1.15rem; }
.tile p { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .82); line-height: 1.5; }
.tile .link-arrow { color: var(--orange); margin-top: 10px; font-size: .9rem; }
.tile:hover { color: #fff; }

/* Maintenance band */
.band { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .band { grid-template-columns: 1fr 1fr; gap: 72px; } }
.band__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); }
.steps { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { position: relative; padding-left: 56px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(245, 130, 32, .14); color: var(--orange); font-weight: 800; font-size: .88rem; }
.steps strong { display: block; color: #fff; }
.steps span { color: #A9B9CD; font-size: .94rem; }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); color: #C9D5E4; padding: 48px 28px; isolation: isolate; }
@media (min-width: 768px) { .cta { padding: 64px; } }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 100% 0%, rgba(23, 99, 166, .7), transparent 55%), radial-gradient(circle at 0% 100%, rgba(245, 130, 32, .22), transparent 50%); }
.cta__inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .cta__inner { grid-template-columns: 1.4fr 1fr; gap: 48px; } }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { margin: 0; font-size: 1.05rem; }
.cta .btn-row { justify-content: flex-start; }
@media (min-width: 1024px) { .cta .btn-row { justify-content: flex-end; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--navy); color: #C9D5E4; padding-block: 44px 52px; overflow: hidden; isolation: isolate; }
@media (min-width: 1024px) { .page-hero { padding-block: 64px 76px; } }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 31, 58, .97) 0%, rgba(11, 31, 58, .88) 45%, rgba(11, 31, 58, .55) 100%); }
.page-hero h1 { color: #fff; max-width: 860px; font-size: clamp(1.85rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero p { max-width: 720px; font-size: 1.075rem; margin: 0; color: #C9D5E4; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero .eyebrow { margin-bottom: 10px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; font-size: .85rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: #8FA3BC; }
.breadcrumb li + li::before { content: "/"; color: #5C7290; }
.breadcrumb a { color: #C9D5E4; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--orange); }

/* ---------- Content layout (detail pages) ---------- */
.layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; } }
.content > * + * { margin-top: 0; }
.content h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 48px; margin-bottom: 16px; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin-top: 28px; }
.content p, .content li { color: #2E3D50; }
.content .lead { color: var(--gray-600); }
.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 40px; }
.prose ul, .prose ol { margin-bottom: 1.25em; }
.prose li { margin-bottom: .4em; }
.content-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 32px; }

.scope { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .scope { grid-template-columns: 1fr 1fr; } }
.scope li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--gray-50); border-radius: var(--radius-sm); font-weight: 500; font-size: .96rem; }
.scope .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--orange); color: #fff; flex: none; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li { padding: 9px 14px; border: 1px solid var(--gray-200); border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--navy); background: #fff; }

.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: p; }
.process li { position: relative; padding: 0 0 26px 64px; counter-increment: p; }
.process li::before { content: counter(p); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; }
.process li::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: var(--gray-200); }
.process li:last-child { padding-bottom: 0; }
.process li:last-child::after { display: none; }
.process strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 2px; padding-top: 9px; }
.process span { color: var(--gray-600); font-size: .95rem; }

.gallery { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.gallery figure:first-child { grid-column: span 2; }
.gallery figure:first-child img { aspect-ratio: 16 / 8; }
@media (min-width: 768px) {
  .gallery { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
  .gallery figure:first-child { grid-column: auto; grid-row: span 2; }
  .gallery figure:first-child img { aspect-ratio: auto; }
}
.note { font-size: .85rem; color: var(--gray-600); margin-top: 10px; }
.notice { display: flex; gap: 12px; padding: 16px 18px; border-left: 4px solid var(--orange); background: var(--orange-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .93rem; color: #5A3B16; margin-top: 28px; }
.notice .icon { color: var(--orange); width: 22px; height: 22px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--gray-100); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--gray-200); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gray-50); color: var(--blue); font-size: 1.3rem; font-weight: 600; flex: none; transition: transform .2s; }
.faq details[open] summary::after { content: "−"; background: var(--blue); color: #fff; }
.faq details > div { padding: 0 20px 20px; color: var(--gray-600); }
.faq details > div p { margin: 0; }

/* Sidebar */
.sidebar { display: grid; gap: 24px; align-content: start; }
@media (min-width: 1024px) { .sidebar { position: sticky; top: calc(var(--header-h) + 24px); } }
.side-card { border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 24px; background: #fff; }
.side-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.side-card--quote { background: var(--navy); border-color: var(--navy); color: #C9D5E4; }
.side-card--quote h3 { color: #fff; font-size: 1.2rem; }
.side-card--quote p { font-size: .94rem; }
.side-card--quote .btn { width: 100%; }
.side-card--quote .btn + .btn { margin-top: 10px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li + li { border-top: 1px solid var(--gray-100); }
.side-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; color: var(--text); font-size: .93rem; font-weight: 500; }
.side-list a:hover, .side-list a[aria-current="page"] { color: var(--blue); }
.side-list a[aria-current="page"] { font-weight: 700; }
.side-list .icon { width: 16px; height: 16px; color: var(--gray-400); }

/* ---------- Services directory ---------- */
.filters { display: grid; gap: 16px; margin-bottom: 32px; }
.search { position: relative; }
.search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gray-400); }
.search input { width: 100%; min-height: 56px; padding: 12px 16px 12px 48px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); background: #fff; font-size: 1rem; }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 99, 166, .12); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
@media (min-width: 1024px) { .chips { flex-wrap: wrap; overflow: visible; } }
.chip { flex: none; min-height: 40px; padding: 8px 14px; border: 1px solid var(--gray-200); border-radius: 999px; background: #fff; font-size: .87rem; font-weight: 600; color: var(--navy); cursor: pointer; white-space: nowrap; transition: all .15s; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.results-info { color: var(--gray-600); font-size: .93rem; margin-bottom: 20px; }
.empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--gray-200); border-radius: var(--radius); color: var(--gray-600); }
.empty__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--blue-50); color: var(--blue); }
.empty__icon .icon { width: 30px; height: 30px; }
.empty h3 { margin-bottom: 8px; }
[hidden] { display: none !important; }

/* Category overview list */
.cat-block + .cat-block { margin-top: 56px; }
.cat-block__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--gray-100); }
.cat-block__head h2 { display: flex; align-items: center; gap: 14px; font-size: 1.45rem; margin: 0; }
.cat-block__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--orange); color: #fff; font-size: .95rem; }

/* ---------- Article ---------- */
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .9rem; color: #A9B9CD; margin-top: 18px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .icon { width: 16px; height: 16px; color: var(--orange); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--blue-50); color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- About / values ---------- */
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
@media (min-width: 768px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 22px; border-radius: var(--radius); background: var(--gray-50); }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat span { font-size: .88rem; color: var(--gray-600); }

/* ---------- Forms ---------- */
.contact-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1fr 400px; gap: 56px; } }
.form-card { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: 40px; } }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); background: #fff; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 99, 166, .12); }
.field .error { color: #C62828; font-size: .84rem; margin-top: 4px; display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C62828; }
.hp { position: absolute !important; left: -9999px !important; }
.alert { padding: 18px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: .96rem; }
.alert--success { background: #E8F6EE; color: #17582F; border: 1px solid #BFE5CD; }
.alert--error { background: #FDECEC; color: #8A1C1C; border: 1px solid #F5C2C2; }
.alert .btn { margin-top: 14px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.form-foot small { color: var(--gray-600); }

.contact-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-items li { display: flex; gap: 14px; align-items: flex-start; }
.contact-items .ci-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue); flex: none; }
.contact-items strong { display: block; color: var(--navy); font-size: .9rem; }
.contact-items span, .contact-items a { font-size: .98rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9FB0C6; font-size: .93rem; padding-top: 72px; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; } }
.footer__logo { display: inline-flex; background: #fff; padding: 10px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.footer__logo img { height: 52px; width: auto; }
.footer__brand p { max-width: 340px; }
.footer h4 { color: #fff; font-size: .95rem; letter-spacing: .02em; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #9FB0C6; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: var(--orange); width: 18px; height: 18px; margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px 96px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; }
@media (min-width: 768px) { .footer__bottom { padding-bottom: 24px; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: #1FA855; color: #fff; font-weight: 700; box-shadow: 0 10px 28px -8px rgba(31, 168, 85, .7); transition: transform .2s var(--ease), background .2s; }
.wa-float:hover { color: #fff; background: #178D46; transform: translateY(-2px); }
.wa-float .icon { width: 26px; height: 26px; }
@media (max-width: 639px) { .wa-float { width: 56px; padding: 0; justify-content: center; } .wa-float span { display: none; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-lg { margin-top: 48px; }
.text-center { text-align: center; }
.center-btn { display: flex; justify-content: center; margin-top: 44px; }
.divider { height: 1px; background: var(--gray-100); margin-block: 40px; }

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

@media print {
  .topbar, .header, .footer, .wa-float, .drawer, .sidebar { display: none !important; }
}

/* Topbar: hide e-mail on medium screens to avoid wrapping */
@media (max-width: 1099px) { .topbar__info a { display: none; } }
