/* ==========================================================================
   KANIFNATH CONSTRUCTION - single stylesheet (maroon / white / light grey)
   --------------------------------------------------------------------------
   Change the brand colours ONLY in the :root block below.
   Layout: tokens > base > header/nav > buttons > hero > sections > cards >
           content pages > forms > gallery > footer > utilities > responsive
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("inter-latin-wght-normal.woff2") format("woff2-variations"), url("inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --maroon: #8f1010;
  --maroon-dark: #700b0b;
  --maroon-deep: #4f0707;
  --maroon-soft: #fcf0f0;
  --maroon-line: #f0cfcf;
  --bg: #f7f8fa;
  --card: #ffffff;
  --text: #252b36;
  --muted: #5a6577;
  --border: #e2e8f0;
  --success: #15803d;
  --success-dark: #116632;
  --warning: #d97706;
  --warning-soft: #fff7e6;
  --warning-text: #8a4b06;
  --error: #dc2626;

  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(20, 28, 45, .05), 0 1px 3px rgba(20, 28, 45, .06);
  --shadow: 0 4px 14px rgba(20, 28, 45, .07), 0 1px 3px rgba(20, 28, 45, .05);
  --shadow-lg: 0 14px 34px rgba(20, 28, 45, .12);
  --max: 1200px;
  --header-h: 84px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box }
[hidden] { display: none !important }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100% }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; display: block }
img { height: auto }
a { color: var(--maroon); text-decoration: none; transition: color .15s, background-color .15s, border-color .15s, box-shadow .15s }
a:hover { color: var(--maroon-dark) }
button, input, select, textarea { font: inherit; color: inherit }
button { cursor: pointer }
h1, h2, h3, h4 { color: var(--text); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 750 }
h1 { font-size: clamp(2rem, 4.2vw, 3.15rem); font-weight: 800; letter-spacing: -.025em }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.05rem) }
h3 { font-size: 1.12rem }
p { margin: 0 0 1em }
::selection { background: var(--maroon-line); color: var(--maroon-deep) }
:focus-visible { outline: 3px solid var(--maroon); outline-offset: 3px; border-radius: 4px }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto }
.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 }
.icon { width: 1.15em; height: 1.15em; flex: none }
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 500; background: var(--maroon); color: #fff;
  padding: 10px 16px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600; transition: top .15s;
}
.skip-link:focus { top: 0; color: #fff }

/* ---------- top info bar ---------- */
.announcement { background: var(--maroon-deep); color: #f4dcdc; font-size: .8rem }
.announcement .container { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 36px; flex-wrap: wrap }
.announcement strong { color: #fff; font-weight: 650 }
.announcement a { color: #fff; font-weight: 600 }
.announcement a:hover { text-decoration: underline; color: #fff }
.topbar-contact { display: flex; gap: 18px; align-items: center }

/* ---------- header + wordmark ---------- */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--border); box-shadow: 0 1px 0 rgba(20, 28, 45, .02) }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--header-h) }
.brand { display: inline-flex; align-items: center; gap: 0; min-width: 0; flex: 0 1 auto; text-decoration: none }
.brand-name {
  display: block;
  max-width: 148px;
  color: var(--maroon-dark);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: .035em;
}
/* Original company logo on a white plate with a soft shadow. Never stretched: height is set, width follows the file's own ratio. */
.brand-logo { display: inline-flex; align-items: center; background: #fff; border-radius: 8px; padding: 5px 9px; box-shadow: 0 1px 2px rgba(20, 28, 45, .10), 0 4px 12px rgba(20, 28, 45, .14); border: 1px solid rgba(20, 28, 45, .06) }
.brand-logo-image {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(100%, 430px);
  object-fit: contain;
  flex: 0 1 auto;
}
.footer .brand-logo { box-shadow: 0 2px 10px rgba(0, 0, 0, .35); padding: 7px 12px }
.footer .brand-logo-image { height: 44px; max-width: min(100%, 360px) }
.brand:hover { color: var(--maroon-dark) }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; color: var(--maroon); align-items: center; justify-content: center;
}
.menu-toggle:hover { background: var(--maroon-soft) }
.menu-toggle .icon { width: 24px; height: 24px }

.main-nav { display: flex; align-items: center; gap: 2px }
.main-nav > a, .nav-item > a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--radius-sm);
  color: var(--text); font-size: .93rem; font-weight: 560; white-space: nowrap;
}
.main-nav > a:hover, .nav-item > a:hover { background: var(--maroon-soft); color: var(--maroon) }
.main-nav a[aria-current="page"], .nav-item.is-current > a { color: var(--maroon); background: var(--maroon-soft); font-weight: 700 }
.nav-item { position: relative; display: flex; align-items: center }
.nav-item > a { padding-right: 4px }
.dd-toggle { border: 0; background: none; width: 26px; height: 44px; color: var(--muted); font-size: .8rem; border-radius: var(--radius-sm); padding: 0 }
.dd-toggle:hover { color: var(--maroon) }
.dd-toggle span { display: inline-block; transition: transform .15s }
.nav-item.open .dd-toggle span { transform: rotate(180deg) }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; display: none; flex-direction: column; z-index: 50;
}
.nav-item:hover > .dropdown, .nav-item.open > .dropdown, .nav-item:focus-within > .dropdown { display: flex }
.dropdown a { padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: .92rem; font-weight: 500 }
.dropdown a:hover { background: var(--maroon-soft); color: var(--maroon) }
.dropdown a[aria-current="page"] { color: var(--maroon); font-weight: 700; background: var(--maroon-soft) }
.main-nav .nav-cta {
  margin-left: 8px; background: var(--maroon); color: #fff; padding: 0 18px; font-weight: 650; gap: 8px;
  box-shadow: 0 2px 6px rgba(143, 16, 16, .25);
}
.main-nav .nav-cta:hover { background: var(--maroon-dark); color: #fff }
.main-nav .nav-cta[aria-current="page"] { background: var(--maroon-dark); color: #fff }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px;
  border-radius: 6px; border: 1.5px solid transparent; font-weight: 650; font-size: .96rem; line-height: 1.2; text-align: center;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:active { transform: translateY(1px) }
.btn-primary { background: var(--maroon); color: #fff; box-shadow: 0 2px 8px rgba(143, 16, 16, .22) }
.btn-primary:hover { background: var(--maroon-dark); color: #fff }
.btn-ghost, .btn-outline { background: #fff; color: var(--maroon); border-color: var(--maroon-line) }
.btn-ghost:hover, .btn-outline:hover { background: var(--maroon-soft); border-color: var(--maroon); color: var(--maroon-dark) }
.btn-whatsapp { background: var(--success); color: #fff }
.btn-whatsapp:hover { background: var(--success-dark); color: #fff }
.btn-light { background: #fff; color: var(--maroon) }
.btn-light:hover { background: var(--maroon-soft); color: var(--maroon-dark) }
.btn-block { width: 100% }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; color: var(--maroon) }
.text-link:hover { color: var(--maroon-dark); gap: 10px }

/* ---------- eyebrow / section scaffolding ---------- */
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none }
.eyebrow {
  display: flex; align-items: center; gap: 10px; color: var(--maroon);
  font-size: .76rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px;
}
.section { padding: clamp(48px, 7vw, 84px) 0 }
.section-sm { padding: clamp(32px, 5vw, 54px) 0 }
.section-tint { background: #fff; border-block: 1px solid var(--border) }
.section-dark { background: var(--maroon-deep); color: #f6e4e4 }
.section-dark h2, .section-dark h3 { color: #fff }
.section-dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: #ffc9c9 }
.section-dark p { color: #efd2d2 }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px 48px; align-items: end; margin-bottom: 34px }
.section-heading h2 { margin: 0 }
.section-heading p { margin: 0 0 6px; color: var(--muted) }
.section-heading .text-link { margin-top: 8px }
.section-dark .section-heading p { color: #efd2d2 }

/* ---------- home hero ---------- */
.hero { position: relative; color: #fff; background: var(--maroon-deep); overflow: hidden; padding: clamp(64px, 9vw, 120px) 0 clamp(120px, 12vw, 160px) }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(46, 5, 5, .93) 0%, rgba(46, 5, 5, .78) 52%, rgba(46, 5, 5, .3) 100%) }
.hero .container { position: relative }
.hero-copy { max-width: 700px }
.hero h1 { color: #fff; margin-bottom: .45em; font-size: clamp(2.2rem, 5vw, 3.6rem) }
.hero h1 em { font-style: normal; color: #ffc2c2 }
.hero-copy > p { font-size: 1.1rem; color: #f3e0e0; max-width: 58ch }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px }
.hero .btn-primary { background: #fff; color: var(--maroon); box-shadow: none }
.hero .btn-primary:hover { background: var(--maroon-soft); color: var(--maroon-dark) }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6) }
.hero .btn-ghost:hover { background: #fff; color: var(--maroon) }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .92rem; font-weight: 600; color: #fff }
.hero-benefits span { display: inline-flex; align-items: center; gap: 8px }
.hero-benefits svg { width: 18px; height: 18px; color: #ffc2c2 }
.media-chip { position: absolute; right: 20px; bottom: 76px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .74rem; font-weight: 600; padding: 5px 11px; border-radius: 4px }
@media (max-width: 640px) { .hero-overlay { background: rgba(46, 5, 5, .84) } .media-chip { display: none } }

/* quick links overlapping hero */
.hero-below { margin-top: -48px; position: relative; z-index: 2 }
.hero-support-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px }
.support-tile {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow); color: var(--text); min-height: 76px;
}
.support-tile:hover { border-color: var(--maroon); color: var(--text) }
.support-symbol { width: 44px; height: 44px; flex: none; border-radius: 6px; background: var(--maroon-soft); color: var(--maroon); display: grid; place-items: center }
.support-symbol svg { width: 22px; height: 22px }
.support-tile strong { display: block; font-size: .95rem; line-height: 1.25 }
.support-tile small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; margin-top: 2px }
.support-tile > b { margin-left: auto; color: var(--maroon); font-weight: 700 }

/* ---------- inner page hero ---------- */
.page-hero { background: var(--maroon-deep); color: #fff; border-bottom: 4px solid var(--maroon); padding: clamp(28px, 4.5vw, 52px) 0 clamp(30px, 4.5vw, 50px) }
.page-hero-inner { max-width: var(--max) }
.page-hero h1 { color: #fff; max-width: 24ch; font-size: clamp(1.85rem, 3.8vw, 2.7rem); margin-bottom: .4em }
.page-hero p { max-width: 68ch; color: #f0d9d9; font-size: 1.04rem }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .84rem; color: #e6c4c4; margin-bottom: 18px }
.breadcrumbs a { color: #fff; font-weight: 600 }
.breadcrumbs a:hover { text-decoration: underline }
.breadcrumbs .sep { color: #b98a8a }
.page-hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55) }
.page-hero .btn-ghost:hover { background: #fff; color: var(--maroon) }
.page-hero .btn-primary { background: #fff; color: var(--maroon); box-shadow: none }
.page-hero .btn-primary:hover { background: var(--maroon-soft) }

/* ---------- generic cards ---------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)) }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)) }

/* image cards (products + services) */
.svc-card, .product-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; color: var(--text); height: 100%; transition: box-shadow .18s, border-color .18s, transform .18s;
}
.svc-card:hover, .product-card:hover { box-shadow: var(--shadow-lg); border-color: var(--maroon-line); color: var(--text) }
.card-media, .product-image { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #eef1f5 }
.card-media img, .product-image img { width: 100%; height: 100%; object-fit: cover }
.card-media.contain img, .product-image.contain img { object-fit: contain; background: #fff }
.image-label { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .94); color: var(--text); font-size: .7rem; font-weight: 650; padding: 4px 10px; border-radius: 4px }
.card-body, .product-copy { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px }
.card-body h3, .product-copy h3 { margin-bottom: .35em; font-size: 1.1rem }
.card-body p, .product-copy p { color: var(--muted); font-size: .93rem; margin-bottom: 1em }
.card-link, .product-link { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--maroon); font-weight: 650; font-size: .92rem }
.svc-card:hover .card-link, .product-card:hover .product-link { gap: 10px }
.product-kicker { font-size: .7rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--maroon); margin-bottom: 6px }
.product-meta { font-size: .8rem; color: var(--muted); border-top: 1px dashed var(--border); padding-top: 10px; margin: -2px 0 14px }
.product-number { display: none }

/* plain text cards (guides / contact cards / fallback service cards) */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; color: var(--text) }
a.service-card:hover { border-color: var(--maroon-line); box-shadow: var(--shadow-lg); color: var(--text) }
.service-card h3 { margin-bottom: .4em }
.service-card p { color: var(--muted); font-size: .93rem }
.service-card .card-link a { color: var(--maroon) }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px }
.card-top .number { font-size: .72rem; font-weight: 750; letter-spacing: .1em; color: var(--maroon); background: var(--maroon-soft); border-radius: 4px; padding: 3px 10px }
.service-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--maroon-soft); color: var(--maroon); display: grid; place-items: center; font-weight: 800 }
.arrow-circle { display: none }

/* feature cards (why us) */
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm) }
.feature-icon { width: 46px; height: 46px; border-radius: 6px; background: var(--maroon-soft); color: var(--maroon); display: grid; place-items: center; margin-bottom: 14px }
.feature-icon svg { width: 24px; height: 24px }
.feature-card h3 { margin-bottom: .3em }
.feature-card p { margin: 0; color: var(--muted); font-size: .93rem }

/* split feature panels */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 60px); align-items: center }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: #fff }
.split-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover }
.split-copy h2 { margin-bottom: .5em }
.split-copy > p { color: var(--muted) }
.feature-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px }
.feature-panel { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow) }
.feature-panel .card-media { aspect-ratio: 16 / 9 }
.feature-panel-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1 }
.feature-panel-body h3 { font-size: 1.3rem }
.feature-panel-body > p { color: var(--muted) }
.feature-panel-body .check-list { margin-bottom: 20px }
.feature-panel-body .btn { align-self: flex-start; margin-top: auto }

.check-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px }
.check-list li { position: relative; padding-left: 28px; font-size: .96rem }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .22em; width: 18px; height: 18px; border-radius: 50%; background: var(--maroon-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f1010' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat; border: 1px solid var(--maroon-line);
}

/* process steps */
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step }
.process-card { position: relative; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 24px 22px }
.process-card::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--maroon); font-weight: 800; margin-bottom: 14px }
.process-card h3 { margin-bottom: .3em; color: #fff }
.process-card p { margin: 0; font-size: .92rem; color: #efd2d2 }

/* gallery preview */
.preview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px }
.preview-item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #eef1f5 }
.preview-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s }
.preview-item:hover img { transform: scale(1.05) }
.preview-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 12px; background: linear-gradient(transparent, rgba(40, 6, 6, .78)); color: #fff; font-weight: 650; font-size: .9rem }
.visual-disclaimer, .legal-note, .fineprint { font-size: .8rem; color: var(--muted) }
.visual-disclaimer { margin: 16px 0 0 }

/* enquiry section + contact */
.enquiry-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: start }
.info-callout { background: var(--maroon-soft); border: 1px solid var(--maroon-line); border-left: 4px solid var(--maroon); border-radius: var(--radius-sm); padding: 14px 18px; font-size: .94rem; margin: 18px 0 }
.info-callout strong { color: var(--maroon-dark) }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: var(--maroon); color: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px);
}
.cta-band h2 { color: #fff; margin: 0 0 .25em }
.cta-band p { margin: 0; color: #f3d6d6; max-width: 58ch }
.cta-band .btn-primary { background: #fff; color: var(--maroon); box-shadow: none }
.cta-band .btn-primary:hover { background: var(--maroon-soft); color: var(--maroon-dark) }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap }

/* ---------- content pages ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(26px, 4vw, 52px); align-items: start }
.prose { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow-sm); min-width: 0 }
.prose.narrow { max-width: 820px }
.prose > :first-child { margin-top: 0 }
.prose h2 { margin-top: 1.7em; padding-bottom: .35em; border-bottom: 1px solid var(--border); color: var(--maroon-dark); font-size: clamp(1.3rem, 2.2vw, 1.6rem) }
.prose > h2:first-child { margin-top: 0 }
.prose h3 { margin-top: 1.4em }
.prose p, .prose li { color: #333b49 }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em }
.prose li { margin-bottom: .4em }
.prose li::marker { color: var(--maroon) }
.prose a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--maroon-line); text-underline-offset: 3px }
.prose a:hover { text-decoration-color: var(--maroon) }
.step-list { list-style: none; padding: 0 !important; counter-reset: s; display: grid; gap: 12px }
.step-list li { position: relative; counter-increment: s; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px 14px 62px; margin: 0 }
.step-list li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--maroon); color: #fff; display: grid; place-items: center; font-weight: 750; font-size: .9rem }
.step-list strong { display: block; color: var(--text) }
.step-list span { color: var(--muted); font-size: .93rem }
.enquiry-sample { background: var(--bg); border: 1px dashed #c5cdd9; border-radius: var(--radius-sm); padding: 14px 18px; font-size: .92rem; white-space: pre-line }

.sidebar { position: sticky; top: calc(var(--header-h) + 18px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow) }
.sidebar h2, .sidebar h3, .sidebar-h { font-size: 1.1rem; margin: 0 0 .4em; color: var(--maroon-dark) }
.sidebar p { color: var(--muted); font-size: .92rem }
.sidebar-visual { margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border) }
.sidebar-visual img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover }
.sidebar-visual.contain img { object-fit: contain; background: #fff }
.sidebar-visual figcaption { font-size: .75rem; color: var(--muted); padding: 8px 12px; background: var(--bg); border-top: 1px solid var(--border) }
.sidebar .btn + .btn { margin-top: 10px }
.sidebar-links { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; flex-direction: column }
.sidebar-links-title { font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px }
.sidebar-links a { padding: 8px 0; border-bottom: 1px solid #f0f2f5; color: var(--text); font-weight: 550; font-size: .93rem; display: flex; justify-content: space-between; gap: 8px }
.sidebar-links a::after { content: "\2192"; color: var(--maroon); opacity: .6 }
.sidebar-links a:last-child { border-bottom: 0 }
.sidebar-links a:hover { color: var(--maroon) }
.sidebar-links a.is-current { color: var(--maroon); font-weight: 700 }

/* tables */
.spec-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); margin: 18px 0 20px; background: #fff }
.spec-table-wrap:focus-visible { outline-offset: 0 }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px }
.spec-table th, .spec-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top }
.spec-table thead th { background: var(--maroon); color: #fff; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; border-bottom: 0 }
.spec-table tbody th { font-weight: 650; background: var(--bg); width: 24% }
.spec-table tbody tr:last-child > * { border-bottom: 0 }
.tbc, [data-owner-fill] { display: inline-block; background: var(--warning-soft); color: var(--warning-text); border: 1px solid #f6d9a2; border-radius: 4px; padding: 2px 10px; font-size: .78rem; font-weight: 650 }

/* faq */
.faq-list { display: grid; gap: 10px; margin: 14px 0 26px }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden }
.faq-item[open] { border-color: var(--maroon-line); box-shadow: var(--shadow-sm) }
.faq-item summary { list-style: none; cursor: pointer; padding: 15px 52px 15px 18px; font-weight: 650; position: relative; color: var(--text) }
.faq-item summary::-webkit-details-marker { display: none }
.faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--maroon-soft); color: var(--maroon); display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; line-height: 1 }
.faq-item[open] summary::after { content: "\2212" }
.faq-item summary:hover { background: var(--maroon-soft) }
.faq-answer { padding: 0 18px 6px; color: #333b49 }

/* ---------- forms ---------- */
.quote-form, .quick-quote-card, .contact-panel {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow)
}
.quick-quote-card { box-shadow: var(--shadow-lg) }
.quick-quote-heading h2 { font-size: 1.4rem; margin-bottom: .2em }
.quick-quote-heading p { color: var(--muted); font-size: .93rem }
.quick-quote-icon { display: none }
.form-grid, .quick-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px }
.field, .quick-field { display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.field.full, .quick-field-full { grid-column: 1 / -1 }
.field label, .quick-field > span { font-size: .86rem; font-weight: 650; color: var(--text) }
.quick-field small { font-weight: 500; color: var(--muted) }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; background: #fff; border: 1.5px solid #cfd7e3; border-radius: 10px; font-size: 1rem; /* 16px stops iOS zoom */
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6577' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px }
input::placeholder, textarea::placeholder { color: #8a94a6 }
input:hover, select:hover, textarea:hover { border-color: #aab5c5 }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(143, 16, 16, .13) }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error) }
.field-error { color: var(--error); font-size: .8rem; font-weight: 600 }
.hint, .form-note, .quick-quote-note { font-size: .8rem; color: var(--muted) }
.form-bottom { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px }
.form-bottom .form-note { flex: 1 1 260px; margin: 0 }
.quick-submit { width: 100%; margin-top: 18px }
.quick-quote-note { margin: 12px 0 0 }
.form-feedback { display: none; margin-top: 20px; background: var(--maroon-soft); border: 1px solid var(--maroon-line); border-radius: var(--radius); padding: 18px 20px }
.form-feedback.show { display: block }
.form-feedback.error { background: #fef2f2; border-color: #fecaca }
.form-status strong { display: block; color: var(--maroon-dark) }
.form-status p { margin: .3em 0 0; font-size: .92rem }
.enquiry-preview { white-space: pre-wrap; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; margin-top: 14px; font-size: .88rem; max-height: 260px; overflow: auto }
.feedback-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px; align-items: start }
.contact-panel h3 { color: var(--maroon-dark); margin-bottom: 14px }
.contact-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px }
.contact-list li { display: grid; gap: 2px }
.contact-list li > span:first-child { font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) }
.contact-list a { font-weight: 650; font-size: 1.04rem }
.contact-fallback { color: var(--muted); font-size: .93rem }
.contact-cards { grid-template-columns: 1fr }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--text); color: #fff; padding: 12px 20px; border-radius: 10px; font-size: .92rem; font-weight: 550; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 400; max-width: calc(100% - 32px); text-align: center }
.toast.show { opacity: 1; transform: translate(-50%, 0) }

/* floating whatsapp */
.floating-whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 150; display: inline-flex; align-items: center; gap: 9px; min-height: 52px; padding: 0 20px; border-radius: 99px; background: var(--success); color: #fff; font-weight: 650; box-shadow: 0 8px 22px rgba(21, 128, 61, .4) }
.floating-whatsapp:hover { background: var(--success-dark); color: #fff }

/* ---------- gallery ---------- */
.work-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px }
.work-gallery-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm) }
.work-gallery-card > a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eef1f5 }
.work-gallery-card img { width: 100%; height: 100%; object-fit: cover }
.work-gallery-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1 }
.work-gallery-tag { align-self: flex-start; font-size: .7rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--maroon); background: var(--maroon-soft); border-radius: 4px; padding: 3px 10px; margin-bottom: 10px }
.work-gallery-card h2, .work-gallery-card h3 { font-size: 1.15rem }
.work-gallery-specs { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; font-size: .88rem; color: var(--muted) }
.work-gallery-specs strong { color: var(--text) }
.service-link { margin-top: auto; font-weight: 650 }
.work-gallery-help { margin-top: 22px; font-size: .86rem; color: var(--muted) }
.gallery-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px }
.gallery-filter { min-height: 40px; padding: 0 16px; border: 1px solid var(--border); background: #fff; border-radius: 4px; font-size: .88rem; font-weight: 600; color: var(--text) }
.gallery-filter:hover { border-color: var(--maroon); color: var(--maroon) }
.gallery-filter.is-active { background: var(--maroon); border-color: var(--maroon); color: #fff }
.gallery-count { font-size: .88rem; color: var(--muted) }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px }
.g-item { display: block; padding: 0; text-align: left; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm) }
.g-item:hover { box-shadow: var(--shadow-lg); border-color: var(--maroon-line) }
.g-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eef1f5 }
.g-media img { width: 100%; height: 100%; object-fit: cover }
.g-cap { display: block; padding: 12px 14px }
.g-cap small { display: block; color: var(--muted); font-size: .78rem; margin-top: 3px }
.g-placeholder { border: 2px dashed #c5cdd9; border-radius: var(--radius); background: #fff; display: grid; align-content: center; justify-items: center; text-align: center; gap: 6px; padding: 24px 16px; aspect-ratio: 4 / 3; color: var(--muted) }
.g-placeholder .g-ph-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--maroon-soft); display: grid; place-items: center; color: var(--maroon); font-size: 1.3rem }
.g-placeholder strong { color: var(--text); font-size: .92rem }
.g-placeholder small { font-size: .78rem }
.g-placeholder a { font-weight: 650; font-size: .82rem; text-decoration: underline }
.g-placeholder code { font-size: .7rem; word-break: break-all; background: var(--bg); padding: 2px 6px; border-radius: 5px }
.lightbox { position: fixed; inset: 0; z-index: 600; background: rgba(30, 5, 5, .94); display: none; flex-direction: column; align-items: center; justify-content: center; padding: 18px }
.lightbox.open { display: flex }
.lb-figure { margin: 0; max-width: min(1200px, 100%); max-height: calc(100vh - 150px); display: flex; flex-direction: column; align-items: center; gap: 12px }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 220px); width: auto; height: auto; object-fit: contain; border-radius: 8px }
.lb-caption { color: #f3e3e3; text-align: center; font-size: .92rem; max-width: 760px }
.lb-caption small { display: block; color: #cfa9a9; margin-top: 4px }
.lb-btn { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; display: grid; place-items: center }
.lb-btn:hover { background: rgba(255, 255, 255, .28) }
.lb-close { top: 14px; right: 14px }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%) }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%) }
.lb-link { color: #ffd9d9; font-weight: 650; font-size: .85rem; margin-top: 6px; display: inline-block }
body.lb-open { overflow: hidden }

/* ---------- footer ---------- */
.footer { background: var(--maroon-deep); color: #e9cccc; padding: clamp(40px, 6vw, 64px) 0 0; margin-top: 0 }
.footer a { color: #f3dada }
.footer a:hover { color: #fff; text-decoration: underline }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: clamp(24px, 4vw, 48px) }
.footer h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px }
.footer-intro { margin: 16px 0 10px; font-size: .92rem; max-width: 40ch }
.footer .fineprint { color: #d3aeae }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: .92rem }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; color: #d3aeae }

/* ---------- scroll reveal (progressive; content is visible without JS) ---------- */
.reveal-ready .reveal { animation: rise .5s ease both }
@keyframes rise { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex }
  .site-header { position: sticky }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 12px 20px 20px;
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { display: flex }
  .main-nav > a, .nav-item > a { min-height: 48px; padding: 0 14px; flex: 1; font-size: 1rem }
  .nav-item { flex-wrap: wrap }
  .dd-toggle { width: 48px; height: 48px; font-size: .9rem }
  .nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown { display: none }
  .nav-item.open > .dropdown { display: flex }
  .dropdown { position: static; width: 100%; box-shadow: none; border: 0; border-left: 2px solid var(--maroon-line); border-radius: 0; margin: 2px 0 6px 14px; width: calc(100% - 14px); padding: 2px 0 2px 8px; background: transparent }
  .dropdown a { min-height: 44px; display: flex; align-items: center }
  .main-nav .nav-cta { margin: 8px 0 0; min-height: 50px; justify-content: center }
  .announcement .topbar-note { display: none }
  .announcement .container { justify-content: center }
}
@media (max-width: 1000px) {
  .hero-layout, .split, .enquiry-layout, .contact-layout { grid-template-columns: 1fr }
  .hero-media { aspect-ratio: 16 / 9 }
  .hero-support-grid, .card-grid.four, .preview-grid, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .card-grid.three, .work-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .content-grid { grid-template-columns: 1fr }
  .sidebar { position: static }
  .section-heading { grid-template-columns: 1fr; align-items: start }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .feature-panels { grid-template-columns: 1fr }
}
@media (max-width: 640px) {
  :root { --header-h: 68px }
  .brand-logo { padding: 4px 7px }
  .brand-logo-image { height: 38px; max-width: min(100%, 300px) }
  .brand { gap: 7px }
  .container { width: min(100% - 32px, var(--max)) }
  .hero { padding-bottom: 64px }
  .hero-actions .btn, .page-hero-actions .btn, .cta-actions .btn { flex: 1 1 100% }
  .hero-support-grid, .card-grid.four, .card-grid.three, .card-grid.two, .preview-grid, .process-grid, .work-gallery-grid, .footer-grid, .form-grid, .quick-form-grid { grid-template-columns: 1fr }
  .hero-below { margin-top: -36px }
  .cta-band { padding: 24px 20px }
  .cta-band .btn { width: 100% }
  .field.full, .quick-field-full { grid-column: auto }
  .step-list li { padding-left: 56px }
  .floating-whatsapp { right: 12px; bottom: 12px; padding: 0 16px }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none }
  .lb-prev { left: calc(50% - 60px) }
  .lb-next { right: calc(50% - 60px) }
  .footer-bottom { flex-direction: column }
}
@media (max-width: 360px) {
  .brand-logo-image { height: 32px; max-width: min(100%, 250px) }
  .header-row { gap: 10px }
  .menu-toggle { width: 42px; height: 42px }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important }
}
@media print {
  .site-header, .announcement, .floating-whatsapp, .footer, .cta-band, .sidebar { display: none }
  body { background: #fff }
}

/* header logo image (only when KANIFNATH_CONFIG.logoPath is set) */
.announcement a[data-phone-link]::before { content: "Call "; font-weight: 500; opacity: .85 }
@media (max-width: 640px) {
  .floating-whatsapp { width: 54px; height: 54px; min-height: 0; padding: 0; justify-content: center; border-radius: 50% }
  .floating-whatsapp .wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
  .floating-whatsapp .icon { width: 26px; height: 26px }
}
