/* Ava Malabanan Services — design tokens adapted from the MongoDB-inspired DESIGN.md
   (deep-teal hero bands, bright green pill CTAs, white documentation surfaces,
   weight-500 headlines with tight tracking, 12px hairline cards) */
:root {
  --primary: #00ed64;
  --primary-deep: #00b545;
  --primary-pressed: #008c34;
  --on-primary: #001e2b;
  --green-dark: #00684a;
  --green-mid: #00a35c;
  --green-soft: #c3f0d2;
  --surface-feature: #e3fcef;
  --teal-deep: #001e2b;
  --teal: #003d4f;
  --ink: #001e2b;
  --charcoal: #1c2d38;
  --slate: #3d4f5b;
  --steel: #5c6c7a;
  --stone: #7c8c9a;
  --muted: #a8b3bc;
  --canvas: #ffffff;
  --surface: #f9fbfa;
  --surface-soft: #f4f7f6;
  --hairline: #e1e5e8;
  --hairline-strong: #c1ccd6;
  --hairline-dark: #1c2d38;
  --on-dark-muted: #a8b3bc;
  --error: #db3030;
  --shadow-1: 0 1px 2px rgba(0,30,43,.06);
  --shadow-2: 0 10px 30px -10px rgba(0,30,43,.18), 0 2px 6px rgba(0,30,43,.06);
  --shadow-3: 0 30px 60px -20px rgba(0,0,0,.55);
  --r-xs: 4px; --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-xxl: 24px; --r-full: 9999px;
  --s-xxs: 4px; --s-xs: 8px; --s-sm: 12px; --s-md: 16px; --s-lg: 20px; --s-xl: 24px; --s-xxl: 32px; --s-xxxl: 40px; --s-section-sm: 48px; --s-section: 64px;
  --font: Inter, "Euclid Circular A", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--slate); background: var(--canvas); -webkit-font-smoothing: antialiased; }
a { color: var(--green-dark); }
img, svg { max-width: 100%; }
h1, h2, h3 { color: var(--ink); margin: 0 0 var(--s-md); }
p { margin: 0 0 var(--s-md); }
.ico { width: 1.2em; height: 1.2em; flex: none; vertical-align: -0.22em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--s-md); top: var(--s-md); z-index: 100; background: var(--primary); color: var(--on-primary); padding: var(--s-xs) var(--s-md); border-radius: var(--r-full); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s-xl); position: relative; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--steel); }

/* Typography */
.h-display-xl { font-weight: 600; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.06; letter-spacing: -0.025em; }
.h-display-md { font-weight: 500; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; letter-spacing: -0.015em; }
.h-section { font-weight: 500; font-size: 28px; line-height: 1.3; letter-spacing: -0.01em; margin-top: var(--s-xxl); }
.h-card { font-weight: 600; font-size: 18px; line-height: 1.4; margin-bottom: var(--s-xs); }
.h-card a { color: var(--ink); text-decoration: none; }
.h-card a:hover { color: var(--green-dark); }
.lead { font-size: clamp(17px, 1.8vw, 18px); line-height: 1.6; color: var(--slate); }
.narrow-lead { max-width: 660px; }
.grad-text { color: var(--primary); }

/* Buttons — green pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-xs); font: 600 16px/1 var(--font); padding: 14px 24px; border-radius: var(--r-full); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; min-height: 48px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-deep); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--hairline-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-outline-light, .hero .btn-secondary { background: transparent; color: #fff; border-color: #3d6b66; }
.btn-outline-light:hover, .hero .btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-sm { padding: 10px 20px; min-height: 40px; font-size: 14px; }
.btn-block { width: 100%; }
.btn .ico { width: 18px; height: 18px; }

.badge { display: inline-flex; align-items: center; gap: 6px; background: #023430; color: var(--primary); font: 500 13px/1.4 var(--font); padding: 6px 14px; border-radius: var(--r-full); margin-bottom: var(--s-xl); border: 1px solid #0b4a43; }

/* Nav — dark teal bar */
.nav { position: sticky; top: 0; z-index: 50; background: var(--teal-deep); border-bottom: 1px solid var(--hairline-dark); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-size: 19px; letter-spacing: -0.01em; }
.brand-text strong { font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--primary); color: var(--teal-deep); }
.brand-mark .ico { width: 20px; height: 20px; }
.nav-menu { display: flex; align-items: center; gap: var(--s-xl); }
.nav-menu a:not(.btn) { font: 500 15px/20px var(--font); text-decoration: none; color: #e7eef0; }
.nav-menu a:not(.btn):hover { color: var(--primary); }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; }
.nav-phone .ico { color: var(--primary); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; border-radius: 2px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero — deep teal band */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; background: var(--teal-deep); color: #c3d6d1; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background:
  radial-gradient(45% 60% at 90% 10%, rgba(0,237,100,.16), transparent 70%),
  radial-gradient(40% 70% at 0% 100%, rgba(0,104,74,.45), transparent 70%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero h1 { color: #fff; }
.hero .lead { color: #c3d6d1; }
.hero-sub { padding: 48px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero-copy .lead { max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-sm); margin: var(--s-xl) 0; }
.center-actions { justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s-sm) var(--s-xl); font: 500 15px/20px var(--font); color: #fff; }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks .ico { color: var(--primary); }
.hero-card { background: var(--canvas); border-radius: var(--r-xl); padding: var(--s-xxl); box-shadow: var(--shadow-3); color: var(--slate); }
.hero-card .h-card { font-size: 22px; font-weight: 600; color: var(--ink); }
.hero .card { color: var(--slate); }
.hero .card .h-card, .hero .card h2 { color: var(--ink); }
.hero-art { border-radius: var(--r-xl); padding: var(--s-section-sm) var(--s-xxl); min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; border: 1px solid #0b4a43; }
.card-dark { background: linear-gradient(160deg, var(--teal) 0%, #023430 100%); color: #fff; }
.card-dark p { color: #c3d6d1; font: 400 19px/1.5 var(--font); margin: 0; max-width: 340px; }
.hero-art-icon { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 22px; background: var(--primary); color: var(--teal-deep); margin-bottom: var(--s-xl); }
.hero-art-icon .ico { width: 46px; height: 46px; stroke-width: 1.6; }
.hero-art-big { font-weight: 600; font-size: 120px; line-height: .9; letter-spacing: -0.04em; margin-bottom: var(--s-sm); color: var(--primary); }

/* Bands */
.band { padding: 88px 0; }
.band-sage { background: var(--surface-soft); }
.band-dark { background: var(--teal-deep); color: #c3d6d1; position: relative; overflow: hidden; isolation: isolate; }
.band-dark::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(40% 120% at 100% 50%, rgba(0,237,100,.18), transparent 70%); }
.band-dark .h-display-md { color: #fff; margin: 0; }
.section-head { max-width: 700px; margin-bottom: var(--s-section-sm); }
.section-head::before { content: ""; display: block; width: 48px; height: 4px; border-radius: 4px; background: var(--primary); margin-bottom: var(--s-lg); }

/* Cards */
.cards { display: grid; gap: var(--s-md); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: var(--s-xl); }
.card-sage { background: var(--canvas); }
.band-sage .card { background: var(--canvas); }
.card-bordered { box-shadow: var(--shadow-2); }
.card p { font-size: 15px; line-height: 1.55; margin-bottom: var(--s-sm); color: var(--slate); }
.card-link { text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--green-mid); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-lg); background: var(--surface-feature); color: var(--green-dark); margin-bottom: var(--s-md); transition: background .2s, color .2s; }
.card-link:hover .card-icon { background: var(--primary); color: var(--teal-deep); }
.card-icon .ico { width: 24px; height: 24px; }
.card-icon-lg { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto var(--s-xl); background: var(--primary); color: var(--teal-deep); }
.card-icon-lg .ico { width: 36px; height: 36px; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 14px/20px var(--font); color: var(--green-dark); }
.card-more .ico { transition: transform .2s; }
.card-link:hover .card-more .ico { transform: translateX(3px); }
.service-row { flex-direction: row; gap: var(--s-md); }
.service-row .card-icon { margin: 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-md); }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-full); background: var(--teal-deep); color: var(--primary); font-weight: 700; font-size: 18px; margin-bottom: var(--s-md); }

.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: var(--s-md); }
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s-xs); }
.chip { display: inline-block; padding: 7px 14px; border-radius: var(--r-full); background: var(--surface-soft); color: var(--ink); font: 500 14px/20px var(--font); text-decoration: none; border: 1px solid var(--hairline); transition: all .15s; }
.chip:hover { background: var(--surface-feature); border-color: var(--green-mid); color: var(--green-dark); }
.chip-strong { background: var(--teal-deep) !important; color: var(--primary) !important; border-color: var(--teal-deep) !important; }
.chip-lg { padding: 10px 18px; font-size: 15px; background: var(--canvas); }

.why { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-section-sm); align-items: start; }

/* Content */
.content-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--s-section-sm); align-items: start; }
.prose { color: var(--slate); font-size: 17px; line-height: 1.7; }
.prose > .h-section:first-child { margin-top: 0; }
.check-list, .num-list { padding: 0; margin: 0 0 var(--s-md); }
.check-list { list-style: none; }
.check-list li { display: flex; gap: 10px; padding: 6px 0; color: var(--ink); }
.check-list .ico { color: var(--green-mid); margin-top: 3px; }
.num-list { counter-reset: n; list-style: none; }
.num-list li { counter-increment: n; position: relative; padding: 8px 0 8px 48px; color: var(--ink); }
.num-list li::before { content: counter(n); position: absolute; left: 0; top: 4px; width: 32px; height: 32px; border-radius: var(--r-full); background: var(--teal-deep); color: var(--primary); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.sticky-aside { position: sticky; top: 90px; }

.crumbs ol { list-style: none; padding: 0; margin: 0 0 var(--s-xl); display: flex; flex-wrap: wrap; gap: 6px; font: 400 14px/20px var(--font); color: var(--on-dark-muted); }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; }
.crumbs a { color: #e7eef0; text-decoration: none; }
.crumbs a:hover { color: var(--primary); }

/* FAQ */
.faq .h-section { margin-top: 0; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.015em; margin-bottom: var(--s-xl); }
.faq-item { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-md); margin-bottom: var(--s-xs); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 52px 18px var(--s-xl); font: 600 17px/1.4 var(--font); color: var(--ink); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--surface-feature); color: var(--green-dark); display: grid; place-items: center; font-weight: 500; font-size: 20px; line-height: 1; }
.faq-item[open] { border-color: var(--green-mid); }
.faq-item[open] summary::after { content: "–"; background: var(--primary); color: var(--teal-deep); }
.faq-item p { padding: 0 var(--s-xl) var(--s-lg); margin: 0; color: var(--slate); }

/* Form */
.quote-form { display: grid; gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span:first-child { font: 600 13px/18px var(--font); color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/22px var(--font); color: var(--ink); background: var(--canvas); border: 1px solid var(--hairline-strong); border-radius: var(--r-md); padding: 12px 14px; min-height: 48px; appearance: none; -webkit-appearance: none; transition: border-color .15s, box-shadow .15s; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2300684a' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-mid); box-shadow: 0 0 0 4px rgba(0,237,100,.2); }
.field-error { color: var(--error); font-size: 13px; line-height: 18px; }
.form-alert { background: #fdecec; color: #a11d1d; padding: var(--s-sm) var(--s-md); border-radius: var(--r-md); font-weight: 600; }
.form-note { font-size: 13px; line-height: 18px; color: var(--steel); margin: 0; text-align: center; }
.form-note a { color: var(--green-dark); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-list { list-style: none; padding: 0; margin: var(--s-xl) 0 0; display: grid; gap: var(--s-sm); }
.contact-list a { display: flex; align-items: center; gap: var(--s-md); background: rgba(255,255,255,.04); border: 1px solid #0b4a43; border-radius: var(--r-lg); padding: var(--s-md) var(--s-xl); text-decoration: none; font: 600 18px/24px var(--font); color: #fff; }
.contact-list a:hover { border-color: var(--primary); }
.contact-list small { display: block; font: 400 13px/16px var(--font); color: var(--on-dark-muted); }
.contact-list .ico { width: 26px; height: 26px; color: var(--primary); }

/* CTA band */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: var(--s-xxl); flex-wrap: wrap; }
.cta-band .h-display-md { max-width: 640px; }
.cta-actions { display: flex; gap: var(--s-sm); flex-wrap: wrap; }

/* Footer */
.footer { background: var(--teal-deep); border-top: 1px solid var(--hairline-dark); color: var(--on-dark-muted); padding: var(--s-section) 0 96px; font-size: 14px; line-height: 20px; }
.footer a { color: var(--on-dark-muted); text-decoration: none; }
.footer a:hover { color: var(--primary); }
.brand-light { color: #fff !important; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--s-xxl); }
.footer-lead { margin: var(--s-md) 0; max-width: 320px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; align-items: center; gap: 8px; color: #e7eef0; }
.footer-contact a { color: #e7eef0; }
.footer-contact .ico { color: var(--primary); }
.footer-h { color: #fff; font: 600 14px/20px var(--font); margin-bottom: var(--s-sm); }
.footer-h a { color: #fff !important; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-sm); margin-top: var(--s-section-sm); padding-top: var(--s-xl); border-top: 1px solid var(--hairline-dark); color: var(--stone); }

/* Mobile call bar */
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 1023px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .content-grid, .why { grid-template-columns: 1fr; gap: var(--s-xxl); }
  .sticky-aside { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .nav-toggle { display: block; }
  .nav-menu { position: absolute; top: 66px; left: 0; right: 0; background: var(--teal-deep); flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-sm) var(--s-xl) var(--s-xl); border-bottom: 1px solid var(--hairline-dark); display: none; }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--hairline-dark); }
  .nav-menu .btn { margin-top: var(--s-md); }
}
@media (max-width: 767px) {
  .wrap { padding: 0 var(--s-md); }
  .hero { padding: 40px 0 56px; }
  .hero-sub { padding: 28px 0 48px; }
  .band { padding: 56px 0; }
  .section-head { margin-bottom: var(--s-xxl); }
  .cards-2, .cards-4, .steps, .grid-2 { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .hero-card { padding: var(--s-xl) var(--s-md); }
  .hero-actions .btn { width: 100%; }
  .hero-art { min-height: 0; padding: var(--s-xxl) var(--s-xl); }
  .hero-art-big { font-size: 88px; }
  .card { padding: var(--s-lg); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-xl); }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-xs); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px var(--s-md) calc(10px + env(safe-area-inset-bottom)); background: var(--teal-deep); border-top: 1px solid var(--hairline-dark); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r-full); font: 600 16px/1 var(--font); text-decoration: none; color: #fff; border: 1px solid #3d6b66; }
  .mobile-bar .mobile-bar-primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
}

/* Prevent long content (e.g. email address) from stretching grid columns */
.hero-grid > *, .content-grid > *, .why > * { min-width: 0; }
.contact-list span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 767px) { .contact-list a { font-size: 16px; } }

/* White "Request a free quote" button */
.btn-light { background: #fff; color: var(--teal-deep); border-color: #fff; }
.btn-light:hover { background: var(--surface-feature); border-color: var(--surface-feature); }
#quote { scroll-margin-top: 84px; }

/* ---------- Photo gallery ---------- */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-md); }
.gallery-item { margin: 0; }
.gallery-link { display: block; position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 3 / 4; background: var(--surface-soft); border: 1px solid var(--hairline); }
.gallery-link img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gallery-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,30,43,.45)); opacity: 0; transition: opacity .25s; }
.gallery-link:hover img { transform: scale(1.04); }
.gallery-link:hover::after { opacity: 1; }
.gallery-cap { display: block; margin-top: 8px; font: 500 14px/1.4 var(--font); color: var(--ink); }
.section-more { margin: var(--s-xxl) 0 0; }
.filter-chips { display: flex; flex-wrap: wrap; gap: var(--s-xs); margin-bottom: var(--s-xxl); }

.hero-photo { margin: 0; position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-3); border: 1px solid #0b4a43; aspect-ratio: 4 / 5; max-height: 560px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; background: rgba(0,30,43,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font: 500 14px/1.35 var(--font); padding: 10px 14px; border-radius: var(--r-md); }
.hero-photo figcaption .ico { color: var(--primary); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0,20,28,.92); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 16px 24px; }
.lightbox img { max-width: min(1100px, 100%); max-height: calc(100vh - 140px); object-fit: contain; border-radius: var(--r-md); }
.lightbox-cap { color: #e7eef0; font: 500 15px/1.4 var(--font); margin-top: 14px; text-align: center; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--primary); color: var(--teal-deep); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

@media (max-width: 1023px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-cap { font-size: 13px; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}
.hero-photo { justify-self: center; width: 100%; max-width: 460px; }
.hero-photo img { object-position: center 30%; }
@media (max-width: 767px) { .hero-photo { aspect-ratio: 1 / 1; max-width: none; } }

/* =====================================================================
   v7 — Bolder "Malabanan" branding layer
   ===================================================================== */

/* Hotline top bar */
.topbar { background: var(--primary); color: var(--teal-deep); font: 600 14px/1 var(--font); }
.topbar-inner { display: flex; align-items: center; gap: 10px; min-height: 38px; flex-wrap: wrap; justify-content: center; }
.topbar a { color: var(--teal-deep); text-decoration: none; font-weight: 800; letter-spacing: .01em; }
.topbar a:hover { text-decoration: underline; }
.topbar-label { display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; font-weight: 800; background: var(--teal-deep); color: var(--primary); padding: 5px 10px; border-radius: var(--r-full); }
.topbar-label .ico { width: 15px; height: 15px; }
.topbar-sep { opacity: .5; }
.topbar-hours { display: inline-flex; align-items: center; gap: 5px; margin-left: 12px; font-weight: 600; }
.topbar-hours .ico { width: 15px; height: 15px; }

/* Wordmark logo */
.brand { gap: 12px; }
.brand-mark { width: 44px; height: 44px; border-radius: 12px; }
.brand-mark .ico { width: 26px; height: 26px; }
.brand-text { display: grid; line-height: 1; }
.brand-top { font-size: 12px; font-weight: 600; color: var(--primary); letter-spacing: .14em; text-transform: uppercase; }
.brand-text strong { font-size: 22px; font-weight: 900; letter-spacing: .02em; color: #fff; margin: 2px 0 3px; }
.brand-text small { font-size: 11px; font-weight: 500; color: var(--on-dark-muted); letter-spacing: .04em; }
.nav-inner { height: 72px; }
.nav { top: 0; }

/* Highlighted keyword */
.hl { color: var(--green-mid); font-weight: 800; }
.band-dark .hl, .hero .hl { color: var(--primary); }
.hl-sm { color: var(--green-dark); }
.h-display-md { font-weight: 700; letter-spacing: -0.02em; }
.eyebrow { display: inline-block; font: 800 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--green-dark); background: var(--surface-feature); padding: 7px 12px; border-radius: var(--r-full); margin-bottom: var(--s-md); }
.eyebrow-light { background: #023430; color: var(--primary); }
.section-head::before { display: none; }

/* Home hero with real photo */
.hero-home { padding: 80px 0 96px; background: var(--teal-deep); }
.hero-home::before { background: linear-gradient(90deg, rgba(0,30,43,.97) 0%, rgba(0,30,43,.9) 42%, rgba(0,30,43,.62) 100%), var(--hero-img) center 35% / cover no-repeat; }
.hero-home::after { opacity: .5; }
.hero-title { margin: 0 0 var(--s-lg); line-height: 1; color: #fff; }
.hero-title span { display: block; }
.hero-kicker { font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.hero-word { font-size: clamp(50px, 6.6vw, 92px); font-weight: 900; letter-spacing: -0.035em; text-transform: uppercase; line-height: .9;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 55%, #b8ffd4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tagline { font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.01em; color: var(--primary); margin-top: 12px; }
.hero-card-tag { display: inline-block; font: 800 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; background: var(--teal-deep); color: var(--primary); padding: 7px 11px; border-radius: var(--r-full); margin-bottom: 12px; }
.hero-card { border-top: 6px solid var(--primary); }

/* Keyword ticker */
.ticker { background: var(--primary); color: var(--teal-deep); overflow: hidden; border-block: 1px solid #00c853; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { font: 900 18px/1 var(--font); text-transform: uppercase; letter-spacing: .04em; padding: 16px 22px; white-space: nowrap; display: flex; align-items: center; gap: 22px; }
.ticker li::after { content: "✦"; font-size: 14px; color: var(--green-dark); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Stats strip */
.stats { background: var(--teal-deep); padding: 28px 0; border-bottom: 1px solid var(--hairline-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-md); }
.stat { text-align: center; padding: 8px; border-right: 1px solid var(--hairline-dark); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 900 clamp(32px, 4.4vw, 48px)/1 var(--font); color: var(--primary); letter-spacing: -0.03em; }
.stat span { display: block; margin-top: 6px; color: #c3d6d1; font: 500 14px/1.3 var(--font); }

/* Service cards with photos */
.card-photo { padding: 0; overflow: hidden; }
.card-photo-img { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--teal); overflow: hidden; }
.card-photo-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.card-photo:hover .card-photo-img img { transform: scale(1.05); }
.card-photo-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,30,43,.55)); }
.card-photo-img .card-icon { position: absolute; left: 14px; bottom: -22px; z-index: 2; margin: 0; background: var(--primary); color: var(--teal-deep); box-shadow: 0 6px 16px rgba(0,30,43,.25); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 34px var(--s-xl) var(--s-xl); }
.card-photo-img { overflow: visible; }
.card-photo-img img { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.card-photo-img::after { border-radius: var(--r-lg) var(--r-lg) 0 0; }

/* About Malabanan (dark split) */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.about-malabanan p { color: #c3d6d1; font-size: 17px; line-height: 1.7; }
.about-photo { border-radius: var(--r-xl); overflow: hidden; border: 1px solid #0b4a43; box-shadow: var(--shadow-3); aspect-ratio: 4 / 5; position: relative; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo::after { content: "MALABANAN"; position: absolute; left: 16px; bottom: 14px; font: 900 15px/1 var(--font); letter-spacing: .2em; color: var(--teal-deep); background: var(--primary); padding: 8px 12px; border-radius: var(--r-sm); }
.check-list-light li { color: #fff; }
.check-list-light .ico { color: var(--primary); }
.about-malabanan .h-display-md { margin-bottom: var(--s-lg); }

/* Photo-backed sub heroes (city/province pages) */
.hero-bg::before { background: linear-gradient(90deg, rgba(0,30,43,.97) 0%, rgba(0,30,43,.9) 45%, rgba(0,30,43,.7) 100%), var(--hero-img) center / cover no-repeat; }
.hero-sub .h-display-xl { font-weight: 800; }
.hero .grad-text { color: var(--primary); }

/* CTA band with photo */
.band-dark.cta { background: var(--teal-deep); }
.band-dark.cta::before { background: linear-gradient(90deg, rgba(0,30,43,.96) 0%, rgba(0,30,43,.85) 55%, rgba(0,30,43,.7) 100%), var(--cta-img, none) center / cover no-repeat; }
.cta .h-display-md { font-weight: 800; }

@media (max-width: 1023px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 16 / 11; }
  .hero-home::before { background: linear-gradient(180deg, rgba(0,30,43,.82) 0%, rgba(0,30,43,.95) 55%, rgba(0,30,43,1) 100%), var(--hero-img) center top / cover no-repeat; }
  .hero-bg::before { background: linear-gradient(180deg, rgba(0,30,43,.85) 0%, rgba(0,30,43,.96) 60%), var(--hero-img) center / cover no-repeat; }
  .nav-menu { top: 72px; }
}
@media (max-width: 767px) {
  .topbar-hours, .topbar-sep + a { display: none; }
  .topbar-sep { display: none; }
  .topbar-inner { gap: 8px; min-height: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .stat:nth-child(2) { border-right: 0; }
  .hero-home { padding: 36px 0 56px; }
  .ticker li { font-size: 15px; padding: 13px 16px; gap: 16px; }
  .brand-text strong { font-size: 20px; }
  .card-body { padding: 32px var(--s-lg) var(--s-lg); }
}
.card-photo:hover .card-photo-img img { transform: none; }

/* fixes */
@media (min-width: 1024px) { .hero-home .hero-grid { grid-template-columns: 1.15fr 1fr; } }
.hero-word { white-space: nowrap; }
.card-photo-img { aspect-ratio: auto; height: 0; padding-top: 60%; }
.card-photo-img img { position: absolute; inset: 0; }
@media (max-width: 767px) { .hero-word { font-size: clamp(40px, 13vw, 72px); padding-right: 4px; } }
