/* Alpeng Services — design system. Hand-written; the HTML pages are generated by tools/build-site.mjs. */
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #102c30;
  --ink-2: #1d444a;
  --text: #25393c;
  --muted: #566769;
  --red: #e30613;
  --red-dark: #b8040f;
  --cream: #faf7f2;
  --stone: #f0eadf;
  --line: #e2dbcf;
  --white: #fff;
  --wa: #0f7f43;
  --wa-dark: #0b5f32;
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(16, 44, 48, .06), 0 12px 32px -16px rgba(16, 44, 48, .28);
  --display: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 1.0625rem/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; margin: 0 0 .55em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.15rem, 5.4vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 200; background: #fff; padding: 8px 14px; border-radius: 6px; }
.eyebrow { font: 600 .8rem/1 var(--display); color: var(--red-dark); text-transform: uppercase; letter-spacing: .14em; margin: 0 0 .9em; }
.lead { font-size: 1.18rem; color: var(--text); }
.small { font-size: .9rem; color: var(--muted); }
.center { text-align: center; }
.section { padding: 76px 0; }
.section.tight { padding: 52px 0; }
.section.alt { background: var(--stone); }
.section.dark { background: var(--ink); color: #d7e3e2; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.dark .section-head p { color: #b9cccb; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .7em 1.5em; border-radius: 999px; border: 2px solid transparent; font: 600 1.02rem/1.2 var(--display); letter-spacing: .01em; text-decoration: none; cursor: pointer; background: var(--red); color: #fff; transition: background .15s, transform .15s; }
.btn:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--stone); color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 42px; padding: .45em 1.15em; font-size: .95rem; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 10px; }
@media (max-width: 520px) { .cta-row .btn { width: 100%; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,247,242,.94); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.3) blur(8px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.brand img { width: 148px; height: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a:not(.btn), .nav summary { font: 500 1.02rem var(--display); color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 8px; cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav > a:not(.btn):hover, .nav summary:hover, .nav details[open] > summary { background: var(--stone); color: var(--ink); }
.nav details { position: relative; }
.nav summary::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.menu { position: absolute; top: calc(100% + 8px); left: -12px; z-index: 20; width: 340px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; display: grid; }
.menu a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-family: var(--display); color: var(--ink); }
.menu a small { display: block; font: 400 .85rem var(--body); color: var(--muted); }
.menu a:hover { background: var(--stone); color: var(--ink); }
.menu .sub { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 999px; background: transparent; font: 600 .95rem var(--display); color: var(--ink); cursor: pointer; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--cream); border-bottom: 1px solid var(--line); padding: 10px 20px 22px; box-shadow: var(--shadow); max-height: calc(100vh - 74px); overflow: auto; }
  .js .nav.open { display: flex; }
  .nav details { width: 100%; }
  .menu { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 6px 10px; background: transparent; }
  .nav .btn { margin: 10px 0 0; }
  .no-js .bar { flex-wrap: wrap; padding: 8px 0; }
  .no-js .nav { flex-wrap: wrap; }
}

/* Home hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,32,36,.92) 0%, rgba(10,32,36,.72) 42%, rgba(10,32,36,.18) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 92px; padding-bottom: 96px; }
.hero-copy { max-width: 660px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #ffb3b8; }
.hero .lead { color: #e6eeee; max-width: 580px; }
.hero .small { color: #c8d8d7; }
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(10,32,36,.55) 0%, rgba(10,32,36,.9) 55%); }
  .hero .wrap { padding-top: 56px; padding-bottom: 58px; }
}

/* Trust bar */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; gap: 10px 24px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.trust li { display: flex; align-items: center; gap: 10px; font: 500 .98rem var(--display); color: var(--ink); }
.trust svg { flex: none; color: var(--red); }

/* Service cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.card:hover { transform: translateY(-3px); }
.card-img { aspect-ratio: 4 / 3; background: var(--stone); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .35em; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card-body p { color: var(--muted); margin-bottom: 14px; flex: 1; }
.more { font: 600 .98rem var(--display); color: var(--red-dark); }
.more::after { content: " \2192"; }
.cards.compact { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.cards.compact .card-body { padding: 18px; }
.cards.compact .card-img { aspect-ratio: 3 / 2; }
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font: 500 .98rem var(--display); color: var(--ink); }
.pill-list a { text-decoration: none; }

/* Split blocks */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.flip .split-media { order: 2; } }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ticks { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 100% no-repeat; }
.cols-2 { display: grid; gap: 8px 40px; }
@media (min-width: 760px) { .cols-2 { grid-template-columns: 1fr 1fr; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: s; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 600 2rem/1 var(--display); color: var(--red); margin-bottom: 12px; }
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); margin: 0; }

/* Gallery (masonry via columns; keeps every photo uncropped) */
.gallery { column-count: 2; column-gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .gallery { column-count: auto; column-width: 250px; column-gap: 14px; } }
.gallery li { break-inside: avoid; margin: 0 0 10px; }
@media (min-width: 600px) { .gallery li { margin-bottom: 14px; } }
.gallery a { display: block; position: relative; border-radius: 10px; overflow: hidden; background: var(--stone); }
.gallery img { width: 100%; height: auto; transition: transform .35s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; font: 500 .88rem var(--display); color: #fff; background: linear-gradient(transparent, rgba(10,32,36,.78)); opacity: 0; transition: opacity .2s; }
.gallery a:hover figcaption, .gallery a:focus-visible figcaption { opacity: 1; }
@media (hover: none) { .gallery figcaption { opacity: 1; font-size: .74rem; padding: 18px 9px 7px; line-height: 1.25; } }
.strip { padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .strip { grid-template-columns: repeat(4, 1fr); } }
.strip a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.strip a:hover img { transform: scale(1.04); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.chip { font: 500 .98rem var(--display); border: 1.5px solid var(--ink); background: transparent; color: var(--ink); border-radius: 999px; padding: 8px 18px; min-height: 42px; cursor: pointer; }
.chip[aria-pressed="true"], .chip:hover { background: var(--ink); color: #fff; }

/* Lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lb::backdrop { background: rgba(8,24,27,.92); }
.lb-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 16px 70px; }
.lb img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 8px; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: #dbe7e6; font: 500 1rem var(--display); padding: 0 70px; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: rgba(255,255,255,.3); }
.lb .x { top: 12px; right: 12px; }
.lb .prev { left: 12px; top: 50%; margin-top: -24px; }
.lb .next { right: 12px; top: 50%; margin-top: -24px; }

/* Reviews */
.quotes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.quote { margin: 0; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 16px; flex: 1; }
.quote blockquote p { margin: 0; }
.quote figcaption { font: 600 1rem var(--display); color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; padding: 18px 54px 18px 20px; font: 600 1.08rem var(--display); color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--red); }
.faq details[open] summary::after { content: "\2212"; }
.faq .ans { padding: 0 20px 18px; color: var(--text); }
.faq .ans p:last-child { margin-bottom: 0; }

/* Breadcrumb + page hero */
.crumbs { font-size: .9rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 6px; }
.page-hero { padding: 26px 0 60px; }
.page-hero .split { align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.page-hero .split-media img { aspect-ratio: 4 / 3.2; }

/* CTA band */
.band { background: var(--ink); color: #d7e3e2; border-radius: var(--radius); padding: 44px 36px; display: grid; gap: 22px; align-items: center; }
@media (min-width: 860px) { .band { grid-template-columns: 1.4fr 1fr; padding: 52px 56px; } .band .cta-row { justify-content: flex-end; margin: 0; } }
.band h2 { color: #fff; margin-bottom: .3em; }
.band p { margin: 0; }

/* Quote form */
.quote-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: .9fr 1.1fr; gap: 60px; } }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font: 600 1rem var(--display); color: var(--ink); margin-bottom: 6px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); font-family: var(--body); }
input:not([type=checkbox]):not([type=radio]), textarea, select { width: 100%; font: inherit; padding: 13px 14px; border: 1.5px solid #bdb5a6; border-radius: var(--radius-sm); background: #fff; color: var(--text); }
textarea { resize: vertical; min-height: 110px; }
.row2 { display: grid; gap: 16px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.error { color: var(--red-dark); font-weight: 600; }
.checklist { background: var(--stone); border-radius: var(--radius); padding: 20px 24px; margin-top: 22px; }
.checklist h3 { font-size: 1.05rem; margin-bottom: .5em; }
.checklist ul { margin: 0; }

/* Facts grid (about, areas) */
.facts { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.fact { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.fact h3 { margin-bottom: .3em; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fact p { margin: 0; color: var(--muted); }
.area-grid { columns: 3 190px; column-gap: 24px; margin: 0 0 1em; padding: 0; list-style: none; }
.area-grid li { break-inside: avoid; padding: 3px 0; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #c4d4d3; padding: 56px 0 110px; font-size: .98rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(255,255,255,.35); }
.site-footer a:hover { color: #ffd0d3; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: .7em; }
.foot { display: grid; gap: 34px; }
@media (min-width: 860px) { .foot { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; } }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-logo { width: 190px; height: auto; margin-bottom: 14px; }
.legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; font-size: .86rem; color: #9fb4b3; }
.legal p { margin: 0 0 .4em; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 90; height: 58px; padding: 0 20px 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.28); font: 600 1rem var(--display); text-decoration: none; }
.wa-float:hover { background: var(--wa-dark); color: #fff; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { width: 58px; padding: 0; justify-content: center; } }

/* Secondary contact option: WhatsApp stays primary */
.or { display: flex; align-items: center; gap: 12px; margin: 12px 0; color: var(--muted); font-size: .9rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--wa); color: #fff; font: 600 .7rem/1.4 var(--display); text-transform: uppercase; letter-spacing: .08em; }
.band .band-alt, .band .band-alt a { color: #c8d8d7; }
.band-alt { margin-top: 10px; }
.hero .small a { color: #fff; }
.guide-fig { margin: 2em 0; }
.guide-fig img { display: block; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow); width: auto; max-width: 100%; height: auto; max-height: 640px; }
.guide-fig figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.quotes-note { margin: 0 0 14px; }

/* social: footer links, /latest/ hub */
.social-links { display: flex; gap: 16px; flex-wrap: wrap; }
.social-links a, .post-links a { display: inline-flex; align-items: center; gap: 6px; }
.follow .fact h3 { display: flex; align-items: center; gap: 8px; }
.follow-line { text-align: center; margin-top: 14px; }
.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post-img { aspect-ratio: 4 / 5; background: var(--stone); }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 18px 20px 22px; }
.post-body p { margin: 0 0 10px; }
.post-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.hero-send { margin-top: 14px; }
.trust-line { margin-top: 4px; }
.hero .trust-line { color: #c8d8d7; }
.wa-float { transition: opacity .25s, transform .25s, visibility .25s; }
.wa-float.hide { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(16px); }
.lb-ask { margin: 10px 0 0; text-align: center; }
.plain-links { list-style: none; margin: 0 0 18px; padding: 0; }
.plain-links li { margin: 0; }
.plain-links a { display: inline-block; padding: 10px 0; min-height: 44px; }
.status { margin-top: 12px; color: var(--ink); }
.lb-inner { align-content: center; }
.lb img { max-height: calc(100vh - 210px); }

.post-img.is-video { aspect-ratio: 9 / 16; background: #000; }
.post-img video { width: 100%; height: 100%; object-fit: contain; display: block; }
